capistrano-simpledeploy 0.1.11 → 0.1.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ef283baf4dbf7e5b0bd61baa3726573702b12c4
|
4
|
+
data.tar.gz: faaae0ca6b96c5947e15a0c58e6ab44c534d1bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f4f0e4a79df93aeda035bc4ad224f440584781b63287f63a5b611b5628cb3e01322ce51199ff6b9017f19126f1399e132ae5746d86a1490cd29fde40c3c8561
|
7
|
+
data.tar.gz: 5dd8935501200a2738f38fcedd2302f0734e8217e51a75a5adf0029ac14879966de9db70985336fda4849bb6bb5f994a271e64d5e6f39811865c1d175cb323ae
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-simpledeploy'
|
7
|
-
spec.version = '0.1.
|
7
|
+
spec.version = '0.1.12'
|
8
8
|
spec.authors = ["Ross Riley"]
|
9
9
|
spec.email = ["riley.ross@gmail.com"]
|
10
10
|
spec.description = %q{An extension to handle single version deploys for Capistrano 3.x}
|
@@ -1,32 +1,33 @@
|
|
1
1
|
namespace :deploy do
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
3
|
+
desc 'Start a deployment, make sure server(s) ready.'
|
4
|
+
task :starting do
|
5
|
+
SSHKit.config.command_map[:composer] = "#{shared_path.join("composer.phar")}"
|
6
|
+
end
|
7
|
+
|
8
|
+
desc 'Update server(s) by setting up a new release.'
|
9
|
+
task :updating do
|
10
|
+
invoke 'simplegit:deploy'
|
11
|
+
end
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
desc 'Update finished'
|
14
|
+
task :updated do
|
15
|
+
end
|
15
16
|
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
desc 'Finish the deployment, clean up server(s).'
|
19
|
+
task :finishing do
|
20
|
+
invoke 'composer:install'
|
21
|
+
invoke 'bundle:build'
|
22
|
+
end
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
desc 'Finished'
|
25
|
+
task :finished do
|
26
|
+
end
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
desc 'Update reverted'
|
29
|
+
task :reverted do
|
30
|
+
end
|
30
31
|
|
31
32
|
|
32
33
|
end
|