Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
8f2d6d842a
!14 【轻量级 PR】:fix bogus date
From: @zhangshaoning_uniontech 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-20 01:54:46 +00:00
zhangshaoning
917fac89a2
fix bogus date 2022-06-17 06:23:19 +00:00
openeuler-ci-bot
918b4efee2
!12 [sync] PR-11: update changelog date
From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-09 05:55:37 +00:00
tanyulong2021
61cd750f6b update changelog date
(cherry picked from commit 349a02c33d899b8487af0dc03e38499c3a7d34ef)
2022-06-09 13:49:17 +08:00
openeuler-ci-bot
0c58f56e60
!7 Upgrade to 6.1.4.1
From: @kerongw 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-04 10:15:54 +00:00
wangkerong
c260ff7308 Upgrade to 6.1.4.1 2022-03-02 19:48:29 +08:00
openeuler-ci-bot
ec7485e7d0 !4 [sync] PR-3: upgrade to 5.2.4.4
From: @openeuler-sync-bot
Reviewed-by: @ultra_planet
Signed-off-by:
2021-02-19 14:24:01 +08:00
si-gui
0385f18085 upgrade to 5.2.4.4
(cherry picked from commit 838606f0e8fc900bfe5b82ffec124a21bf6a0b16)
2021-02-18 11:51:23 +08:00
openeuler-ci-bot
03abdb6bce !2 modify yaml
Merge pull request !2 from 成子晗/master
2020-08-31 19:51:04 +08:00
chengzihan2
407249fbbf modify yaml 2020-08-31 17:27:43 +08:00
openeuler-ci-bot
2966188bd1 !1 Package init
Merge pull request !1 from 成子晗/master
2020-08-31 17:05:39 +08:00
7 changed files with 45 additions and 21 deletions

Binary file not shown.

BIN
activejob-6.1.4.1-tests.txz Normal file

Binary file not shown.

BIN
activejob-6.1.4.1.gem Normal file

Binary file not shown.

BIN
rails-6.1.4.1-tools.txz Normal file

Binary file not shown.

View File

@ -1,27 +1,41 @@
%global gem_name activejob
Name: rubygem-%{gem_name}
Version: 5.2.3
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.3.tar.gz
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(activesupport) = %{version}
BuildRequires: rubygem(globalid)
BuildArch: noarch
Name: rubygem-%{gem_name}
Version: 6.1.4.1
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-6.1.4.1-tests.txz v6.1.4.1 test/
Source1: %{gem_name}-%{version}%{?prerelease}-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
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby >= 2.2.2
BuildRequires: rubygem(activesupport) = %{version}
BuildRequires: rubygem(globalid)
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 +48,17 @@ 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
ADAPTERS='async inline test'
for ADAPTER in ${ADAPTERS}; do
AJ_ADAPTER=${ADAPTER} ruby -Ilib:test \
-e 'Dir.glob "./test/cases/**/*_test.rb", &method(:require)'
done
popd
%files
@ -56,5 +74,11 @@ popd
%doc %{gem_instdir}/README.md
%changelog
* Sat Aug 8 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
* 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 08 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
- Package init

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: rails/rails
tag_prefix: "v"
tag_prefix: "^v"
seperator: "."

Binary file not shown.