config_hound 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/config_hound/parser.rb +1 -1
- data/lib/config_hound/version.rb +1 -1
- data/spec/features/formats_spec.rb +14 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67a3b97b5e40deb8ed9509031898e66a2de9577d
|
4
|
+
data.tar.gz: 53db1854e4cf25048107062b23718de22b15083d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9db6a68b39dda85488488ab959acd9b962ef61510d6a4e1b182e21aa16b48c30540c46ce61df4c6b80cb8a8710fff4a54c76679e3adea50d4ba03da90baf291
|
7
|
+
data.tar.gz: 5ca8f26c807be682d782c2969c174ce5ca664fafd820fe4ea348b04dac4abf50edb2e3553f415e77d8bb6846d029bf327aad08be96e1db73263728ff160c6f20
|
data/lib/config_hound/parser.rb
CHANGED
data/lib/config_hound/version.rb
CHANGED
@@ -20,6 +20,20 @@ describe ConfigHound, "formats" do
|
|
20
20
|
)
|
21
21
|
end
|
22
22
|
|
23
|
+
given_resource "config-with-aliases.yml", %{
|
24
|
+
foo: &foo
|
25
|
+
bar: 1
|
26
|
+
baz:
|
27
|
+
<<: *foo
|
28
|
+
}
|
29
|
+
|
30
|
+
it "loads YAML with aliases" do
|
31
|
+
expect(load("config-with-aliases.yml")).to eq(
|
32
|
+
"foo" => { "bar" => 1 },
|
33
|
+
"baz" => { "bar" => 1 }
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
23
37
|
given_resource "config.json", %{
|
24
38
|
{
|
25
39
|
"foo": 1,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config_hound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dig_rb
|