capdocker 1.0.23 → 1.0.24

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: a4744afabb3773379cd110a1cab1f82de4911a70
4
- data.tar.gz: d6ad50ffbdbc0197c6f23054ac4dbd9325660425
3
+ metadata.gz: 5173e02f1a094d93f0a63cbf9417d6dea544e62e
4
+ data.tar.gz: 053e062a1122266d08bf4de7c06bfae8bfbda682
5
5
  SHA512:
6
- metadata.gz: 3a8e9f573e300436831365a37810bc442c09f6f75c6fb1040f84867c89e5a03a4e68cd62b6af1c3e0b6b305b02d5897fb7e87c15367ab035d5be35f06afd5644
7
- data.tar.gz: 66924a6907375a1aa010cbc2a094912d27fb707d78d8111b544cdd06b793ba7d7b8d319260f22133b9437b6ddc911cf3c6334e8bf20a387a7a05aadbea7e4515
6
+ metadata.gz: cf15599c1ba6af7c43d911c70ae0a2548822439f72b7d96b94e62e92ded6a7c462d1e310634599ec462f7464e63a107095c84bda22578c53a4e3a1d2af4f284e
7
+ data.tar.gz: 84631ecffd555f100bfdfbef372cf95584699534e00a0339bd0a3a69dc2ad2b3c93b7fbb5af30eee7714a736c83a2c4668dee7d4b7776eaa24978fc1785b02f8
data/capdocker.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{capdocker}
5
- s.version = "1.0.23"
5
+ s.version = "1.0.24"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.email = %q{ross@oneblackbear.com}
8
8
  s.date = Time.now
data/lib/docker_deploy.rb CHANGED
@@ -49,9 +49,9 @@ Capistrano::Configuration.instance(:must_exist).load do
49
49
  task :update_code do
50
50
  puts "Pushing code for current git commit ..."
51
51
  set :tag, %x[git rev-parse --short HEAD].strip() + ".tar.gz"
52
- top.run_locally "git archive HEAD | gzip > #{tag}"
53
- top.upload "#{tag}", "containers/#{application}", :via => :scp, :mkdir => true
54
- top.run_locally "rm #{tag}"
52
+ run_locally "git archive HEAD | gzip > #{tag}"
53
+ upload "#{tag}", "containers/#{application}", :via => :scp, :mkdir => true
54
+ run_locally "rm #{tag}"
55
55
  run "cd containers/#{application} && tar -xzvf #{tag}"
56
56
  run "rm containers/#{application}/#{tag}"
57
57
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capdocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley