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.
Files changed (43) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +1 -1
  3. data/.rubocop.yml +25 -30
  4. data/.ruby-version +1 -1
  5. data/Gemfile.lock +51 -43
  6. data/README.md +1 -1
  7. data/docs/EnvParser/AutoregisterFileNotFound.html +9 -10
  8. data/docs/EnvParser/Error.html +8 -9
  9. data/docs/EnvParser/TypeAlreadyDefinedError.html +8 -9
  10. data/docs/EnvParser/Types/BaseTypes.html +12 -11
  11. data/docs/EnvParser/Types/ChronologyTypes.html +10 -9
  12. data/docs/EnvParser/Types/InternetTypes.html +10 -9
  13. data/docs/EnvParser/Types.html +9 -10
  14. data/docs/EnvParser/UnknownTypeError.html +8 -9
  15. data/docs/EnvParser/UnparseableAutoregisterSpec.html +9 -10
  16. data/docs/EnvParser/ValueNotAllowedError.html +10 -11
  17. data/docs/EnvParser/ValueNotConvertibleError.html +8 -10
  18. data/docs/EnvParser.html +123 -186
  19. data/docs/_index.html +8 -10
  20. data/docs/class_list.html +2 -2
  21. data/docs/css/style.css +3 -2
  22. data/docs/file.README.html +254 -284
  23. data/docs/file_list.html +2 -2
  24. data/docs/frames.html +2 -2
  25. data/docs/index.html +254 -284
  26. data/docs/js/app.js +14 -3
  27. data/docs/method_list.html +3 -11
  28. data/docs/top-level-namespace.html +7 -85
  29. data/env_parser.gemspec +14 -14
  30. data/lib/env_parser/errors.rb +18 -18
  31. data/lib/env_parser/types/base_types.rb +69 -69
  32. data/lib/env_parser/types/chronology_types.rb +54 -54
  33. data/lib/env_parser/types/internet_types.rb +51 -51
  34. data/lib/env_parser/types.rb +2 -2
  35. data/lib/env_parser/version.rb +1 -1
  36. data/lib/env_parser.rb +206 -217
  37. data/spec/env_parser/types/base_types_spec.rb +98 -0
  38. data/spec/env_parser/types/chronology_types_spec.rb +49 -0
  39. data/spec/env_parser/types/internet_types_spec.rb +45 -0
  40. data/spec/env_parser_spec.rb +192 -0
  41. data/spec/spec_helper.rb +14 -0
  42. metadata +54 -50
  43. data/.travis.yml +0 -5
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Exception: EnvParser::UnparseableAutoregisterSpec
8
8
 
9
- &mdash; Documentation by YARD 0.9.20
9
+ &mdash; Documentation by YARD 0.9.28
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
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
- <p>Error class used to indicate an unparseable auto-registration spec (used by
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 Nov 3 21:30:37 2019 by
138
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
- 0.9.20 (ruby-2.4.2).
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
- &mdash; Documentation by YARD 0.9.20
9
+ &mdash; Documentation by YARD 0.9.28
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
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
- <p>Error class used to indicate parsed values that do not pass
110
- user-validation, either by not being part of the given “from_set” list, or
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 Nov 3 21:30:37 2019 by
139
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
- 0.9.20 (ruby-2.4.2).
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
- &mdash; Documentation by YARD 0.9.20
9
+ &mdash; Documentation by YARD 0.9.28
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
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 Nov 3 21:30:37 2019 by
138
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
- 0.9.20 (ruby-2.4.2).
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>