[rubygem-fast_gettext] Update to fast_gettext 0.7.1.

Vít Ondruch vondruch at fedoraproject.org
Mon Aug 19 15:49:05 UTC 2013


commit 29579f3d976420c1d3b225a088c734ec8165e0ce
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Aug 19 17:47:12 2013 +0200

    Update to fast_gettext 0.7.1.

 .gitignore                |    1 +
 rubygem-fast_gettext.spec |   24 ++++++++++++++++--------
 sources                   |    2 +-
 3 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8b4d1f2..0681cdc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /fast_gettext-0.6.1.gem
 /fast_gettext-0.7.0.gem
+/fast_gettext-0.7.1.gem
diff --git a/rubygem-fast_gettext.spec b/rubygem-fast_gettext.spec
index 1e187a4..995c93c 100644
--- a/rubygem-fast_gettext.spec
+++ b/rubygem-fast_gettext.spec
@@ -4,10 +4,10 @@
 
 Summary: A simple, fast, memory-efficient and threadsafe implementation of GetText
 Name: rubygem-%{gem_name}
-Version: 0.7.0
-Release: 2%{?dist}
+Version: 0.7.1
+Release: 1%{?dist}
 Group: Development/Languages
-# fast_gettext is Public Domain. However the files in lib/vendor directory
+# fast_gettext is MIT. However the files in lib/vendor directory
 # are GPLv2+ or Ruby licensed.
 # https://github.com/grosser/fast_gettext/issues/50
 License: MIT and (GPLv2+ or Ruby)
@@ -15,12 +15,12 @@ URL: http://github.com/grosser/fast_gettext
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 Requires: ruby(release)
 Requires: ruby(rubygems)
-Requires: ruby
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 BuildRequires: rubygem(rspec)
 BuildRequires: rubygem(activerecord)
+BuildRequires: rubygem(protected_attributes)
 BuildRequires: rubygem(sqlite3)
 BuildArch: noarch
 Provides: rubygem(%{gem_name}) = %{version}
@@ -43,9 +43,6 @@ Documentation for %{name}
 %setup -q -c -T
 %gem_install -n %{SOURCE0}
 
-# Kill shebang.
-sed -i '1,1d' .%{gem_libdir}/fast_gettext/vendor/string.rb
-
 %build
 
 %install
@@ -55,13 +52,21 @@ cp -a .%{gem_dir}/* \
 
 %check
 pushd .%{gem_instdir}
+
 # Do not use bundler, since it tries to install unnecessary gems.
 sed -i -e 's/bundle exec//' spec/fast_gettext/vendor/iconv_spec.rb
 sed -i -e 's/bundle exec//' spec/fast_gettext/vendor/string_spec.rb
 
 # Test of SAFE mode fails with Ruby 2.0.0.
 # https://github.com/grosser/fast_gettext/issues/53
-LANG=en_US.utf8 rspec spec | grep "168 examples, 1 failure"
+
+# 2 string interpolation cases fail due to AS 4.x incompatibility.
+# https://github.com/grosser/fast_gettext/issues/57
+
+# protected_attributes is RoR 3.x compatibility gem. Its usage should be removed
+# as soon as upstream provide native support for RoR 4.x
+
+LANG=en_US.utf8 rspec -rprotected_attributes spec | grep "178 examples, 3 failures"
 
 popd
 
@@ -87,6 +92,9 @@ popd
 
 
 %changelog
+* Mon Aug 19 2013 Vít Ondruch <vondruch at redhat.com> - 0.7.1-1
+- Update to fast_gettext 0.7.1.
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 6deb504..6412ac0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e0305495c8e955747b179d9963e2c3a  fast_gettext-0.7.0.gem
+056c2137dcf28b35652bfb669ae57d60  fast_gettext-0.7.1.gem


More information about the scm-commits mailing list