Compare commits

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

1 commit

Author SHA1 Message Date
Pavel Valena
c6257f8698 Update to activesupport 6.1.4.4. 2022-01-07 15:55:30 +01:00
2 changed files with 17 additions and 13 deletions

View file

@ -4,8 +4,8 @@
Name: rubygem-%{gem_name}
Epoch: 1
Version: 6.1.4
Release: 2%{?dist}
Version: 6.1.4.4
Release: 1%{?dist}
Summary: A support libraries and Ruby core extensions extracted from the Rails framework
License: MIT
URL: http://rubyonrails.org
@ -13,12 +13,12 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}%{?prerelease}.gem
# The activesupport gem doesn't ship with the test suite.
# You may check it out like so
# git clone http://github.com/rails/rails.git
# cd rails/activesupport && git archive -v -o activesupport-6.1.4-tests.txz v6.1.4 test/
# cd rails/activesupport && git archive -v -o activesupport-6.1.4.4-tests.txz v6.1.4.4 test/
Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
# The tools are needed for the test suite, are however unpackaged in gem file.
# You may get them like so
# git clone http://github.com/rails/rails.git --no-checkout
# cd rails && git archive -v -o rails-6.1.4-tools.txz v6.1.4 tools/
# cd rails && git archive -v -o rails-6.1.4.4-tools.txz v6.1.4.4 tools/
Source2: rails-%{version}%{?prerelease}-tools.txz
# ruby package has just soft dependency on rubygem({bigdecimal,json}), while
@ -78,12 +78,9 @@ ln -s %{_builddir}/tools ..
mv %{_builddir}/test .
# These tests are really unstable, but they seems to be passing upstream :/
for f in \
test/evented_file_update_checker_test.rb \
test/cache/stores/redis_cache_store_test.rb # failed to require "redis/connection/hiredis"
do
mv $f{,.disable}
done
sed -i '/behaviors\/failure_safety_behavior/ s/^/#/' test/cache/behaviors.rb
mv test/cache/behaviors/failure_safety_behavior.rb{,.disable}
mv test/cache/stores/mem_cache_store_test.rb{,.disable}
# This seems to be unstable as well ...
# https://github.com/rails/rails/issues/25682
@ -94,8 +91,12 @@ sed -i '/def test_iso8601_output_and_reparsing$/,/^ end$/ s/^/#/' test/core_ext
# https://bugs.ruby-lang.org/issues/16498
sed -i '/assert_nil mapped\[:b\]/ s/^/#/' test/core_ext/hash/transform_values_test.rb
# Remove bundler dependency
sed -i '/require .bundler./ s/^/#/' test/abstract_unit.rb
# Disable test requiring hiredis server
mv test/cache/stores/redis_cache_store_test.rb{,.disable}
memcached &
mPID=$!
sleep 1
@ -116,6 +117,9 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Wed Jan 05 2022 Pavel Valena <pvalena@redhat.com> - 1:6.1.4.4-1
- Update to activesupport 6.1.4.4.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:6.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View file

@ -1,3 +1,3 @@
SHA512 (activesupport-6.1.4.gem) = 20a551bd6ac66e8631cac5f61d791b87659f9716e968328739509280a1ed10c0a1caa72f0e869c4b2ec110188de8d67bae40cbfe6d105ce5638d57fc4c974138
SHA512 (activesupport-6.1.4-tests.txz) = 9b946171d6066a33b4464b86286c87a5f9bbebe508749dffa204593a029700cdaa56ab89ba08fc7c6ec22a5f290250ef3bc79fdfa909c5a65399983b0d1068be
SHA512 (rails-6.1.4-tools.txz) = acc3c9ba7c13817c27cb2bb06829b87c2bc82ca73b214e2ab20380ed9ac6fac221aa8a9183bb2aaf8685c21f049583ece09aa01660b191830879e086e286cb69
SHA512 (activesupport-6.1.4.4.gem) = 05170f054cbb16e6421e3805ee78a759abe80046aad3d4b293d747366ab510e3878e40131eb66757ff2ab1c2d6752109676e4cc94a5ce76d0d173f5643d7cc2c
SHA512 (activesupport-6.1.4.4-tests.txz) = 8a2f1490ea8dc7b51bb4994a70f5a4b9ec3ff4f8700ff37269bd38c2725320099ea56d1e6c4319f9d3c73472740a3cc60f36edf7829be41bd34999068f648ae0
SHA512 (rails-6.1.4.4-tools.txz) = 8b9943a8b58f636efd5d7b5a7c073243529912f7804c983e006f3dbf588fc2cc7b6d368e96345b8aee6311f5e165f6dfd0b996faebdc723826466ba69284dd69