comrad 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/comrad.gemspec +1 -1
- data/lib/comrad/changeset.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dfa87d9578aa1e1a8b8b7a97478bcf05bd1cf44
|
4
|
+
data.tar.gz: bd6185ef69ad44addb7361a29bccb76d6911390f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3f3ffcc9414ec1961e6b42036698bdf7d3baef589775de4e150c958a0ba51f0a38c3e2a079ff8208c2c1da6f19304d8caed793853e193487a506dffe4506e3
|
7
|
+
data.tar.gz: 8dac30ea4540aceda52244d4aeb376ee1e46c4a6f05b142bc657de30c2760574976e792e937582060cca7e48e0da2f9d091bd59e3e9e4be1fef08c851ea73e40
|
data/.travis.yml
CHANGED
data/comrad.gemspec
CHANGED
data/lib/comrad/changeset.rb
CHANGED
@@ -76,10 +76,10 @@ module Comrad
|
|
76
76
|
files_array.each do |file|
|
77
77
|
split_file = file.split('/')
|
78
78
|
case
|
79
|
-
when
|
79
|
+
when /^(cookbook|roles|environments)/.match(file)
|
80
80
|
# "cookbooks"=>{"some-cookbook"=>"update"}
|
81
81
|
objects[split_file[0]][split_file[1]] = action(split_file[0..1].join('/'))
|
82
|
-
when
|
82
|
+
when /^data_bags/.match(file)
|
83
83
|
# "data_bags"=>{"some_dbag/some_item.json"=>"update"}
|
84
84
|
objects[split_file[0]][split_file[1..2].join('/')] = action(split_file[0..2].join('/'))
|
85
85
|
end
|