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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72f8c64cc9d06b2de3e6a0a39a11e603a9d229dc
4
- data.tar.gz: a5dd31b8f6cc4fefbaf7793d7f980e215b225585
3
+ metadata.gz: a482f91406ebff209e507ae56bc4be82c8c7ca80
4
+ data.tar.gz: 0c0d2dff7477e981dcd057ad2f5919dc92758309
5
5
  SHA512:
6
- metadata.gz: 35ee05356fb984dc88bb7cf9eb382bb865474e5f584b77ee666af80b09b109f79929145f6795c9a038a401a35b61cd8ea8d7411451589a047d4009ddd28e5ecf
7
- data.tar.gz: 8c8f5149c845fa1e2e8a9ba73adf8fedda30fc7f8c72f479199528a94b8e4e0b6f2d0de0a1ea982abdda7f30536a5f348b0b5f180343f1eece20226b8be43509
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)
@@ -1,3 +1,3 @@
1
1
  module DanarchyDeploy
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danarchy_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan James