!17 Upgrade to version 7.0.4
From: @wk333 Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
d651e7fc48
Binary file not shown.
Binary file not shown.
BIN
activejob-7.0.4.gem
Normal file
BIN
activejob-7.0.4.gem
Normal file
Binary file not shown.
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
%global gem_name activejob
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 6.1.4.1
|
||||
Version: 7.0.4
|
||||
Release: 1
|
||||
Summary: Job framework with pluggable queues
|
||||
License: MIT
|
||||
@ -9,18 +9,19 @@ URL: http://rubyonrails.org
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
# Tests are not shipped with the gem
|
||||
# git clone https://github.com/rails/rails.git
|
||||
# cd rails/activejob && git archive -v -o activejob-6.1.4.1-tests.txz v6.1.4.1 test/
|
||||
Source1: %{gem_name}-%{version}%{?prerelease}-tests.txz
|
||||
# cd rails/activejob && git archive -v -o activejob-7.0.4-tests.txz v7.0.4 test/
|
||||
Source1: %{gem_name}-%{version}-tests.txz
|
||||
# The tools are needed for the test suite, are however unpackaged in gem file.
|
||||
# git clone http://github.com/rails/rails.git --no-checkout
|
||||
# cd rails && git archive -v -o rails-6.1.4.1-tools.txz v6.1.4.1 tools/
|
||||
Source2: rails-%{version}-tools.txz
|
||||
# cd rails && git archive -v -o rails-7.0.4-tools.txz v7.0.4 tools/
|
||||
Source2: rails-%{version}-tools.txz
|
||||
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby >= 2.2.2
|
||||
BuildRequires: rubygem(activesupport) = %{version}
|
||||
BuildRequires: rubygem(globalid)
|
||||
BuildRequires: rubygem(zeitwerk)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -53,9 +54,16 @@ mv %{_builddir}/test .
|
||||
|
||||
sed -i '/ActiveJob::QueueAdapters::SneakersAdapter/ d' test/cases/exceptions_test.rb
|
||||
|
||||
mv test/cases/delayed_job_adapter_test.rb{,.disable}
|
||||
|
||||
|
||||
|
||||
# Do not execute integration tests, otherwise Rails's generators are required.
|
||||
# Bigdecimal does not get auto-required
|
||||
# https://github.com/rails/rails/issues/44399
|
||||
ADAPTERS='async inline test'
|
||||
for ADAPTER in ${ADAPTERS}; do
|
||||
AJ_ADAPTER=${ADAPTER} ruby -Ilib:test \
|
||||
AJ_ADAPTER=${ADAPTER} ruby -rbigdecimal -Ilib:test \
|
||||
-e 'Dir.glob "./test/cases/**/*_test.rb", &method(:require)'
|
||||
done
|
||||
|
||||
@ -74,6 +82,9 @@ popd
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Thu Jan 19 2023 wangkai <wangkai385@h-partners.com> - 7.0.4-1
|
||||
- Upgrade to version 7.0.4
|
||||
|
||||
* Mon May 02 2022 wangkerong <wangkerong@h-partners.com>- 6.1.4.1-1
|
||||
- Upgrade to 6.1.4.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user