Hello community,
here is the log from the commit of package rubygem-fast_gettext for
openSUSE:Factory checked in at 2015-10-24 10:23:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
2015-02-16 21:22:02.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-fast_gettext.new/rubygem-fast_gettext.changes
2015-10-24 10:23:35.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Oct 15 04:29:34 UTC 2015 - [email protected]
+
+- updated to version 1.0.0
+ see installed CHANGELOG
+
+ 1.0.0 -- do not enforce attr_accessible unless ProtectedAttributes are loaded
+
+-------------------------------------------------------------------
Old:
----
fast_gettext-0.9.2.gem
New:
----
fast_gettext-1.0.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-fast_gettext.spec ++++++
--- /var/tmp/diff_new_pack.D0DpqZ/_old 2015-10-24 10:23:36.000000000 +0200
+++ /var/tmp/diff_new_pack.D0DpqZ/_new 2015-10-24 10:23:36.000000000 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-fast_gettext
-Version: 0.9.2
+Version: 1.0.0
Release: 0
%define mod_name fast_gettext
%define mod_full_name %{mod_name}-%{version}
++++++ fast_gettext-0.9.2.gem -> fast_gettext-1.0.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG new/CHANGELOG
--- old/CHANGELOG 2015-01-11 17:23:46.000000000 +0100
+++ new/CHANGELOG 2015-10-14 22:45:49.000000000 +0200
@@ -1,3 +1,4 @@
+1.0.0 -- do not enforce attr_accessible unless ProtectedAttributes are loaded
0.9.0 -- reworked internals of caching to be plugable
0.7.0 -- set_locale resets to default locale if none of the available locales
was tried to set
0.6.0 -- plurals use singular translations as fallack e.g. you translated
'Axis' then n_('Axis','Axis',1) would return the translation for 'Axis' if no
plural translation was found
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Readme.md new/Readme.md
--- old/Readme.md 2015-01-11 17:23:46.000000000 +0100
+++ new/Readme.md 2015-10-14 22:45:49.000000000 +0200
@@ -142,7 +142,7 @@
Via Ruby:
- FastGettext.pluralisation_rule = lamda{|count| count > 5 ? 1 : (count > 2
? 0 : 2)}
+ FastGettext.pluralisation_rule = lambda{|count| count > 5 ? 1 : (count > 2
? 0 : 2)}
Via mo/pofile:
@@ -175,7 +175,7 @@
repos = [
FastGettext::TranslationRepository.build('app', :path=>'....')
- FastGettext::TranslationRepository.build('logger', :type=>:logger,
:callback=>lamda{|key_or_array_of_ids| ... }),
+ FastGettext::TranslationRepository.build('logger', :type=>:logger,
:callback=>lambda{|key_or_array_of_ids| ... }),
}
FastGettext.add_text_domain 'combined', :type=>:chain, :chain=>repos
@@ -254,6 +254,7 @@
- [Stephan Kulow](https://github.com/coolo)
- [Fotos Georgiadis](https://github.com/fotos)
- [Lukáš Zapletal](https://github.com/lzap)
+ - [Dominic Cleal](https://github.com/domcleal)
[Michael Grosser](http://grosser.it)<br/>
[email protected]<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/translation_repository/db_models/translation_key.rb
new/lib/fast_gettext/translation_repository/db_models/translation_key.rb
--- old/lib/fast_gettext/translation_repository/db_models/translation_key.rb
2015-01-11 17:23:46.000000000 +0100
+++ new/lib/fast_gettext/translation_repository/db_models/translation_key.rb
2015-10-14 22:45:49.000000000 +0200
@@ -1,5 +1,3 @@
-require "protected_attributes" if ActiveRecord::VERSION::MAJOR >= 4
-
class TranslationKey < ActiveRecord::Base
has_many :translations, :class_name => 'TranslationText', :dependent =>
:destroy
@@ -8,7 +6,7 @@
validates_uniqueness_of :key
validates_presence_of :key
- attr_accessible :key, :translations, :translations_attributes
+ attr_accessible :key, :translations, :translations_attributes if
ActiveRecord::VERSION::MAJOR == 3 || defined?(ProtectedAttributes)
before_save :normalize_newlines
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/fast_gettext/translation_repository/db_models/translation_text.rb
new/lib/fast_gettext/translation_repository/db_models/translation_text.rb
--- old/lib/fast_gettext/translation_repository/db_models/translation_text.rb
2015-01-11 17:23:46.000000000 +0100
+++ new/lib/fast_gettext/translation_repository/db_models/translation_text.rb
2015-10-14 22:45:49.000000000 +0200
@@ -1,10 +1,8 @@
-require "protected_attributes" if ActiveRecord::VERSION::MAJOR >= 4
-
class TranslationText < ActiveRecord::Base
belongs_to :translation_key, :class_name => 'TranslationKey'
validates_presence_of :locale
validates_uniqueness_of :locale, :scope=>:translation_key_id
- attr_accessible :text, :locale, :translation_key, :translation_key_id
+ attr_accessible :text, :locale, :translation_key, :translation_key_id if
ActiveRecord::VERSION::MAJOR == 3 || defined?(ProtectedAttributes)
after_update :expire_cache
protected
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 2015-01-11 17:23:46.000000000 +0100
+++ new/lib/fast_gettext/version.rb 2015-10-14 22:45:49.000000000 +0200
@@ -1,3 +1,3 @@
module FastGettext
- VERSION = Version = '0.9.2'
+ VERSION = Version = '1.0.0'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-01-11 17:23:46.000000000 +0100
+++ new/metadata 2015-10-14 22:45:49.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: fast_gettext
version: !ruby/object:Gem::Version
- version: 0.9.2
+ version: 1.0.0
platform: ruby
authors:
- Michael Grosser
autorequire:
bindir: bin
cert_chain: []
-date: 2015-01-11 00:00:00.000000000 Z
+date: 2015-10-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake