rmdd 0.1.17 → 0.1.18

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: e9f7396f808d67a3c534ec0e9b8637cf37ed6b36
4
- data.tar.gz: 47c74f9b726d8fa343d4e88d4305075cdd14adc3
3
+ metadata.gz: b893953161bbc8167298e8a6978200c96848dce2
4
+ data.tar.gz: 2e462b2cac41c3d40c7bb911e14059cdd8683f2a
5
5
  SHA512:
6
- metadata.gz: 0176b85310546d44168e2aa14df72e3256a7ebccc4ac15d07ed53a4f20202960d999df07bd4faab05af1ddfbbc447e6164ce4a4a37a08d868a7a3658191f7a43
7
- data.tar.gz: 7610d70370e910b47d304ad6e81428cf2c446354fa9d47ae3287e467131b73f6beebbfc977eaeed62e4f1dad08a96a221039f1cd573ae3fec611ad90ed47c50f
6
+ metadata.gz: 6f68d647fe989d029f4e6bf78e74ce9c201e8689976154af1c546ba1880fe0d98ef846ab9707723aa6e8c9f224e75e82d5ef324fb73391ae3d5ac41190639e3e
7
+ data.tar.gz: d4cd602aa43dd5e5835001380e2c87404d206995b6de2ed9b85a3db0c2a9d85cd4545c67a9f0b3c59f8f30392e0d22b5151e352b0a24b923c175bd5d9adfbbad
@@ -7,8 +7,9 @@ module Rmd
7
7
  class DeployService
8
8
  def self.deploy(server, skip_assets = false)
9
9
  validate(server)
10
- deploy_url = "#{url(server)}/deploy?token=#{token(server)}&skip_assets=#{skip_assets.to_s}"
11
- command = "curl -s -X GET #{deploy_url}"
10
+ deploy_url = "#{url(server)}/deploy"
11
+ options = "-d token=#{token(server)} -d skip_assets=#{skip_assets.to_s}"
12
+ command = "curl -s -X GET #{deploy_url} #{options}"
12
13
  system_cmd(command)
13
14
  end
14
15
 
@@ -1,3 +1,3 @@
1
1
  module Rmd
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmdd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duc Le