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 +4 -4
- data/capistrano-simplegit.gemspec +1 -1
- data/lib/capistrano/tasks/simplegit.rake +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858835131a84a2cc037629c587efb2577b8b0612
|
4
|
+
data.tar.gz: 2629294a867ad0cce2993a5e7fdc55ebfdbe4a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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:
|
11
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|