Hello community,

here is the log from the commit of package rubygem-tzinfo for openSUSE:Factory 
checked in at 2020-12-21 12:35:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-tzinfo (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-tzinfo.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-tzinfo"

Mon Dec 21 12:35:26 2020 rev:25 rq:857107 version:2.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-tzinfo/rubygem-tzinfo.changes    
2020-12-11 20:16:25.564652442 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-tzinfo.new.5145/rubygem-tzinfo.changes  
2020-12-21 12:35:27.558972503 +0100
@@ -1,0 +2,10 @@
+Sun Dec 20 09:18:28 UTC 2020 - Manuel Schnitzer <mschnit...@suse.com>
+
+- updated to version 2.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.
+
+-------------------------------------------------------------------

Old:
----
  tzinfo-2.0.3.gem

New:
----
  tzinfo-2.0.4.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-tzinfo.spec ++++++
--- /var/tmp/diff_new_pack.GrJHks/_old  2020-12-21 12:35:29.310976691 +0100
+++ /var/tmp/diff_new_pack.GrJHks/_new  2020-12-21 12:35:29.314976700 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-tzinfo
-Version:        2.0.3
+Version:        2.0.4
 Release:        0
 %define mod_name tzinfo
 %define mod_full_name %{mod_name}-%{version}

++++++ tzinfo-2.0.3.gem -> tzinfo-2.0.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGES.md new/CHANGES.md
--- old/CHANGES.md      2020-11-08 14:08:04.000000000 +0100
+++ new/CHANGES.md      2020-12-16 21:58:54.000000000 +0100
@@ -1,5 +1,13 @@
 # Changes
 
+## Version 2.0.4 - 16-Dec-2020
+
+* 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.
+
+
 ## Version 2.0.3 - 8-Nov-2020
 
 * Added support for handling "slim" format zoneinfo files that are produced by
@@ -174,6 +182,14 @@
   `TZInfo::Country.get('US').zone_identifiers` should be used instead.
 
 
+## Version 1.2.9 - 16-Dec-2020
+
+* 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.
+
+
 ## Version 1.2.8 - 8-Nov-2020
 
 * Added support for handling "slim" format zoneinfo files that are produced by
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tzinfo/data_sources/zoneinfo_reader.rb 
new/lib/tzinfo/data_sources/zoneinfo_reader.rb
--- old/lib/tzinfo/data_sources/zoneinfo_reader.rb      2020-11-08 
14:08:04.000000000 +0100
+++ new/lib/tzinfo/data_sources/zoneinfo_reader.rb      2020-12-16 
21:58:54.000000000 +0100
@@ -323,8 +323,11 @@
           if last_year <= GENERATE_UP_TO
             rules = replace_with_existing_offsets(offsets, rules)
 
-            generated = rules.transitions(last_year).find_all {|t| 
t.timestamp_value > last_defined.timestamp_value } +
-              (last_year + 1).upto(GENERATE_UP_TO).flat_map {|y| 
rules.transitions(y) }
+            generated = rules.transitions(last_year).find_all do |t|
+              t.timestamp_value > last_defined.timestamp_value && 
!offset_matches_rule?(last_defined.offset, t.offset)
+            end
+
+            generated += (last_year + 1).upto(GENERATE_UP_TO).flat_map {|y| 
rules.transitions(y) }
 
             unless generated.empty?
               transitions[-1] = 
validate_and_fix_last_defined_transition_offset(file, last_defined, 
generated[0].previous_offset)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tzinfo/version.rb new/lib/tzinfo/version.rb
--- old/lib/tzinfo/version.rb   2020-11-08 14:08:04.000000000 +0100
+++ new/lib/tzinfo/version.rb   2020-12-16 21:58:54.000000000 +0100
@@ -3,5 +3,5 @@
 
 module TZInfo
   # The TZInfo version number.
-  VERSION = '2.0.3'
+  VERSION = '2.0.4'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-11-08 14:08:04.000000000 +0100
+++ new/metadata        2020-12-16 21:58:54.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: tzinfo
 version: !ruby/object:Gem::Version
-  version: 2.0.3
+  version: 2.0.4
 platform: ruby
 authors:
 - Philip Ross
@@ -29,7 +29,7 @@
   J3Zn/kSTjTekiaspyGbczC3PUaeJNxr+yCvR4sk71Xmk/GaKKGOHedJ1uj/LAXrA
   MR0mpl7b8zCg0PFC1J73uw==
   -----END CERTIFICATE-----
-date: 2020-11-08 00:00:00.000000000 Z
+date: 2020-12-16 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: concurrent-ruby
@@ -114,9 +114,9 @@
 metadata:
   bug_tracker_uri: https://github.com/tzinfo/tzinfo/issues
   changelog_uri: https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md
-  documentation_uri: https://rubydoc.info/gems/tzinfo/2.0.3
+  documentation_uri: https://rubydoc.info/gems/tzinfo/2.0.4
   homepage_uri: https://tzinfo.github.io
-  source_code_uri: https://github.com/tzinfo/tzinfo/tree/v2.0.3
+  source_code_uri: https://github.com/tzinfo/tzinfo/tree/v2.0.4
 post_install_message: 
 rdoc_options:
 - "--title"
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to