Hello community,
here is the log from the commit of package rubygem-fast_gettext for
openSUSE:Factory checked in at 2019-06-12 13:00:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-fast_gettext (Old)
and /work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-fast_gettext"
Wed Jun 12 13:00:18 2019 rev:27 rq:705988 version:2.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-fast_gettext/rubygem-fast_gettext.changes
2019-01-24 14:00:41.664237609 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new.4811/rubygem-fast_gettext.changes
2019-06-12 13:00:22.185313091 +0200
@@ -1,0 +2,6 @@
+Sun May 5 09:25:21 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to version 2.0.1
+ see installed CHANGELOG
+
+-------------------------------------------------------------------
Old:
----
fast_gettext-2.0.0.gem
New:
----
fast_gettext-2.0.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-fast_gettext.spec ++++++
--- /var/tmp/diff_new_pack.rYFCt2/_old 2019-06-12 13:00:22.941312924 +0200
+++ /var/tmp/diff_new_pack.rYFCt2/_new 2019-06-12 13:00:22.945312923 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-fast_gettext
-Version: 2.0.0
+Version: 2.0.1
Release: 0
%define mod_name fast_gettext
%define mod_full_name %{mod_name}-%{version}
++++++ fast_gettext-2.0.0.gem -> fast_gettext-2.0.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Readme.md new/Readme.md
--- old/Readme.md 2018-12-21 17:52:20.000000000 +0100
+++ new/Readme.md 2019-04-21 02:49:32.000000000 +0200
@@ -95,8 +95,8 @@
### 4. Start translating
-FastGetText supports all the translation methods of
[ruby-gettext](http://github.com/ruby-gettext/gettext) with added support for
block defaults.
-(to get `*gettext` methods, use `FastGetText::TranslationAliased`)
+FastGettext supports all the translation methods of
[ruby-gettext](http://github.com/ruby-gettext/gettext) with added support for
block defaults.
+(to get `*gettext` methods, use `FastGettext::TranslationAliased`)
#### `_()` or `gettext()`: basic translation
@@ -116,7 +116,7 @@
You'll often want to interpolate the results of `n_()` using ruby builtin `%`
operator.
```ruby
-n_('Car', '#{n} Cars', 2) % { n: count } == '2 Autos'
+n_('Car', '%{n} Cars', 2) % { n: count } == '2 Autos'
```
#### `p_()` or `pgettext()`: translation with context
@@ -159,7 +159,7 @@
```
N_("active"); N_("inactive"); N_("paused") # possible value of status for
parser to find.
Nn_("active", "inactive", "paused") # alternative method
-_("Your account is #{account_state}.") % { account_state: status }
+_("Your account is %{account_state}.") % { account_state: status }
```
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/mo_file.rb
new/lib/fast_gettext/mo_file.rb
--- old/lib/fast_gettext/mo_file.rb 2018-12-21 17:52:20.000000000 +0100
+++ new/lib/fast_gettext/mo_file.rb 2019-04-21 02:49:32.000000000 +0200
@@ -11,6 +11,7 @@
# file => path or FastGettext::GetText::MOFile
def initialize(file, options = {})
@filename = file
+ @data = nil
load_data if options[:eager_load]
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 2018-12-21 17:52:20.000000000 +0100
+++ new/lib/fast_gettext/version.rb 2019-04-21 02:49:32.000000000 +0200
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module FastGettext
- VERSION = Version = '2.0.0' # rubocop:disable Naming/ConstantName
+ VERSION = Version = '2.0.1' # rubocop:disable Naming/ConstantName
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-12-21 17:52:20.000000000 +0100
+++ new/metadata 2019-04-21 02:49:32.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: fast_gettext
version: !ruby/object:Gem::Version
- version: 2.0.0
+ version: 2.0.1
platform: ruby
authors:
- Michael Grosser
autorequire:
bindir: bin
cert_chain: []
-date: 2018-12-21 00:00:00.000000000 Z
+date: 2019-04-21 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake