capistrano-simplegit 0.0.4 → 0.0.5

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: f24dcb5bde051a9f5de821aa4b8b5cdef47ff818
4
- data.tar.gz: c425c2658c67acc89db19ee3b3224a2be8122453
3
+ metadata.gz: 05aaf03aaaf00d1f8b9cb5f3afa593a1582ac9b6
4
+ data.tar.gz: b7f53fe7551b7d78385eede33da469817a7cd9d1
5
5
  SHA512:
6
- metadata.gz: f9a2fc23b662a38e855d7a5bb05161c7a5a8418b08e63e4097b1d0d7f6ba34407d192cd9669f9a2f05370deee2a52d508b00ec0101c0086cb434b727d7fb280b
7
- data.tar.gz: a784f0ab7921902d259825a6f563e89fa23b65d09946f55e2c4abb6879214d5c7842e93a6d4ba07c8f6c94a108c9eb1735557a413d70c8cf399cd93632803045
6
+ metadata.gz: 64bddacf7fc272b97ca5e835c63f0ecb53ce55ed589e6c4c7872231c7e5e2ddb98f1a0d04055eeb9f4ff90b1436eba0f1ae31177774915c5b5133107442e6cf7
7
+ data.tar.gz: 754bb0cbf410aad5e16ff8d8155af6e7ab8edebcb72761a4c2d4c9cafaa2e990eec7ced52b8a24ad3cdb7e1165bc14f1a5511c510e07bbc52edcf5c561f3d3aa
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- capistrano-simplegit
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.4'
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(:repository)} on branch #{fetch(:branch)}"
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
- execute "cd #{fetch(:deploy_to)} && git init"
36
- execute "cd #{fetch(:deploy_to)} && git remote add origin #{fetch(:repository)}"
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
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-01 00:00:00.000000000 Z
11
+ date: 2014-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano