Compare commits
10 Commits
700ad2cdeb
...
724ae3a9c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
724ae3a9c7 | ||
|
|
ade8719830 | ||
|
|
4b771a27ea | ||
|
|
fc0dfe9be0 | ||
|
|
325d6436f1 | ||
|
|
a73207fc39 | ||
|
|
e276a93b3d | ||
|
|
a927b59bb2 | ||
|
|
55d04d2f18 | ||
|
|
2b20f5deb2 |
Binary file not shown.
BIN
globalid-1.2.1.gem
Normal file
BIN
globalid-1.2.1.gem
Normal file
Binary file not shown.
@ -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
|
||||||
@ -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: "."
|
||||||
BIN
v0.4.2.tar.gz
BIN
v0.4.2.tar.gz
Binary file not shown.
BIN
v1.2.1.tar.gz
Normal file
BIN
v1.2.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user