capistrano-simplegit 0.1.0 → 0.1.1

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: f397baaec282fda7233f5e49534b252a60534731
4
- data.tar.gz: af76eb51e790e1a60824535058dd09b050e5cf38
3
+ metadata.gz: c9eb29fb1df81acff9d0f123d1a516c46c344223
4
+ data.tar.gz: 0843fe9e8913fce939718792ed0852ffa9e9269e
5
5
  SHA512:
6
- metadata.gz: e9e5ab7021f3068bed5b3af0fdbb84085460b333021b9fe394c3641fbbb1b70d42185c6253167e0efd675488ce8c73b22a89b110ebf63ae70702b1ad752251cf
7
- data.tar.gz: 7b21378a48008e590eb432c2c416f56851f74a46e1e4822133678806a6d7e1205f5ea50533031668df51d1953266063f057f322cde7a0dd47d4e8d4cb601b9ba
6
+ metadata.gz: 15ad10c62e6a648f5e7c359f9908379609f2c2a67482cfb153ebd773515adb7ed7d8463abd5a57693c87c1c4fa6e7fef599c51b9c3bff8a684b772288a516baf
7
+ data.tar.gz: 319c52e1a3e21600c624ce7b0b65a8706910d9565bd415964b73a1b612a137f277c9a52157d8220bd0e629b40bca91f149e6d9238a441483d3048656c09ad2d5
@@ -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.0'
6
+ spec.version = '0.1.1'
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}
@@ -17,7 +17,7 @@ namespace :simplegit do
17
17
 
18
18
  within fetch(:simplegit_deploy) do
19
19
  execute "cd #{fetch(:simplegit_deploy)} && git fetch"
20
- if test "[ git show-branch #{fetch(:simplegit_branch)} ]"
20
+ if test :git, :'show-branch', fetch(:simplegit_branch)
21
21
  execute "git checkout #{fetch(:simplegit_branch)} ; git reset --hard origin/#{fetch(:simplegit_branch)}"
22
22
  else
23
23
  execute "git checkout -b #{fetch(:simplegit_branch)} origin/#{fetch(:simplegit_branch)}"
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley