clc-promote 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/promote/uploader.rb +1 -1
- 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: 8c1ad38bc6e60cc60b18a74d8ae8f57f36817f2b
|
4
|
+
data.tar.gz: 631e275231f44000b58a292805f5b617cd31cb20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704de89c176e89060ab42f1b71fefc6ae00e72ed381632b288578c3d25b5d76807b8810f707561f774464b1dee5e05449ab57193afb154a3378b053c251468ce
|
7
|
+
data.tar.gz: 0adde3e6d40f89ecddf8392f726696f373983f7acbacec88237e0fec99c4e8cd42f5d95952750bd8f390bb65c981cc5b9dec52eb0867c97081eaa7b4b6fcdde3
|
data/lib/promote/uploader.rb
CHANGED
@@ -69,7 +69,7 @@ module Promote
|
|
69
69
|
metadata_file = File.join(dir, "metadata.rb")
|
70
70
|
metadata_file = File.join(dir, "metadata.json") unless File.exist?(metadata_file)
|
71
71
|
|
72
|
-
metadata.from_file(
|
72
|
+
metadata.from_file(metadata_file)
|
73
73
|
if !server_cookbooks.has_key?(metadata.name) || (server_cookbooks[metadata.name]["versions"].select {|v| v['version'] == metadata.version}).empty?
|
74
74
|
if environment_cookbooks.has_key?(metadata.name) && environment_cookbooks[metadata.name] == metadata.version
|
75
75
|
FileUtils.copy_entry(dir, File.join(config.temp_directory, metadata.name))
|