collapsium-config 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.rubocop.yml +29 -10
- data/.travis.yml +2 -0
- data/Gemfile.lock +34 -31
- data/README.md +11 -0
- data/collapsium-config.gemspec +10 -12
- data/lib/collapsium-config.rb +1 -1
- data/lib/collapsium-config/configuration.rb +7 -2
- data/lib/collapsium-config/support/values.rb +1 -1
- data/lib/collapsium-config/version.rb +2 -2
- data/spec/configuration_spec.rb +14 -14
- data/spec/support_values_spec.rb +5 -5
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2687bbef9363025cb6a364a2c5a6a657d946498
|
4
|
+
data.tar.gz: ba5bc47c143f7a80013801d04fea0cb3ba32b965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a994068fe63ddfd1c08e0969e2187a9b5e9ca9c66ef8773dd5f549868680a64cc82d577331c1e07809c98142ad7c79189b45ec3d5abaaf192872118d897a895
|
7
|
+
data.tar.gz: c2665c7335a45185e83c4c4eb38ac4ac1df904167844af338b79afff45b42b473f1207f135eb57a34e84b3eb87a7b7d8834a540550c1e592f30f67a1718631da
|
data/.gitignore
CHANGED
@@ -29,7 +29,7 @@ build/
|
|
29
29
|
# for a library or gem, you might want to ignore these files since the code is
|
30
30
|
# intended to run in multiple environments; otherwise, check them in:
|
31
31
|
# Gemfile.lock
|
32
|
-
|
32
|
+
.ruby-version
|
33
33
|
# .ruby-gemset
|
34
34
|
|
35
35
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
data/.rubocop.yml
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.3
|
3
3
|
|
4
4
|
# Metrics
|
5
5
|
|
6
6
|
Metrics/LineLength:
|
7
|
-
Max:
|
7
|
+
Max: 84
|
8
8
|
Details: >-
|
9
9
|
Line length of 80 is ideal for readability and compatibility; we'll accept
|
10
|
-
an extra
|
10
|
+
an extra 4 for minor edge cases (e.g. copyright notice).
|
11
11
|
|
12
12
|
Metrics/MethodLength:
|
13
13
|
Max: 35
|
@@ -30,6 +30,9 @@ Metrics/ClassLength:
|
|
30
30
|
Metrics/ModuleLength:
|
31
31
|
Max: 300
|
32
32
|
|
33
|
+
Metrics/BlockLength:
|
34
|
+
Max: 300
|
35
|
+
|
33
36
|
# Style
|
34
37
|
|
35
38
|
Style/StringLiterals:
|
@@ -38,9 +41,6 @@ Style/StringLiterals:
|
|
38
41
|
Style/ConditionalAssignment:
|
39
42
|
Enabled: false
|
40
43
|
|
41
|
-
Style/EmptyLinesAroundModuleBody:
|
42
|
-
Enabled: false
|
43
|
-
|
44
44
|
Style/AndOr:
|
45
45
|
Enabled: false
|
46
46
|
|
@@ -59,9 +59,6 @@ Style/IfUnlessModifier:
|
|
59
59
|
Style/TrailingCommaInLiteral:
|
60
60
|
Enabled: false
|
61
61
|
|
62
|
-
Style/FirstParameterIndentation:
|
63
|
-
Enabled: false
|
64
|
-
|
65
62
|
Style/TrailingUnderscoreVariable:
|
66
63
|
Enabled: false
|
67
64
|
|
@@ -71,5 +68,27 @@ Style/NumericLiterals:
|
|
71
68
|
Style/FileName:
|
72
69
|
Enabled: false
|
73
70
|
|
74
|
-
Style/
|
71
|
+
Style/FrozenStringLiteralComment:
|
72
|
+
Enabled: false
|
73
|
+
|
74
|
+
Style/PreferredHashMethods:
|
75
|
+
Enabled: false
|
76
|
+
|
77
|
+
Style/NumericPredicate:
|
78
|
+
Enabled: false # Not compatible with <= 2.2
|
79
|
+
|
80
|
+
# Layout
|
81
|
+
|
82
|
+
Layout/EmptyLineAfterMagicComment:
|
83
|
+
Enabled: false
|
84
|
+
|
85
|
+
Layout/SpaceAfterNot:
|
86
|
+
Enabled: false
|
87
|
+
|
88
|
+
Layout/FirstParameterIndentation:
|
89
|
+
Enabled: false
|
90
|
+
|
91
|
+
Layout/EmptyLinesAroundModuleBody:
|
75
92
|
Enabled: false
|
93
|
+
|
94
|
+
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,64 +1,67 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
collapsium-config (0.
|
5
|
-
collapsium (~> 0.
|
4
|
+
collapsium-config (0.6.0)
|
5
|
+
collapsium (~> 0.9)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.3.0)
|
11
|
-
codeclimate-test-reporter (1.0.
|
12
|
-
simplecov
|
13
|
-
collapsium (0.
|
14
|
-
diff-lcs (1.
|
11
|
+
codeclimate-test-reporter (1.0.8)
|
12
|
+
simplecov (<= 0.13)
|
13
|
+
collapsium (0.9.0)
|
14
|
+
diff-lcs (1.3)
|
15
15
|
docile (1.1.5)
|
16
|
-
json (2.0
|
17
|
-
|
16
|
+
json (2.1.0)
|
17
|
+
parallel (1.12.0)
|
18
|
+
parser (2.4.0.0)
|
18
19
|
ast (~> 2.2)
|
19
20
|
powerpack (0.1.1)
|
20
|
-
rainbow (2.2.
|
21
|
+
rainbow (2.2.2)
|
22
|
+
rake
|
21
23
|
rake (11.3.0)
|
22
|
-
rspec (3.
|
23
|
-
rspec-core (~> 3.
|
24
|
-
rspec-expectations (~> 3.
|
25
|
-
rspec-mocks (~> 3.
|
26
|
-
rspec-core (3.
|
27
|
-
rspec-support (~> 3.
|
28
|
-
rspec-expectations (3.
|
24
|
+
rspec (3.6.0)
|
25
|
+
rspec-core (~> 3.6.0)
|
26
|
+
rspec-expectations (~> 3.6.0)
|
27
|
+
rspec-mocks (~> 3.6.0)
|
28
|
+
rspec-core (3.6.0)
|
29
|
+
rspec-support (~> 3.6.0)
|
30
|
+
rspec-expectations (3.6.0)
|
29
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
-
rspec-support (~> 3.
|
31
|
-
rspec-mocks (3.
|
32
|
+
rspec-support (~> 3.6.0)
|
33
|
+
rspec-mocks (3.6.0)
|
32
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-support (3.
|
35
|
-
rubocop (0.
|
36
|
-
|
35
|
+
rspec-support (~> 3.6.0)
|
36
|
+
rspec-support (3.6.0)
|
37
|
+
rubocop (0.49.1)
|
38
|
+
parallel (~> 1.10)
|
39
|
+
parser (>= 2.3.3.1, < 3.0)
|
37
40
|
powerpack (~> 0.1)
|
38
41
|
rainbow (>= 1.99.1, < 3.0)
|
39
42
|
ruby-progressbar (~> 1.7)
|
40
43
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
41
44
|
ruby-progressbar (1.8.1)
|
42
|
-
simplecov (0.
|
45
|
+
simplecov (0.13.0)
|
43
46
|
docile (~> 1.1.0)
|
44
47
|
json (>= 1.8, < 3)
|
45
48
|
simplecov-html (~> 0.10.0)
|
46
|
-
simplecov-html (0.10.
|
47
|
-
unicode-display_width (1.
|
48
|
-
yard (0.9.
|
49
|
+
simplecov-html (0.10.2)
|
50
|
+
unicode-display_width (1.3.0)
|
51
|
+
yard (0.9.9)
|
49
52
|
|
50
53
|
PLATFORMS
|
51
54
|
ruby
|
52
55
|
|
53
56
|
DEPENDENCIES
|
54
|
-
bundler (~> 1.
|
57
|
+
bundler (~> 1.15)
|
55
58
|
codeclimate-test-reporter
|
56
59
|
collapsium-config!
|
57
60
|
rake (~> 11.3)
|
58
|
-
rspec (~> 3.
|
59
|
-
rubocop (~> 0.
|
60
|
-
simplecov (~> 0.
|
61
|
+
rspec (~> 3.6)
|
62
|
+
rubocop (~> 0.49)
|
63
|
+
simplecov (~> 0.13)
|
61
64
|
yard (~> 0.9)
|
62
65
|
|
63
66
|
BUNDLED WITH
|
64
|
-
1.
|
67
|
+
1.15.4
|
data/README.md
CHANGED
@@ -55,6 +55,17 @@ too:
|
|
55
55
|
my_config = Collapsium::Config::Configuration.load_config('filename.yaml')
|
56
56
|
```
|
57
57
|
|
58
|
+
#### Loading Options
|
59
|
+
|
60
|
+
- `data` can be passed for resolving references in ERB templating (see below)
|
61
|
+
- `resolve_extensions` is a flag that determines whether the `extends` keyword
|
62
|
+
is honoured (see below), and defaults to `true`.
|
63
|
+
- `nonexistent_base` can be one of `:ignore` and `:extend` and determines how
|
64
|
+
`extends` should behave if a base is referenced that does not exist:
|
65
|
+
- `:ignore` behaves as if the base simply wasn't mentioned.
|
66
|
+
- `:extend` behaves as if the base did in fact exist, but was an empty
|
67
|
+
configuration Hash.
|
68
|
+
|
58
69
|
### Array Files
|
59
70
|
|
60
71
|
Configuration files can also contain Arrays at the top level. While that may
|
data/collapsium-config.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# collapsium-config
|
4
4
|
# https://github.com/jfinkhaeuser/collapsium-config
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other collapsium-config contributors.
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other collapsium-config contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -11,9 +11,8 @@ lib = File.expand_path('../lib', __FILE__)
|
|
11
11
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
12
12
|
require 'collapsium-config/version'
|
13
13
|
|
14
|
-
# rubocop:disable Style/UnneededPercentQ,
|
15
|
-
# rubocop:disable
|
16
|
-
# rubocop:disable Metrics/BlockLength
|
14
|
+
# rubocop:disable Style/UnneededPercentQ, Layout/ExtraSpacing
|
15
|
+
# rubocop:disable Layout/SpaceAroundOperators
|
17
16
|
Gem::Specification.new do |spec|
|
18
17
|
spec.name = "collapsium-config"
|
19
18
|
spec.version = Collapsium::Config::VERSION
|
@@ -37,15 +36,14 @@ Gem::Specification.new do |spec|
|
|
37
36
|
|
38
37
|
spec.required_ruby_version = '>= 2.0'
|
39
38
|
|
40
|
-
spec.add_development_dependency "bundler", "~> 1.
|
41
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
39
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
40
|
+
spec.add_development_dependency "rubocop", "~> 0.49"
|
42
41
|
spec.add_development_dependency "rake", "~> 11.3"
|
43
|
-
spec.add_development_dependency "rspec", "~> 3.
|
44
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
42
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
43
|
+
spec.add_development_dependency "simplecov", "~> 0.13"
|
45
44
|
spec.add_development_dependency "yard", "~> 0.9"
|
46
45
|
|
47
|
-
spec.add_dependency 'collapsium', '~> 0.
|
46
|
+
spec.add_dependency 'collapsium', '~> 0.9'
|
48
47
|
end
|
49
|
-
# rubocop:enable
|
50
|
-
# rubocop:enable Style/
|
51
|
-
# rubocop:enable Style/UnneededPercentQ, Style/ExtraSpacing
|
48
|
+
# rubocop:enable Layout/SpaceAroundOperators
|
49
|
+
# rubocop:enable Style/UnneededPercentQ, Layout/ExtraSpacing
|
data/lib/collapsium-config.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# collapsium-config
|
4
4
|
# https://github.com/jfinkhaeuser/collapsium-config
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other collapsium-config contributors.
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other collapsium-config contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# collapsium-config
|
4
4
|
# https://github.com/jfinkhaeuser/collapsium-config
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other collapsium-config contributors.
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other collapsium-config contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -51,7 +51,12 @@ module Collapsium
|
|
51
51
|
|
52
52
|
# @return parsed string
|
53
53
|
def self.parse(string)
|
54
|
+
if YAML.respond_to?(:safe_load)
|
55
|
+
return YAML.safe_load(string)
|
56
|
+
end
|
57
|
+
# rubocop:disable Security/YAMLLoad
|
54
58
|
return YAML.load(string)
|
59
|
+
# rubocop:enable Security/YAMLLoad
|
55
60
|
end
|
56
61
|
end
|
57
62
|
private_constant :YAMLParser
|
@@ -116,7 +121,7 @@ module Collapsium
|
|
116
121
|
if options[:nonexistent_base].nil?
|
117
122
|
options[:nonexistent_base] = :ignore
|
118
123
|
end
|
119
|
-
if not [
|
124
|
+
if not %i[extend ignore].include?(options[:nonexistent_base])
|
120
125
|
raise "The :nonexistent_base option must be one of :ignore or :extend!"
|
121
126
|
end
|
122
127
|
options[:data] ||= {}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# collapsium-config
|
4
4
|
# https://github.com/jfinkhaeuser/collapsium-config
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other collapsium-config contributors.
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other collapsium-config contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -3,12 +3,12 @@
|
|
3
3
|
# collapsium-config
|
4
4
|
# https://github.com/jfinkhaeuser/collapsium-config
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016 Jens Finkhaeuser and other collapsium-config contributors.
|
6
|
+
# Copyright (c) 2016-2017 Jens Finkhaeuser and other collapsium-config contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
module Collapsium
|
10
10
|
module Config
|
11
11
|
# The current release version
|
12
|
-
VERSION = "0.
|
12
|
+
VERSION = "0.6.0".freeze
|
13
13
|
end # module Config
|
14
14
|
end # module Collapsium
|
data/spec/configuration_spec.rb
CHANGED
@@ -33,7 +33,7 @@ describe Collapsium::Config::Configuration do
|
|
33
33
|
config = File.join(@data_path, 'array.yaml')
|
34
34
|
cfg = Collapsium::Config::Configuration.load_config(config)
|
35
35
|
|
36
|
-
expect(cfg["config"]).to eql %w
|
36
|
+
expect(cfg["config"]).to eql %w[foo bar]
|
37
37
|
end
|
38
38
|
|
39
39
|
it "loads a JSON config correctly" do
|
@@ -86,14 +86,14 @@ describe Collapsium::Config::Configuration do
|
|
86
86
|
config = File.join(@data_path, 'merge-array.yaml')
|
87
87
|
cfg = Collapsium::Config::Configuration.load_config(config)
|
88
88
|
|
89
|
-
expect(cfg["config"]).to eql %w
|
89
|
+
expect(cfg["config"]).to eql %w[foo bar baz]
|
90
90
|
end
|
91
91
|
|
92
92
|
it "merges an array and hash config" do
|
93
93
|
config = File.join(@data_path, 'merge-fail.yaml')
|
94
94
|
cfg = Collapsium::Config::Configuration.load_config(config)
|
95
95
|
|
96
|
-
expect(cfg["config"]).to eql %w
|
96
|
+
expect(cfg["config"]).to eql %w[array in main config]
|
97
97
|
expect(cfg["local"]).to eql "override is a hash"
|
98
98
|
end
|
99
99
|
|
@@ -137,7 +137,7 @@ describe Collapsium::Config::Configuration do
|
|
137
137
|
|
138
138
|
# Check merge metadata
|
139
139
|
expect(@config["drivers.branch1.extends"]).to be_nil
|
140
|
-
expect(@config["drivers.branch1.base"]).to eql %w
|
140
|
+
expect(@config["drivers.branch1.base"]).to eql %w[.drivers.mock]
|
141
141
|
end
|
142
142
|
|
143
143
|
it "merges multiple ancestor depths" do
|
@@ -148,8 +148,8 @@ describe Collapsium::Config::Configuration do
|
|
148
148
|
|
149
149
|
# Check merge metadata
|
150
150
|
expect(@config["drivers.branch2.extends"]).to be_nil
|
151
|
-
expect(@config["drivers.branch2.base"]).to eql %w
|
152
|
-
.drivers.branch1
|
151
|
+
expect(@config["drivers.branch2.base"]).to eql %w[.drivers.mock
|
152
|
+
.drivers.branch1]
|
153
153
|
end
|
154
154
|
|
155
155
|
it "merges from absolute paths" do
|
@@ -159,7 +159,7 @@ describe Collapsium::Config::Configuration do
|
|
159
159
|
|
160
160
|
# Check merge metadata
|
161
161
|
expect(@config["drivers.branch3.extends"]).to be_nil
|
162
|
-
expect(@config["drivers.branch3.base"]).to eql %w
|
162
|
+
expect(@config["drivers.branch3.base"]).to eql %w[.global]
|
163
163
|
end
|
164
164
|
|
165
165
|
it "merges from sibling and absolute path" do
|
@@ -172,10 +172,10 @@ describe Collapsium::Config::Configuration do
|
|
172
172
|
|
173
173
|
# Check merge metadata
|
174
174
|
expect(@config["drivers.leaf.extends"]).to be_nil
|
175
|
-
expect(@config["drivers.leaf.base"]).to eql %w
|
175
|
+
expect(@config["drivers.leaf.base"]).to eql %w[.drivers.mock
|
176
176
|
.drivers.branch1
|
177
177
|
.drivers.branch2
|
178
|
-
.global
|
178
|
+
.global]
|
179
179
|
end
|
180
180
|
|
181
181
|
it "merges from global and absolute path" do
|
@@ -188,10 +188,10 @@ describe Collapsium::Config::Configuration do
|
|
188
188
|
|
189
189
|
# Check merge metadata
|
190
190
|
expect(@config["drivers.leaf2.extends"]).to be_nil
|
191
|
-
expect(@config["drivers.leaf2.base"]).to eql %w
|
191
|
+
expect(@config["drivers.leaf2.base"]).to eql %w[.global
|
192
192
|
.drivers.mock
|
193
193
|
.drivers.branch1
|
194
|
-
.drivers.branch2
|
194
|
+
.drivers.branch2]
|
195
195
|
end
|
196
196
|
|
197
197
|
context "Extension" do
|
@@ -217,7 +217,7 @@ describe Collapsium::Config::Configuration do
|
|
217
217
|
|
218
218
|
# Here, the base must be set!
|
219
219
|
expect(config["drivers.base_does_not_exist.base"]).to eql \
|
220
|
-
%w
|
220
|
+
%w[.drivers.nonexistent_base]
|
221
221
|
|
222
222
|
# Then "extends" needs to vanish.
|
223
223
|
expect(config["drivers.base_does_not_exist.extends"]).to be_nil
|
@@ -310,7 +310,7 @@ describe Collapsium::Config::Configuration do
|
|
310
310
|
cfg = Collapsium::Config::Configuration.load_config(config)
|
311
311
|
|
312
312
|
expect(cfg["quux"]).to eql "baz"
|
313
|
-
expect(cfg["config"]).to eql %w
|
313
|
+
expect(cfg["config"]).to eql %w[foo bar]
|
314
314
|
end
|
315
315
|
|
316
316
|
it "works in nested structures" do
|
@@ -319,7 +319,7 @@ describe Collapsium::Config::Configuration do
|
|
319
319
|
|
320
320
|
expect(cfg["foo"]).to eql "bar"
|
321
321
|
expect(cfg["baz.quux"]).to eql "baz" # Overridden from include!
|
322
|
-
expect(cfg["baz.config"]).to eql %w
|
322
|
+
expect(cfg["baz.config"]).to eql %w[foo bar]
|
323
323
|
end
|
324
324
|
end
|
325
325
|
|
data/spec/support_values_spec.rb
CHANGED
@@ -6,23 +6,23 @@ describe Collapsium::Config::Support::Values do
|
|
6
6
|
|
7
7
|
context "#array_value" do
|
8
8
|
it "splits a comma separated string" do
|
9
|
-
expect(tester.array_value("foo,bar")).to eql %w
|
9
|
+
expect(tester.array_value("foo,bar")).to eql %w[foo bar]
|
10
10
|
end
|
11
11
|
|
12
12
|
it "strips spaces from comma separated strings" do
|
13
|
-
expect(tester.array_value(" foo , bar ")).to eql %w
|
13
|
+
expect(tester.array_value(" foo , bar ")).to eql %w[foo bar]
|
14
14
|
end
|
15
15
|
|
16
16
|
it "turns single strings into an array" do
|
17
|
-
expect(tester.array_value("foo")).to eql %w
|
17
|
+
expect(tester.array_value("foo")).to eql %w[foo]
|
18
18
|
end
|
19
19
|
|
20
20
|
it "strips spaces from single strings" do
|
21
|
-
expect(tester.array_value(" foo ")).to eql %w
|
21
|
+
expect(tester.array_value(" foo ")).to eql %w[foo]
|
22
22
|
end
|
23
23
|
|
24
24
|
it "strips array elements" do
|
25
|
-
expect(tester.array_value(['foo ', ' bar'])).to eql %w
|
25
|
+
expect(tester.array_value(['foo ', ' bar'])).to eql %w[foo bar]
|
26
26
|
end
|
27
27
|
|
28
28
|
it "wraps other values into arrays" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collapsium-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.15'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.15'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.49'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.49'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.6'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
75
|
+
version: '0.13'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.13'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: yard
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
103
|
+
version: '0.9'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0.
|
110
|
+
version: '0.9'
|
111
111
|
description: "\n Using collapsium's UberHash class for easy access to configuration
|
112
112
|
values,\n this gem reads and merges various configuration sources into one\n
|
113
113
|
\ configuration object.\n "
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
183
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
184
|
+
rubygems_version: 2.6.11
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: Collapse multiple configuration sources into one collapsium UberHash.
|