Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Pavel Valena
d2f2a56ea4 Update to Active Support 5.1.4. 2017-09-12 15:21:21 +02:00
Vít Ondruch
ae5b554823 Once again disable unstable test. 2017-08-22 09:41:45 +02:00
Vít Ondruch
f2d2bf417b Explicitly require rubygem(json). 2017-08-22 09:23:10 +02:00
3 changed files with 20 additions and 6 deletions

2
.gitignore vendored
View file

@ -75,3 +75,5 @@ activesupport-2.3.8.gem
/activesupport-5.1.2.gem
/activesupport-5.1.3-tests.tgz
/activesupport-5.1.3.gem
/activesupport-5.1.4-tests.tgz
/activesupport-5.1.4.gem

View file

@ -2,7 +2,7 @@
Name: rubygem-%{gem_name}
Epoch: 1
Version: 5.1.3
Version: 5.1.4
Release: 1%{?dist}
Summary: A support libraries and Ruby core extensions extracted from the Rails framework
Group: Development/Languages
@ -14,12 +14,13 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# Rails rpms, you may check it out like so
# git clone http://github.com/rails/rails.git
# cd rails/activesupport/
# git checkout v5.1.3 && tar czvf activesupport-5.1.3-tests.tgz test/
# git checkout v5.1.4 && tar czvf activesupport-5.1.4-tests.tgz test/
Source1: %{gem_name}-%{version}-tests.tgz
# ruby package has just soft dependency on rubygem(bigdecimal), while
# ActiveSupport always requires it.
# ruby package has just soft dependency on rubygem({bigdecimal,json}), while
# ActiveSupport always requires them.
Requires: rubygem(bigdecimal)
Requires: rubygem(json)
# Let's keep Requires and BuildRequires sorted alphabeticaly
BuildRequires: ruby(release)
@ -76,6 +77,10 @@ for f in test/evented_file_update_checker_test.rb; do
mv $f{,.disable}
done
# This seems to be unstable as well ...
# https://github.com/rails/rails/issues/25682
sed -i '/def test_iso8601_output_and_reparsing$/,/^ end$/ s/^/#/' test/core_ext/duration_test.rb
memcached &
mPID=$!
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
@ -95,6 +100,13 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Mon Sep 11 2017 Pavel Valena <pvalena@redhat.com> - 1:5.1.4-1
- Update to Active Support 5.1.4.
* Tue Aug 22 2017 Vít Ondruch <vondruch@redhat.com> - 1:5.1.3-2
- Explicitly require rubygem(json).
- Once again disable unstable test.
* Tue Aug 08 2017 Pavel Valena <pvalena@redhat.com> - 1:5.1.3-1
- Update to Active Support 5.1.3.

View file

@ -1,2 +1,2 @@
SHA512 (activesupport-5.1.3-tests.tgz) = 84d1e41a39c88fe3b66aff9bf27a22cc15c2c1418446440ea0baf90e712b86ac533f972e4a29a282c554f7150ca8a881ed7c48a307763674b2f19965e7f37b7a
SHA512 (activesupport-5.1.3.gem) = c7e51664458fe1473f6a24bcce6ae8ae1f0a280462817d22626541fd5006183fa0c0d003479ccecf3d927c0688b480382709e484fd4b101f31f85673a94583b8
SHA512 (activesupport-5.1.4-tests.tgz) = f89d9397d94e2db521ab46b2a8abce2130b4bcfebb9f143bb1338ef5899cf3d9b7f292c12f3c07c429ee5916ef5eae0145fe25289fa94562c1c27af855154e8b
SHA512 (activesupport-5.1.4.gem) = 0da18df1bbf7648c12753844400ccc562ca8b1281e3f381c6f8e3b3d02d6ab313b549a3d90ca69fbf5a31da12ca3c188d1c6492815ef3b0611bb75c95d71cdd9