danarchy_deploy 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/danarchy_deploy +1 -1
- data/lib/danarchy_deploy/version.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: a482f91406ebff209e507ae56bc4be82c8c7ca80
|
4
|
+
data.tar.gz: 0c0d2dff7477e981dcd057ad2f5919dc92758309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 368cbeddce75725922abe8412e89bb2d74baa9c06a4dc86ee9523e6cddb733dfb77e80b9ab92beda895d80a736f908231732a78b938fe3147cb918e3dd0915be
|
7
|
+
data.tar.gz: 26416496b1c7c096b108161ed2f5ef40a972dd6c4555a26cd3efd16f58ab0a9c02b1ad26c4a5720976119b4cadc83b77ceddd84e8a743d63de5079b2dfaaff83
|
data/bin/danarchy_deploy
CHANGED
@@ -97,7 +97,7 @@ elsif location == 'local'
|
|
97
97
|
deployment = DanarchyDeploy::LocalDeploy.new(deployment, options)
|
98
98
|
end
|
99
99
|
|
100
|
-
if deployment && cdb && !options[:pretend]
|
100
|
+
if deployment && cdb && !options[:pretend] && options[:deploy_file] !~ /.*(json|yaml)$/
|
101
101
|
puts "Saving deployment to CouchDB."
|
102
102
|
old_rev = cdb.get(cdb_config[:database], deployment_name)[:_rev]
|
103
103
|
save = cdb.put(cdb_config[:database], deployment[:_id], deployment)
|