Bumpstzinfo from 1.2.2 to 2.0.5.
Release notes
Sourced fromtzinfo's releases.
v2.0.5
- Changed
DateTime results to always use the proleptic Gregorian calendar. This affectsDateTime results prior to 1582-10-15 and any arithmetic performed on the results that would produce a secondary result prior to 1582-10-15. - Added support for eager loading all the time zone and country data by calling either
TZInfo::DataSource#eager_load! orTZInfo.eager_load!. Compatible with Ruby On Rails'eager_load_namespaces.#129. - Ignore the SECURITY file from Arch Linux's tzdata package.#134.
TZInfo v2.0.5 on RubyGems.org
v2.0.4
- Fixed an incorrect
InvalidTimezoneIdentifier exception raised when loading a zoneinfo file that includes rules specifying an additional transition to the final defined offset (for example, Africa/Casablanca in version 2018e of the Time Zone Database).#123.
TZInfo v2.0.4 on RubyGems.org
v2.0.3
- Added support for handling "slim" format zoneinfo files that are produced by default by zic version 2020b and later. The POSIX-style TZ string is now used calculate DST transition times after the final defined transition in the file.#120.
- Fixed
TimeWithOffset#getlocal returning aTimeWithOffset with thetimezone_offset still assigned when called with an offset argument on JRuby 9.3. - Rubinius is no longer supported.
TZInfo v2.0.3 on RubyGems.org
v2.0.2
- Fixed 'wrong number of arguments' errors when running on JRuby 9.0.#114.
- Fixed warnings when running on Ruby 2.8.#113.
TZInfo v2.0.2 on RubyGems.org
v2.0.1
- Fixed "SecurityError: Insecure operation - require" exceptions when loading data with recent Ruby releases in safe mode.#100.
- Fixed warnings when running on Ruby 2.7.#109.
- Added a
TZInfo::Timezone#=~ method that performs a regex match on the time zone identifier.#99. - Added a
TZInfo::Country#=~ method that performs a regex match on the country code.
TZInfo v2.0.1 on RubyGems.org
v2.0.0
Added
to_local andperiod_for instance methods have been added toTZInfo::Timezone. These are similar toutc_to_local andperiod_for_utc, but take the UTC offset of the given time into account.abbreviation,dst?,base_utc_offset andobserved_utc_offset instance methods have been added toTZInfo::Timezone, returning the abbreviation, whether daylight savings time is in effect and the UTC offset of the time zone at a specified time.- A
TZInfo::Timestamp class has been added. It can be used withTZInfo::Timezone in place of aTime orDateTime. local_time,local_datetime andlocal_timestamp instance methods have been added toTZInfo::Timezone. These methods construct localTime,DateTime andTZInfo::Timestamp instances with the correct UTC offset and abbreviation for the time zone.- Support for a (yet to be released) version 2 of tzinfo-data has been added, in addition to support for version 1. The new version will remove the (no longer needed)
DateTime parameters from transition times, reduce memory consumption and improve the efficiency of loading timezone and country indexes. - A
TZInfo::VERSION constant has been added, indicating the TZInfo version number.
Changed
- The minimum supported Ruby versions are now Ruby MRI 1.9.3, JRuby 1.7 (in 1.9 or later mode) and Rubinius 3.
- Local times are now returned using the correct UTC offset (instead of using UTC).#49 and#52.
- Local times are returned as instances of
TimeWithOffset,DateTimeWithOffset orTZInfo::TimestampWithOffset. These classes subclassTime,DateTime andTZInfo::Timestamp respectively. They override the default behaviour of the base classes to return information about the observed offset at the indicated time. For example, the zone abbreviation is returned when using the%Z directive withstrftime. - The
transitions_up_to,offsets_up_to andstrftime instance methods ofTZInfo::Timezone now take the UTC offsets of given times into account (instead of ignoring them as was previously the case). - The
TZInfo::TimezonePeriod class has been split into two subclasses:TZInfo::OffsetTimezonePeriod andTZInfo::TransitionsTimezonePeriod.TZInfo::OffsetTimezonePeriod is returned for time zones that only have a single offset.TZInfo::TransitionsTimezonePeriod is returned for periods that start or end with a transition.
... (truncated)
Changelog
Sourced fromtzinfo's changelog.
Version 2.0.5 - 19-Jul-2022
- Changed
DateTime results to always use the proleptic Gregorian calendar.This affectsDateTime results prior to 1582-10-15 and any arithmeticperformed on the results that would produce a secondary result prior to1582-10-15. - Added support for eager loading all the time zone and country data by callingeither
TZInfo::DataSource#eager_load! orTZInfo.eager_load!. Compatiblewith Ruby On Rails'eager_load_namespaces.#129. - Ignore the SECURITY file from Arch Linux's tzdata package.#134.
Version 2.0.4 - 16-Dec-2020
- Fixed an incorrect
InvalidTimezoneIdentifier exception raised when loading azoneinfo file that includes rules specifying an additional transition to thefinal defined offset (for example, Africa/Casablanca in version 2018e of theTime Zone Database).#123.
Version 2.0.3 - 8-Nov-2020
- Added support for handling "slim" format zoneinfo files that are produced bydefault by zic version 2020b and later. The POSIX-style TZ string is now usedcalculate DST transition times after the final defined transition in the file.#120.
- Fixed
TimeWithOffset#getlocal returning aTimeWithOffset with thetimezone_offset still assigned when called with an offset argument on JRuby9.3. - Rubinius is no longer supported.
Version 2.0.2 - 2-Apr-2020
- Fixed 'wrong number of arguments' errors when running on JRuby 9.0.#114.
- Fixed warnings when running on Ruby 2.8.#113.
Version 2.0.1 - 24-Dec-2019
- Fixed "SecurityError: Insecure operation - require" exceptions when loadingdata with recent Ruby releases in safe mode.#100.
- Fixed warnings when running on Ruby 2.7.#109.
- Added a
TZInfo::Timezone#=~ method that performs a regex match on the timezone identifier.#99. - Added a
TZInfo::Country#=~ method that performs a regex match on the countrycode.
Version 2.0.0 - 26-Dec-2018
... (truncated)
Commits
d9b289e Preparing v2.0.5.264c763 Add v0.3.61 and v1.2.10 from the 0.3 and 1.2 branches.ca29f34 Fix relative path loading tests.c4f177c Add a top level eager_load! method for Rails compatibility.94be919 Support preloading all data from a DataSource.fe7ad26 Clarify that both files and directories are excluded.d2883cf Tidy up of security file ignoring.6a4766e Merge pull request#133.5d53b59 Workaround for 'Permission denied - NUL' errors with JRuby on Windows.83450a1 ignore SECURITY file for Arch tzdata package- Additional commits viewable incompare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from theSecurity Alerts page.
Bumpstzinfo from 1.2.2 to 2.0.5.
Release notes
Sourced fromtzinfo's releases.
... (truncated)
Changelog
Sourced fromtzinfo's changelog.
... (truncated)
Commits
d9b289ePreparing v2.0.5.264c763Add v0.3.61 and v1.2.10 from the 0.3 and 1.2 branches.ca29f34Fix relative path loading tests.c4f177cAdd a top level eager_load! method for Rails compatibility.94be919Support preloading all data from a DataSource.fe7ad26Clarify that both files and directories are excluded.d2883cfTidy up of security file ignoring.6a4766eMerge pull request#133.5d53b59Workaround for 'Permission denied - NUL' errors with JRuby on Windows.83450a1ignore SECURITY file for Arch tzdata packageDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from theSecurity Alerts page.