Commit graph

43 commits

Author SHA1 Message Date
wiz
d0e6a9d04f ruby-tzinfo: follow redirect 2017-12-24 10:16:53 +00:00
taca
b5a3f794cb time/ruby-tzinfo: Update to 1.2.4
* Ignore the leapseconds file that is included in zoneinfo directories
  installed with version 2017c and later of the Time Zone Database.
2017-10-31 15:46:33 +00:00
taca
44269b51b0 Update ruby-tzinfo to 1.2.3.
v1.2.3							2017/3/25

* Reduce the number of String objects allocated when loading zoneinfo
  files. #54.
* Make Timezone#friendly_identifier compatible with frozen string literals.
* Improve the algorithm for deriving the utc_offset from zoneinfo files. This
  now correctly handles Pacific/Apia switching from one side of the
  International Date Line to the other whilst observing daylight savings
  time. #66.
* Fix an UnknownTimezone exception when calling transitions_up_to or
  offsets_up_to on a TimezoneProxy instance obtained from Timezone.get_proxy.
* Allow the Factory zone to be obtained from the Zoneinfo data source.
* Ignore the /usr/share/zoneinfo/timeconfig symlink included in Slackware
  distributions. #64.
* Fix Timezone#strftime handling of %Z expansion when %Z is prefixed with more
  than one percent. #31.
* Support expansion of %z, %:z, %::z and %:::z to the UTC offset of the time
  zone in Timezone#strftime. #31 and #67.
2017-04-15 15:11:23 +00:00
taca
d2104d1bc1 Update ruby-tzinfo to 1.2.2.
Version 1.2.2 - 8-Aug-2014
--------------------------

* Fix an error with duplicates being returned by Timezone#all_country_zones
  and Timezone#all_country_zone_identifiers when used with tzinfo-data
  v1.2014.6 or later.
* Use the zone1970.tab file for country timezone data if it is found in the
  zoneinfo directory (and fallback to zone.tab if not). zone1970.tab was added
  in tzdata 2014f. zone.tab is now deprecated.


Version 1.2.1 - 1-Jun-2014
--------------------------

* Support zoneinfo files generated with zic version 2014c and later.
* On platforms that only support positive 32-bit timestamps, ensure that
  conversions are accurate from the epoch instead of just from the first
  transition after the epoch.
* Minor documentation improvements.


Version 1.2.0 - 26-May-2014
---------------------------

* Raise the minimum supported Ruby version to 1.8.7.
* Support loading system zoneinfo data on FreeBSD, OpenBSD and Solaris.
  Resolves #15.
* Add canonical_identifier and canonical_zone methods to Timezone. Resolves #16.
* Add a link to a DataSourceNotFound help page in the TZInfo::DataSourceNotFound
  exception message.
* Load iso3166.tab and zone.tab files as UTF-8.
* Fix Timezone#local_to_utc returning local Time instances on systems using UTC
  as the local time zone. Resolves #13.
* Fix == methods raising an exception when passed an instance of a different
  class by making <=> return nil if passed a non-comparable argument.
* Eliminate "require 'rational'" warnings. Resolves #10.
* Eliminate "assigned but unused variable - info" warnings. Resolves #11.
* Switch to minitest v5 for unit tests. Resolves #18.


Version 1.1.0 - 25-Sep-2013
---------------------------

* TZInfo is now thread safe. ThreadSafe::Cache is now used instead of Hash
  to cache Timezone and Country instances returned by Timezone.get and
  Country.get. The tzinfo gem now depends on thread_safe ~> 0.1.
* Added a transitions_up_to method to Timezone that returns a list of the times
  where the UTC offset of the timezone changes.
* Added an offsets_up_to method to Timezone that returns the set of offsets
  that have been observed in a defined timezone.
* Fixed a "can't modify frozen String" error when loading a Timezone from a
  zoneinfo file using an identifier String that is both tainted and frozen.
  Resolves #3.
* Support TZif3 format zoneinfo files (now produced by zic from tzcode version
  2013e onwards).
* Support using YARD to generate documentation (added a .yardopts file).
* Ignore the +VERSION file included in the zoneinfo directory on Mac OS X.
* Added a note to the documentation concerning 32-bit zoneinfo files (as
  included with Mac OS X).


Version 1.0.1 - 22-Jun-2013
---------------------------

* Fix a test case failure when tests are run from a directory that contains a
  dot in the path (issue #29751).


Version 1.0.0 - 2-Jun-2013
--------------------------

* Allow TZInfo to be used with different data sources instead of just the
  built-in Ruby module data files.
* Include a data source that allows TZInfo to load data from the binary
  zoneinfo files produced by zic and included with many Linux and Unix-like
  distributions.
* Remove the definition and index Ruby modules from TZInfo and move them into
  a separate TZInfo::Data library (available as the tzinfo-data gem).
* Default to using the TZInfo::Data library as the data source if it is
  installed, otherwise use zoneinfo files instead.
* Preserve the nanoseconds of local timezone Time objects when performing
  conversions (issue #29705).
* Don't add the tzinfo lib directory to the search path when requiring 'tzinfo'.
  The tzinfo lib directory must now be in the search path before 'tzinfo' is
  required.
* Add utc_start_time, utc_end_time, local_start_time and local_end_time instance
  methods to TimezonePeriod. These return an identical value as the existing
  utc_start, utc_end, local_start and local_end methods, but return Time
  instances instead of DateTime.
* Make the start_transition, end_transition and offset properties of
  TimezonePeriod protected. To access properties of the period, callers should
  use other TimezonePeriod instance methods instead (issue #7655).
2016-01-03 05:17:23 +00:00
taca
753b2d3e12 Update ruby-tzinfo to 0.3.46.
== Version 0.3.46 (tzdata v2015g) - 02-Dec-2015

* From version 2015e, the IANA time zone database uses non-ASCII characters in
  country names. Backport the encoding handling from TZInfo::Data to allow
  TZInfo 0.3.x to support Ruby 1.9 (which would otherwise fail with an invalid
  byte sequence error when loading the countries index). Resolves #41.
2015-12-12 17:27:43 +00:00
agc
536eabf008 Add SHA512 digests for distfiles for time category
Problems found with mismatching existing digests for:
	distfiles/asclock-classic-1.0.tar.gz
	distfiles/asclock-gtk-2.1.10beta.tar.gz
	distfiles/asclock-xlib-2.0.11.tar.gz
	distfiles/emiclock-2.0.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-02 23:31:35 +00:00
taca
4ce63ffe1a Update tuby-tzinfo to 0.3.45.
== Version 0.3.45 (tzdata v2015g) - 03-Oct-2015

* Updated to tzdata version 2015g
  (http://mm.icann.org/pipermail/tz-announce/2015-October/000034.html).
2015-10-12 05:50:27 +00:00
taca
5b5b265db9 Update ruby-tzinfo to 0.3.44.
== Version 0.3.44 (tzdata v2015d) - 24-Apr-2015

* Updated to tzdata version 2015d
  (http://mm.icann.org/pipermail/tz-announce/2015-April/000031.html).
2015-06-10 15:00:47 +00:00
taca
882d789d51 Update ruby-tzinfo to 0.3.43.
== Version 0.3.43 (tzdata v2015a) - 31-Jan-2015

* Updated to tzdata version 2015a
  (http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html).
2015-02-01 07:05:02 +00:00
taca
3712f111dd Update ruby-tzinfo to 0.3.42.
== Version 0.3.42 (tzdata v2014i) - 23-Oct-2014

* Updated to tzdata version 2014i
  (http://mm.icann.org/pipermail/tz-announce/2014-October/000026.html).
2014-10-25 03:34:49 +00:00
taca
1dd968a616 Update ruby-tzinfo to 0.3.41.
== Version 0.3.41 (tzdata v2014f) - 8-Aug-2014

* Updated to tzdata version 2014f
  (http://mm.icann.org/pipermail/tz-announce/2014-August/000023.html).
2014-08-23 16:12:05 +00:00
taca
818b1868e7 Update ruby-tzinfo to 0.3.40.
== Version 0.3.40 (tzdata v2014e) - 10-Jul-2014

* Updated to tzdata version 2014e
  (http://mm.icann.org/pipermail/tz-announce/2014-June/000022.html).
2014-07-15 03:48:48 +00:00
taca
23b7f48a71 Update ruby-tz to 0.3.39.
* Updated to tzdata version 2014a
(http://mm.icann.org/pipermail/tz-announce/2014-March/000018.html).
2014-03-13 16:43:02 +00:00
taca
3781179482 Update ruby-tz to 0.3.38.
== Version 0.3.38 (tzdata v2013g) - 8-Oct-2013

* Updated to tzdata version 2013g
  (http://mm.icann.org/pipermail/tz-announce/2013-October/000015.html).


== Version 0.3.37 (tzdata v2013b) - 11-Mar-2013

* Updated to tzdata version 2013b
  (http://mm.icann.org/pipermail/tz-announce/2013-March/000010.html).


== Version 0.3.36 (tzdata v2013a) - 3-Mar-2013

* Updated to tzdata version 2013a
  (http://mm.icann.org/pipermail/tz-announce/2013-March/000009.html).
* Fix TimezoneTransitionInfo#eql? incorrectly returning false when running on
  Ruby 2.0.
* Change eql? and == implementations to test the class of the passed in object
  instead of checking individual properties with 'respond_to?'.


== Version 0.3.35 (tzdata v2012i) - 4-Nov-2012

* Updated to tzdata version 2012i
  (http://mm.icann.org/pipermail/tz-announce/2012-November/000007.html).


== Version 0.3.34 (tzdata v2012h) - 27-Oct-2012

* Updated to tzdata version 2012h
  (http://mm.icann.org/pipermail/tz-announce/2012-October/000006.html).
2013-12-13 15:42:17 +00:00
taca
f0d9366453 Update ruby-tzinfo to 0.3.33.
== Version 0.3.33 (tzdata v2012c) - 8-Apr-2012

* Updated to tzdata version 2012c
  (http://article.gmane.org/gmane.comp.time.tz/4859).
2012-06-02 01:48:35 +00:00
taca
261b8145d4 Update ruby-tzinfo package to 0.3.32.
== Version 0.3.32 (tzdata v2012b) - 4-Mar-2012

* Updated to tzdata version 2012b
  (http://article.gmane.org/gmane.comp.time.tz/4756).
2012-03-12 15:36:26 +00:00
taca
e39648daad Update ruby-tzinfo package to 0.3.31.
== Version 0.3.31 (tzdata v2011n) - 6-Nov-2011

* Updated to tzdata version 2011n
  (http://article.gmane.org/gmane.comp.time.tz/4434).


== Version 0.3.30 (tzdata v2011k) - 29-Sep-2011

* Updated to tzdata version 2011k
  (http://article.gmane.org/gmane.comp.time.tz/4084).
2011-11-08 16:46:15 +00:00
taca
50c4ff4464 Update ruby-tzinfo package to 0.3.29. (a leaf package)
== Version 0.3.29 (tzdata v2011h) - 27-Jun-2011

* Updated to tzdata version 2011h
  (http://article.gmane.org/gmane.comp.time.tz/3814).
* Allow the default value of the local_to_utc and period_for_local dst
  parameter to be specified globally with a Timezone.default_dst attribute.
  Thanks to Kurt Werle for the suggestion and patch.
2011-07-01 03:31:01 +00:00
taca
3ac81f1f39 Update ruby-tzinfo package to 0.3.28.
== Version 0.3.28 (tzdata v2011g) - 13-Jun-2011

* Add support for Ruby 1.9.3 (trunk revision 31668 and later). Thanks to
  Aaron Patterson for reporting the problems running on the new version.
  Closes #29233.
2011-06-15 15:12:24 +00:00
taca
9fac23f09f Update ruby-tzinfo package to 0.3.27.
== Version 0.3.27 (tzdata v2011g) - 26-Apr-2011

* Updated to tzdata version 2011g
  (http://article.gmane.org/gmane.comp.time.tz/3758).
2011-04-27 15:41:38 +00:00
taca
38236c29f0 Update ruby-tzinfo package to 0.3.26.
== Version 0.3.26 (tzdata v2011e) - 2-Apr-2011

* Updated to tzdata version 2011e
  (http://article.gmane.org/gmane.comp.time.tz/3707).
2011-04-06 13:37:26 +00:00
taca
7729e63964 Update ruby-tzinfo package to 0.3.25.
== Version 0.3.25 (tzdata v2011d) - 14-Mar-2011

* Updated to tzdata version 2011d
  (http://article.gmane.org/gmane.comp.time.tz/3662).
2011-03-16 14:49:59 +00:00
taca
530e3aa4f0 Update ruby-tzinfo package to 0.3.24.
== Version 0.3.24 (tzdata v2010o) - 15-Jan-2011

* Updated to tzdata version 2010o
  (http://article.gmane.org/gmane.comp.time.tz/3473).
2011-01-15 16:34:26 +00:00
taca
12053c5ab7 Update time/ruby-tzinfo to 0.3.23.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.


== Version 0.3.23 (tzdata v2010l) - 19-Aug-2010

* Updated to tzdata version 2010l
  (http://article.gmane.org/gmane.comp.time.tz/3354).
2010-09-10 08:53:28 +00:00
taca
c66195eb1a Add LICENSE. 2010-05-29 15:04:53 +00:00
taca
1019e2aa53 Update ruby-tzinfo pakage from 0.3.20 to 0.3.22.
== Version 0.3.22 (tzdata v2010j) - 29-May-2010

* Corrected file permissions issue with 0.3.21 release.


== Version 0.3.21 (tzdata v2010j) - 28-May-2010

* Updated to tzdata version 2010j
  (http://article.gmane.org/gmane.comp.time.tz/3225).
* Change invalid timezone check to exclude characters not used in timezone
  identifiers and avoid 'character class has duplicated range' warnings with
  Ruby 1.9.2.
* Ruby 1.9.2 has deprecated "require 'rational'", but older versions of
  Ruby need rational to be required. Require rational only when the Rational
  module has not already been loaded.
* Remove circular requires (now a warning in Ruby 1.9.2). Instead of using
  requires in each file for dependencies, tzinfo.rb now requires all tzinfo
  files. If you were previously requiring files within the tzinfo directory
  (e.g. require 'tzinfo/timezone'), then you will now have to
  require 'tzinfo' instead.
2010-05-29 15:03:53 +00:00
taca
1de8463407 Update ruby-tzinfo package to 0.3.20.
== Version 0.3.20 (tzdata v2010i) - 19-Apr-2010

* Updated to tzdata version 2010i
  (http://article.gmane.org/gmane.comp.time.tz/3202).
2010-04-24 15:46:56 +00:00
taca
7808a580c5 Update ruby-tzinfo package to 0.3.19.
* Updated to tzdata version 2010h
  (http://article.gmane.org/gmane.comp.time.tz/3188).
2010-04-06 00:15:34 +00:00
taca
95bd0206d4 Update ruby-tzinfo package to 0.3.18.
* Updated to tzdata version 2010g
  (http://article.gmane.org/gmane.comp.time.tz/3172).
2010-03-30 13:35:38 +00:00
taca
149171292c Update ruby-tzinfo package to 0.3.17.
Updated to tzdata version 2010e
	(http://article.gmane.org/gmane.comp.time.tz/3128).
2010-03-09 01:28:23 +00:00
taca
62a066ca3b Fix PLIST problem reported as PR pkg/42703 by Robert Elz. 2010-01-30 16:04:29 +00:00
taca
f14f45d6f4 Update ruby-tzinfo package to 0.3.16.
== Version 0.3.16 (tzdata v2009u) - 5-Jan-2010

* Support the use of '-' to denote '0' as an offset in the tz data files.
  Used for the first time in the SAVE field in tzdata v2009u.
* Updated to tzdata version 2009u
  (http://article.gmane.org/gmane.comp.time.tz/3053).
2010-01-22 15:30:32 +00:00
taca
2756ea3154 Update ruby-tzinfo package to 0.3.15.
== Version 0.3.15 (tzdata v2009p) - 26-Oct-2009

* Updated to tzdata version 2009p
  (http://article.gmane.org/gmane.comp.time.tz/2953).
* Added a description to the gem spec.
* List test files in test_files instead of files in the gem spec.


== Version 0.3.14 (tzdata v2009l) - 19-Aug-2009

* Updated to tzdata version 2009l
  (http://article.gmane.org/gmane.comp.time.tz/2818).
* Include current directory in load path to allow running tests on
  Ruby 1.9.2, which doesn't include it by default any more.
2009-11-30 15:48:46 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
minskim
f584df7282 Update ruby-tzinfo to 0.3.13.
Changes:
* Updated to tzdata version 2009f
  (http://article.gmane.org/gmane.comp.time.tz/2668).
* Untaint the timezone module filename after validation to allow use
  with $SAFE == 1 (e.g. under mod_ruby). Thanks to Dmitry Borodaenko
  for the suggestion. Closes #25349.
2009-06-10 22:00:28 +00:00
taca
fa6bb491ee Update ruby-tzinfo package to 0.3.12.
Changes from 0.3.11:

== Version 0.3.12 (tzdata v2008i) - 12-Nov-2008

* Updated to tzdata version 2008i
  (http://article.gmane.org/gmane.comp.time.tz/2440).
2008-11-15 08:27:32 +00:00
taca
e11f9956e5 Update ruby-tzinfo package to 0.3.11.
== Version 0.3.11 (tzdata v2008g) - 7-Oct-2008

* Updated to tzdata version 2008g
  (http://article.gmane.org/gmane.comp.time.tz/2335).
* Support Ruby 1.9.0-5. Rational.new! has now been removed in Ruby 1.9.
  Only use Rational.new! if it is available (it is preferable in Ruby 1.8
  for performance reasons). Thanks to Jeremy Kemper and Pratik Naik for
  reporting this. Closes #22312.
* Apply a patch from Pratik Naik to replace assert calls that have been
  deprecated in the Ruby svn trunk. Closes #22308.
2008-10-08 13:24:02 +00:00
taca
ceb052ef37 Update ruby-tzinfo pacakge to 0.3.10.
This is a leaf package.

== Version 0.3.10 (tzdata v2008f) - 16-Sep-2008

* Updated to tzdata version 2008f
  (http://article.gmane.org/gmane.comp.time.tz/2293).
2008-09-18 12:42:47 +00:00
taca
7c1e7ba54f Update ruby-tzinfo package to 0.3.9.
== Version 0.3.9 (tzdata v2008c) - 27-May-2008

* Updated to tzdata version 2008c
  (http://article.gmane.org/gmane.comp.time.tz/2183).
* Support loading timezone data in the latest trunk versions of Ruby 1.9.
  Rational.new! is now private, so call it using Rational.send :new! instead.
  Thanks to Jeremy Kemper and Pratik Naik for spotting this. Closes #19184.
* Prevent warnings from being output when running Ruby with the -v or -w
  command line options. Thanks to Paul McMahon for the patch. Closes #19719.
2008-08-16 03:19:14 +00:00
jlam
be7a03563f Update ruby-tzinfo to version 0.3.8. Changes from version 0.3.5 include:
+ Install as a Ruby gem.

* Updated to tzdata version 2008b
  (http://article.gmane.org/gmane.comp.time.tz/2149).
2008-04-04 15:22:35 +00:00
minskim
dd3bd7609e Update ruby-tzinfo to 0.3.5.
Changes:
* Updated to tzdata version 2007h.
2007-10-16 04:33:05 +00:00
minskim
d609399089 Correct file permission. Bump PKGREVISION. 2006-10-15 08:16:02 +00:00
minskim
1fdba6c4a8 Import ruby-tzinfo-0.3.2.
TZInfo is a Ruby library that uses the standard tz (Olson) database to
provide daylight savings aware transformations between times in
different time zones.  The tz database is compiled into Ruby modules
which are packaged in the release.  No external zoneinfo files are
required at runtime.
2006-10-12 20:51:14 +00:00