env_parser 1.6.1 → 1.6.2
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/.circleci/config.yml +3 -3
- data/.ruby-version +1 -1
- data/Gemfile.lock +62 -40
- data/README.md +26 -13
- data/docs/EnvParser/AutoregisterFileNotFound.html +3 -3
- data/docs/EnvParser/Error.html +3 -3
- data/docs/EnvParser/TypeAlreadyDefinedError.html +3 -3
- data/docs/EnvParser/Types/BaseTypes.html +3 -3
- data/docs/EnvParser/Types/ChronologyTypes.html +3 -3
- data/docs/EnvParser/Types/InternetTypes.html +3 -3
- data/docs/EnvParser/Types.html +3 -3
- data/docs/EnvParser/UnknownTypeError.html +3 -3
- data/docs/EnvParser/UnparseableAutoregisterSpec.html +3 -3
- data/docs/EnvParser/ValueNotAllowedError.html +3 -3
- data/docs/EnvParser/ValueNotConvertibleError.html +3 -3
- data/docs/EnvParser.html +4 -4
- data/docs/_index.html +4 -4
- data/docs/class_list.html +6 -3
- data/docs/css/full_list.css +3 -3
- data/docs/css/style.css +6 -0
- data/docs/file.README.html +30 -17
- data/docs/file_list.html +5 -2
- data/docs/frames.html +10 -5
- data/docs/index.html +30 -17
- data/docs/js/app.js +294 -264
- data/docs/js/full_list.js +30 -4
- data/docs/method_list.html +5 -2
- data/docs/top-level-namespace.html +3 -3
- data/env_parser.gemspec +3 -3
- data/lib/env_parser/version.rb +1 -1
- metadata +8 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49fc4d98baf7f0810b2004cbdbe8fbf36005687424f0cc004d24b62c79d2b45e
|
4
|
+
data.tar.gz: c2f88238cdb5ec67ddaadc263c7f292ba5865e9420b9077b7b34fdb2d656e42a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 695f1b93430886690218f21350b736df06ca5898cc6b73e91203c364bb015952bf58c9b8b5554a124a69e3667581a68d62a841d0cecc8b1c4df9065b86d13b05
|
7
|
+
data.tar.gz: f3b240045d7ae612414caad94602642d5b25d1297680befcc9315edfb998d1712a77b9fbc65dfd774190dcffb599251bf30c4d7309b2f2f7fcf842c189bd5cbb
|
data/.circleci/config.yml
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
#
|
3
3
|
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
4
|
#
|
5
|
-
version: 2
|
5
|
+
version: 2.1
|
6
6
|
jobs:
|
7
7
|
build:
|
8
8
|
docker:
|
9
9
|
# specify the version you desire here
|
10
|
-
- image: cimg/ruby:3.
|
10
|
+
- image: cimg/ruby:3.4
|
11
11
|
|
12
12
|
# Specify service dependencies here if necessary
|
13
13
|
# CircleCI maintains a library of pre-built images
|
@@ -34,7 +34,7 @@ jobs:
|
|
34
34
|
- run:
|
35
35
|
name: install dependencies
|
36
36
|
command: |
|
37
|
-
bundle install --jobs
|
37
|
+
bundle install --jobs=$(nproc) --retry=3 --path vendor/bundle
|
38
38
|
|
39
39
|
- save_cache:
|
40
40
|
paths:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.4
|
data/Gemfile.lock
CHANGED
@@ -1,70 +1,92 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
env_parser (1.6.
|
5
|
-
activesupport (>= 6.1.0, <
|
4
|
+
env_parser (1.6.1)
|
5
|
+
activesupport (>= 6.1.0, < 9)
|
6
6
|
chronic (~> 0)
|
7
7
|
chronic_duration (~> 0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
13
|
-
|
12
|
+
activesupport (8.0.2)
|
13
|
+
base64
|
14
|
+
benchmark (>= 0.3)
|
15
|
+
bigdecimal
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
17
|
+
connection_pool (>= 2.2.5)
|
18
|
+
drb
|
14
19
|
i18n (>= 1.6, < 2)
|
20
|
+
logger (>= 1.4.2)
|
15
21
|
minitest (>= 5.1)
|
16
|
-
|
17
|
-
|
22
|
+
securerandom (>= 0.3)
|
23
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
24
|
+
uri (>= 0.13.1)
|
25
|
+
ast (2.4.3)
|
26
|
+
base64 (0.3.0)
|
27
|
+
benchmark (0.4.1)
|
28
|
+
bigdecimal (3.2.2)
|
18
29
|
chronic (0.10.2)
|
19
30
|
chronic_duration (0.10.6)
|
20
31
|
numerizer (~> 0.1.1)
|
21
|
-
concurrent-ruby (1.
|
22
|
-
|
23
|
-
|
32
|
+
concurrent-ruby (1.3.5)
|
33
|
+
connection_pool (2.5.3)
|
34
|
+
diff-lcs (1.6.2)
|
35
|
+
drb (2.2.3)
|
36
|
+
i18n (1.14.7)
|
24
37
|
concurrent-ruby (~> 1.0)
|
25
|
-
json (2.
|
26
|
-
|
38
|
+
json (2.12.2)
|
39
|
+
language_server-protocol (3.17.0.5)
|
40
|
+
lint_roller (1.1.0)
|
41
|
+
logger (1.7.0)
|
42
|
+
minitest (5.25.5)
|
27
43
|
numerizer (0.1.1)
|
28
|
-
parallel (1.
|
29
|
-
parser (3.
|
44
|
+
parallel (1.27.0)
|
45
|
+
parser (3.3.8.0)
|
30
46
|
ast (~> 2.4.1)
|
47
|
+
racc
|
48
|
+
prism (1.4.0)
|
49
|
+
racc (1.8.1)
|
31
50
|
rainbow (3.1.1)
|
32
|
-
regexp_parser (2.
|
33
|
-
|
34
|
-
|
35
|
-
rspec-
|
36
|
-
rspec-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
rspec-expectations (3.12.1)
|
51
|
+
regexp_parser (2.10.0)
|
52
|
+
rspec (3.13.1)
|
53
|
+
rspec-core (~> 3.13.0)
|
54
|
+
rspec-expectations (~> 3.13.0)
|
55
|
+
rspec-mocks (~> 3.13.0)
|
56
|
+
rspec-core (3.13.4)
|
57
|
+
rspec-support (~> 3.13.0)
|
58
|
+
rspec-expectations (3.13.5)
|
41
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
-
rspec-support (~> 3.
|
43
|
-
rspec-mocks (3.
|
60
|
+
rspec-support (~> 3.13.0)
|
61
|
+
rspec-mocks (3.13.5)
|
44
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-support (3.
|
63
|
+
rspec-support (~> 3.13.0)
|
64
|
+
rspec-support (3.13.4)
|
47
65
|
rspec_junit_formatter (0.6.0)
|
48
66
|
rspec-core (>= 2, < 4, != 2.12.0)
|
49
|
-
rubocop (1.
|
67
|
+
rubocop (1.76.1)
|
50
68
|
json (~> 2.3)
|
69
|
+
language_server-protocol (~> 3.17.0.2)
|
70
|
+
lint_roller (~> 1.1.0)
|
51
71
|
parallel (~> 1.10)
|
52
|
-
parser (>= 3.
|
72
|
+
parser (>= 3.3.0.2)
|
53
73
|
rainbow (>= 2.2.2, < 4.0)
|
54
|
-
regexp_parser (>=
|
55
|
-
|
56
|
-
rubocop-ast (>= 1.23.0, < 2.0)
|
74
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
75
|
+
rubocop-ast (>= 1.45.0, < 2.0)
|
57
76
|
ruby-progressbar (~> 1.7)
|
58
|
-
unicode-display_width (>=
|
59
|
-
rubocop-ast (1.
|
60
|
-
parser (>= 3.
|
61
|
-
|
62
|
-
|
77
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
78
|
+
rubocop-ast (1.45.1)
|
79
|
+
parser (>= 3.3.7.2)
|
80
|
+
prism (~> 1.4)
|
81
|
+
ruby-progressbar (1.13.0)
|
82
|
+
securerandom (0.4.1)
|
83
|
+
tzinfo (2.0.6)
|
63
84
|
concurrent-ruby (~> 1.0)
|
64
|
-
unicode-display_width (
|
65
|
-
|
66
|
-
|
67
|
-
|
85
|
+
unicode-display_width (3.1.4)
|
86
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
87
|
+
unicode-emoji (4.0.4)
|
88
|
+
uri (1.0.3)
|
89
|
+
yard (0.9.37)
|
68
90
|
|
69
91
|
PLATFORMS
|
70
92
|
ruby
|
data/README.md
CHANGED
@@ -41,19 +41,20 @@ Things can get out of control pretty fast, especially as the number of environme
|
|
41
41
|
```ruby
|
42
42
|
# Returns an ENV value parsed "as" a specific type:
|
43
43
|
#
|
44
|
-
EnvParser.parse env_key_as_a_symbol
|
45
|
-
as:
|
46
|
-
if_unset:
|
47
|
-
from_set:
|
44
|
+
EnvParser.parse env_key_as_a_symbol,
|
45
|
+
as: …, # ➜ required; Symbol
|
46
|
+
if_unset: …, # ➜ optional; default value (of any type)
|
47
|
+
from_set: …, # ➜ optional; Array or Range
|
48
48
|
validated_by: ->(value) { … } # ➜ optional; may also be given as a block
|
49
49
|
|
50
50
|
# Parse an ENV value and register it as a constant:
|
51
51
|
#
|
52
|
-
EnvParser.register env_key_as_a_symbol
|
53
|
-
as:
|
54
|
-
|
55
|
-
|
56
|
-
|
52
|
+
EnvParser.register env_key_as_a_symbol,
|
53
|
+
as: …, # ➜ required; Symbol
|
54
|
+
named: …, # ➜ optional; String or Symbol; available only if `within` is also given
|
55
|
+
within: …, # ➜ optional; Class or Module
|
56
|
+
if_unset: …, # ➜ optional; default value (of any type)
|
57
|
+
from_set: …, # ➜ optional; Array or Range
|
57
58
|
validated_by: ->(value) { … } # ➜ optional; may also be given as a block
|
58
59
|
|
59
60
|
# Registers all ENV variables as spec'ed in ".env_parser.yml":
|
@@ -119,6 +120,18 @@ EnvParser.add_env_bindings # ENV.parse will now be a proxy for EnvParser.parse
|
|
119
120
|
BEST_VIDEO # => raises NameError
|
120
121
|
```
|
121
122
|
|
123
|
+
`EnvParser.register`'s **_within_** option also allows for specifying what you would like the registered constant to be **_named_**, since related ENV variables will tend to have redundant names once namespaced within a single class or module. Note that `named` is only available when used alongside `within`, as it exists solely as a namespacing aid; registering ENV variables as *global* constants with different names would be a debugging nightmare.
|
124
|
+
|
125
|
+
```ruby
|
126
|
+
ENV['CUSTOM_CLIENT_DEFAULT_HOSTNAME'] # => 'localhost'
|
127
|
+
ENV['CUSTOM_CLIENT_DEFAULT_PORT' ] # => '3000'
|
128
|
+
|
129
|
+
EnvParser.register :CUSTOM_CLIENT_DEFAULT_HOSTNAME, as: :string , named: :DEFAULT_HOSTNAME, within: CustomClient
|
130
|
+
EnvParser.register :CUSTOM_CLIENT_DEFAULT_PORT , as: :integer, named: :DEFAULT_PORT , within: CustomClient
|
131
|
+
CustomClient::DEFAULT_HOSTNAME # => 'localhost'
|
132
|
+
CustomClient::DEFAULT_PORT # => 3000
|
133
|
+
```
|
134
|
+
|
122
135
|
You can also register multiple constants with a single call, which is a bit cleaner.
|
123
136
|
|
124
137
|
```ruby
|
@@ -181,7 +194,7 @@ EnvParser.add_env_bindings # ENV.parse will now be a proxy for EnvParser.parse
|
|
181
194
|
ENV.parse :MISSING_VAR, as: :integer, if_unset: 250 # => 250
|
182
195
|
```
|
183
196
|
|
184
|
-
Note these default values are used as-is with no type conversion, so exercise caution.
|
197
|
+
Note these default values are used as-is, with no type conversion (because sometimes you just want `nil` 🤷), so exercise caution.
|
185
198
|
|
186
199
|
```ruby
|
187
200
|
ENV.parse :MISSING_VAR, as: :integer, if_unset: 'Careful!' # => 'Careful!' (NOT AN INTEGER)
|
@@ -202,7 +215,7 @@ EnvParser.add_env_bindings # ENV.parse will now be a proxy for EnvParser.parse
|
|
202
215
|
|
203
216
|
- **Custom Validation Of Parsed Values**
|
204
217
|
|
205
|
-
You can write your own, more complex validations by passing in a **_validated_by_** lambda or an equivalent block. The lambda/block should
|
218
|
+
You can write your own, more complex validations by passing in a **_validated_by_** lambda or an equivalent block. The lambda/block should expect one value (of the requested **_as_** type) and return true if the given value passes the custom validation.
|
206
219
|
|
207
220
|
```ruby
|
208
221
|
# Via a "validated_by" lambda ...
|
@@ -250,7 +263,7 @@ EnvParser.add_env_bindings # ENV.parse will now be a proxy for EnvParser.parse
|
|
250
263
|
|
251
264
|
- **The `autoregister` Call**
|
252
265
|
|
253
|
-
Consolidating all of your `EnvParser.register` calls into a single place only makes sense. A single `EnvParser.autoregister` call
|
266
|
+
Consolidating all of your `EnvParser.register` calls into a single place only makes sense. A single `EnvParser.autoregister` call takes a filename to read and process as a series of constant registration requests. If no filename is given, the default `".env_parser.yml"` is assumed.
|
254
267
|
|
255
268
|
You'll normally want to call `EnvParser.autoregister` as early in your application as possible. For Rails applications (and other frameworks that call `require 'bundler/setup'`), requiring the EnvParser gem via ...
|
256
269
|
|
@@ -292,7 +305,7 @@ EnvParser.add_env_bindings # ENV.parse will now be a proxy for EnvParser.parse
|
|
292
305
|
within: MyClassOrModule
|
293
306
|
```
|
294
307
|
|
295
|
-
Because no Ruby *statements* can be safely represented via YAML, the set of `EnvParser.register` options available via autoregistration is limited to **_as_**, **_within_**, **_if_unset_**, and **_from_set_**. As an additional restriction, **_from_set_** (if given) must be an array, as ranges cannot be represented in YAML.
|
308
|
+
Because no Ruby *statements* can be safely represented via YAML, the set of `EnvParser.register` options available via autoregistration is limited to **_as_**, **_named_**, **_within_**, **_if_unset_**, and **_from_set_**. As an additional restriction, **_from_set_** (if given) must be an array, as ranges cannot be represented in YAML.
|
296
309
|
|
297
310
|
|
298
311
|
## Feature Roadmap / Future Development
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::AutoregisterFileNotFound
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -133,9 +133,9 @@ feature).</p>
|
|
133
133
|
</div>
|
134
134
|
|
135
135
|
<div id="footer">
|
136
|
-
Generated on
|
136
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
137
137
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
138
|
-
0.9.
|
138
|
+
0.9.37 (ruby-3.4.2).
|
139
139
|
</div>
|
140
140
|
|
141
141
|
</div>
|
data/docs/EnvParser/Error.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::Error
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,9 +128,9 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
132
132
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
|
-
0.9.
|
133
|
+
0.9.37 (ruby-3.4.2).
|
134
134
|
</div>
|
135
135
|
|
136
136
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::TypeAlreadyDefinedError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -132,9 +132,9 @@
|
|
132
132
|
</div>
|
133
133
|
|
134
134
|
<div id="footer">
|
135
|
-
Generated on
|
135
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
136
136
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
-
0.9.
|
137
|
+
0.9.37 (ruby-3.4.2).
|
138
138
|
</div>
|
139
139
|
|
140
140
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: EnvParser::Types::BaseTypes
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -169,9 +169,9 @@ valid, parseable JSON).</p>
|
|
169
169
|
</div>
|
170
170
|
|
171
171
|
<div id="footer">
|
172
|
-
Generated on
|
172
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
173
173
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
174
|
-
0.9.
|
174
|
+
0.9.37 (ruby-3.4.2).
|
175
175
|
</div>
|
176
176
|
|
177
177
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: EnvParser::Types::ChronologyTypes
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -150,9 +150,9 @@
|
|
150
150
|
</div>
|
151
151
|
|
152
152
|
<div id="footer">
|
153
|
-
Generated on
|
153
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
154
154
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
155
|
-
0.9.
|
155
|
+
0.9.37 (ruby-3.4.2).
|
156
156
|
</div>
|
157
157
|
|
158
158
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: EnvParser::Types::InternetTypes
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -162,9 +162,9 @@
|
|
162
162
|
</div>
|
163
163
|
|
164
164
|
<div id="footer">
|
165
|
-
Generated on
|
165
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
166
166
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
167
|
-
0.9.
|
167
|
+
0.9.37 (ruby-3.4.2).
|
168
168
|
</div>
|
169
169
|
|
170
170
|
</div>
|
data/docs/EnvParser/Types.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: EnvParser::Types
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -118,9 +118,9 @@ Exists only for documentation’s sake.</p>
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div id="footer">
|
121
|
-
Generated on
|
121
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
122
122
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.9.
|
123
|
+
0.9.37 (ruby-3.4.2).
|
124
124
|
</div>
|
125
125
|
|
126
126
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::UnknownTypeError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -132,9 +132,9 @@
|
|
132
132
|
</div>
|
133
133
|
|
134
134
|
<div id="footer">
|
135
|
-
Generated on
|
135
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
136
136
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
-
0.9.
|
137
|
+
0.9.37 (ruby-3.4.2).
|
138
138
|
</div>
|
139
139
|
|
140
140
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::UnparseableAutoregisterSpec
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -133,9 +133,9 @@ feature).</p>
|
|
133
133
|
</div>
|
134
134
|
|
135
135
|
<div id="footer">
|
136
|
-
Generated on
|
136
|
+
Generated on Mon Jun 9 14:00:26 2025 by
|
137
137
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
138
|
-
0.9.
|
138
|
+
0.9.37 (ruby-3.4.2).
|
139
139
|
</div>
|
140
140
|
|
141
141
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::ValueNotAllowedError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -134,9 +134,9 @@ check.</p>
|
|
134
134
|
</div>
|
135
135
|
|
136
136
|
<div id="footer">
|
137
|
-
Generated on
|
137
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
138
138
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
139
|
-
0.9.
|
139
|
+
0.9.37 (ruby-3.4.2).
|
140
140
|
</div>
|
141
141
|
|
142
142
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::ValueNotConvertibleError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -132,9 +132,9 @@
|
|
132
132
|
</div>
|
133
133
|
|
134
134
|
<div id="footer">
|
135
|
-
Generated on
|
135
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
136
136
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
-
0.9.
|
137
|
+
0.9.37 (ruby-3.4.2).
|
138
138
|
</div>
|
139
139
|
|
140
140
|
</div>
|
data/docs/EnvParser.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: EnvParser
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -150,7 +150,7 @@
|
|
150
150
|
<dt id="VERSION-constant" class="">VERSION =
|
151
151
|
|
152
152
|
</dt>
|
153
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.6.
|
153
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.6.2</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
154
154
|
|
155
155
|
</dl>
|
156
156
|
|
@@ -1230,9 +1230,9 @@ validation must give its own “validated_by” Proc.</p>
|
|
1230
1230
|
</div>
|
1231
1231
|
|
1232
1232
|
<div id="footer">
|
1233
|
-
Generated on
|
1233
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
1234
1234
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1235
|
-
0.9.
|
1235
|
+
0.9.37 (ruby-3.4.2).
|
1236
1236
|
</div>
|
1237
1237
|
|
1238
1238
|
</div>
|
data/docs/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.9.
|
7
|
+
Documentation by YARD 0.9.37
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
<div class="clear"></div>
|
53
53
|
</div>
|
54
54
|
|
55
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.37</h1>
|
56
56
|
<div id="listing">
|
57
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
58
|
|
@@ -233,9 +233,9 @@
|
|
233
233
|
</div>
|
234
234
|
|
235
235
|
<div id="footer">
|
236
|
-
Generated on
|
236
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
237
237
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
238
|
-
0.9.
|
238
|
+
0.9.37 (ruby-3.4.2).
|
239
239
|
</div>
|
240
240
|
|
241
241
|
</div>
|
data/docs/class_list.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
2
|
+
<html >
|
3
3
|
<head>
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
5
|
<meta charset="utf-8" />
|
@@ -38,12 +38,15 @@
|
|
38
38
|
|
39
39
|
</div>
|
40
40
|
|
41
|
-
<div id="search">
|
41
|
+
<div id="search">
|
42
|
+
<label for="search-class">Search:</label>
|
43
|
+
<input id="search-class" type="text" />
|
44
|
+
</div>
|
42
45
|
</div>
|
43
46
|
|
44
47
|
<ul id="full_list" class="class">
|
45
48
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
-
<li id='object_EnvParser' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="EnvParser.html" title="EnvParser (class)">EnvParser</a></span> < Object<small class='search_info'>Top Level Namespace</small></div><ul><li id='object_EnvParser::AutoregisterFileNotFound' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/AutoregisterFileNotFound.html" title="EnvParser::AutoregisterFileNotFound (class)">AutoregisterFileNotFound</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/Error.html" title="EnvParser::Error (class)">Error</a></span> < StandardError<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::TypeAlreadyDefinedError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/TypeAlreadyDefinedError.html" title="EnvParser::TypeAlreadyDefinedError (class)">TypeAlreadyDefinedError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::Types' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="EnvParser/Types.html" title="EnvParser::Types (module)">Types</a></span><small class='search_info'>EnvParser</small></div><ul><li id='object_EnvParser::Types::BaseTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/BaseTypes.html" title="EnvParser::Types::BaseTypes (module)">BaseTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li><li id='object_EnvParser::Types::ChronologyTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/ChronologyTypes.html" title="EnvParser::Types::ChronologyTypes (module)">ChronologyTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li><li id='object_EnvParser::Types::InternetTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/InternetTypes.html" title="EnvParser::Types::InternetTypes (module)">InternetTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li></ul></li><li id='object_EnvParser::UnknownTypeError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/UnknownTypeError.html" title="EnvParser::UnknownTypeError (class)">UnknownTypeError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::UnparseableAutoregisterSpec' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/UnparseableAutoregisterSpec.html" title="EnvParser::UnparseableAutoregisterSpec (class)">UnparseableAutoregisterSpec</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::ValueNotAllowedError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/ValueNotAllowedError.html" title="EnvParser::ValueNotAllowedError (class)">ValueNotAllowedError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::ValueNotConvertibleError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/ValueNotConvertibleError.html" title="EnvParser::ValueNotConvertibleError (class)">ValueNotConvertibleError</a></span> < Error<small class='search_info'>EnvParser</small></div></li></ul></li>
|
49
|
+
<li id='object_EnvParser' class='even'><div class='item' style='padding-left:30px'><a tabindex='0' class='toggle' role='button' aria-label='EnvParser child nodes' aria-expanded='false' aria-controls='object_EnvParser'></a> <span class='object_link'><a href="EnvParser.html" title="EnvParser (class)">EnvParser</a></span> < Object<small class='search_info'>Top Level Namespace</small></div><div aria-labelledby='object_EnvParser'><ul><li id='object_EnvParser::AutoregisterFileNotFound' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/AutoregisterFileNotFound.html" title="EnvParser::AutoregisterFileNotFound (class)">AutoregisterFileNotFound</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/Error.html" title="EnvParser::Error (class)">Error</a></span> < StandardError<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::TypeAlreadyDefinedError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/TypeAlreadyDefinedError.html" title="EnvParser::TypeAlreadyDefinedError (class)">TypeAlreadyDefinedError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::Types' class='collapsed even'><div class='item' style='padding-left:45px'><a tabindex='0' class='toggle' role='button' aria-label='Types child nodes' aria-expanded='false' aria-controls='object_EnvParser::Types'></a> <span class='object_link'><a href="EnvParser/Types.html" title="EnvParser::Types (module)">Types</a></span><small class='search_info'>EnvParser</small></div><div aria-labelledby='object_EnvParser::Types'><ul><li id='object_EnvParser::Types::BaseTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/BaseTypes.html" title="EnvParser::Types::BaseTypes (module)">BaseTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li><li id='object_EnvParser::Types::ChronologyTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/ChronologyTypes.html" title="EnvParser::Types::ChronologyTypes (module)">ChronologyTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li><li id='object_EnvParser::Types::InternetTypes' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="EnvParser/Types/InternetTypes.html" title="EnvParser::Types::InternetTypes (module)">InternetTypes</a></span><small class='search_info'>EnvParser::Types</small></div></li></ul></div></li><li id='object_EnvParser::UnknownTypeError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/UnknownTypeError.html" title="EnvParser::UnknownTypeError (class)">UnknownTypeError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::UnparseableAutoregisterSpec' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/UnparseableAutoregisterSpec.html" title="EnvParser::UnparseableAutoregisterSpec (class)">UnparseableAutoregisterSpec</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::ValueNotAllowedError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/ValueNotAllowedError.html" title="EnvParser::ValueNotAllowedError (class)">ValueNotAllowedError</a></span> < Error<small class='search_info'>EnvParser</small></div></li><li id='object_EnvParser::ValueNotConvertibleError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="EnvParser/ValueNotConvertibleError.html" title="EnvParser::ValueNotConvertibleError (class)">ValueNotConvertibleError</a></span> < Error<small class='search_info'>EnvParser</small></div></li></ul></div></li>
|
47
50
|
|
48
51
|
</ul>
|
49
52
|
</div>
|
data/docs/css/full_list.css
CHANGED
@@ -20,8 +20,8 @@ h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
|
20
20
|
#content.insearch #noresults { margin-left: 7px; }
|
21
21
|
li.collapsed ul { display: none; }
|
22
22
|
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
23
|
-
li.collapsed a.toggle {
|
24
|
-
li { color: #
|
23
|
+
li.collapsed a.toggle { cursor: default; background-position: top left; }
|
24
|
+
li { color: #666; cursor: pointer; }
|
25
25
|
li.deprecated { text-decoration: line-through; font-style: italic; }
|
26
26
|
li.odd { background: #f0f0f0; }
|
27
27
|
li.even { background: #fafafa; }
|
@@ -47,7 +47,7 @@ li small { display: block; font-size: 0.8em; }
|
|
47
47
|
li small:before { content: ""; }
|
48
48
|
li small:after { content: ""; }
|
49
49
|
li small.search_info { display: none; }
|
50
|
-
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #
|
50
|
+
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #666; padding-left: 0; padding-right: 24px; }
|
51
51
|
#content.insearch #search { background-position: center right; }
|
52
52
|
#search input { width: 110px; }
|
53
53
|
|