Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f959d852c0
!15 Upgrade to 7.0.7
From: @starlet-dx 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2023-08-18 08:59:36 +00:00
starlet-dx
7b327d7aba Upgrade to 7.0.7 2023-08-18 09:28:36 +08:00
openeuler-ci-bot
b4a6ec1b7f
!14 Upgrade to version 7.0.4
From: @wk333 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2023-01-20 02:57:25 +00:00
wk333
9ca33d7949 Upgrade to version 7.0.4 2023-01-19 14:26:51 +08:00
openeuler-ci-bot
f26330296e
!10 update changelog date
From: @tanyulong2021 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-08 07:55:17 +00:00
tanyulong2021
7e66fa65bc update changelog date 2022-06-08 14:43:11 +08:00
openeuler-ci-bot
41b1182a9b
!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:36 +00:00
wangkerong
ee46e9ba0b Upgrade to 6.1.4.1
(cherry picked from commit dea9c5ad528f957c5cae6345e83cb935dd72c01f)
2022-03-23 11:23:32 +08:00
openeuler-ci-bot
3df445c8fa !4 [sync] PR-3: upgrade to 5.2.4.4
From: @openeuler-sync-bot
Reviewed-by: @hht8
Signed-off-by: @hht8
2021-02-19 14:24:06 +08:00
si-gui
8b0c4b7a3e upgrade to 5.2.4.4
(cherry picked from commit 501d0684f8da84e1761273344b878c959dbccb42)
2021-02-18 11:51:29 +08:00
6 changed files with 57 additions and 24 deletions

Binary file not shown.

BIN
activemodel-7.0.7-tests.txz Normal file

Binary file not shown.

BIN
activemodel-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,36 +1,55 @@
%global gem_name activemodel %global gem_name activemodel
%{?_with_bootstrap: %global bootstrap 1}
Name: rubygem-%{gem_name} %bcond_with bootstrap
Version: 5.2.3
Release: 1 Name: rubygem-%{gem_name}
Summary: A toolkit for building modeling frameworks (part of Rails) Version: 7.0.7
License: MIT Release: 1
URL: http://rubyonrails.org Summary: A toolkit for building modeling frameworks (part of Rails)
Source0: https://rubygems.org/gems/activemodel-5.2.3.gem License: MIT
Source1: https://github.com/rails/rails/archive/v5.2.3.tar.gz URL: http://rubyonrails.org
BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 rubygem(activesupport) = %{version} Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
%if ! 0%{?bootstrap} # The gem doesn't ship with the test suite.
BuildRequires: rubygem(railties) = %{version} # You may check it out like so
# git clone https://github.com/rails/rails.git
# cd rails/activemodel && git archive -v -o activemodel-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.
# You may check it out like so
# git clone http://github.com/rails/rails.git --no-checkout
# 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}
%if %{without bootstrap}
BuildRequires: rubygem(railties) = %{version}
%endif %endif
BuildRequires: rubygem(bcrypt) => 3.1.2 rubygem(builder) BuildRequires: rubygem(bcrypt) => 3.1.2
BuildArch: noarch BuildRequires: rubygem(builder)
BuildArch: noarch
%description %description
A toolkit for building modeling frameworks like Active Record. Rich support A toolkit for building modeling frameworks like Active Record. Rich support
for attributes, callbacks, validations, serialization, internationalization, for attributes, callbacks, validations, serialization, internationalization,
and testing. and testing.
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description doc
%description doc
Documentation for %{name}. Documentation for %{name}.
%prep %prep
%setup -q -c -T %setup -q -n %{gem_name}-%{version} -b1 -b2
%gem_install -n %{SOURCE0}
%build %build
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install %install
mkdir -p %{buildroot}%{gem_dir} mkdir -p %{buildroot}%{gem_dir}
@ -39,11 +58,13 @@ cp -a .%{gem_dir}/* \
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
tar xzvf %{SOURCE1} ln -s %{_builddir}/tools ..
cd rails-%{version}/%{gem_name} mv %{_builddir}/test .
%if 0%{?bootstrap}
%if %{with bootstrap}
mv ./test/cases/railtie_test.rb{,.disable} mv ./test/cases/railtie_test.rb{,.disable}
%endif %endif
ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').sort.each {|t| require t}" ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').sort.each {|t| require t}"
popd popd
@ -60,5 +81,17 @@ popd
%doc %{gem_instdir}/README.rdoc %doc %{gem_instdir}/README.rdoc
%changelog %changelog
* Fri Aug 18 2023 yaoxin <yao_xin001@hoperun.com> - 7.0.7-1
- Upgrade to 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 8 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 8 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
- Package init - Package init

Binary file not shown.