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 +4 -4
- data/lib/rmd/deploy_service.rb +3 -2
- data/lib/rmd/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: b893953161bbc8167298e8a6978200c96848dce2
|
4
|
+
data.tar.gz: 2e462b2cac41c3d40c7bb911e14059cdd8683f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f68d647fe989d029f4e6bf78e74ce9c201e8689976154af1c546ba1880fe0d98ef846ab9707723aa6e8c9f224e75e82d5ef324fb73391ae3d5ac41190639e3e
|
7
|
+
data.tar.gz: d4cd602aa43dd5e5835001380e2c87404d206995b6de2ed9b85a3db0c2a9d85cd4545c67a9f0b3c59f8f30392e0d22b5151e352b0a24b923c175bd5d9adfbbad
|
data/lib/rmd/deploy_service.rb
CHANGED
@@ -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
|
11
|
-
|
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
|
|
data/lib/rmd/version.rb
CHANGED