Hello community, here is the log from the commit of package rubygem-fast_gettext for openSUSE:Factory checked in at 2016-11-03 12:57:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-fast_gettext (Old) and /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-fast_gettext" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-fast_gettext/rubygem-fast_gettext.changes 2016-08-17 12:00:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new/rubygem-fast_gettext.changes 2016-11-03 12:57:38.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Oct 20 04:41:36 UTC 2016 - coolo@suse.com + +- updated to version 1.3.0 + see installed CHANGELOG + +------------------------------------------------------------------- Old: ---- fast_gettext-1.2.0.gem New: ---- fast_gettext-1.3.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-fast_gettext.spec ++++++ --- /var/tmp/diff_new_pack.dF3ESh/_old 2016-11-03 12:57:39.000000000 +0100 +++ /var/tmp/diff_new_pack.dF3ESh/_new 2016-11-03 12:57:39.000000000 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-fast_gettext -Version: 1.2.0 +Version: 1.3.0 Release: 0 %define mod_name fast_gettext %define mod_full_name %{mod_name}-%{version} ++++++ fast_gettext-1.2.0.gem -> fast_gettext-1.3.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Readme.md new/Readme.md --- old/Readme.md 2016-08-02 16:58:21.000000000 +0200 +++ new/Readme.md 2016-10-19 18:48:48.000000000 +0200 @@ -273,6 +273,7 @@ - [Fotos Georgiadis](https://github.com/fotos) - [Lukáš Zapletal](https://github.com/lzap) - [Dominic Cleal](https://github.com/domcleal) + - [Tomas Strachota](https://github.com/tstrachota) [Michael Grosser](http://grosser.it)<br/> michael@grosser.it<br/> 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/storage.rb new/lib/fast_gettext/storage.rb --- old/lib/fast_gettext/storage.rb 2016-08-02 16:58:21.000000000 +0200 +++ new/lib/fast_gettext/storage.rb 2016-10-19 18:48:48.000000000 +0200 @@ -136,6 +136,16 @@ return nil#nothing found im sorry :P end + # temporarily switch locale for a block + # FastGettext.with_locale 'xx' { _('cars') } + def with_locale(temp_locale) + current_locale = locale + set_locale temp_locale + yield + ensure + set_locale current_locale + end + #turn off translation if none was defined to disable all resulting errors def silence_errors require 'fast_gettext/translation_repository/base' 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 2016-08-02 16:58:21.000000000 +0200 +++ new/lib/fast_gettext/version.rb 2016-10-19 18:48:48.000000000 +0200 @@ -1,3 +1,3 @@ module FastGettext - VERSION = Version = '1.2.0' + VERSION = Version = '1.3.0' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-08-02 16:58:21.000000000 +0200 +++ new/metadata 2016-10-19 18:48:48.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: fast_gettext version: !ruby/object:Gem::Version - version: 1.2.0 + version: 1.3.0 platform: ruby authors: - Michael Grosser autorequire: bindir: bin cert_chain: [] -date: 2016-08-02 00:00:00.000000000 Z +date: 2016-10-19 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake