capistrano-docker 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: 3aef6a89ccddfc0340a4db5dff49cebaaa0c2969
4
- data.tar.gz: fd37f95c92987fec1fc992bc7aa1fd4fbec95285
3
+ metadata.gz: 91d48212716346950e8b887258a7cad82464d1f3
4
+ data.tar.gz: 24c19ad0f559b34201ceb6efd9233be7bae9693c
5
5
  SHA512:
6
- metadata.gz: 9d64ad83e5952e180433b22b48cf98bad014b2e95ad3426ab39400e5fee055be5698815795975f0d05b3634a40800279e55eb68cf662e9720dedadaee9dfbbd4
7
- data.tar.gz: 930a1c943c8204a1a5d8c6cdc812e14bc30787d9c1543d3089677b611ab4c5e45cfbf04268585cc4b8751678d14c085433ad09e417bb061a9f35d9cfbd38d8dd
6
+ metadata.gz: f647c538d319570c97d3a9c5caa80a46470ab1ef814c212eb536e6dbfe2d190402d953ced7f23f20a1c121102ab6386fc0e124ec7b224172f5f6715455a871cc
7
+ data.tar.gz: a648d76782a7ae0fee71ee8d381f531d65a83fe357d865b8b1401f18214a70833e4b92d89ed2f9a0e3ab74b3dafba75b7d942d12d20d89bb67c381c19d6b5395
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-docker'
7
- spec.version = '0.0.4'
7
+ spec.version = '0.0.5'
8
8
  spec.authors = ["Ross Riley"]
9
9
  spec.email = ["riley.ross@gmail.com"]
10
10
  spec.description = %q{Docker support for Capistrano 3.x}
@@ -47,7 +47,8 @@ namespace :deploy do
47
47
  execute "cd tmp/build && git clone ../../ ."
48
48
  end
49
49
 
50
- execute "cd tmp/build/ && git fetch && git checkout -f origin/HEAD"
50
+ commit = capture "git rev-parse HEAD"
51
+ execute "cd tmp/build/ && git fetch && git checkout -f #{commit}"
51
52
 
52
53
  fetch(:build_commands).each do |command|
53
54
  execute "cd tmp/build && "+command
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-docker
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-08-12 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano