capistrano-simplegit 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/capistrano-simplegit.gemspec +1 -2
- data/lib/capistrano/tasks/simplegit.rake +5 -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: 05aaf03aaaf00d1f8b9cb5f3afa593a1582ac9b6
|
|
4
|
+
data.tar.gz: b7f53fe7551b7d78385eede33da469817a7cd9d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64bddacf7fc272b97ca5e835c63f0ecb53ce55ed589e6c4c7872231c7e5e2ddb98f1a0d04055eeb9f4ff90b1436eba0f1ae31177774915c5b5133107442e6cf7
|
|
7
|
+
data.tar.gz: 754bb0cbf410aad5e16ff8d8155af6e7ab8edebcb72761a4c2d4c9cafaa2e990eec7ced52b8a24ad3cdb7e1165bc14f1a5511c510e07bbc52edcf5c561f3d3aa
|
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
### Capistrano / Simple Git Deploy
|
|
2
|
+
|
|
3
|
+
A very simple Capistrano 3.x compatible git deploy gem, that also performs a submodule install after fetching and checking out the git repo.
|
|
4
|
+
|
|
3
5
|
|
|
4
|
-
A very simple Capistrano 3 compatible git deploy gem, that also performs a submodule install after
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
76859# coding: utf-8
|
|
2
1
|
lib = File.expand_path('../lib', __FILE__)
|
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
3
|
|
|
5
4
|
Gem::Specification.new do |spec|
|
|
6
5
|
spec.name = 'capistrano-simplegit'
|
|
7
|
-
spec.version = '0.0.
|
|
6
|
+
spec.version = '0.0.5'
|
|
8
7
|
spec.authors = ['Ross Riley']
|
|
9
8
|
spec.email = ['riley.ross@gmail.com']
|
|
10
9
|
spec.description = %q{A simple Git Deploy Command for Capistrano 3.x}
|
|
@@ -4,7 +4,7 @@ namespace :simplegit do
|
|
|
4
4
|
task :deploy do
|
|
5
5
|
|
|
6
6
|
on roles :all do
|
|
7
|
-
info "--> Deploy from #{fetch(:
|
|
7
|
+
info "--> Deploy from #{fetch(:repo_url)} on branch #{fetch(:branch)}"
|
|
8
8
|
|
|
9
9
|
begin
|
|
10
10
|
execute "ls #{fetch(:deploy_to)}/.git"
|
|
@@ -32,8 +32,10 @@ namespace :simplegit do
|
|
|
32
32
|
|
|
33
33
|
desc 'Performs the initial setup and fetch of the repo'
|
|
34
34
|
task :prepare do
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
on roles :all do
|
|
36
|
+
execute "cd #{fetch(:deploy_to)} && git init"
|
|
37
|
+
execute "cd #{fetch(:deploy_to)} && git remote add origin #{fetch(:repo_url)}"
|
|
38
|
+
end
|
|
37
39
|
end
|
|
38
40
|
|
|
39
41
|
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.5
|
|
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-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|