capistrano-simplegit 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-simplegit.gemspec +1 -1
- data/lib/capistrano/tasks/simplegit.rake +2 -9
- 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: 851fba2c79d595341bb96508ce09c9012e5578c3
|
4
|
+
data.tar.gz: 6b7216893c4b8c282ad9a7329dd5fb163ecc0a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e38523425f60093687bfbed80065c95ed22d998dc1bef10b40cf0dd3e779b6a1049a80f3d499366effebb32f6ec1c5c23ffa2bab9fb19fc34881734cf32b78
|
7
|
+
data.tar.gz: 8985cd87545d06e4a2af3d7624207dc0aeb4fe103bdd439913a75cb96c29d8a4526e5c6a1c1ba68c2954068c04a5ab66e5563feb74b58ffb75741fc0685208ef
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'capistrano-simplegit'
|
6
|
-
spec.version = '0.0.
|
6
|
+
spec.version = '0.0.7'
|
7
7
|
spec.authors = ['Ross Riley']
|
8
8
|
spec.email = ['riley.ross@gmail.com']
|
9
9
|
spec.description = %q{A simple Git Deploy Command for Capistrano 3.x}
|
@@ -9,7 +9,8 @@ namespace :simplegit do
|
|
9
9
|
begin
|
10
10
|
execute "ls #{fetch(:simplegit_deploy)}/.git"
|
11
11
|
rescue
|
12
|
-
|
12
|
+
execute "cd #{fetch(:simplegit_deploy)} && git init"
|
13
|
+
execute "cd #{fetch(:simplegit_deploy)} && git remote add origin #{fetch(:simplegit_repo)}"
|
13
14
|
end
|
14
15
|
|
15
16
|
info "--> Updating code from remote repository"
|
@@ -30,14 +31,6 @@ namespace :simplegit do
|
|
30
31
|
end
|
31
32
|
end
|
32
33
|
|
33
|
-
desc 'Performs the initial setup and fetch of the repo'
|
34
|
-
task :prepare do
|
35
|
-
on roles :all do
|
36
|
-
execute "cd #{fetch(:simplegit_deploy)} && git init"
|
37
|
-
execute "cd #{fetch(:simplegit_deploy)} && git remote add origin #{fetch(:simplegit_repo)}"
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
34
|
end
|
42
35
|
|
43
36
|
namespace :load do
|