capistrano-simplegit 0.1.3 → 0.2.0
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 +5 -8
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 283623d5de35572f900c7639b0aad4df93722a51
|
4
|
+
data.tar.gz: b3219daf92c1c14d41462648b1c355598dde123a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b18f5110b9b0937da8f5cb1441c321f353f4605ce97ed3d6fb88d7f2bace5f8fbea9b8c278dc1815b3782c63e554cfebfe28ad3ad3318b781c5eb6b7636aabad
|
7
|
+
data.tar.gz: e863364794f684955873136cb468ff57344d38c583007ba011a08a0bf2c51f63c5f3ec4aa381b22b5a1ae550ebf9474129f9412800abb3e8d5cd390ee3158c6e
|
@@ -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.
|
6
|
+
spec.version = '0.2.0'
|
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}
|
@@ -16,17 +16,14 @@ namespace :simplegit do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
within fetch(:simplegit_deploy) do
|
19
|
-
execute
|
19
|
+
execute :git, "fetch"
|
20
20
|
if test :git, :'show-branch', fetch(:simplegit_branch)
|
21
|
-
|
21
|
+
execute :git, "checkout #{fetch(:simplegit_branch)}"
|
22
|
+
execute :git, "reset --hard origin/#{fetch(:simplegit_branch)}"
|
22
23
|
else
|
23
|
-
|
24
|
-
end
|
25
|
-
begin
|
26
|
-
execute "cd #{fetch(:simplegit_deploy)} && git submodule update --init --recursive"
|
27
|
-
rescue
|
28
|
-
|
24
|
+
execute :git, "checkout -b #{fetch(:simplegit_branch)} origin/#{fetch(:simplegit_branch)}"
|
29
25
|
end
|
26
|
+
execute :git, "submodule update --init --recursive"
|
30
27
|
end
|
31
28
|
end
|
32
29
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-simplegit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
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: 2016-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: A simple Git Deploy Command for Capistrano 3.x
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
62
|
+
- .gitignore
|
63
63
|
- README.md
|
64
64
|
- capistrano-simplegit.gemspec
|
65
65
|
- lib/capistrano-simplegit.rb
|
@@ -75,17 +75,17 @@ require_paths:
|
|
75
75
|
- lib
|
76
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 2.
|
88
|
+
rubygems_version: 2.0.14
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: A simple Git Deploy Command for Capistrano 3.x
|