diff --git a/.gitignore b/.gitignore index a7aaea8..517450d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /i18n-0.4.2.gem /i18n-0.5.0.gem +/i18n-0.6.0.gem diff --git a/rubygem-i18n.spec b/rubygem-i18n.spec index e284c71..55b0539 100644 --- a/rubygem-i18n.spec +++ b/rubygem-i18n.spec @@ -2,8 +2,8 @@ Summary: New wave Internationalization support for Ruby Name: rubygem-%{gem_name} -Version: 0.5.0 -Release: 3%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Group: Development/Languages License: MIT and (GPLv2 or Ruby) URL: http://github.com/svenfuchs/i18n @@ -52,18 +52,16 @@ pushd .%{gem_instdir} # Bundler just complicates everything in our case, remove it. sed -i -e "s|require 'bundler/setup'||" test/test_helper.rb - +# workaround for failing test - but I consider it to be a bug, +# upstream fix doesn't work +# see https://github.com/svenfuchs/i18n/issues/114#issuecomment-7065131 +echo ' ' > test/test_data/locales/invalid/empty.yml # Tests are failing without LANG environment is set. # https://github.com/svenfuchs/i18n/issues/115 -# The test failure is due to change of default YAML engine in Ruby 1.9.3. -# https://github.com/svenfuchs/i18n/issues/114 -LANG=en_US.utf8 testrb -Ilib test/all.rb | \ - grep "1021 tests, 1500 assertions, 1 failures, 0 errors, 0 skips" - +LANG=en_US.utf8 testrb -Ilib test/all.rb popd %files -%defattr(-, root, root, -) %dir %{gem_instdir} %{gem_libdir} %doc %{gem_instdir}/README.textile @@ -73,13 +71,16 @@ popd %{gem_spec} %files doc -%defattr(-, root, root, -) %{gem_instdir}/ci %{gem_instdir}/test %doc %{gem_docdir} %changelog +* Wed Jul 18 2012 Bohuslav Kabrda - 0.6.0-1 +- Update to I18n 0.6.0. +- Removed unneeded %%defattr usage. + * Thu Jan 19 2012 Vít Ondruch - 0.5.0-3 - Rebuilt for Ruby 1.9.3. - Enabled test suite. diff --git a/sources b/sources index de64bc4..05f2ee6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -761d743478dfbdc4f2c1743d5241c009 i18n-0.5.0.gem +fb94282dab8aadb7de15db134f8133ff i18n-0.6.0.gem