capistrano-simplegit 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 851fba2c79d595341bb96508ce09c9012e5578c3
4
- data.tar.gz: 6b7216893c4b8c282ad9a7329dd5fb163ecc0a3c
3
+ metadata.gz: 469834aa216deeda12f802e0fdf3a6e3e6782dbc
4
+ data.tar.gz: 097c3d8f11e544182fc8ae837feb1c06b9035ad1
5
5
  SHA512:
6
- metadata.gz: 07e38523425f60093687bfbed80065c95ed22d998dc1bef10b40cf0dd3e779b6a1049a80f3d499366effebb32f6ec1c5c23ffa2bab9fb19fc34881734cf32b78
7
- data.tar.gz: 8985cd87545d06e4a2af3d7624207dc0aeb4fe103bdd439913a75cb96c29d8a4526e5c6a1c1ba68c2954068c04a5ab66e5563feb74b58ffb75741fc0685208ef
6
+ metadata.gz: 775b003891aa5cb6c0dc1119bbc8a5f7c65e55802cc7ab0ce9ce2cd3ffab02bb4454196d5d0917947dc485ce2c411caa37bca1bcaef704bdbcadd567c398a3a9
7
+ data.tar.gz: 484ec191a4c3f576e0541fbe2c7a575c694f36b78bc76ae4a23ff244dfd44540bf47c6735254b799bc234b40f2cb723087b5000bdddad9d16622e725335ef151
@@ -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.7'
6
+ spec.version = '0.0.8'
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}
@@ -5,10 +5,7 @@ namespace :simplegit do
5
5
 
6
6
  on roles :all do
7
7
  info "--> Deploy from #{fetch(:simplegit_repo)} on branch #{fetch(:simplegit_branch)}"
8
-
9
- begin
10
- execute "ls #{fetch(:simplegit_deploy)}/.git"
11
- rescue
8
+ unless test "[ -d #{fetch(:simplegit_deploy)}/.git ]"
12
9
  execute "cd #{fetch(:simplegit_deploy)} && git init"
13
10
  execute "cd #{fetch(:simplegit_deploy)} && git remote add origin #{fetch(:simplegit_repo)}"
14
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-simplegit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano