Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
66c12f5c29
!18 Upgrade to version 7.0.7
From: @lyn1001 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2023-08-18 08:58:51 +00:00
lyn1001
fa73afc065 Upgrade to version 7.0.7 2023-08-18 09:09:46 +08:00
openeuler-ci-bot
d651e7fc48
!17 Upgrade to version 7.0.4
From: @wk333 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2023-01-20 02:56:57 +00:00
wk333
38b593cf06 Upgrade to version 7.0.4 2023-01-19 14:58:13 +08:00
openeuler-ci-bot
550a365099
!13 【轻量级 PR】:fix bogus date
From: @zhangshaoning_uniontech 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-20 01:54:55 +00:00
zhangshaoning
d454d51f9d
fix bogus date 2022-06-17 06:22:49 +00:00
openeuler-ci-bot
0c2af347d7
!11 update changelog date
From: @tanyulong2021 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-08 07:53:23 +00:00
tanyulong2021
349a02c33d update changelog date 2022-06-08 14:49:00 +08:00
openeuler-ci-bot
30f6f36b17
!9 [sync] PR-7: Upgrade to 6.1.4.1
From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-31 01:31:32 +00:00
wangkerong
8fde63f8f7 Upgrade to 6.1.4.1
(cherry picked from commit c260ff73088ad822603ebba0d1668a16ab41e4e8)
2022-03-04 18:16:00 +08:00
6 changed files with 57 additions and 22 deletions

Binary file not shown.

BIN
activejob-7.0.7-tests.txz Normal file

Binary file not shown.

BIN
activejob-7.0.7.gem Normal file

Binary file not shown.

BIN
rails-7.0.7-tools.txz Normal file

Binary file not shown.

View File

@ -1,27 +1,42 @@
%global gem_name activejob
Name: rubygem-%{gem_name}
Version: 5.2.4.4
Release: 1
Summary: Job framework with pluggable queues
License: MIT
URL: http://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/rails/rails/archive/v5.2.4.4.tar.gz
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(activesupport) = %{version}
BuildRequires: rubygem(globalid)
BuildArch: noarch
Name: rubygem-%{gem_name}
Version: 7.0.7
Release: 1
Summary: Job framework with pluggable queues
License: MIT
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-7.0.7-tests.txz v7.0.7 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-7.0.7-tools.txz v7.0.7 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
Declare job classes that can be run by a variety of queueing backends.
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%setup -q -n %{gem_name}-%{version} -b1 -b2
%build
gem build ../%{gem_name}-%{version}.gemspec
@ -34,13 +49,24 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
tar xzvf %{SOURCE1}
cd rails-%{version}/%{gem_name}
ln -s %{_builddir}/tools ..
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
popd
%files
@ -56,8 +82,17 @@ popd
%doc %{gem_instdir}/README.md
%changelog
* Mon Feb 8 2021sunguoshuai<sunguoshuai@huawei.com>- 5.2.4.4-1
* Fri Aug 18 2023 liyanan <thistleslyn@163.com> - 7.0.7-1
- Upgrade to version 7.0.7
* 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
* Mon Feb 08 2021 sunguoshuai<sunguoshuai@huawei.com>- 5.2.4.4-1
- Upgrade to 5.2.4.4
* Sat Aug 8 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
* Sat Aug 08 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
- Package init

Binary file not shown.