code_manifest 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/code_manifest/version.rb +1 -1
- data/lib/code_manifest.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5795a2e56a6100341407404bffc27961d9dc4ee72935108ed2acab630f2ecae
|
4
|
+
data.tar.gz: 1150086276c5a08922197ef9a578558e50cea9bde9760e81ea782baae9fd18af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b1d5d8b814334eb5e51eac7e4d93c470938c5177fd97a6bb0309ce78b97676b4d03d0e526924881058d998b1f595afd9bf0ef1426c2dd8b4159de05c21fabe
|
7
|
+
data.tar.gz: 93399d00df69e5a456640ff3af0eff27535f838f1566a088513198c32151e8c71a40362deb2188790d1576ec959ef2b486d59873cd217c6fe57c09b11b59a4ac
|
data/lib/code_manifest.rb
CHANGED
@@ -33,7 +33,7 @@ module CodeManifest
|
|
33
33
|
|
34
34
|
raise ArgumentError, "#{name} defined multiple times in #{DOTFILE}" if collection.key?(name)
|
35
35
|
|
36
|
-
collection[name] = Manifest.new(root, patterns)
|
36
|
+
collection[name] = Manifest.new(root, patterns.flatten)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
@@ -49,6 +49,7 @@ module CodeManifest
|
|
49
49
|
def load_manifest(file)
|
50
50
|
YAML.load_file(file, aliases: true)
|
51
51
|
rescue ArgumentError
|
52
|
+
puts YAML.load_file(file)
|
52
53
|
YAML.load_file(file)
|
53
54
|
end
|
54
55
|
end
|