capistrano-rocketdeploy 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +1 -1
- data/lib/capistrano/rocketdeploy.rb +0 -2
- data/lib/capistrano/rocketdeploy/version.rb +1 -1
- data/lib/capistrano/tasks/notify.rake +5 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02f067950290a2dd189ef7d9ddda679303ce8082e77ce74a828a98d6c3f0cf9b
|
4
|
+
data.tar.gz: 45f6a75a81c8ba69fb61985b4c11aa7c8fe76c870ce2cb740e65b6d5845cd214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02dbdee9fb8c3c596569f5549f0c4b01718757d799133b693a082c4668313575cadacccdeb775633fa5bf8f2a227bfd79612f1ae711ce9fcb883e31c469aaf36
|
7
|
+
data.tar.gz: c0f5c7bc38ad6ca962fa9cd4b70c348ade2b688c3387258a6bc233a4d14114d7c9e8c686cf39e65c2692f67ada605d91ac358038449f255283a068e687ccce8c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capistrano-rocketdeploy (0.
|
4
|
+
capistrano-rocketdeploy (0.3.0)
|
5
5
|
capistrano (~> 3.0)
|
6
6
|
rest-client
|
7
7
|
|
@@ -16,13 +16,13 @@ GEM
|
|
16
16
|
rake (>= 10.0.0)
|
17
17
|
sshkit (>= 1.9.0)
|
18
18
|
coderay (1.1.2)
|
19
|
-
concurrent-ruby (1.1.
|
19
|
+
concurrent-ruby (1.1.5)
|
20
20
|
diff-lcs (1.3)
|
21
21
|
domain_name (0.5.20180417)
|
22
22
|
unf (>= 0.0.5, < 1.0.0)
|
23
23
|
http-cookie (1.0.3)
|
24
24
|
domain_name (~> 0.5)
|
25
|
-
i18n (1.
|
25
|
+
i18n (1.6.0)
|
26
26
|
concurrent-ruby (~> 1.0)
|
27
27
|
method_source (0.9.2)
|
28
28
|
mime-types (3.2.2)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
mime-types-data (3.2018.0812)
|
31
31
|
net-scp (1.2.1)
|
32
32
|
net-ssh (>= 2.6.5)
|
33
|
-
net-ssh (5.
|
33
|
+
net-ssh (5.2.0)
|
34
34
|
netrc (0.11.0)
|
35
35
|
pry (0.12.2)
|
36
36
|
coderay (~> 1.1.0)
|
@@ -53,7 +53,7 @@ GEM
|
|
53
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
54
|
rspec-support (~> 3.8.0)
|
55
55
|
rspec-support (3.8.0)
|
56
|
-
sshkit (1.18.
|
56
|
+
sshkit (1.18.2)
|
57
57
|
net-scp (>= 1.1.2)
|
58
58
|
net-ssh (>= 2.8.0)
|
59
59
|
unf (0.1.4)
|
@@ -71,4 +71,4 @@ DEPENDENCIES
|
|
71
71
|
rspec (~> 3.0)
|
72
72
|
|
73
73
|
BUNDLED WITH
|
74
|
-
1.
|
74
|
+
1.17.2
|
data/README.md
CHANGED
@@ -22,12 +22,14 @@ namespace :rocketdeploy do
|
|
22
22
|
|
23
23
|
client = fetch(:rocketdeploy_client)
|
24
24
|
r = client.deploy_started(@data)
|
25
|
-
|
25
|
+
if r.nil?
|
26
|
+
raise "response of rocketdeploy is nil"
|
27
|
+
else
|
26
28
|
@deploy_id = r['id']
|
27
29
|
end
|
28
30
|
end
|
29
31
|
|
30
|
-
task :notify_deploy_finished
|
32
|
+
task :notify_deploy_finished do
|
31
33
|
client = fetch(:rocketdeploy_client)
|
32
34
|
if @deploy_id.nil?
|
33
35
|
puts "RocketDeploy: no deploy_id, cant report"
|
@@ -36,7 +38,7 @@ namespace :rocketdeploy do
|
|
36
38
|
end
|
37
39
|
end
|
38
40
|
|
39
|
-
task :notify_deploy_failed
|
41
|
+
task :notify_deploy_failed do
|
40
42
|
client = fetch(:rocketdeploy_client)
|
41
43
|
if @deploy_id.nil?
|
42
44
|
puts "RocketDeploy: no deploy_id, cant report"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rocketdeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Yegorov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -137,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.7.7
|
140
|
+
rubygems_version: 3.0.2
|
142
141
|
signing_key:
|
143
142
|
specification_version: 4
|
144
143
|
summary: Deploy notifier for RocketDeploy server
|