summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-11-10 14:30:00 +0000
committertaca <taca@pkgsrc.org>2020-11-10 14:30:00 +0000
commitc410ecc6cb4ff92a05b6f7920aa7501acb5cb128 (patch)
tree53d4b35b65dec93c7f3a086a97cd1c0ecea77b7d /time
parent6e233561e8cb9a9792818dfdc710d314db60c94f (diff)
downloadpkgsrc-c410ecc6cb4ff92a05b6f7920aa7501acb5cb128.tar.gz
time/ruby-tzinfo1: update to 1.2.8
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.
Diffstat (limited to 'time')
-rw-r--r--time/ruby-tzinfo1/DESCR38
-rw-r--r--time/ruby-tzinfo1/Makefile4
-rw-r--r--time/ruby-tzinfo1/PLIST8
-rw-r--r--time/ruby-tzinfo1/distinfo10
4 files changed, 34 insertions, 26 deletions
diff --git a/time/ruby-tzinfo1/DESCR b/time/ruby-tzinfo1/DESCR
index 274ef921588..d95a7ab230a 100644
--- a/time/ruby-tzinfo1/DESCR
+++ b/time/ruby-tzinfo1/DESCR
@@ -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.
diff --git a/time/ruby-tzinfo1/Makefile b/time/ruby-tzinfo1/Makefile
index 29417dfa861..da60e778b2d 100644
--- a/time/ruby-tzinfo1/Makefile
+++ b/time/ruby-tzinfo1/Makefile
@@ -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}
@@ -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"
diff --git a/time/ruby-tzinfo1/PLIST b/time/ruby-tzinfo1/PLIST
index 41180371429..7fb286de240 100644
--- a/time/ruby-tzinfo1/PLIST
+++ b/time/ruby-tzinfo1/PLIST
@@ -1,4 +1,4 @@
-@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
@@ -6,6 +6,7 @@ ${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
@@ -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
@@ -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
@@ -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
@@ -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
diff --git a/time/ruby-tzinfo1/distinfo b/time/ruby-tzinfo1/distinfo
index d52435eb39b..107346e5403 100644
--- a/time/ruby-tzinfo1/distinfo
+++ b/time/ruby-tzinfo1/distinfo
@@ -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