a-nti_manner_kick_course 0.2.1 → 0.4.0
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/README.md +3 -3
- data/lib/a/nti_manner_kick_course/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99fb6f0e83ee905e3fcaa5d64e85e6296e02f5b1e169ba3deac47a8d167cdcae
|
|
4
|
+
data.tar.gz: 9ba3b2de7d7f6a323c91f118e561bf7003cccdafcece5a84876e6297f8d357e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d209ee707c071c6c364fd731348f8d50113268dd5d9727a978e2737d980da7a48e8ae950f9b263e26232f53b60d7598c64205498737ed9d45d30d195461d6160
|
|
7
|
+
data.tar.gz: bacd6a2bbaf1b4cb7954da9f098053d1422dc3e1ad2cfcaec635147f70e48acf81aeee3c27717c4811118f4339e1044911c668a767423d44a3995fd9f77b0fae
|
data/README.md
CHANGED
|
@@ -127,12 +127,12 @@ If the ANTI_MANNER environment variable is not set, this gem does nothing.
|
|
|
127
127
|
|
|
128
128
|
## Usage for gem developers
|
|
129
129
|
|
|
130
|
-
`A::
|
|
130
|
+
`A::NtiMannerKickCourse.monitor { require 'your_gem' }` allows you to run the specified code in a new process and exit with status code 1 if lazy loading is not properly deferred.
|
|
131
131
|
|
|
132
|
-
Execute `require 'your_gem'` within the `A::
|
|
132
|
+
Execute `require 'your_gem'` within the `A::NtiMannerKickCourse.monitor` block as follows:
|
|
133
133
|
|
|
134
134
|
```ruby
|
|
135
|
-
A::
|
|
135
|
+
A::NtiMannerKickCourse.monitor { require 'your_gem' }
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
When this code runs, if `your_gem` interferes with lazy loading, an error message will be displayed and the process will exit with status code 1. This helps you quickly identify and fix lazy loading issues.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: a-nti_manner_kick_course
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shinichi Maeshima
|
|
@@ -10,7 +10,21 @@ cert_chain: []
|
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
|
-
name:
|
|
13
|
+
name: railties
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 7.0.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 7.0.0
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: activesupport
|
|
14
28
|
requirement: !ruby/object:Gem::Requirement
|
|
15
29
|
requirements:
|
|
16
30
|
- - ">="
|
|
@@ -59,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
59
73
|
- !ruby/object:Gem::Version
|
|
60
74
|
version: '0'
|
|
61
75
|
requirements: []
|
|
62
|
-
rubygems_version: 3.6.
|
|
76
|
+
rubygems_version: 3.6.9
|
|
63
77
|
specification_version: 4
|
|
64
78
|
summary: This library detects code or gems that violate lazy loading conventions during
|
|
65
79
|
Rails initialization.
|