capistrano-docker 0.1.1 → 0.1.2

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: 57143c3d2c9bf80006c326523b5839a20f64b495
4
- data.tar.gz: 18356b659cc688fc52b467971fb10d50a01c146f
3
+ metadata.gz: fb066f7071d7af618e3ebd3c023cd0c1df5a35c1
4
+ data.tar.gz: 3ac1673d910e4cbd71d8781f6fbe6039a336fe55
5
5
  SHA512:
6
- metadata.gz: 3ca431e91adfbb15608f877bf5c8b40809528aa9de3cd98fbb254a623dcb23c514dead2c4c6af89189884ad2e20a8cf45cdf04ada366bb8e965ea8b4f49a627d
7
- data.tar.gz: b71dc4dfc90f48827c26d191fb3638b87d2604f29612bd70ce9ca6f58097d7ed9cb10f3b36b184007d5b1649249c89e703b92c6da501fc3a2eba2ebb1e754bab
6
+ metadata.gz: af1ed9c4fd0005537653c525ba4df129b3f8f5e3e30f78f0395c600e37f52bd3f5986ba9b8c763f2041aac3425299b056d2440b7a3252db794ffc75b958b6253
7
+ data.tar.gz: 910638c80f38d2c157f4e31cd733120e0c664f0ebdcb4152f1eaa52cbeaee5ca97313f299ef182aa09bfc45f6a3709b7fd43198111a945bf331d27eca11651aa
@@ -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.1.1'
7
+ spec.version = '0.1.2'
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}
@@ -6,6 +6,9 @@ namespace :docker do
6
6
  on roles :host do
7
7
  execute "mkdir -p #{fetch(:docker_buildpath)}"
8
8
  execute "mkdir -p #{fetch(:docker_mountpath)}"
9
+ fetch(:volumes).each do |name,vol|
10
+ execute "mkdir -p -m7777 #{fetch(:docker_mountpath)}/#{name}"
11
+ end
9
12
  end
10
13
  end
11
14
 
@@ -29,7 +32,6 @@ namespace :docker do
29
32
  end
30
33
  end
31
34
  fetch(:volumes).each do |name,vol|
32
- execute "mkdir -p -m7777 #{fetch(:docker_mountpath)}/#{name}"
33
35
  cmd << "-v `pwd`/#{fetch(:docker_mountpath)}/#{name}:#{vol}:rw "
34
36
  end
35
37
  fetch(:links, {}).each do |link,name|
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.1.1
4
+ version: 0.1.2
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-10-18 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano