env_parser 1.7.1 → 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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -4
  3. data/Gemfile.lock +85 -52
  4. data/env_parser.gemspec +19 -12
  5. data/lib/env_parser/types/base_types.rb +1 -5
  6. data/lib/env_parser/types/chronology_types.rb +1 -1
  7. data/lib/env_parser/types/internet_types.rb +1 -0
  8. data/lib/env_parser/version.rb +1 -1
  9. data/lib/env_parser.rb +17 -15
  10. metadata +4 -113
  11. data/.circleci/config.yml +0 -64
  12. data/.gitignore +0 -14
  13. data/.rspec +0 -3
  14. data/.rubocop.yml +0 -64
  15. data/.ruby-version +0 -1
  16. data/.yardopts +0 -1
  17. data/bin/console +0 -14
  18. data/bin/setup +0 -8
  19. data/docs/EnvParser/AutoregisterFileNotFound.html +0 -146
  20. data/docs/EnvParser/Error.html +0 -140
  21. data/docs/EnvParser/TypeAlreadyDefined.html +0 -143
  22. data/docs/EnvParser/TypeAlreadyDefinedError.html +0 -145
  23. data/docs/EnvParser/Types/BaseTypes.html +0 -179
  24. data/docs/EnvParser/Types/ChronologyTypes.html +0 -161
  25. data/docs/EnvParser/Types/InternetTypes.html +0 -173
  26. data/docs/EnvParser/Types.html +0 -130
  27. data/docs/EnvParser/UnknownTypeError.html +0 -145
  28. data/docs/EnvParser/UnparseableAutoregisterSpec.html +0 -146
  29. data/docs/EnvParser/ValueNotAllowed.html +0 -144
  30. data/docs/EnvParser/ValueNotAllowedError.html +0 -147
  31. data/docs/EnvParser/ValueNotConvertibleError.html +0 -145
  32. data/docs/EnvParser.html +0 -1194
  33. data/docs/EnvParserTypes/BaseTypes.html +0 -178
  34. data/docs/EnvParserTypes/ChronologyTypes.html +0 -159
  35. data/docs/EnvParserTypes/InternetTypes.html +0 -159
  36. data/docs/EnvParserTypes/TimeTypes.html +0 -158
  37. data/docs/EnvParserTypes.html +0 -129
  38. data/docs/_index.html +0 -245
  39. data/docs/class_list.html +0 -54
  40. data/docs/css/common.css +0 -1
  41. data/docs/css/full_list.css +0 -206
  42. data/docs/css/style.css +0 -1089
  43. data/docs/file.README.html +0 -334
  44. data/docs/file_list.html +0 -59
  45. data/docs/frames.html +0 -22
  46. data/docs/index.html +0 -334
  47. data/docs/js/app.js +0 -801
  48. data/docs/js/full_list.js +0 -334
  49. data/docs/js/jquery.js +0 -4
  50. data/docs/method_list.html +0 -94
  51. data/docs/top-level-namespace.html +0 -112
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /pkg/
6
- /spec/reports/
7
- /tmp/
8
- /true/
9
-
10
- # rspec failure tracking
11
- .rspec_status
12
-
13
- # don't commit gem builds
14
- env_parser-*.gem
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,64 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 3.0
3
- SuggestExtensions: false
4
- NewCops: enable
5
-
6
-
7
- Layout/EmptyLineAfterGuardClause:
8
- # Add empty line after guard clause.
9
- Enabled: false
10
-
11
- Layout/LineLength:
12
- # Checks that line length does not exceed the configured limit.
13
- Max: 150
14
-
15
-
16
- Metrics/AbcSize:
17
- # A calculated magnitude based on number of assignments, branches, and conditions.
18
- Max: 30
19
-
20
- Metrics/BlockLength:
21
- # Avoid long blocks with many lines.
22
- Exclude:
23
- - 'spec/**/*.rb'
24
-
25
- Metrics/CyclomaticComplexity:
26
- # A complexity metric that is strongly correlated to the number of test cases needed to validate a method.
27
- Max: 10
28
-
29
- Metrics/MethodLength:
30
- # Avoid methods longer than 25 lines of code.
31
- Max: 25
32
-
33
-
34
- Style/AsciiComments:
35
- # Use only ASCII symbols in comments.
36
- #
37
- # NLC: We're allowing non-breaking spaces (' '), as they're needed to prevent
38
- # browsers from collapsing multiple spaces in documentation code blocks.
39
- AllowedChars:
40
- - ' '
41
-
42
- Style/ClassAndModuleChildren:
43
- # Checks style of children classes and modules.
44
- Enabled: false
45
-
46
- Style/FetchEnvVar:
47
- # Suggests `ENV.fetch` for the replacement of `ENV[]`.
48
- Enabled: false
49
-
50
- Style/FrozenStringLiteralComment:
51
- # Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
52
- EnforcedStyle: never
53
-
54
- Style/NumericLiterals:
55
- # Add underscores to large numeric literals to improve their readability.
56
- Enabled: false
57
-
58
- Style/RegexpLiteral:
59
- # Use / or %r around regular expressions.
60
- EnforcedStyle: percent_r
61
-
62
- Style/StringLiterals:
63
- # Check for use of ' vs ".
64
- ConsistentQuotesInMultiline: true
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.4
data/.yardopts DELETED
@@ -1 +0,0 @@
1
- --output-dir=./docs --no-private --markup=markdown --format=html
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'env_parser'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,146 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: EnvParser::AutoregisterFileNotFound
8
-
9
- &mdash; Documentation by YARD 0.9.44
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css">
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css">
16
-
17
- <script type="text/javascript">
18
- pathId = "EnvParser::AutoregisterFileNotFound";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div id="main_progress" aria-hidden="true"></div>
31
-
32
- <div class="nav_wrap">
33
- <iframe id="nav" src="../class_list.html?1"></iframe>
34
- <div id="resizer"></div>
35
- </div>
36
-
37
- <div id="main" tabindex="-1">
38
- <div id="header">
39
- <div id="menu">
40
-
41
- <a href="../_index.html">Index (A)</a> &raquo;
42
- <span class='title'><span class='object_link'><a href="../EnvParser.html" title="EnvParser (class)">EnvParser</a></span></span>
43
- &raquo;
44
- <span class="title">AutoregisterFileNotFound</span>
45
-
46
- </div>
47
-
48
- <div id="search">
49
-
50
- <a class="full_list_link" id="class_list_link"
51
- href="../class_list.html">
52
-
53
- <svg width="24" height="24">
54
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
- </svg>
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <div id="content"><h1>Exception: EnvParser::AutoregisterFileNotFound
65
-
66
-
67
-
68
- </h1>
69
- <div class="box_info">
70
-
71
- <dl>
72
- <dt>Inherits:</dt>
73
- <dd>
74
- <span class="inheritName"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next">StandardError</li>
80
-
81
- <li class="next"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></li>
82
-
83
- <li class="next">EnvParser::AutoregisterFileNotFound</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
- </dl>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <dl>
102
- <dt>Defined in:</dt>
103
- <dd>lib/env_parser/errors.rb
104
- </dd>
105
- </dl>
106
-
107
- </div>
108
-
109
- <h2>Overview</h2><div class="docstring">
110
- <div class="discussion">
111
- <p>Error class used to indicate a missing auto-registration spec file (used by the &quot;autoregister&quot;
112
- feature).</p>
113
-
114
- </div>
115
- </div>
116
- <div class="tags">
117
-
118
-
119
- </div>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- </div>
137
-
138
- <div id="footer">
139
- Generated on Sun Jun 21 01:17:51 2026 by
140
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
141
- 0.9.44 (ruby-3.4.8).
142
- </div>
143
-
144
- </div>
145
- </body>
146
- </html>
@@ -1,140 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: EnvParser::Error
8
-
9
- &mdash; Documentation by YARD 0.9.44
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css">
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css">
16
-
17
- <script type="text/javascript">
18
- pathId = "EnvParser::Error";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div id="main_progress" aria-hidden="true"></div>
31
-
32
- <div class="nav_wrap">
33
- <iframe id="nav" src="../class_list.html?1"></iframe>
34
- <div id="resizer"></div>
35
- </div>
36
-
37
- <div id="main" tabindex="-1">
38
- <div id="header">
39
- <div id="menu">
40
-
41
- <a href="../_index.html">Index (E)</a> &raquo;
42
- <span class='title'><span class='object_link'><a href="../EnvParser.html" title="EnvParser (class)">EnvParser</a></span></span>
43
- &raquo;
44
- <span class="title">Error</span>
45
-
46
- </div>
47
-
48
- <div id="search">
49
-
50
- <a class="full_list_link" id="class_list_link"
51
- href="../class_list.html">
52
-
53
- <svg width="24" height="24">
54
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
- </svg>
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <div id="content"><h1>Exception: EnvParser::Error
65
-
66
-
67
-
68
- </h1>
69
- <div class="box_info">
70
-
71
- <dl>
72
- <dt>Inherits:</dt>
73
- <dd>
74
- <span class="inheritName">StandardError</span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next">StandardError</li>
80
-
81
- <li class="next">EnvParser::Error</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
- </dl>
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <dl>
100
- <dt>Defined in:</dt>
101
- <dd>lib/env_parser/errors.rb
102
- </dd>
103
- </dl>
104
-
105
- </div>
106
-
107
- <h2>Overview</h2><div class="docstring">
108
- <div class="discussion">
109
- <p>Base error class for EnvParser.</p>
110
-
111
- </div>
112
- </div>
113
- <div class="tags">
114
-
115
-
116
- </div><div id="subclasses">
117
- <h2>Direct Known Subclasses</h2>
118
- <p class="children"><span class='object_link'><a href="AutoregisterFileNotFound.html" title="EnvParser::AutoregisterFileNotFound (class)">AutoregisterFileNotFound</a></span>, <span class='object_link'><a href="TypeAlreadyDefinedError.html" title="EnvParser::TypeAlreadyDefinedError (class)">TypeAlreadyDefinedError</a></span>, <span class='object_link'><a href="UnknownTypeError.html" title="EnvParser::UnknownTypeError (class)">UnknownTypeError</a></span>, <span class='object_link'><a href="UnparseableAutoregisterSpec.html" title="EnvParser::UnparseableAutoregisterSpec (class)">UnparseableAutoregisterSpec</a></span>, <span class='object_link'><a href="ValueNotAllowedError.html" title="EnvParser::ValueNotAllowedError (class)">ValueNotAllowedError</a></span>, <span class='object_link'><a href="ValueNotConvertibleError.html" title="EnvParser::ValueNotConvertibleError (class)">ValueNotConvertibleError</a></span></p>
119
- </div>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
- </div>
131
-
132
- <div id="footer">
133
- Generated on Sun Jun 21 01:17:51 2026 by
134
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
135
- 0.9.44 (ruby-3.4.8).
136
- </div>
137
-
138
- </div>
139
- </body>
140
- </html>
@@ -1,143 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: EnvParser::TypeAlreadyDefined
8
-
9
- &mdash; Documentation by YARD 0.9.11
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "EnvParser::TypeAlreadyDefined";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (T)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../EnvParser.html" title="EnvParser (class)">EnvParser</a></span></span>
41
- &raquo;
42
- <span class="title">TypeAlreadyDefined</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Exception: EnvParser::TypeAlreadyDefined
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">StandardError</li>
78
-
79
- <li class="next"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></li>
80
-
81
- <li class="next">EnvParser::TypeAlreadyDefined</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
- </dl>
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <dl>
100
- <dt>Defined in:</dt>
101
- <dd>lib/env_parser.rb</dd>
102
- </dl>
103
-
104
- </div>
105
-
106
- <h2>Overview</h2><div class="docstring">
107
- <div class="discussion">
108
-
109
- <p>Exception class used to indicate a type has already been defined.</p>
110
-
111
-
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
-
117
- </div>
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- </div>
134
-
135
- <div id="footer">
136
- Generated on Sun Dec 24 19:33:35 2017 by
137
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
- 0.9.11 (ruby-2.4.2).
139
- </div>
140
-
141
- </div>
142
- </body>
143
- </html>
@@ -1,145 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: EnvParser::TypeAlreadyDefinedError
8
-
9
- &mdash; Documentation by YARD 0.9.44
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css">
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css">
16
-
17
- <script type="text/javascript">
18
- pathId = "EnvParser::TypeAlreadyDefinedError";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div id="main_progress" aria-hidden="true"></div>
31
-
32
- <div class="nav_wrap">
33
- <iframe id="nav" src="../class_list.html?1"></iframe>
34
- <div id="resizer"></div>
35
- </div>
36
-
37
- <div id="main" tabindex="-1">
38
- <div id="header">
39
- <div id="menu">
40
-
41
- <a href="../_index.html">Index (T)</a> &raquo;
42
- <span class='title'><span class='object_link'><a href="../EnvParser.html" title="EnvParser (class)">EnvParser</a></span></span>
43
- &raquo;
44
- <span class="title">TypeAlreadyDefinedError</span>
45
-
46
- </div>
47
-
48
- <div id="search">
49
-
50
- <a class="full_list_link" id="class_list_link"
51
- href="../class_list.html">
52
-
53
- <svg width="24" height="24">
54
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
- </svg>
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <div id="content"><h1>Exception: EnvParser::TypeAlreadyDefinedError
65
-
66
-
67
-
68
- </h1>
69
- <div class="box_info">
70
-
71
- <dl>
72
- <dt>Inherits:</dt>
73
- <dd>
74
- <span class="inheritName"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next">StandardError</li>
80
-
81
- <li class="next"><span class='object_link'><a href="Error.html" title="EnvParser::Error (class)">Error</a></span></li>
82
-
83
- <li class="next">EnvParser::TypeAlreadyDefinedError</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
- </dl>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
- <dl>
102
- <dt>Defined in:</dt>
103
- <dd>lib/env_parser/errors.rb
104
- </dd>
105
- </dl>
106
-
107
- </div>
108
-
109
- <h2>Overview</h2><div class="docstring">
110
- <div class="discussion">
111
- <p>Error class used to indicate a type has already been defined.</p>
112
-
113
- </div>
114
- </div>
115
- <div class="tags">
116
-
117
-
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
- </div>
136
-
137
- <div id="footer">
138
- Generated on Sun Jun 21 01:17:51 2026 by
139
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
- 0.9.44 (ruby-3.4.8).
141
- </div>
142
-
143
- </div>
144
- </body>
145
- </html>