capdocker 1.0.57 → 1.0.58

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/capdocker.gemspec +1 -1
  3. data/lib/auth.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a4596690f91de912962fb6be5a19ef85d116ba2
4
- data.tar.gz: 04f432a20195e54c98a72d6fde99029b4069e474
3
+ metadata.gz: 91f3f3799d4e49044ba399d244f48b3eb61d8dd4
4
+ data.tar.gz: 4c07b9189f42e4cef5889db0f951c3ffa3e75b48
5
5
  SHA512:
6
- metadata.gz: 13f61a4384e2e48db04bd1842ec11adb73ac56c78aa7733eb22a1455e42dc42dfcf8c718dfbb7fa1b8b5a087e9d05a0eca6f1833199777de8e272af869953e8e
7
- data.tar.gz: 2884e0b8ef5eaa07e51d93cd8eada3322db7717b31435abfec3a8dae4fc4cd9230847e64af3529ec44f2c895d6429d6884bf22053e700f8f48c0dc2333d36022
6
+ metadata.gz: 55a33c1c3dd5c0f96444f7916c1f696844bd20a2966aca13ab4623948e22315acdb0ee54bfbd0b45341113a3254b7fcb8730ef5e4245dd85dd328ebda18595b8
7
+ data.tar.gz: 0ed624bc822f2be8ef60200a6dbaf587aba13ffae17da2422b41a7e37423df37145dd24bc54149dd316b8773a86cd4379d6213f133f2d3d95a6f9309d58bafaa
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.57"
5
+ s.version = "1.0.58"
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/auth.rb CHANGED
@@ -22,14 +22,14 @@ Capistrano::Configuration.instance(:must_exist).load do
22
22
  end
23
23
  n = Netrc.read
24
24
  user,tok = n["docker.collecta.co.uk"]
25
- set :account, user
26
- set :token, tok
25
+ set :auth_account, user
26
+ set :auth_token, tok
27
27
  end
28
28
 
29
29
  desc "After a successful login, connect to the deploy server and receive deploy information"
30
30
  task :get_deploy do
31
31
  login
32
- result = JSON.parse(open("http://#{auth_base}/account/appinfo/?account=#{user}&token=#{tok}&app=#{application}").read)
32
+ result = JSON.parse(open("http://#{auth_base}/account/appinfo/?account=#{auth_account}&token=#{auth_token}&app=#{application}").read)
33
33
  puts result
34
34
  end
35
35
 
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.57
4
+ version: 1.0.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley