Skip to content

Commit

Permalink
time/ruby-tzinfo: update to 2.0.5
Browse files Browse the repository at this point in the history
2.0.5 (2022-07-19)

* Changed DateTime results to always use the proleptic Gregorian calendar.
  This affects DateTime 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! or TZInfo.eager_load!.
  Compatible with Ruby On Rails' eager_load_namespaces. #129.

* Ignore the SECURITY file from Arch Linux's tzdata package. #134.
  • Loading branch information
taca committed Jul 30, 2022
1 parent 57b9cbc commit 6e19b30
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
30 changes: 16 additions & 14 deletions time/ruby-tzinfo/DESCR
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@ Data Sources

TZInfo requires a source of timezone data. There are two built-in options:

1. The TZInfo::Data library (the tzinfo-data gem). TZInfo::Data contains a set
of Ruby modules that are generated from the [IANA Time Zone Database](http://www.iana.org/time-zones).
2. A zoneinfo directory. Most Unix-like systems include a zoneinfo directory
containing timezone definitions. These are also generated from the
[IANA Time Zone Database](http://www.iana.org/time-zones).

By default, TZInfo::Data will be used. If TZInfo::Data is not available (i.e.
if `require 'tzinfo/data'` fails), then TZInfo will search for a zoneinfo
directory instead (using the search path specified by
1. The TZInfo::Data library (the tzinfo-data gem). TZInfo::Data contains a
set of Ruby modules that are generated from the [IANA Time Zone
Database](http://www.iana.org/time-zones).

2. A zoneinfo directory. Most Unix-like systems include a zoneinfo directory
containing timezone definitions. These are also generated from the [IANA
Time Zone Database](http://www.iana.org/time-zones).

By default, TZInfo::Data will be used. If TZInfo::Data is not available
(i.e. if `require 'tzinfo/data'` fails), then TZInfo will search for a
zoneinfo directory instead (using the search path specified by
`TZInfo::ZoneinfoDataSource::DEFAULT_SEARCH_PATH`).

If no data source can be found, a `TZInfo::DataSourceNotFound` exception will be
raised when TZInfo is used. Further information is available
[in the wiki](http://tzinfo.github.io/datasourcenotfound) to help with
resolving `TZInfo::DataSourceNotFound` errors.
If no data source can be found, a `TZInfo::DataSourceNotFound` exception
will be raised when TZInfo is used. Further information is available [in the
wiki](http://tzinfo.github.io/datasourcenotfound) to help with resolving
`TZInfo::DataSourceNotFound` errors.

The default data source selection can be overridden using
The default data source selection can be overridden using
`TZInfo::DataSource.set`.

Custom data sources can also be used. See `TZInfo::DataSource.set` for
Expand Down
4 changes: 2 additions & 2 deletions time/ruby-tzinfo/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.48 2021/01/03 08:20:26 taca Exp $
# $NetBSD: Makefile,v 1.49 2022/07/30 14:24:09 taca Exp $

DISTNAME= tzinfo-2.0.4
DISTNAME= tzinfo-2.0.5
CATEGORIES= time

MAINTAINER= [email protected]
Expand Down
8 changes: 4 additions & 4 deletions time/ruby-tzinfo/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.46 2021/10/26 11:24:37 nia Exp $
$NetBSD: distinfo,v 1.47 2022/07/30 14:24:09 taca Exp $

BLAKE2s (tzinfo-2.0.4.gem) = ce93081599f52429c9c6c119da976f943be771fef1c4ab8d7fb94ffd0d265df2
SHA512 (tzinfo-2.0.4.gem) = edae29820741b338c38dc13d58746f9798052167598d2eab7cefdde8769854d248573b112c7ad2481aef63a9258fbce477451f83f347640e00e2fc27feb10370
Size (tzinfo-2.0.4.gem) = 78336 bytes
BLAKE2s (tzinfo-2.0.5.gem) = a375e7498f0aacb9f2a47386e263643474fcd5bcd038e4cad763191335b6b821
SHA512 (tzinfo-2.0.5.gem) = d3248d9226b974095392c17916701c7318df895fb1d5581d3bafd73672fbb1ec30f4c1bac690379c714df66856558011c27bcedf2d53beb51031441f7bfee0ae
Size (tzinfo-2.0.5.gem) = 79360 bytes

0 comments on commit 6e19b30

Please sign in to comment.