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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -1
- data/lib/require-hooks/mode/bootsnap.rb +1 -1
- data/lib/require-hooks/mode/kernel_patch.rb +0 -1
- data/lib/require-hooks/version.rb +1 -1
- metadata +9 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17073754a96afb51c85cb5848e11b6348969d05107027081a4b3242552ffc3a8
|
|
4
|
+
data.tar.gz: 89167c71710dc23e4d39176246f55d1996f0f4d51b92b2778624d13939bac72d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 |
|
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.
|
|
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:
|
|
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/
|
|
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/
|
|
36
|
-
changelog_uri: https://github.com/ruby-next/
|
|
37
|
-
documentation_uri: https://github.com/ruby-next/
|
|
38
|
-
homepage_uri: https://github.com/ruby-next/
|
|
39
|
-
source_code_uri: https://github.com/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.
|
|
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.
|