Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
0f1e0a7f04
!11 [sync] PR-10: update changelog date
From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-09 09:29:39 +00:00
tanyulong2021
5d250f5dfb update changelog date
(cherry picked from commit 7e66fa65bcc8b22e9e5158f8dca603ccb01591aa)
2022-06-09 13:48:51 +08:00
openeuler-ci-bot
2a84439a01
!7 Upgrade to 6.1.4.1
From: @kerongw 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-03-04 10:16:27 +00:00
wangkerong
dea9c5ad52 Upgrade to 6.1.4.1 2022-03-02 19:13:41 +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
openeuler-ci-bot
501726b218 !2 modify yaml
Merge pull request !2 from 成子晗/master
2020-08-31 19:51:06 +08:00
chengzihan2
8e6d4b91f5 modify yaml 2020-08-31 17:28:33 +08:00
openeuler-ci-bot
7f4bfe9307 !1 Package init
Merge pull request !1 from 成子晗/master
2020-08-31 17:05:56 +08:00
chengzihan2
4d29ed69f9 package init 2020-08-28 15:50:37 +08:00
5 changed files with 95 additions and 0 deletions

Binary file not shown.

BIN
activemodel-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.

91
rubygem-activemodel.spec Normal file
View File

@ -0,0 +1,91 @@
%global gem_name activemodel
%bcond_with bootstrap
Name: rubygem-%{gem_name}
Version: 6.1.4.1
Release: 1
Summary: A toolkit for building modeling frameworks (part of Rails)
License: MIT
URL: http://rubyonrails.org
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# The gem doesn't ship with the test suite.
# You may check it out like so
# git clone https://github.com/rails/rails.git
# cd rails/activemodel && git archive -v -o activemodel-6.1.4.1-tests.txz v6.1.4.1 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-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}
%if %{without bootstrap}
BuildRequires: rubygem(railties) = %{version}
%endif
BuildRequires: rubygem(bcrypt) => 3.1.2
BuildRequires: rubygem(builder)
BuildArch: noarch
%description
A toolkit for building modeling frameworks like Active Record. Rich support
for attributes, callbacks, validations, serialization, internationalization,
and testing.
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version} -b1 -b2
%build
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
pushd .%{gem_instdir}
ln -s %{_builddir}/tools ..
mv %{_builddir}/test .
%if %{with bootstrap}
mv ./test/cases/railtie_test.rb{,.disable}
%endif
ruby -Ilib:test -e "Dir.glob('./test/**/*_test.rb').sort.each {|t| require t}"
popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/MIT-LICENSE
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/CHANGELOG.md
%doc %{gem_instdir}/README.rdoc
%changelog
* 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
- Package init

4
rubygem-activemodel.yaml Normal file
View File

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