Hello community, here is the log from the commit of package rubygem-fast_gettext for openSUSE:Factory checked in at 2017-09-07 22:10:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-fast_gettext (Old) and /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-fast_gettext" Thu Sep 7 22:10:09 2017 rev:22 rq:520440 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-fast_gettext/rubygem-fast_gettext.changes 2017-08-12 19:43:07.342662778 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new/rubygem-fast_gettext.changes 2017-09-07 22:10:10.648654892 +0200 @@ -1,0 +2,6 @@ +Sun Sep 3 09:01:30 UTC 2017 - coolo@suse.com + +- updated to version 1.5.1 + see installed CHANGELOG + +------------------------------------------------------------------- Old: ---- fast_gettext-1.4.1.gem New: ---- fast_gettext-1.5.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-fast_gettext.spec ++++++ --- /var/tmp/diff_new_pack.1QnyaB/_old 2017-09-07 22:10:12.288423771 +0200 +++ /var/tmp/diff_new_pack.1QnyaB/_new 2017-09-07 22:10:12.292423208 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-fast_gettext -Version: 1.4.1 +Version: 1.5.1 Release: 0 %define mod_name fast_gettext %define mod_full_name %{mod_name}-%{version} ++++++ fast_gettext-1.4.1.gem -> fast_gettext-1.5.1.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fast_gettext/po_file.rb new/lib/fast_gettext/po_file.rb --- old/lib/fast_gettext/po_file.rb 2017-06-20 16:24:56.000000000 +0200 +++ new/lib/fast_gettext/po_file.rb 2017-08-15 17:08:44.000000000 +0200 @@ -32,7 +32,7 @@ parser.report_warning = options.fetch(:report_warning, true) mo_file = FastGettext::GetText::MOFile.new - parser.parse(File.read(file), mo_file) + parser.parse_file(file, mo_file) mo_file end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fast_gettext/storage.rb new/lib/fast_gettext/storage.rb --- old/lib/fast_gettext/storage.rb 2017-06-20 16:24:56.000000000 +0200 +++ new/lib/fast_gettext/storage.rb 2017-08-15 17:08:44.000000000 +0200 @@ -2,7 +2,7 @@ module FastGettext # Responsibility: - # - store data threadsave + # - store data threadsafe # - provide error messages when repositories are unconfigured # - accept/reject locales that are set by the user module Storage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fast_gettext/vendor/poparser.rb new/lib/fast_gettext/vendor/poparser.rb --- old/lib/fast_gettext/vendor/poparser.rb 2017-06-20 16:24:56.000000000 +0200 +++ new/lib/fast_gettext/vendor/poparser.rb 2017-08-15 17:08:44.000000000 +0200 @@ -132,19 +132,14 @@ end def parse_file(po_file, data) - args = [ po_file ] - # In Ruby 1.9, we must detect proper encoding of a PO file. - if String.instance_methods.include?(:encode) - encoding = detect_file_encoding(po_file) - args << "r:#{encoding}" - end @po_file = po_file - parse(File.open(*args) {|io| io.read }, data) + encoding = detect_file_encoding(po_file) + parse(File.open(po_file, "r:#{encoding}") {|io| io.read }, data) end def detect_file_encoding(po_file) open(po_file, :encoding => 'ASCII-8BIT') do |input| - input.lines.each do |line| + input.each_line do |line| return Encoding.find($1) if %r["Content-Type:.*\scharset=(.*)\\n"] =~ line end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/fast_gettext/version.rb new/lib/fast_gettext/version.rb --- old/lib/fast_gettext/version.rb 2017-06-20 16:24:56.000000000 +0200 +++ new/lib/fast_gettext/version.rb 2017-08-15 17:08:44.000000000 +0200 @@ -1,3 +1,3 @@ module FastGettext - VERSION = Version = '1.4.1' + VERSION = Version = '1.5.1' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-06-20 16:24:56.000000000 +0200 +++ new/metadata 2017-08-15 17:08:44.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: fast_gettext version: !ruby/object:Gem::Version - version: 1.4.1 + version: 1.5.1 platform: ruby authors: - Michael Grosser autorequire: bindir: bin cert_chain: [] -date: 2017-06-20 00:00:00.000000000 Z +date: 2017-08-15 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake