figgy 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -5
- data/README.md +6 -3
- data/figgy.gemspec +3 -2
- data/lib/figgy.rb +6 -0
- data/lib/figgy/hash.rb +4 -0
- data/lib/figgy/version.rb +1 -1
- data/spec/figgy_spec.rb +78 -58
- data/spec/spec_helper.rb +6 -0
- metadata +43 -8
- checksums.yaml +0 -15
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
# figgy
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/figgy.svg)](http://badge.fury.io/rb/figgy)
|
4
|
+
[![Build Status](https://secure.travis-ci.org/pd/figgy.png)](http://travis-ci.org/pd/figgy)
|
5
|
+
[![Dependency Status](https://gemnasium.com/pd/figgy.svg)](https://gemnasium.com/pd/figgy)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/pd/figgy.png)](https://codeclimate.com/github/pd/figgy)
|
7
|
+
[![Coverage Status](https://coveralls.io/repos/pd/figgy/badge.png)](https://coveralls.io/r/pd/figgy)
|
8
|
+
|
3
9
|
Provides convenient access to configuration files in various formats, with
|
4
10
|
support for overriding the values based on environment, hostname, locale, or
|
5
11
|
any other arbitrary thing you happen to come up with.
|
6
12
|
|
7
|
-
## Travis-CI Build Status
|
8
|
-
[![Build Status](https://secure.travis-ci.org/pd/figgy.png)](http://travis-ci.org/pd/figgy)
|
9
|
-
|
10
13
|
## Documentation
|
11
14
|
[yardocs](http://rdoc.info/github/pd/figgy/master/frames)
|
12
15
|
|
data/figgy.gemspec
CHANGED
@@ -19,8 +19,9 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.add_dependency "json"
|
21
21
|
s.add_development_dependency "rake"
|
22
|
-
s.add_development_dependency "rspec", '~>
|
23
|
-
s.add_development_dependency "simplecov"
|
22
|
+
s.add_development_dependency "rspec", '~> 3.0'
|
23
|
+
s.add_development_dependency "simplecov", '~> 0.9'
|
24
|
+
s.add_development_dependency "coveralls"
|
24
25
|
s.add_development_dependency "aruba"
|
25
26
|
s.add_development_dependency "heredoc_unindent"
|
26
27
|
end
|
data/lib/figgy.rb
CHANGED
data/lib/figgy/hash.rb
CHANGED
data/lib/figgy/version.rb
CHANGED
data/spec/figgy_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe Figgy do
|
|
7
7
|
bar: 2
|
8
8
|
YML
|
9
9
|
|
10
|
-
test_config.values.
|
10
|
+
expect(test_config.values).to eq({ "foo" => 1, "bar" => 2 })
|
11
11
|
end
|
12
12
|
|
13
13
|
it "raises an exception if the file can't be found" do
|
@@ -19,30 +19,30 @@ describe Figgy do
|
|
19
19
|
write_config 'wtf', 'bar: 2'
|
20
20
|
|
21
21
|
config = test_config
|
22
|
-
config.inspect.
|
22
|
+
expect(config.inspect).to eq("#<Figgy (empty)>")
|
23
23
|
|
24
24
|
config.values
|
25
|
-
config.inspect.
|
25
|
+
expect(config.inspect).to eq("#<Figgy (1 keys): values>")
|
26
26
|
|
27
27
|
config.wtf
|
28
|
-
config.inspect.
|
28
|
+
expect(config.inspect).to eq("#<Figgy (2 keys): values wtf>")
|
29
29
|
end
|
30
30
|
|
31
31
|
context "multiple extensions" do
|
32
32
|
it "supports .yaml" do
|
33
33
|
write_config 'values.yaml', 'foo: 1'
|
34
|
-
test_config.values.foo.
|
34
|
+
expect(test_config.values.foo).to eq(1)
|
35
35
|
end
|
36
36
|
|
37
37
|
it "supports .yml.erb and .yaml.erb" do
|
38
38
|
write_config 'values.yml.erb', '<%= "foo" %>: <%= 1 %>'
|
39
39
|
write_config 'values.yaml.erb', '<%= "foo" %>: <%= 2 %>'
|
40
|
-
test_config.values.foo.
|
40
|
+
expect(test_config.values.foo).to eq(2)
|
41
41
|
end
|
42
42
|
|
43
43
|
it "supports .json" do
|
44
44
|
write_config "values.json", '{ "json": true }'
|
45
|
-
test_config.values.json.
|
45
|
+
expect(test_config.values.json).to be true
|
46
46
|
end
|
47
47
|
|
48
48
|
it "loads in the order named" do
|
@@ -52,7 +52,7 @@ describe Figgy do
|
|
52
52
|
config = test_config do |config|
|
53
53
|
config.define_handler('yml', 'yaml') { |body| YAML.load(body) }
|
54
54
|
end
|
55
|
-
config.values.foo.
|
55
|
+
expect(config.values.foo).to eq(2)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
@@ -64,9 +64,9 @@ describe Figgy do
|
|
64
64
|
YML
|
65
65
|
|
66
66
|
config = test_config
|
67
|
-
config.values.outer.
|
68
|
-
config.values["outer"].
|
69
|
-
config.values[:outer].
|
67
|
+
expect(config.values.outer).to eq({ "also" => "dottable" })
|
68
|
+
expect(config.values["outer"]).to eq({ "also" => "dottable" })
|
69
|
+
expect(config.values[:outer]).to eq({ "also" => "dottable" })
|
70
70
|
end
|
71
71
|
|
72
72
|
it "makes a hash inside the hash result dottable and indifferent" do
|
@@ -76,9 +76,9 @@ describe Figgy do
|
|
76
76
|
YML
|
77
77
|
|
78
78
|
config = test_config
|
79
|
-
config.values.outer.also.
|
80
|
-
config.values.outer["also"].
|
81
|
-
config.values.outer[:also].
|
79
|
+
expect(config.values.outer.also).to eq("dottable")
|
80
|
+
expect(config.values.outer["also"]).to eq("dottable")
|
81
|
+
expect(config.values.outer[:also]).to eq("dottable")
|
82
82
|
end
|
83
83
|
|
84
84
|
it "makes a hash inside an array result dottable and indifferent" do
|
@@ -90,34 +90,54 @@ describe Figgy do
|
|
90
90
|
YML
|
91
91
|
|
92
92
|
config = test_config
|
93
|
-
config.values.outer.size.
|
93
|
+
expect(config.values.outer.size).to eq(2)
|
94
94
|
first, second = *config.values.outer
|
95
95
|
|
96
|
-
first.
|
97
|
-
first[:in].
|
98
|
-
first.array.
|
96
|
+
expect(first).to eq({ "in" => "an", "array" => "it is" })
|
97
|
+
expect(first[:in]).to eq("an")
|
98
|
+
expect(first.array).to eq("it is")
|
99
99
|
|
100
|
-
second.still.
|
101
|
-
second[:still].
|
102
|
-
second["still"].
|
100
|
+
expect(second.still).to eq("a dottable hash")
|
101
|
+
expect(second[:still]).to eq("a dottable hash")
|
102
|
+
expect(second["still"]).to eq("a dottable hash")
|
103
103
|
end
|
104
104
|
|
105
105
|
it "supports dottable and indifferent setting" do
|
106
106
|
write_config 'values', "number: 1"
|
107
107
|
config = test_config
|
108
108
|
config.values["number"] = 2
|
109
|
-
config.values.number.
|
109
|
+
expect(config.values.number).to eq(2)
|
110
110
|
config.values[:number] = 3
|
111
|
-
config.values.number.
|
111
|
+
expect(config.values.number).to eq(3)
|
112
112
|
config.values.number = 4
|
113
|
-
config.values.number.
|
113
|
+
expect(config.values.number).to eq(4)
|
114
|
+
end
|
115
|
+
|
116
|
+
it "answers respond_to? accurately for known keys" do
|
117
|
+
write_config 'values', <<-YML
|
118
|
+
outer:
|
119
|
+
inner:
|
120
|
+
still: a hash
|
121
|
+
YML
|
122
|
+
|
123
|
+
config = test_config
|
124
|
+
expect(config).to respond_to(:values)
|
125
|
+
expect(config).not_to respond_to(:unknown)
|
126
|
+
|
127
|
+
expect(config.values).to respond_to(:outer)
|
128
|
+
expect(config.values.outer).to respond_to(:inner)
|
129
|
+
expect(config.values.outer.inner).to respond_to(:still)
|
130
|
+
|
131
|
+
# Ensure plain ol' respond_to? still works, too.
|
132
|
+
expect(config).to respond_to(:inspect)
|
133
|
+
expect(config.values).to respond_to(:[])
|
114
134
|
end
|
115
135
|
|
116
136
|
it "supports indifferent hash notation on the top-level config object" do
|
117
137
|
write_config 'values', "number: 1"
|
118
138
|
config = test_config
|
119
|
-
config['values'].
|
120
|
-
config[:values].
|
139
|
+
expect(config['values']).to eq(config.values)
|
140
|
+
expect(config[:values]).to eq(config.values)
|
121
141
|
end
|
122
142
|
|
123
143
|
context "performing basic hash operations" do
|
@@ -139,16 +159,16 @@ describe Figgy do
|
|
139
159
|
end
|
140
160
|
|
141
161
|
it "can delete a key" do
|
142
|
-
config.values.with.delete(:one).
|
143
|
-
config.values.with.
|
162
|
+
expect(config.values.with.delete(:one)).to eq(1)
|
163
|
+
expect(config.values.with).to eq(config.values.without)
|
144
164
|
end
|
145
165
|
|
146
166
|
it "can look up values for a list of keys" do
|
147
|
-
config.values.with.values_at(:one,:two).
|
167
|
+
expect(config.values.with.values_at(:one,:two)).to eq([1,2])
|
148
168
|
end
|
149
169
|
|
150
170
|
it "can merge with another hash" do
|
151
|
-
config.values.with.merge(config.values.another).
|
171
|
+
expect(config.values.with.merge(config.values.another)).to eq(config.values.altogether)
|
152
172
|
end
|
153
173
|
end
|
154
174
|
end
|
@@ -156,17 +176,17 @@ describe Figgy do
|
|
156
176
|
context 'oddities' do
|
157
177
|
it "returns false for empty files (cf. YAML.load(''))" do
|
158
178
|
write_config 'empty', ''
|
159
|
-
test_config.empty.
|
179
|
+
expect(test_config.empty).to eq(false)
|
160
180
|
end
|
161
181
|
|
162
182
|
it "returns false for files containing a literal false" do
|
163
183
|
write_config 'maybe', 'false'
|
164
|
-
test_config.maybe.
|
184
|
+
expect(test_config.maybe).to eq(false)
|
165
185
|
end
|
166
186
|
|
167
187
|
it "returns nil when explicitly set to that value in the YAML file" do
|
168
188
|
write_config 'reason_to_do_this', nil.to_yaml
|
169
|
-
test_config.reason_to_do_this.
|
189
|
+
expect(test_config.reason_to_do_this).to eq(nil)
|
170
190
|
end
|
171
191
|
end
|
172
192
|
|
@@ -180,8 +200,8 @@ describe Figgy do
|
|
180
200
|
config.add_root File.join(current_dir, 'root2')
|
181
201
|
end
|
182
202
|
|
183
|
-
config.values.foo.
|
184
|
-
config.values.bar.
|
203
|
+
expect(config.values.foo).to eq(1)
|
204
|
+
expect(config.values.bar).to eq(2)
|
185
205
|
end
|
186
206
|
|
187
207
|
it "supports overlays in each root" do
|
@@ -196,8 +216,8 @@ describe Figgy do
|
|
196
216
|
config.define_overlay :environment, 'prod'
|
197
217
|
end
|
198
218
|
|
199
|
-
config.values.foo.
|
200
|
-
config.values.bar.
|
219
|
+
expect(config.values.foo).to eq(2)
|
220
|
+
expect(config.values.bar).to eq(2)
|
201
221
|
end
|
202
222
|
|
203
223
|
it "reads from roots in *reverse* order of definition" do
|
@@ -211,14 +231,14 @@ describe Figgy do
|
|
211
231
|
config.define_overlay :environment, 'prod'
|
212
232
|
end
|
213
233
|
|
214
|
-
config.values.foo.
|
234
|
+
expect(config.values.foo).to eq(2)
|
215
235
|
end
|
216
236
|
end
|
217
237
|
|
218
238
|
context "overlays" do
|
219
239
|
it "defaults to no overlay, thus reading directly from the config root" do
|
220
240
|
write_config 'values', "foo: 1"
|
221
|
-
test_config.values.
|
241
|
+
expect(test_config.values).to eq({ "foo" => 1 })
|
222
242
|
end
|
223
243
|
|
224
244
|
it "interprets a nil overlay value as an indication to read from the config root" do
|
@@ -226,7 +246,7 @@ describe Figgy do
|
|
226
246
|
config = test_config do |config|
|
227
247
|
config.define_overlay :default, nil
|
228
248
|
end
|
229
|
-
config.values.
|
249
|
+
expect(config.values).to eq({ "foo" => 1 })
|
230
250
|
end
|
231
251
|
|
232
252
|
it "allows the overlay's value to be the result of a block" do
|
@@ -234,7 +254,7 @@ describe Figgy do
|
|
234
254
|
config = test_config do |config|
|
235
255
|
config.define_overlay(:environment) { 'prod' }
|
236
256
|
end
|
237
|
-
config.values.
|
257
|
+
expect(config.values).to eq({ "foo" => 1 })
|
238
258
|
end
|
239
259
|
|
240
260
|
it "overwrites values if the config file does not define a hash" do
|
@@ -246,7 +266,7 @@ describe Figgy do
|
|
246
266
|
config.define_overlay :environment, 'prod'
|
247
267
|
end
|
248
268
|
|
249
|
-
config.some_string.
|
269
|
+
expect(config.some_string).to eq("foo bar baz quux")
|
250
270
|
end
|
251
271
|
|
252
272
|
it "deep merges hash contents from overlays" do
|
@@ -267,7 +287,7 @@ describe Figgy do
|
|
267
287
|
config.define_overlay :environment, 'prod'
|
268
288
|
end
|
269
289
|
|
270
|
-
config.values.
|
290
|
+
expect(config.values).to eq({ "foo" => { "bar" => 1, "baz" => 3 }, "quux" => "hi!" })
|
271
291
|
end
|
272
292
|
|
273
293
|
it "can use both a nil overlay and an overlay with a value" do
|
@@ -277,7 +297,7 @@ describe Figgy do
|
|
277
297
|
config.define_overlay :default, nil
|
278
298
|
config.define_overlay :environment, 'prod'
|
279
299
|
end
|
280
|
-
config.values.
|
300
|
+
expect(config.values).to eq({ "foo" => 2, "bar" => 2 })
|
281
301
|
end
|
282
302
|
|
283
303
|
it "reads from overlays in order of definition" do
|
@@ -302,7 +322,7 @@ describe Figgy do
|
|
302
322
|
config.define_overlay :local, 'local'
|
303
323
|
end
|
304
324
|
|
305
|
-
config.values.
|
325
|
+
expect(config.values).to eq({ "foo" => 1, "bar" => 2, "baz" => 3 })
|
306
326
|
end
|
307
327
|
end
|
308
328
|
|
@@ -319,7 +339,7 @@ describe Figgy do
|
|
319
339
|
config.define_combined_overlay :environment, :country
|
320
340
|
end
|
321
341
|
|
322
|
-
config.keys.
|
342
|
+
expect(config.keys).to eq({ "foo" => 3 })
|
323
343
|
end
|
324
344
|
end
|
325
345
|
|
@@ -329,10 +349,10 @@ describe Figgy do
|
|
329
349
|
config = test_config do |config|
|
330
350
|
config.always_reload = true
|
331
351
|
end
|
332
|
-
config.values.
|
352
|
+
expect(config.values).to eq({ "foo" => 1 })
|
333
353
|
|
334
354
|
write_config 'values', 'foo: bar'
|
335
|
-
config.values.
|
355
|
+
expect(config.values).to eq({ "foo" => "bar" })
|
336
356
|
end
|
337
357
|
|
338
358
|
it "does not reload when config.always_reload = false" do
|
@@ -340,10 +360,10 @@ describe Figgy do
|
|
340
360
|
config = test_config do |config|
|
341
361
|
config.always_reload = false
|
342
362
|
end
|
343
|
-
config.values.
|
363
|
+
expect(config.values).to eq({ "foo" => 1 })
|
344
364
|
|
345
365
|
write_config 'values', 'foo: bar'
|
346
|
-
config.values.
|
366
|
+
expect(config.values).to eq({ "foo" => 1 })
|
347
367
|
end
|
348
368
|
end
|
349
369
|
|
@@ -362,8 +382,8 @@ describe Figgy do
|
|
362
382
|
write_config 'prod/values', 'foo: 3'
|
363
383
|
write_config 'prod_only', 'bar: quux'
|
364
384
|
|
365
|
-
config.values['foo'].
|
366
|
-
config.prod_only['bar'].
|
385
|
+
expect(config.values['foo']).to eq(2)
|
386
|
+
expect(config.prod_only['bar']).to eq('baz')
|
367
387
|
end
|
368
388
|
|
369
389
|
it "still works with multiple extension support" do
|
@@ -379,7 +399,7 @@ describe Figgy do
|
|
379
399
|
end
|
380
400
|
|
381
401
|
finder = config.instance_variable_get(:@finder)
|
382
|
-
finder.all_key_names.
|
402
|
+
expect(finder.all_key_names).to eq(['values', 'lonely', 'json_values'])
|
383
403
|
end
|
384
404
|
|
385
405
|
it "still supports reloading when preloading is enabled" do
|
@@ -390,17 +410,17 @@ describe Figgy do
|
|
390
410
|
config.always_reload = true
|
391
411
|
end
|
392
412
|
|
393
|
-
config.values['foo'].
|
413
|
+
expect(config.values['foo']).to eq(1)
|
394
414
|
|
395
415
|
write_config 'values', 'foo: 2'
|
396
|
-
config.values['foo'].
|
416
|
+
expect(config.values['foo']).to eq(2)
|
397
417
|
end
|
398
418
|
end
|
399
419
|
|
400
420
|
context "freezing" do
|
401
421
|
it "leaves results unfrozen by default" do
|
402
422
|
write_config 'values', "foo: '1'"
|
403
|
-
test_config.values.foo.
|
423
|
+
expect(test_config.values.foo).not_to be_frozen
|
404
424
|
end
|
405
425
|
|
406
426
|
it "freezes the results when config.freeze = true" do
|
@@ -408,7 +428,7 @@ describe Figgy do
|
|
408
428
|
config = test_config do |config|
|
409
429
|
config.freeze = true
|
410
430
|
end
|
411
|
-
config.values.
|
431
|
+
expect(config.values).to be_frozen
|
412
432
|
end
|
413
433
|
|
414
434
|
it "freezes all the way down" do
|
@@ -430,7 +450,7 @@ describe Figgy do
|
|
430
450
|
end
|
431
451
|
|
432
452
|
def assert_deeply_frozen(obj)
|
433
|
-
obj.
|
453
|
+
expect(obj).to be_frozen
|
434
454
|
case obj
|
435
455
|
when Hash then obj.each { |k, v| assert_deeply_frozen(k); assert_deeply_frozen(v) }
|
436
456
|
when Array then obj.each { |v| assert_deeply_frozen(v) }
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: figgy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Kyle Hargraves
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-07-27 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: json
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,20 +46,39 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
53
|
+
version: '3.0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
61
|
+
version: '3.0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: simplecov
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.9'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.9'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: coveralls
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
58
82
|
requirements:
|
59
83
|
- - ! '>='
|
60
84
|
- !ruby/object:Gem::Version
|
@@ -62,6 +86,7 @@ dependencies:
|
|
62
86
|
type: :development
|
63
87
|
prerelease: false
|
64
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
65
90
|
requirements:
|
66
91
|
- - ! '>='
|
67
92
|
- !ruby/object:Gem::Version
|
@@ -69,6 +94,7 @@ dependencies:
|
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: aruba
|
71
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
72
98
|
requirements:
|
73
99
|
- - ! '>='
|
74
100
|
- !ruby/object:Gem::Version
|
@@ -76,6 +102,7 @@ dependencies:
|
|
76
102
|
type: :development
|
77
103
|
prerelease: false
|
78
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
79
106
|
requirements:
|
80
107
|
- - ! '>='
|
81
108
|
- !ruby/object:Gem::Version
|
@@ -83,6 +110,7 @@ dependencies:
|
|
83
110
|
- !ruby/object:Gem::Dependency
|
84
111
|
name: heredoc_unindent
|
85
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
86
114
|
requirements:
|
87
115
|
- - ! '>='
|
88
116
|
- !ruby/object:Gem::Version
|
@@ -90,6 +118,7 @@ dependencies:
|
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
93
122
|
requirements:
|
94
123
|
- - ! '>='
|
95
124
|
- !ruby/object:Gem::Version
|
@@ -119,28 +148,34 @@ files:
|
|
119
148
|
homepage: http://github.com/pd/figgy
|
120
149
|
licenses:
|
121
150
|
- MIT
|
122
|
-
metadata: {}
|
123
151
|
post_install_message:
|
124
152
|
rdoc_options: []
|
125
153
|
require_paths:
|
126
154
|
- lib
|
127
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
128
157
|
requirements:
|
129
158
|
- - ! '>='
|
130
159
|
- !ruby/object:Gem::Version
|
131
160
|
version: '0'
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
hash: 3860378607253701998
|
132
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
133
166
|
requirements:
|
134
167
|
- - ! '>='
|
135
168
|
- !ruby/object:Gem::Version
|
136
169
|
version: '0'
|
170
|
+
segments:
|
171
|
+
- 0
|
172
|
+
hash: 3860378607253701998
|
137
173
|
requirements: []
|
138
174
|
rubyforge_project:
|
139
|
-
rubygems_version:
|
175
|
+
rubygems_version: 1.8.23.2
|
140
176
|
signing_key:
|
141
|
-
specification_version:
|
177
|
+
specification_version: 3
|
142
178
|
summary: Configuration file reading
|
143
179
|
test_files:
|
144
180
|
- spec/figgy_spec.rb
|
145
181
|
- spec/spec_helper.rb
|
146
|
-
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
YzlmMTc5ZjUyYzI2MTc5YjJiNDFhZTRkMDljYjc0MzhmNTc5MGNmZA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ODJmMGFhZjNhNjA3NmU5YmY5ZWZlMjZjZTdhMjMyOTdmMDFlM2E4Mg==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YWVlNDkwNDdlMTJjNTMyZmJiOTZmNmRlN2Q0Y2E3NzM4NTg1NGUwYmExMjk1
|
10
|
-
MmU1NTg3ODYxNWExOTJmMmY1MjJlODZjOWJiYTMwMzI2N2YwYzRlN2IxMDNj
|
11
|
-
Y2Y4Yjg4MGFlM2Y4NmQ5NDk2MGFiODY3MDcyYzJmZmI3Njk0YTQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmJiYjZlYmUzYTkzYzM1ODUxZWFmMGU0YjY4YjlkMmJhNDJiZTFmNmVlOGQx
|
14
|
-
ZTIwYThlNTE4ZWE1NGI0YjBjYWU3MmQwNGExYWY2YjNiZTc3MzI0M2I3Y2Nl
|
15
|
-
NWI5NDQwZWRiYzA4ZGRjYzFmNzgxZmQ3MTU1MmZmNTlhZDEwYjc=
|