capistrano-simplegit 0.0.7 → 0.0.8
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 +1 -4
- 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: 469834aa216deeda12f802e0fdf3a6e3e6782dbc
|
4
|
+
data.tar.gz: 097c3d8f11e544182fc8ae837feb1c06b9035ad1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|