bootsnap 1.20.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e0a92c2964b6f614db5d8bf1636026c49796a74ae82b1cf78d2e3ec39337fa2
4
- data.tar.gz: 8f2e985c4af37b7056b0ddbee9fdd98b31839eb50ce2bf028d3089d92c6a4a88
3
+ metadata.gz: 19e8b61a552b7f3c9bb4425cbbd58581aff5fed55607ca105b84bc414bb2dbed
4
+ data.tar.gz: c9aed95261640936c810231f33392b909039d8f09b33883f0e9082b0cf7ead9f
5
5
  SHA512:
6
- metadata.gz: e539a95b7f098a337b97a91cd9c29849b2734fac66716cb46b29bcb8e67c7fddd6b0ca07f3a0a6d9ecf6dca2d28b99f0ee5ae9743193f1b7f3ef0994117391d8
7
- data.tar.gz: 56b9d42182d85530439defae95000e4aceec364e6ba4a1e69815127a3a5c782b330cef032c5d6f0ceb9b19ca2da30c6bc192eac33c878664e878772134137545
6
+ metadata.gz: 65607260e60599f4d0ed4c30bf43bc2b42a8e22611fcba4f1cd3abb3563a1158556e22cb78e05ba16af5c55b97ecf88d45a63c2a65d9f28082bc0d75ec759174
7
+ data.tar.gz: 0ac04f4093bddc1457fbd3dc9b14083570c36f6cf0f19ab9ac62f93112944502b32f483e01c11b2c112349ca4c2811480a12e3112ed2ddbe8cb0e4f35977928a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Unreleased
2
2
 
3
+ # 1.20.1
4
+
5
+ * Handle broken symlinks in load path scanning code.
6
+ Should fix `Errno::ENOENT fstatat` issues some users have encountered after upgrading to 1.20.0.
7
+
3
8
  # 1.20.0
4
9
 
5
10
  * Optimized load path scanning with a C extension. Should be about 2x faster on supported platforms.
@@ -191,6 +191,10 @@ bs_rb_scan_dir(VALUE self, VALUE abspath)
191
191
  }
192
192
 
193
193
  if (fstatat(dfd, entry->d_name, &st, 0)) {
194
+ if (errno == ENOENT) {
195
+ // Broken symlinK
196
+ continue;
197
+ }
194
198
  rb_sys_fail("fstatat");
195
199
  return Qundef;
196
200
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bootsnap
4
- VERSION = "1.20.0"
4
+ VERSION = "1.20.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootsnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.0
4
+ version: 1.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burke Libbey
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubygems_version: 4.0.3
82
+ rubygems_version: 3.6.9
83
83
  specification_version: 4
84
84
  summary: Boot large ruby/rails apps faster
85
85
  test_files: []