capistrano-simplegit 0.1.2 → 0.1.3

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: ae82f4120fc7dae051a0cd7d0225a5c795dc55b2
4
- data.tar.gz: 21d4fb0677ffae864636981cf177d9520d6ded9f
3
+ metadata.gz: 858835131a84a2cc037629c587efb2577b8b0612
4
+ data.tar.gz: 2629294a867ad0cce2993a5e7fdc55ebfdbe4a85
5
5
  SHA512:
6
- metadata.gz: 843efe76568c7f235a5308ba5e916f47557f74437a60f381e360a410da49f3803365f2ecdddfa0067799a002abecd1dcfce6424b29f9813dc0a6252007cde37d
7
- data.tar.gz: 485cf8fbc33e4df93e3d0e87245fda4dc077996fe5f9afbc726ff46c3787785028c9c3cc240ec72660003a6a1b63e2a78c6c39686fc3c164726c539cec9b07b0
6
+ metadata.gz: 4a8294cb4b83afb0da279bdcea0a5bb93d7db7b3b1c257b23a6acc4f5ea4c3fcc6e3ec1695197d6241ab0b6da0b18bd98d14db5b56a5f0a67a1d545653978404
7
+ data.tar.gz: a5149c42f2a18839fa6637818a39f7bafeae87c5671bf4e885519b1288247135abfef94881f027da304b204d8b8e5003519f97508008f0fd4fe17123aae32ce1
@@ -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.1.2'
6
+ spec.version = '0.1.3'
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}
@@ -18,12 +18,12 @@ namespace :simplegit do
18
18
  within fetch(:simplegit_deploy) do
19
19
  execute "cd #{fetch(:simplegit_deploy)} && git fetch"
20
20
  if test :git, :'show-branch', fetch(:simplegit_branch)
21
- execute "git checkout #{fetch(:simplegit_branch)} ; git reset --hard origin/#{fetch(:simplegit_branch)}"
21
+ execute "cd #{fetch(:simplegit_deploy)} && git checkout #{fetch(:simplegit_branch)} ; git reset --hard origin/#{fetch(:simplegit_branch)}"
22
22
  else
23
- execute "git checkout -b #{fetch(:simplegit_branch)} origin/#{fetch(:simplegit_branch)}"
23
+ execute "cd #{fetch(:simplegit_deploy)} && git checkout -b #{fetch(:simplegit_branch)} origin/#{fetch(:simplegit_branch)}"
24
24
  end
25
25
  begin
26
- execute "git submodule update --init --recursive"
26
+ execute "cd #{fetch(:simplegit_deploy)} && git submodule update --init --recursive"
27
27
  rescue
28
28
 
29
29
  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.1.2
4
+ version: 0.1.3
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-09-18 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano