require-hooks 0.2.0 → 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: 0ad50776a8d1a68e226e2813265d503d7e11ecba3a991daf56945a07ca0ae34c
4
- data.tar.gz: 906c6874932cfeb3e684b45f572b33f18f25304983a9566c01d540b7570c42ae
3
+ metadata.gz: 3ecc9a4046183806287747095063d7d422acd865315cde4ce322bf24f00463d5
4
+ data.tar.gz: 58f6a905e3370857373dcd8a101ac4931352982d3e6a1a612bf5bcf0fff2c8cc
5
5
  SHA512:
6
- metadata.gz: 89c6aea0a0fe1c1b1a9dcf4831435d0a6c98d52149ffd8fc079e5fd134a768f8203253b7d5ec9b0148ef5d1f595f19b95274d18f8e889ed4e140a0a1258cc524
7
- data.tar.gz: cdc4edf49fc5c7d7f9201e800ee54fda332a1fa94595bc2cf625b0fa032aaf0aa6d72f2653753f399f9bc8ac1d7da9426dab6620197f19f0db8394a390921b9e
6
+ metadata.gz: d2b6f66c0601c8fa49a874ea28522a53fa5770106572cf96570f8bfce444d1a76ac16e6ce63fa73e2e39b371d84173fb4a2c6eb880fd37b62ca130b3d10dd161
7
+ data.tar.gz: 2e1ac761b1d464961cbd6106788564f83f5f0469b9cdcd6cf437afeb5ec0adf8ffc9bdbc48dbb74ba07985cc979e8bc5a0e47edca6b0a0d6b8dcde26360044c6
data/CHANGELOG.md CHANGED
@@ -2,12 +2,20 @@
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
+
9
+ ## 0.2.1 (2023-12-19)
10
+
11
+ - Fix constant resolution in Bootsnap error handling (`Bootsnap::CompileCache` -> `::Bootsnap::CompileCache`). ([@palkan][])
12
+
5
13
  ## 0.2.0 (2023-08-23)
6
14
 
7
- - Add `patterns` and `exclude_patterns` options to hooks. ([@palkan][]])
15
+ - Add `patterns` and `exclude_patterns` options to hooks. ([@palkan][])
8
16
 
9
17
  ## 0.1.0 (2023-07-14)
10
18
 
11
- - Extracted from Ruby Next. ([@palkan][]])
19
+ - Extracted from Ruby Next. ([@palkan][])
12
20
 
13
21
  [@palkan]: https://github.com/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.0"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: require-hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-23 00:00:00.000000000 Z
11
+ date: 2023-12-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Require Hooks provide infrastructure for intercepting require/load calls
14
14
  in Ruby
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.4.8
56
+ rubygems_version: 3.4.20
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Require Hooks provide infrastructure for intercepting require/load calls