Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
724ae3a9c7
!18 Update to 1.2.1
From: @wk333 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-11-14 06:07:07 +00:00
wk333
ade8719830 Update to 1.2.1 2023-11-14 11:26:14 +08:00
openeuler-ci-bot
4b771a27ea
!16 fix CVE-2023-22799
From: @zxccxz 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-02-15 07:43:20 +00:00
liyuxiang
fc0dfe9be0 CVE-2023-22799 2023-02-14 01:37:11 +08:00
openeuler-ci-bot
325d6436f1
!10 Upgrade to version 1.0.0
From: @wk333 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-01-17 07:49:21 +00:00
wk333
a73207fc39 Upgrade to version 1.0.0 2023-01-17 10:57:24 +08:00
openeuler-ci-bot
e276a93b3d !3 fix spec file name
From: @lyn1001
Reviewed-by: @hht8
Signed-off-by: @hht8
2021-08-13 01:43:22 +00:00
lyn1001
a927b59bb2 fix spec file name 2021-08-12 17:12:41 +08:00
openeuler-ci-bot
55d04d2f18 !2 Fix build fail
Merge pull request !2 from lyn/master
2020-09-07 12:18:37 +08:00
lyn1001
2b20f5deb2 fix build fail 2020-09-05 18:57:10 +08:00
6 changed files with 20 additions and 6 deletions

Binary file not shown.

BIN
globalid-1.2.1.gem Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
%global gem_name globalid %global gem_name globalid
%{?_with_bootstrap: %global bootstrap 1} %{?_with_bootstrap: %global bootstrap 1}
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.4.2 Version: 1.2.1
Release: 1 Release: 1
Summary: Refer to any model with a URI: gid://app/class/id Summary: Refer to any model with a URI: gid://app/class/id
License: MIT License: MIT
URL: https://github.com/rails/%{gem_name} URL: https://github.com/rails/%{gem_name}
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/rails/%{gem_name}/archive/v%{version}.tar.gz Source1: https://github.com/rails/%{gem_name}/archive/v%{version}.tar.gz
BuildRequires: ruby(release) rubygems-devel ruby >= 1.9.3 BuildRequires: ruby(release) rubygems-devel ruby >= 1.9.3
%if ! 0%{?bootstrap} %if ! 0%{?bootstrap}
BuildRequires: rubygem(activesupport) >= 4.1 rubygem(activemodel) >= 4.1 BuildRequires: rubygem(activesupport) >= 4.1 rubygem(activemodel) >= 4.1
@ -21,8 +22,6 @@ URIs for your models makes it easy to pass references around.
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}.
@ -37,11 +36,11 @@ gem build ../%{gem_name}-%{version}.gemspec
mkdir -p %{buildroot}%{gem_dir} mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/ %{buildroot}%{gem_dir}/
%if ! 0%{?bootstrap} %if 0%{?bootstrap}
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
ln -s %{_builddir}/globalid-0.4.2/test test ln -s %{_builddir}/globalid-%{version}/test test
sed -i "/bundler\/setup/ s/^/#/" ./test/helper.rb sed -i "/bundler\/setup/ s/^/#/" ./test/helper.rb
sed -i "/defaults to nil when secret_token is not present' do/a \\ sed -i "/defaults to nil when secret_token is not present' do/a \\
skip 'Not compatible with Rails 5.2'" test/cases/railtie_test.rb skip 'Not compatible with Rails 5.2'" test/cases/railtie_test.rb
@ -61,5 +60,20 @@ popd
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%changelog %changelog
* Tue Nov 14 2023 wangkai <13474090681@163.com> - 1.2.1-1
- Update to 1.2.1
* Tue Feb 07 2023 liyuxiang<liyuxiang@ncti-gba.cn> - 1.0.0-2
- fix CVE-2023-22799
* Tue Jan 17 2023 wangkai <wangkai385@h-partners.com> - 1.0.0-1
- Upgrade to version 1.0.0
* Thu Aug 12 2021 liyanan <liyanan32@huawei.com> - 0.4.2-3
- fix spec file name
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 0.4.2-2
- fix build fail
* Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 0.4.2-1 * Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 0.4.2-1
- package init - package init

View File

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

Binary file not shown.

BIN
v1.2.1.tar.gz Normal file

Binary file not shown.