env_parser 1.3.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +1 -1
- data/.rubocop.yml +25 -30
- data/.ruby-version +1 -1
- data/Gemfile.lock +51 -43
- data/README.md +1 -1
- data/docs/EnvParser/AutoregisterFileNotFound.html +9 -10
- data/docs/EnvParser/Error.html +8 -9
- data/docs/EnvParser/TypeAlreadyDefinedError.html +8 -9
- data/docs/EnvParser/Types/BaseTypes.html +12 -11
- data/docs/EnvParser/Types/ChronologyTypes.html +10 -9
- data/docs/EnvParser/Types/InternetTypes.html +10 -9
- data/docs/EnvParser/Types.html +9 -10
- data/docs/EnvParser/UnknownTypeError.html +8 -9
- data/docs/EnvParser/UnparseableAutoregisterSpec.html +9 -10
- data/docs/EnvParser/ValueNotAllowedError.html +10 -11
- data/docs/EnvParser/ValueNotConvertibleError.html +8 -10
- data/docs/EnvParser.html +123 -186
- data/docs/_index.html +8 -10
- data/docs/class_list.html +2 -2
- data/docs/css/style.css +3 -2
- data/docs/file.README.html +254 -284
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +254 -284
- data/docs/js/app.js +14 -3
- data/docs/method_list.html +3 -11
- data/docs/top-level-namespace.html +7 -85
- data/env_parser.gemspec +14 -14
- data/lib/env_parser/errors.rb +18 -18
- data/lib/env_parser/types/base_types.rb +69 -69
- data/lib/env_parser/types/chronology_types.rb +54 -54
- data/lib/env_parser/types/internet_types.rb +51 -51
- data/lib/env_parser/types.rb +2 -2
- data/lib/env_parser/version.rb +1 -1
- data/lib/env_parser.rb +206 -217
- data/spec/env_parser/types/base_types_spec.rb +98 -0
- data/spec/env_parser/types/chronology_types_spec.rb +49 -0
- data/spec/env_parser/types/internet_types_spec.rb +45 -0
- data/spec/env_parser_spec.rb +192 -0
- data/spec/spec_helper.rb +14 -0
- metadata +54 -50
- data/.travis.yml +0 -5
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::UnparseableAutoregisterSpec
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.28
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "EnvParser::UnparseableAutoregisterSpec";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -105,9 +105,8 @@
|
|
105
105
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
108
|
-
|
109
|
-
|
110
|
-
the “autoregister” feature).</p>
|
108
|
+
<p>Error class used to indicate an unparseable auto-registration spec (used by the “autoregister”
|
109
|
+
feature).</p>
|
111
110
|
|
112
111
|
|
113
112
|
</div>
|
@@ -134,9 +133,9 @@ the “autoregister” feature).</p>
|
|
134
133
|
</div>
|
135
134
|
|
136
135
|
<div id="footer">
|
137
|
-
Generated on Sun
|
138
|
-
<a href="
|
139
|
-
0.9.
|
136
|
+
Generated on Sun Dec 25 19:19:24 2022 by
|
137
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
138
|
+
0.9.28 (ruby-3.0.4).
|
140
139
|
</div>
|
141
140
|
|
142
141
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::ValueNotAllowedError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.28
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "EnvParser::ValueNotAllowedError";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -105,10 +105,9 @@
|
|
105
105
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
by failing the “validated_by” Proc or yield-block check.</p>
|
108
|
+
<p>Error class used to indicate parsed values that do not pass user-validation, either by not
|
109
|
+
being part of the given “from_set” list, or by failing the “validated_by” Proc or yield-block
|
110
|
+
check.</p>
|
112
111
|
|
113
112
|
|
114
113
|
</div>
|
@@ -135,9 +134,9 @@ by failing the “validated_by” Proc or yield-block check.</p>
|
|
135
134
|
</div>
|
136
135
|
|
137
136
|
<div id="footer">
|
138
|
-
Generated on Sun
|
139
|
-
<a href="
|
140
|
-
0.9.
|
137
|
+
Generated on Sun Dec 25 19:19:24 2022 by
|
138
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
139
|
+
0.9.28 (ruby-3.0.4).
|
141
140
|
</div>
|
142
141
|
|
143
142
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: EnvParser::ValueNotConvertibleError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.28
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "EnvParser::ValueNotConvertibleError";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -105,9 +105,7 @@
|
|
105
105
|
|
106
106
|
<h2>Overview</h2><div class="docstring">
|
107
107
|
<div class="discussion">
|
108
|
-
|
109
|
-
<p>Error class used to indicate value given is not convertible to the
|
110
|
-
requested type.</p>
|
108
|
+
<p>Error class used to indicate value given is not convertible to the requested type.</p>
|
111
109
|
|
112
110
|
|
113
111
|
</div>
|
@@ -134,9 +132,9 @@ requested type.</p>
|
|
134
132
|
</div>
|
135
133
|
|
136
134
|
<div id="footer">
|
137
|
-
Generated on Sun
|
138
|
-
<a href="
|
139
|
-
0.9.
|
135
|
+
Generated on Sun Dec 25 19:19:24 2022 by
|
136
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
+
0.9.28 (ruby-3.0.4).
|
140
138
|
</div>
|
141
139
|
|
142
140
|
</div>
|