|
|
@ -2,8 +2,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: New wave Internationalization support for Ruby
|
|
|
|
Summary: New wave Internationalization support for Ruby
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.5.0
|
|
|
|
Version: 0.6.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT and (GPLv2 or Ruby)
|
|
|
|
License: MIT and (GPLv2 or Ruby)
|
|
|
|
URL: http://github.com/svenfuchs/i18n
|
|
|
|
URL: http://github.com/svenfuchs/i18n
|
|
|
@ -52,18 +52,16 @@ pushd .%{gem_instdir}
|
|
|
|
|
|
|
|
|
|
|
|
# Bundler just complicates everything in our case, remove it.
|
|
|
|
# Bundler just complicates everything in our case, remove it.
|
|
|
|
sed -i -e "s|require 'bundler/setup'||" test/test_helper.rb
|
|
|
|
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.
|
|
|
|
# Tests are failing without LANG environment is set.
|
|
|
|
# https://github.com/svenfuchs/i18n/issues/115
|
|
|
|
# https://github.com/svenfuchs/i18n/issues/115
|
|
|
|
# The test failure is due to change of default YAML engine in Ruby 1.9.3.
|
|
|
|
LANG=en_US.utf8 testrb -Ilib test/all.rb
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%doc %{gem_instdir}/README.textile
|
|
|
|
%doc %{gem_instdir}/README.textile
|
|
|
@ -73,13 +71,16 @@ popd
|
|
|
|
%{gem_spec}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
|
|
|
%{gem_instdir}/ci
|
|
|
|
%{gem_instdir}/ci
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%{gem_instdir}/test
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jul 18 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.0-1
|
|
|
|
|
|
|
|
- Update to I18n 0.6.0.
|
|
|
|
|
|
|
|
- Removed unneeded %%defattr usage.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.0-3
|
|
|
|
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.5.0-3
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
- Enabled test suite.
|
|
|
|
- Enabled test suite.
|
|
|
|