diff --git a/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files-test.patch b/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files-test.patch deleted file mode 100644 index 1495385..0000000 --- a/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files-test.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 72202aab5e5b3602ece4e8748bcdeefe2d789ab5 Mon Sep 17 00:00:00 2001 -From: Jean Boussier -Date: Fri, 13 Jan 2023 09:21:17 +0100 -Subject: [PATCH] Use `RbConfig::CONFIG["rubylibdir"]` to check for stdlib - files - -Ref: https://github.com/Shopify/bootsnap/issues/431 ---- - test/load_path_cache/path_test.rb | 2 +- - 1 file changed, 1 insertions(+), 1 deletions(-) - -diff --git a/test/load_path_cache/path_test.rb b/test/load_path_cache/path_test.rb -index 5425ed9..2c1c289 100644 ---- a/test/load_path_cache/path_test.rb -+++ b/test/load_path_cache/path_test.rb -@@ -16,7 +16,7 @@ def test_stability - volatile = Path.new(__FILE__) - stable = Path.new(time_file) - unknown = Path.new("/who/knows") -- lib = Path.new("#{RbConfig::CONFIG['libdir']}/a") -+ lib = Path.new("#{RbConfig::CONFIG['rubylibdir']}/a") - site = Path.new("#{RbConfig::CONFIG['sitedir']}/b") - absolute_prefix = RbConfig::CONFIG["host_os"] =~ /mswin|mingw|cygwin/ ? ENV["SystemDrive"] : "" - bundler = Path.new("#{absolute_prefix}/bp/3") diff --git a/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files.patch b/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files.patch deleted file mode 100644 index 264a221..0000000 --- a/Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 72202aab5e5b3602ece4e8748bcdeefe2d789ab5 Mon Sep 17 00:00:00 2001 -From: Jean Boussier -Date: Fri, 13 Jan 2023 09:21:17 +0100 -Subject: [PATCH] Use `RbConfig::CONFIG["rubylibdir"]` to check for stdlib - files - -Ref: https://github.com/Shopify/bootsnap/issues/431 ---- - lib/bootsnap/load_path_cache/path.rb | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CHANGELOG.md b/CHANGELOG.md -index 1aadf9e..f38db3b 100644 -diff --git a/lib/bootsnap/load_path_cache/path.rb b/lib/bootsnap/load_path_cache/path.rb -index 626740c..e000c60 100644 ---- a/lib/bootsnap/load_path_cache/path.rb -+++ b/lib/bootsnap/load_path_cache/path.rb -@@ -116,8 +116,8 @@ def latest_mtime(path, dirs) - VOLATILE = :volatile - - # Built-in ruby lib stuff doesn't change, but things can occasionally be -- # installed into sitedir, which generally lives under libdir. -- RUBY_LIBDIR = RbConfig::CONFIG["libdir"] -+ # installed into sitedir, which generally lives under rubylibdir. -+ RUBY_LIBDIR = RbConfig::CONFIG["rubylibdir"] - RUBY_SITEDIR = RbConfig::CONFIG["sitedir"] - - def stability diff --git a/bootsnap-1.15.0.gem b/bootsnap-1.15.0.gem deleted file mode 100644 index b02c304..0000000 Binary files a/bootsnap-1.15.0.gem and /dev/null differ diff --git a/bootsnap-1.15.0-tests.txz b/bootsnap-1.17.0-tests.txz similarity index 84% rename from bootsnap-1.15.0-tests.txz rename to bootsnap-1.17.0-tests.txz index 07d2ee3..10d8f88 100644 Binary files a/bootsnap-1.15.0-tests.txz and b/bootsnap-1.17.0-tests.txz differ diff --git a/bootsnap-1.17.0.gem b/bootsnap-1.17.0.gem new file mode 100644 index 0000000..fdf7a8d Binary files /dev/null and b/bootsnap-1.17.0.gem differ diff --git a/rubygem-bootsnap.spec b/rubygem-bootsnap.spec index a89aac0..d9f2c01 100644 --- a/rubygem-bootsnap.spec +++ b/rubygem-bootsnap.spec @@ -1,18 +1,16 @@ %global gem_name bootsnap Name: rubygem-%{gem_name} -Version: 1.15.0 +Version: 1.17.0 Release: 1 Summary: Boot large ruby/rails apps faster License: MIT URL: https://github.com/Shopify/bootsnap Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone http://github.com/Shopify/bootsnap.git --no-checkout -# cd bootsnap && git archive -v -o bootsnap-1.15.0-tests.txz v1.15.0 test/ +# cd bootsnap && git archive -v -o bootsnap-1.17.0-tests.txz v1.17.0 test/ Source1: %{gem_name}-%{version}-tests.txz # https://github.com/Shopify/bootsnap/issues/431 # https://github.com/Shopify/bootsnap/commit/72202aab5e5b3602ece4e8748bcdeefe2d789ab5 -Patch0: Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files.patch -Patch1: Use-RbConfig-CONFIG-rubylibdir-to-check-for-stdlib-files-test.patch BuildRequires: ruby(release) rubygems-devel ruby-devel >= 2.0.0 rubygem(minitest) BuildRequires: rubygem(mocha) rubygem(msgpack) gcc BuildRequires: rubygem(bundler) @@ -30,10 +28,6 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 -%patch0 -p1 -pushd %{_builddir} -%patch1 -p1 -popd sed -i -e "/^\s*\$CFLAGS / s/^/#/g" \ ext/bootsnap/extconf.rb @@ -85,6 +79,9 @@ popd %doc %{gem_instdir}/README.md %changelog +* Tue Nov 14 2023 xu_ping <707078654@qq.com> - 1.17.0-1 +- Update to 1.17.0 + * Tue Aug 01 2023 yaoxin - 1.15.0-1 - Update to 1.15.0