diff --git a/activejob-6.1.4.1.gem b/activejob-6.1.4.1.gem deleted file mode 100644 index 63693ff..0000000 Binary files a/activejob-6.1.4.1.gem and /dev/null differ diff --git a/activejob-6.1.4.1-tests.txz b/activejob-7.0.4-tests.txz similarity index 89% rename from activejob-6.1.4.1-tests.txz rename to activejob-7.0.4-tests.txz index 6c3de3e..5a58d4c 100644 Binary files a/activejob-6.1.4.1-tests.txz and b/activejob-7.0.4-tests.txz differ diff --git a/activejob-7.0.4.gem b/activejob-7.0.4.gem new file mode 100644 index 0000000..ac59f9c Binary files /dev/null and b/activejob-7.0.4.gem differ diff --git a/rails-6.1.4.1-tools.txz b/rails-7.0.4-tools.txz similarity index 95% rename from rails-6.1.4.1-tools.txz rename to rails-7.0.4-tools.txz index 2a29578..a34575f 100644 Binary files a/rails-6.1.4.1-tools.txz and b/rails-7.0.4-tools.txz differ diff --git a/rubygem-activejob.spec b/rubygem-activejob.spec index 180a16c..60e00b2 100644 --- a/rubygem-activejob.spec +++ b/rubygem-activejob.spec @@ -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 - 7.0.4-1 +- Upgrade to version 7.0.4 + * Mon May 02 2022 wangkerong - 6.1.4.1-1 - Upgrade to 6.1.4.1