require-hooks 0.2.1 → 0.2.3

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: 2ae1c2f37cd524583d7b645543912a8b54822fd9fc43dae73ff602836330053d
4
- data.tar.gz: 5c75427f0dd05326dc7514bb8319333af4f6397b2f62456ff4e50f7b7ba2357b
3
+ metadata.gz: 17073754a96afb51c85cb5848e11b6348969d05107027081a4b3242552ffc3a8
4
+ data.tar.gz: 89167c71710dc23e4d39176246f55d1996f0f4d51b92b2778624d13939bac72d
5
5
  SHA512:
6
- metadata.gz: 47ce4c404120e67f6a5429949c19c01ea271b1ec1ac3b89e0696d6b1024d35ea6bc3f602577127413e1a1531f1ff992c5d48eccd9a4e2bd8e0d4c430c6d5b432
7
- data.tar.gz: 8fdbc55268b56964b3e6fa036b7200a3b4875527bca4e1acfc5a5cafafb1715690a18a6fbf802968412046032dde091c7aceb918e6829370391a1dafc56bdf0c
6
+ metadata.gz: e99100a54066cff2c1bea42a727bdd828def92516037927625ec02f874d306e26533f76112a57beceb8cd7abc5c4bd5b2c435572d5fccb6de3627b6d588f8731
7
+ data.tar.gz: b3da21f9a2fff2e8796d093fcbcb67fa7e35c226ab45389a49c9749c0fa1f7b9faebbe3461f937afbbf0efd188068c0251722b7664c79b6f5ba251fa996a86ad
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.2.3 (2026-01-13)
6
+
7
+ - Gem metadata fixes.
8
+
9
+ ## 0.2.2 (2023-12-19)
10
+
11
+ - Fix handing uncompilable source code with Bootsnap. ([@palkan][])
12
+
5
13
  ## 0.2.1 (2023-12-19)
6
14
 
7
15
  - Fix constant resolution in Bootsnap error handling (`Bootsnap::CompileCache` -> `::Bootsnap::CompileCache`). ([@palkan][])
data/README.md CHANGED
@@ -16,6 +16,7 @@ Require hooks allows you to interfere with `Kernel#require` (incl. `Kernel#requi
16
16
 
17
17
  - [Ruby Next][ruby-next]
18
18
  - [Freezolite](https://github.com/ruby-next/freezolite)
19
+ - [Tapioca](https://github.com/Shopify/tapioca)
19
20
 
20
21
  ## Installation
21
22
 
@@ -166,7 +167,7 @@ All tests made with `eager_load=true`.
166
167
 
167
168
  Test script: `time bundle exec rails runner 'puts "done"'`.
168
169
 
169
- | | |
170
+ | | |
170
171
  |-------------------------------------|--------------|
171
172
  | baseline | 29s |
172
173
  | 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,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "mutex_m"
4
3
  require "pathname"
5
4
 
6
5
  module RequireHooks
@@ -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.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-12-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Require Hooks provide infrastructure for intercepting require/load calls
14
13
  in Ruby
@@ -28,17 +27,16 @@ files:
28
27
  - lib/require-hooks/mode/load_iseq.rb
29
28
  - lib/require-hooks/setup.rb
30
29
  - lib/require-hooks/version.rb
31
- homepage: https://github.com/ruby-next/ruby-next
30
+ homepage: https://github.com/ruby-next/require-hooks
32
31
  licenses:
33
32
  - MIT
34
33
  metadata:
35
- bug_tracker_uri: https://github.com/ruby-next/ruby-next/issues
36
- changelog_uri: https://github.com/ruby-next/ruby-next/blob/master/CHANGELOG.md
37
- documentation_uri: https://github.com/ruby-next/ruby-next/blob/master/README.md
38
- homepage_uri: https://github.com/ruby-next/ruby-next
39
- source_code_uri: https://github.com/ruby-next/ruby-next
34
+ bug_tracker_uri: https://github.com/ruby-next/require-hooks/issues
35
+ changelog_uri: https://github.com/ruby-next/require-hooks/blob/master/CHANGELOG.md
36
+ documentation_uri: https://github.com/ruby-next/require-hooks/blob/master/README.md
37
+ homepage_uri: https://github.com/ruby-next/require-hooks
38
+ source_code_uri: https://github.com/ruby-next/require-hooks
40
39
  funding_uri: https://github.com/sponsors/palkan
41
- post_install_message:
42
40
  rdoc_options: []
43
41
  require_paths:
44
42
  - lib
@@ -53,8 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
51
  - !ruby/object:Gem::Version
54
52
  version: '0'
55
53
  requirements: []
56
- rubygems_version: 3.4.20
57
- signing_key:
54
+ rubygems_version: 3.6.9
58
55
  specification_version: 4
59
56
  summary: Require Hooks provide infrastructure for intercepting require/load calls
60
57
  in Ruby.