Hello community,
here is the log from the commit of package rubygem-fast_gettext for
openSUSE:Factory checked in at 2018-12-10 12:23:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-fast_gettext (Old)
and /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-fast_gettext"
Mon Dec 10 12:23:52 2018 rev:25 rq:656378 version:1.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-fast_gettext/rubygem-fast_gettext.changes
2018-07-13 10:13:53.849924997 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new.19453/rubygem-fast_gettext.changes
2018-12-10 12:23:53.734793062 +0100
@@ -1,0 +2,6 @@
+Sat Dec 8 16:21:09 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to version 1.8.0
+ see installed CHANGELOG
+
+-------------------------------------------------------------------
Old:
----
fast_gettext-1.7.0.gem
New:
----
fast_gettext-1.8.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-fast_gettext.spec ++++++
--- /var/tmp/diff_new_pack.27dsKP/_old 2018-12-10 12:23:54.342792455 +0100
+++ /var/tmp/diff_new_pack.27dsKP/_new 2018-12-10 12:23:54.342792455 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-fast_gettext
-Version: 1.7.0
+Version: 1.8.0
Release: 0
%define mod_name fast_gettext
%define mod_full_name %{mod_name}-%{version}
++++++ fast_gettext-1.7.0.gem -> fast_gettext-1.8.0.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/translation.rb
new/lib/fast_gettext/translation.rb
--- old/lib/fast_gettext/translation.rb 2018-06-23 01:20:58.000000000 +0200
+++ new/lib/fast_gettext/translation.rb 2018-12-08 17:03:06.000000000 +0100
@@ -42,6 +42,14 @@
end
end
+ #translate with namespace, use namespect to find key
+ # 'Car','Tire' -> Tire if no translation could be found
+ # p_('Car','Tire') <=> s_('Car|Tire')
+ def p_(namespace, key, separator=nil, &block)
+ msgid = "#{namespace}#{separator||NAMESPACE_SEPARATOR}#{key}"
+ FastGettext.cached_find(msgid) or (block ? block.call : key)
+ end
+
#translate, but discard namespace if nothing was found
# Car|Tire -> Tire if no translation could be found
def s_(key, separator=nil, &block)
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 2018-06-23 01:20:58.000000000 +0200
+++ new/lib/fast_gettext/version.rb 2018-12-08 17:03:06.000000000 +0100
@@ -1,3 +1,3 @@
module FastGettext
- VERSION = Version = '1.7.0'
+ VERSION = Version = '1.8.0'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-06-23 01:20:58.000000000 +0200
+++ new/metadata 2018-12-08 17:03:06.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: fast_gettext
version: !ruby/object:Gem::Version
- version: 1.7.0
+ version: 1.8.0
platform: ruby
authors:
- Michael Grosser
autorequire:
bindir: bin
cert_chain: []
-date: 2018-06-22 00:00:00.000000000 Z
+date: 2018-12-08 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake