!6 rubygem-public_suffix升级至4.0.7版本
From: @wu-leilei Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
00bf979543
@ -1,12 +0,0 @@
|
||||
diff -Nur a/lib/public_suffix/list.rb b/lib/public_suffix/list.rb
|
||||
--- a/lib/public_suffix/list.rb 2022-02-11 11:17:18.045013320 +0800
|
||||
+++ b/lib/public_suffix/list.rb 2022-02-11 11:16:50.028545777 +0800
|
||||
@@ -46,7 +46,7 @@
|
||||
#
|
||||
# @return [PublicSuffix::List]
|
||||
def self.default(**options)
|
||||
- @default ||= parse(File.read(DEFAULT_LIST_PATH), options)
|
||||
+ @default ||= parse(File.read(DEFAULT_LIST_PATH), **options)
|
||||
end
|
||||
|
||||
# Sets the default rule list to +value+.
|
||||
Binary file not shown.
BIN
public_suffix-4.0.7.gem
Normal file
BIN
public_suffix-4.0.7.gem
Normal file
Binary file not shown.
@ -1,12 +1,11 @@
|
||||
%global gem_name public_suffix
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.0.1
|
||||
Release: 2
|
||||
Version: 4.0.7
|
||||
Release: 1
|
||||
Summary: Domain name parser based on the Public Suffix List
|
||||
License: MIT and MPLv2.0
|
||||
URL: https://simonecarletti.com/code/publicsuffix-ruby
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
Patch0: Fix-build-error.patch
|
||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest) rubygem(mocha)
|
||||
BuildArch: noarch
|
||||
%description
|
||||
@ -23,7 +22,6 @@ Documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{gem_name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
@ -50,11 +48,13 @@ popd
|
||||
%exclude %{gem_instdir}/public_suffix.gemspec
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
%exclude %{gem_instdir}/codecov.yml
|
||||
|
||||
%files doc
|
||||
%doc %{gem_docdir}
|
||||
%doc %{gem_instdir}/2.0-Upgrade.md
|
||||
%doc %{gem_instdir}/CHANGELOG.md
|
||||
%doc %{gem_instdir}/SECURITY.md
|
||||
%{gem_instdir}/Gemfile
|
||||
%doc %{gem_instdir}/README.md
|
||||
%{gem_instdir}/Rakefile
|
||||
@ -62,6 +62,9 @@ popd
|
||||
%exclude %{gem_instdir}/test/.empty
|
||||
|
||||
%changelog
|
||||
* Thu Jun 30 2022 wulei <wulei80@h-partners.com> - 4.0.7-1
|
||||
- Upgrade to 4.0.7
|
||||
|
||||
* Fri Feb 11 2022 liyanan <liyanan32@huawei.com> - 3.0.1-2
|
||||
- Fix build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user