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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46049bdab782dc9e6f9f997338b11e5f194d19c2
4
- data.tar.gz: cf217e0e381a2fc499457e13d6714e9850fe2207
3
+ metadata.gz: 851fba2c79d595341bb96508ce09c9012e5578c3
4
+ data.tar.gz: 6b7216893c4b8c282ad9a7329dd5fb163ecc0a3c
5
5
  SHA512:
6
- metadata.gz: 50b7cd3738ed6a37f76088bed0cb8f58da7595ca192fc9d97525974972e7471a22e1d656a90f857c62561d015b488a02241dab939e02fb6b72d08c859dc6670f
7
- data.tar.gz: 1137322c4125ccfde50c10456a583c5e09af3160847ead61298098e60280fbc7445650594b81cc2d44aa38dcdc3e8d547ef14012c2afb0c390f22ce3295313d5
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'
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
- invoke 'simplegit:prepare'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-simplegit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley