env_parser 1.7.2 → 1.7.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/Gemfile.lock +61 -59
- data/lib/env_parser/types/base_types.rb +1 -5
- data/lib/env_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9211eb500873c6156af1b61f6415ce93e263cfd7c578c7a56deea92ce164c10f
|
|
4
|
+
data.tar.gz: d350d09557294363bcf3722d4af9ba4f1ccf3b1578cc3307505f0361a536ed9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd41b8937c0b9b59a477d2a82f82ba72e861d8d74362c15e0040c60ae05808d89f31997e4b0a2f738f63ce59e2ece175cce7a43149e9e2bf5a1a02251129f630
|
|
7
|
+
data.tar.gz: 5eeaadde7cc422c1dbb517cfabb80aa27d0804f99c20803a397ba203cede35d8916f1939d99f0201ade5280067bfbf1c5bf2483116fe197c473b960e20ffc994
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
env_parser (1.7.
|
|
4
|
+
env_parser (1.7.2)
|
|
5
5
|
activesupport (>= 6.1.0, < 9)
|
|
6
6
|
chronic (~> 0)
|
|
7
7
|
chronic_duration (~> 0)
|
|
@@ -9,7 +9,7 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (8.1.
|
|
12
|
+
activesupport (8.1.4.1)
|
|
13
13
|
base64
|
|
14
14
|
bigdecimal
|
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -24,42 +24,43 @@ GEM
|
|
|
24
24
|
uri (>= 0.13.1)
|
|
25
25
|
ast (2.4.3)
|
|
26
26
|
base64 (0.3.0)
|
|
27
|
-
bigdecimal (4.1.
|
|
27
|
+
bigdecimal (4.1.3)
|
|
28
28
|
chronic (0.10.2)
|
|
29
29
|
chronic_duration (0.10.6)
|
|
30
30
|
numerizer (~> 0.1.1)
|
|
31
|
-
concurrent-ruby (1.3.
|
|
31
|
+
concurrent-ruby (1.3.8)
|
|
32
32
|
connection_pool (3.0.2)
|
|
33
33
|
diff-lcs (1.6.2)
|
|
34
34
|
drb (2.2.3)
|
|
35
35
|
erb (6.0.7)
|
|
36
36
|
i18n (1.15.2)
|
|
37
37
|
concurrent-ruby (~> 1.0)
|
|
38
|
-
io-console (0.9.
|
|
39
|
-
irb (1.
|
|
38
|
+
io-console (0.9.5)
|
|
39
|
+
irb (1.19.0)
|
|
40
40
|
pp (>= 0.6.0)
|
|
41
41
|
prism (>= 1.3.0)
|
|
42
42
|
rdoc (>= 4.0.0)
|
|
43
43
|
reline (>= 0.4.2)
|
|
44
|
-
json (
|
|
45
|
-
language_server-protocol (3.17.0.
|
|
44
|
+
json (3.1.0)
|
|
45
|
+
language_server-protocol (3.17.0.6)
|
|
46
46
|
lint_roller (1.1.0)
|
|
47
47
|
logger (1.7.0)
|
|
48
|
-
minitest (6.0
|
|
48
|
+
minitest (6.1.0)
|
|
49
49
|
drb (~> 2.0)
|
|
50
|
-
prism (
|
|
50
|
+
prism (>= 1.5, < 3)
|
|
51
51
|
numerizer (0.1.1)
|
|
52
|
-
parallel (2.
|
|
53
|
-
parser (3.3.
|
|
52
|
+
parallel (2.3.0)
|
|
53
|
+
parser (3.3.13.0)
|
|
54
54
|
ast (~> 2.4.1)
|
|
55
55
|
racc
|
|
56
56
|
pp (0.6.4)
|
|
57
57
|
prettyprint
|
|
58
|
-
prettyprint (0.2.
|
|
59
|
-
prism (1.
|
|
58
|
+
prettyprint (0.2.1)
|
|
59
|
+
prism (2.1.0)
|
|
60
|
+
prism (2.1.0-x86_64-linux-gnu)
|
|
60
61
|
racc (1.8.1)
|
|
61
62
|
rainbow (3.1.1)
|
|
62
|
-
rbs (4.
|
|
63
|
+
rbs (4.2.0)
|
|
63
64
|
logger
|
|
64
65
|
prism (>= 1.6.0)
|
|
65
66
|
tsort
|
|
@@ -68,48 +69,48 @@ GEM
|
|
|
68
69
|
prism (>= 1.6.0)
|
|
69
70
|
rbs (>= 4.0.0)
|
|
70
71
|
tsort
|
|
71
|
-
regexp_parser (2.
|
|
72
|
+
regexp_parser (2.13.1)
|
|
72
73
|
reline (0.7.0)
|
|
73
74
|
io-console (~> 0.5)
|
|
74
75
|
rspec (3.13.2)
|
|
75
76
|
rspec-core (~> 3.13.0)
|
|
76
77
|
rspec-expectations (~> 3.13.0)
|
|
77
78
|
rspec-mocks (~> 3.13.0)
|
|
78
|
-
rspec-core (3.13.
|
|
79
|
+
rspec-core (3.13.7)
|
|
79
80
|
rspec-support (~> 3.13.0)
|
|
80
|
-
rspec-expectations (3.13.
|
|
81
|
+
rspec-expectations (3.13.6)
|
|
81
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
82
83
|
rspec-support (~> 3.13.0)
|
|
83
|
-
rspec-mocks (3.13.
|
|
84
|
+
rspec-mocks (3.13.9)
|
|
84
85
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
85
86
|
rspec-support (~> 3.13.0)
|
|
86
|
-
rspec-support (3.13.
|
|
87
|
-
rspec_junit_formatter (0.
|
|
88
|
-
rspec-core (>=
|
|
89
|
-
rubocop (1.
|
|
90
|
-
json (
|
|
87
|
+
rspec-support (3.13.8)
|
|
88
|
+
rspec_junit_formatter (0.8.0)
|
|
89
|
+
rspec-core (>= 3.13, < 4)
|
|
90
|
+
rubocop (1.92.2)
|
|
91
|
+
json (>= 2.3)
|
|
91
92
|
language_server-protocol (~> 3.17.0.2)
|
|
92
93
|
lint_roller (~> 1.1.0)
|
|
93
94
|
parallel (>= 1.10)
|
|
94
95
|
parser (>= 3.3.0.2)
|
|
95
96
|
rainbow (>= 2.2.2, < 4.0)
|
|
96
|
-
regexp_parser (>= 2.
|
|
97
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
97
98
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
98
99
|
ruby-progressbar (~> 1.7)
|
|
99
100
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
100
|
-
rubocop-ast (1.
|
|
101
|
+
rubocop-ast (1.51.0)
|
|
101
102
|
parser (>= 3.3.7.2)
|
|
102
|
-
prism (
|
|
103
|
+
prism (>= 1.7)
|
|
103
104
|
ruby-progressbar (1.13.0)
|
|
104
105
|
securerandom (0.4.1)
|
|
105
106
|
tsort (0.2.0)
|
|
106
107
|
tzinfo (2.0.6)
|
|
107
108
|
concurrent-ruby (~> 1.0)
|
|
108
|
-
unicode-display_width (3.
|
|
109
|
-
unicode-emoji (~> 4.
|
|
110
|
-
unicode-emoji (4.
|
|
111
|
-
uri (1.1.
|
|
112
|
-
yard (0.9.
|
|
109
|
+
unicode-display_width (3.3.0)
|
|
110
|
+
unicode-emoji (~> 4.3)
|
|
111
|
+
unicode-emoji (4.3.0)
|
|
112
|
+
uri (1.1.2)
|
|
113
|
+
yard (0.9.45)
|
|
113
114
|
|
|
114
115
|
PLATFORMS
|
|
115
116
|
ruby
|
|
@@ -124,54 +125,55 @@ DEPENDENCIES
|
|
|
124
125
|
yard
|
|
125
126
|
|
|
126
127
|
CHECKSUMS
|
|
127
|
-
activesupport (8.1.
|
|
128
|
+
activesupport (8.1.4.1) sha256=16ac4f341ca65c85a1fcdb8ac73f68891aae9e3c4a6f9c3a27daed8b00017ed7
|
|
128
129
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
129
130
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
130
|
-
bigdecimal (4.1.
|
|
131
|
+
bigdecimal (4.1.3) sha256=61ebe1e5e559bdc3cc6f2c0ee7f427321fc838f59611c294356eb04d6e21cf66
|
|
131
132
|
chronic (0.10.2) sha256=766f2fcce6ac3cc152249ed0f2b827770d3e517e2e87c5fba7ed74f4889d2dc3
|
|
132
133
|
chronic_duration (0.10.6) sha256=fac58d4147d3183a40811400380cafcef049f2bb02421d2fd1c6e685fbe8facc
|
|
133
|
-
concurrent-ruby (1.3.
|
|
134
|
+
concurrent-ruby (1.3.8) sha256=b2f1be836e968ccc78ccfce277ea79c72a88633f22306782c16ff23fb415d1e1
|
|
134
135
|
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
135
136
|
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
136
137
|
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
137
|
-
env_parser (1.7.
|
|
138
|
+
env_parser (1.7.2)
|
|
138
139
|
erb (6.0.7) sha256=c5ca6dc25b0ef974a44dc8f59fe847577122483b1968a38dec305c60bf91ee92
|
|
139
140
|
i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5
|
|
140
|
-
io-console (0.9.
|
|
141
|
-
irb (1.
|
|
142
|
-
json (
|
|
143
|
-
language_server-protocol (3.17.0.
|
|
141
|
+
io-console (0.9.5) sha256=83dd9bbf4c4680416629245b39cd4212eb5f4d9a4ea91804870c1f6b846414d5
|
|
142
|
+
irb (1.19.0) sha256=55ee56acbdd6c9fe06a2e6909f46a24e5c41f45f16906bab04e8049cf46f1d27
|
|
143
|
+
json (3.1.0) sha256=3ce7ccf8fde58960177a3a756c31f292a4c1e1dedee884547096a5b0604e3bd8
|
|
144
|
+
language_server-protocol (3.17.0.6) sha256=5ef2c0c138f8267e1bc631d3328347d354f96724b0af22f2c79516120443b7f0
|
|
144
145
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
145
146
|
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
146
|
-
minitest (6.0
|
|
147
|
+
minitest (6.1.0) sha256=ff373595aa8888631e8a5463986a76b3845346ae6d7fa46e139c1633d418076e
|
|
147
148
|
numerizer (0.1.1) sha256=10ec9efec62472b69a3a0e275a18a44baa595ce6e2e4cfc1678d5cb2974c336f
|
|
148
|
-
parallel (2.
|
|
149
|
-
parser (3.3.
|
|
149
|
+
parallel (2.3.0) sha256=f75a3e904101ce6a1ccb6b8dc800cbafd42166d83330192438dcf29395167a6f
|
|
150
|
+
parser (3.3.13.0) sha256=e02f9b63c2fe05b0c68f692ba4df89b3cb113b663964f75d988fbebfd6c3deca
|
|
150
151
|
pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570
|
|
151
|
-
prettyprint (0.2.
|
|
152
|
-
prism (1.
|
|
152
|
+
prettyprint (0.2.1) sha256=d555d57ea6d7cf001d4774b693546a6bd88bec1e778ddffb5c60b68ceec4b7d4
|
|
153
|
+
prism (2.1.0) sha256=1c0a7c6dea0e93183390fb123f007564dbe663198e2f86ad87204151147601f3
|
|
154
|
+
prism (2.1.0-x86_64-linux-gnu) sha256=b2b647afce09551e650b8bb3e2fc91d7d73d392a09534ca307ec0d619c33bfd4
|
|
153
155
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
154
156
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
155
|
-
rbs (4.
|
|
157
|
+
rbs (4.2.0) sha256=51f7b886dcc05bc09e10b901daa6a81829f6adc03101d6ca9ea4aac6103e0674
|
|
156
158
|
rdoc (8.1.0) sha256=befc37880a5cfd36dcb176c748b5fd5ee39dd3536a75e81824e4972ce230f60a
|
|
157
|
-
regexp_parser (2.
|
|
159
|
+
regexp_parser (2.13.1) sha256=5aedb6b7c35688f51e86eef17a15374dfd287c83f4ca644b2c5f3ec50a33b44b
|
|
158
160
|
reline (0.7.0) sha256=5b012d8e55dbf9d450f12bde2cf7d15ff546ae80b3f8f3b30e570d431815583d
|
|
159
161
|
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
160
|
-
rspec-core (3.13.
|
|
161
|
-
rspec-expectations (3.13.
|
|
162
|
-
rspec-mocks (3.13.
|
|
163
|
-
rspec-support (3.13.
|
|
164
|
-
rspec_junit_formatter (0.
|
|
165
|
-
rubocop (1.
|
|
166
|
-
rubocop-ast (1.
|
|
162
|
+
rspec-core (3.13.7) sha256=c64ff16d9788119805cbc6a3f4b6d87cc22417c2d25976a3330de136896b5469
|
|
163
|
+
rspec-expectations (3.13.6) sha256=bf538ca6d367ff5b0d85a87fdb5c0c6038f2cd1308a0eeba07476caa02d22f35
|
|
164
|
+
rspec-mocks (3.13.9) sha256=ea5c7ff3054a6098ca6039aacef80aec69d5a8a3ef80be8fc88337359b672a30
|
|
165
|
+
rspec-support (3.13.8) sha256=e4160030309b7e3e9d9863dfe720a35dfcc577162f5402cd68fc8c5258a0ffd6
|
|
166
|
+
rspec_junit_formatter (0.8.0) sha256=2c505d4a79713d298bc8361532cc3eb3427d9279ffe3f8ceeeeeb72ffc279a20
|
|
167
|
+
rubocop (1.92.2) sha256=14fb31eed143a0dc6f78186c550c1715e81cd38f59d05d1165050e445c1f5382
|
|
168
|
+
rubocop-ast (1.51.0) sha256=0ec311e36b191b3872d909078a35274e962ae97dbce64be6812d145ca59acfcb
|
|
167
169
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
168
170
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
169
171
|
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
170
172
|
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
|
171
|
-
unicode-display_width (3.
|
|
172
|
-
unicode-emoji (4.
|
|
173
|
-
uri (1.1.
|
|
174
|
-
yard (0.9.
|
|
173
|
+
unicode-display_width (3.3.0) sha256=4b7aa66a4b11db50f6f7e98411215cd0dd10eaecb665d36eec5bcacb3fa0b613
|
|
174
|
+
unicode-emoji (4.3.0) sha256=11c02fa73290378c066bb0562cd4c87d8e1b706fbbe0059ca12746a4244de8ce
|
|
175
|
+
uri (1.1.2) sha256=89292e98eabbef6248b0a0ed5e7e398e152f83f17560023a6d94a7f492b169fb
|
|
176
|
+
yard (0.9.45) sha256=52e211493f7cb8a3ebf7e104a25a1e73937a3103092545d34cb88fafebb3dc51
|
|
175
177
|
|
|
176
178
|
BUNDLED WITH
|
|
177
|
-
|
|
179
|
+
2.6.9
|
|
@@ -67,9 +67,6 @@ module EnvParser::Types
|
|
|
67
67
|
# </tbody>
|
|
68
68
|
# </table>
|
|
69
69
|
#
|
|
70
|
-
# Note JSON is parsed using *quirks-mode* (meaning 'true', '25', and 'null' are all considered
|
|
71
|
-
# valid, parseable JSON).
|
|
72
|
-
#
|
|
73
70
|
module BaseTypes
|
|
74
71
|
EnvParser.define_type(:string, if_unset: '') do |value|
|
|
75
72
|
value
|
|
@@ -91,8 +88,7 @@ module EnvParser::Types
|
|
|
91
88
|
EnvParser.define_type(:json, if_unset: nil) do |value|
|
|
92
89
|
require 'json'
|
|
93
90
|
|
|
94
|
-
decoded_json
|
|
95
|
-
{ decoded_json: decoded_json }.with_indifferent_access[:decoded_json]
|
|
91
|
+
{ decoded_json: JSON.parse(value) }.with_indifferent_access[:decoded_json]
|
|
96
92
|
end
|
|
97
93
|
|
|
98
94
|
EnvParser.define_type(:array, if_unset: []) do |value|
|
data/lib/env_parser/version.rb
CHANGED