Upgrading tzinfo 0.0 to 0.1
Breaking0.0.4 → 0.1.2Breaking2New6Changed11Other2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- build_tz_classes rake task now handles running svn add and svn delete as new time zones and countries are added and old ones are removed.
- Exclude the Riyadh Solar Time zones.
Must act 2 items need code or config changes
What you must change
Breaking2
build_tz_classes rake task now handles running svn add and svn delete as new time zones and countries are added and old ones are removed.
build_tz_classesExclude the Riyadh Solar Time zones.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- changed:
method Timezone.local_to_utc(_) → method Timezone.local_to_utc(_, _ = …) - changed:
method Timezone.period_for_local(_) → method Timezone.period_for_local(_, _ = …) - added:
class AmbiguousTime < StandardError - added:
class TimezonePeriodList - added:
class UnknownTimezone < StandardError - added:
constructor TimezonePeriodList() - added:
method Timezone.periods() - added:
method TimezonePeriodList.add(_, _) - added:
method TimezonePeriodList.add_unbounded_start() - added:
method TimezonePeriodList.period_for_utc(_) - added:
method TimezonePeriodList.periods_for_local(_) - added:
property TZDataParser.exclude_countries: accessor - added:
property TZDataParser.exclude_zones: accessor - added:
property TZDataParser.generate_countries: accessor - added:
property TZDataParser.generate_zones: accessor - added:
property TZDataParser.only_countries: accessor - added:
property TZDataParser.only_zones: accessor
- removed:
module Mideast - removed:
module SystemV - changed:
class CST6CDT < Definitions::America::Chicago → class CST6CDT < Timezone - changed:
class EST < Definitions::America::Panama → class EST < Timezone - changed:
class EST5EDT < Definitions::America::New_York → class EST5EDT < Timezone - changed:
class HST < Definitions::Pacific::Honolulu → class HST < Timezone - changed:
class MST < Definitions::America::Phoenix → class MST < Timezone - changed:
class MST7MDT < Definitions::America::Denver → class MST7MDT < Timezone - changed:
class PST8PDT < Definitions::America::Los_Angeles → class PST8PDT < Timezone
- added:
class Moncton < Timezone
- added:
class Petersburg < Timezone - added:
class Vincennes < Timezone
- removed:
class Riyadh87 < Timezone - removed:
class Riyadh88 < Timezone - removed:
class Riyadh89 < Timezone
- removed:
class Riyadh87 < Definitions::Asia::Riyadh87 - removed:
class Riyadh88 < Definitions::Asia::Riyadh88 - removed:
class Riyadh89 < Definitions::Asia::Riyadh89
- removed:
class AST4 < Definitions::America::Puerto_Rico - removed:
class AST4ADT < Definitions::America::Halifax - removed:
class CST6 < Definitions::America::Regina - removed:
class CST6CDT < Definitions::America::Chicago - removed:
class EST5 < Definitions::America::Indianapolis - removed:
class EST5EDT < Definitions::America::New_York - removed:
class HST10 < Definitions::Pacific::Honolulu - removed:
class MST7 < Definitions::America::Phoenix - removed:
class MST7MDT < Definitions::America::Denver - removed:
class PST8 < Definitions::Pacific::Pitcairn - removed:
class PST8PDT < Definitions::America::Los_Angeles - removed:
class YST9 < Definitions::Pacific::Gambier - removed:
class YST9YDT < Definitions::America::Anchorage