require-hooks 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae1c2f37cd524583d7b645543912a8b54822fd9fc43dae73ff602836330053d
4
- data.tar.gz: 5c75427f0dd05326dc7514bb8319333af4f6397b2f62456ff4e50f7b7ba2357b
3
+ metadata.gz: 3ecc9a4046183806287747095063d7d422acd865315cde4ce322bf24f00463d5
4
+ data.tar.gz: 58f6a905e3370857373dcd8a101ac4931352982d3e6a1a612bf5bcf0fff2c8cc
5
5
  SHA512:
6
- metadata.gz: 47ce4c404120e67f6a5429949c19c01ea271b1ec1ac3b89e0696d6b1024d35ea6bc3f602577127413e1a1531f1ff992c5d48eccd9a4e2bd8e0d4c430c6d5b432
7
- data.tar.gz: 8fdbc55268b56964b3e6fa036b7200a3b4875527bca4e1acfc5a5cafafb1715690a18a6fbf802968412046032dde091c7aceb918e6829370391a1dafc56bdf0c
6
+ metadata.gz: d2b6f66c0601c8fa49a874ea28522a53fa5770106572cf96570f8bfce444d1a76ac16e6ce63fa73e2e39b371d84173fb4a2c6eb880fd37b62ca130b3d10dd161
7
+ data.tar.gz: 2e1ac761b1d464961cbd6106788564f83f5f0469b9cdcd6cf437afeb5ec0adf8ffc9bdbc48dbb74ba07985cc979e8bc5a0e47edca6b0a0d6b8dcde26360044c6
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.2.2 (2023-12-19)
6
+
7
+ - Fix handing uncompilable source code with Bootsnap. ([@palkan][])
8
+
5
9
  ## 0.2.1 (2023-12-19)
6
10
 
7
11
  - Fix constant resolution in Bootsnap error handling (`Bootsnap::CompileCache` -> `::Bootsnap::CompileCache`). ([@palkan][])
data/README.md CHANGED
@@ -166,7 +166,7 @@ All tests made with `eager_load=true`.
166
166
 
167
167
  Test script: `time bundle exec rails runner 'puts "done"'`.
168
168
 
169
- | | |
169
+ | | |
170
170
  |-------------------------------------|--------------|
171
171
  | baseline | 29s |
172
172
  | baseline w/bootsnap  | 12s |
@@ -18,7 +18,7 @@ module RequireHooks
18
18
 
19
19
  super
20
20
  rescue SyntaxError, TypeError
21
- raise ::Bootsnap::CompileCache::Uncompilable
21
+ ::Bootsnap::CompileCache::UNCOMPILABLE
22
22
  end
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RequireHooks
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: require-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev