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
data/docs/js/full_list.js
CHANGED
@@ -62,8 +62,25 @@ function enableToggles() {
|
|
62
62
|
evt.stopPropagation();
|
63
63
|
evt.preventDefault();
|
64
64
|
$(this).parent().parent().toggleClass('collapsed');
|
65
|
+
$(this).attr('aria-expanded', function (i, attr) {
|
66
|
+
return attr == 'true' ? 'false' : 'true'
|
67
|
+
});
|
65
68
|
highlight();
|
66
69
|
});
|
70
|
+
|
71
|
+
// navigation of nested classes using keyboard
|
72
|
+
$('#full_list a.toggle').on('keypress',function(evt) {
|
73
|
+
// enter key is pressed
|
74
|
+
if (evt.which == 13) {
|
75
|
+
evt.stopPropagation();
|
76
|
+
evt.preventDefault();
|
77
|
+
$(this).parent().parent().toggleClass('collapsed');
|
78
|
+
$(this).attr('aria-expanded', function (i, attr) {
|
79
|
+
return attr == 'true' ? 'false' : 'true'
|
80
|
+
});
|
81
|
+
highlight();
|
82
|
+
}
|
83
|
+
});
|
67
84
|
}
|
68
85
|
|
69
86
|
function populateSearchCache() {
|
@@ -91,7 +108,7 @@ function enableSearch() {
|
|
91
108
|
}
|
92
109
|
});
|
93
110
|
|
94
|
-
$('#full_list').after("<div id='noresults' style='display:none'></div>");
|
111
|
+
$('#full_list').after("<div id='noresults' role='status' style='display: none'></div>");
|
95
112
|
}
|
96
113
|
|
97
114
|
function ignoredKeyPress(event) {
|
@@ -154,11 +171,14 @@ function partialSearch(searchString, offset) {
|
|
154
171
|
function searchDone() {
|
155
172
|
searchTimeout = null;
|
156
173
|
highlight();
|
157
|
-
|
158
|
-
|
174
|
+
var found = $('#full_list li:visible').size();
|
175
|
+
if (found === 0) {
|
176
|
+
$('#noresults').text('No results were found.');
|
159
177
|
} else {
|
160
|
-
|
178
|
+
// This is read out to screen readers
|
179
|
+
$('#noresults').text('There are ' + found + ' results.');
|
161
180
|
}
|
181
|
+
$('#noresults').show();
|
162
182
|
$('#content').removeClass('insearch');
|
163
183
|
}
|
164
184
|
|
@@ -188,6 +208,12 @@ function expandTo(path) {
|
|
188
208
|
$target.addClass('clicked');
|
189
209
|
$target.removeClass('collapsed');
|
190
210
|
$target.parentsUntil('#full_list', 'li').removeClass('collapsed');
|
211
|
+
|
212
|
+
$target.find('a.toggle').attr('aria-expanded', 'true')
|
213
|
+
$target.parentsUntil('#full_list', 'li').each(function(i, el) {
|
214
|
+
$(el).find('> div > a.toggle').attr('aria-expanded', 'true');
|
215
|
+
});
|
216
|
+
|
191
217
|
if($target[0]) {
|
192
218
|
window.scrollTo(window.scrollX, $target.offset().top - 250);
|
193
219
|
highlight();
|
data/docs/method_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,7 +38,10 @@
|
|
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="method">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.37
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Mon Jun 9 14:00:25 2025 by
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
-
0.9.
|
105
|
+
0.9.37 (ruby-3.4.2).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</div>
|
data/env_parser.gemspec
CHANGED
@@ -3,12 +3,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require 'env_parser/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.required_ruby_version = ['
|
6
|
+
spec.required_ruby_version = ['~> 3']
|
7
7
|
|
8
8
|
spec.name = 'env_parser'
|
9
9
|
spec.version = EnvParser::VERSION
|
10
10
|
spec.authors = ['Nestor Custodio']
|
11
|
-
spec.email = ['
|
11
|
+
spec.email = ['nestor@custodio.org']
|
12
12
|
|
13
13
|
spec.summary = 'A tool for painless parsing and validation of environment variables.'
|
14
14
|
spec.homepage = 'https://github.com/nestor-custodio/env_parser'
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
22
22
|
|
23
|
-
spec.add_dependency 'activesupport', ['>= 6.1.0', '<
|
23
|
+
spec.add_dependency 'activesupport', ['>= 6.1.0', '< 9']
|
24
24
|
spec.add_dependency 'chronic', '~> 0'
|
25
25
|
spec.add_dependency 'chronic_duration', '~> 0'
|
26
26
|
|
data/lib/env_parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: env_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nestor Custodio
|
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
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -19,7 +18,7 @@ dependencies:
|
|
19
18
|
version: 6.1.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
21
|
+
version: '9'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +28,7 @@ dependencies:
|
|
29
28
|
version: 6.1.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
31
|
+
version: '9'
|
33
32
|
- !ruby/object:Gem::Dependency
|
34
33
|
name: chronic
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,9 +127,8 @@ dependencies:
|
|
128
127
|
- - ">="
|
129
128
|
- !ruby/object:Gem::Version
|
130
129
|
version: '0'
|
131
|
-
description:
|
132
130
|
email:
|
133
|
-
-
|
131
|
+
- nestor@custodio.org
|
134
132
|
executables: []
|
135
133
|
extensions: []
|
136
134
|
extra_rdoc_files: []
|
@@ -200,26 +198,21 @@ licenses:
|
|
200
198
|
- MIT
|
201
199
|
metadata:
|
202
200
|
rubygems_mfa_required: 'true'
|
203
|
-
post_install_message:
|
204
201
|
rdoc_options: []
|
205
202
|
require_paths:
|
206
203
|
- lib
|
207
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
205
|
requirements:
|
209
|
-
- - "
|
210
|
-
- !ruby/object:Gem::Version
|
211
|
-
version: '3.0'
|
212
|
-
- - "<"
|
206
|
+
- - "~>"
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version: '3
|
208
|
+
version: '3'
|
215
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
210
|
requirements:
|
217
211
|
- - ">="
|
218
212
|
- !ruby/object:Gem::Version
|
219
213
|
version: '0'
|
220
214
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
222
|
-
signing_key:
|
215
|
+
rubygems_version: 3.6.9
|
223
216
|
specification_version: 4
|
224
217
|
summary: A tool for painless parsing and validation of environment variables.
|
225
218
|
test_files: []
|