Skip to content

Commit

Permalink
time/ruby-tzinfo1: update to 1.2.8
Browse files Browse the repository at this point in the history
1.2.8 (2020-11-08)

* 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.  The 64-bit section is now always used regardless of whether
  Time has support for 64-bit times.  #120.

* Rubinius is no longer supported.
  • Loading branch information
taca committed Nov 10, 2020
1 parent 36a42e8 commit 21de0c8
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 26 deletions.
38 changes: 20 additions & 18 deletions time/ruby-tzinfo1/DESCR
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,28 @@ different timezones.
Data Sources
------------

TZInfo requires a source of timezone data. There are two built-in options:
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).
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).

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`).
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).

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.
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).

The default data source selection can be overridden using
`TZInfo::DataSource.set`.
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.

Custom data sources can also be used. See `TZInfo::DataSource.set` for
further details.
The default data source selection can be overridden using
TZInfo::DataSource.set.

Custom data sources can also be used. See TZInfo::DataSource.set for further
details.
4 changes: 2 additions & 2 deletions time/ruby-tzinfo1/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2020/04/27 13:33:48 taca Exp $
# $NetBSD: Makefile,v 1.4 2020/11/10 14:30:00 taca Exp $

DISTNAME= tzinfo-${VERS}
PKGNAME= ${RUBY_PKGPREFIX}-tzinfo1-${VERS}
Expand All @@ -11,7 +11,7 @@ LICENSE= mit

DEPENDS+= ${RUBY_PKGPREFIX}-thread_safe>=0.1<1:../../misc/ruby-thread_safe

VERS= 1.2.7
VERS= 1.2.8
USE_LANGUAGES= # none

.include "../../lang/ruby/gem.mk"
Expand Down
8 changes: 7 additions & 1 deletion time/ruby-tzinfo1/PLIST
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
@comment $NetBSD: PLIST,v 1.1 2019/02/03 15:06:51 taca Exp $
@comment $NetBSD: PLIST,v 1.2 2020/11/10 14:30:00 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.yardopts
${GEM_LIBDIR}/CHANGES.md
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/lib/tzinfo.rb
${GEM_LIBDIR}/lib/tzinfo/annual_rules.rb
${GEM_LIBDIR}/lib/tzinfo/country.rb
${GEM_LIBDIR}/lib/tzinfo/country_index_definition.rb
${GEM_LIBDIR}/lib/tzinfo/country_info.rb
Expand All @@ -17,6 +18,7 @@ ${GEM_LIBDIR}/lib/tzinfo/info_timezone.rb
${GEM_LIBDIR}/lib/tzinfo/linked_timezone.rb
${GEM_LIBDIR}/lib/tzinfo/linked_timezone_info.rb
${GEM_LIBDIR}/lib/tzinfo/offset_rationals.rb
${GEM_LIBDIR}/lib/tzinfo/posix_time_zone_parser.rb
${GEM_LIBDIR}/lib/tzinfo/ruby_core_support.rb
${GEM_LIBDIR}/lib/tzinfo/ruby_country_info.rb
${GEM_LIBDIR}/lib/tzinfo/ruby_data_source.rb
Expand All @@ -31,9 +33,11 @@ ${GEM_LIBDIR}/lib/tzinfo/timezone_proxy.rb
${GEM_LIBDIR}/lib/tzinfo/timezone_transition.rb
${GEM_LIBDIR}/lib/tzinfo/timezone_transition_definition.rb
${GEM_LIBDIR}/lib/tzinfo/transition_data_timezone_info.rb
${GEM_LIBDIR}/lib/tzinfo/transition_rule.rb
${GEM_LIBDIR}/lib/tzinfo/zoneinfo_country_info.rb
${GEM_LIBDIR}/lib/tzinfo/zoneinfo_data_source.rb
${GEM_LIBDIR}/lib/tzinfo/zoneinfo_timezone_info.rb
${GEM_LIBDIR}/test/tc_annual_rules.rb
${GEM_LIBDIR}/test/tc_country.rb
${GEM_LIBDIR}/test/tc_country_index_definition.rb
${GEM_LIBDIR}/test/tc_country_info.rb
Expand All @@ -45,6 +49,7 @@ ${GEM_LIBDIR}/test/tc_info_timezone.rb
${GEM_LIBDIR}/test/tc_linked_timezone.rb
${GEM_LIBDIR}/test/tc_linked_timezone_info.rb
${GEM_LIBDIR}/test/tc_offset_rationals.rb
${GEM_LIBDIR}/test/tc_posix_time_zone_parser.rb
${GEM_LIBDIR}/test/tc_ruby_core_support.rb
${GEM_LIBDIR}/test/tc_ruby_country_info.rb
${GEM_LIBDIR}/test/tc_ruby_data_source.rb
Expand All @@ -63,6 +68,7 @@ ${GEM_LIBDIR}/test/tc_timezone_transition.rb
${GEM_LIBDIR}/test/tc_timezone_transition_definition.rb
${GEM_LIBDIR}/test/tc_timezone_utc.rb
${GEM_LIBDIR}/test/tc_transition_data_timezone_info.rb
${GEM_LIBDIR}/test/tc_transition_rule.rb
${GEM_LIBDIR}/test/tc_zoneinfo_country_info.rb
${GEM_LIBDIR}/test/tc_zoneinfo_data_source.rb
${GEM_LIBDIR}/test/tc_zoneinfo_timezone_info.rb
Expand Down
10 changes: 5 additions & 5 deletions time/ruby-tzinfo1/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.3 2020/04/27 13:33:48 taca Exp $
$NetBSD: distinfo,v 1.4 2020/11/10 14:30:00 taca Exp $

SHA1 (tzinfo-1.2.7.gem) = ad33451d9feed106e751d7a02fa89b1147bb2968
RMD160 (tzinfo-1.2.7.gem) = 62632a77150d39194553feda42cd385e864b2562
SHA512 (tzinfo-1.2.7.gem) = dc8d45b09e4f77e5b6f17c9f707932554fc8be8029a9641d82cb8229d764c35522b2d20cc34d50a52835d148135e39a0dc91a7c2bac3eb5077057ac06d67f3bd
Size (tzinfo-1.2.7.gem) = 156672 bytes
SHA1 (tzinfo-1.2.8.gem) = 5c41dce07526aab546dc93a2f111739ea21b4b27
RMD160 (tzinfo-1.2.8.gem) = f4088c0e71962b23a3f00a3f8f9ac764f2420b2c
SHA512 (tzinfo-1.2.8.gem) = 5573b252d91a77b1e1ace2d2ccf48f7dd9bfb79b8b0b15ba2e8757e5fdcb9cbc044abdcf82beacffa284fc57ded2b579feccc393331f0f5a680e5f5c6275b62a
Size (tzinfo-1.2.8.gem) = 166400 bytes

0 comments on commit 21de0c8

Please sign in to comment.