capdocker 1.0.75 → 1.0.76

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: ebbe926a7ef6ea93e658147261f5c3cd89eb7e9a
4
- data.tar.gz: bd025cff9092ab84658a5a71ae4e3e0eaffd4e57
3
+ metadata.gz: 6c0eba8942075be16dd3039f0d1a4135f29587c2
4
+ data.tar.gz: 3569563b8ad078e086d1c033615d16d9ec1b2f95
5
5
  SHA512:
6
- metadata.gz: fccd71845ef925a2c632e086dfa35f4efc77ba14985b9284720dce0c05b6bf09d35cf9bf51651dd4eaf2218d243dbb74f18e0fe0e605acfc3fdabe97cae11067
7
- data.tar.gz: c00ca2462d82e41f9d6d3dcf4d424f2d0eff9a445339b3aaf0edd8bab6cfea8a8067fa583205ec1bb72260e531123a4a4b013d87d33b9f95507fe2398a7c85bc
6
+ metadata.gz: 999cde2d69e3e3623c73826ba9a68033801698dfb8cc700271acbba0548783abb1b5eacd25b0d24c068af78659149a70cdf396fe2ed711ea48237747b1e1ddb1
7
+ data.tar.gz: 260d51c87737fccf753f5205e4cb37d22a21af7eb6ff015d0ea654e3c243a525442d1c701ba8ebaf178284ea21598c0cb777fc6820e843e7565a620d4f1519fd
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.75"
5
+ s.version = "1.0.76"
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
@@ -14,7 +14,7 @@ Capistrano::Configuration.instance(:must_exist).load do
14
14
  if !n[auth_base]
15
15
  user = Capistrano::CLI.ui.ask("Account Name: ")
16
16
  tok =Capistrano::CLI.ui.ask("Account Token: ")
17
- uri = URI::parse("http://#{auth_base}/account/auth/?account=#{user}&token=#{tok}")
17
+ uri = URI.parse("http://#{auth_base}/account/auth/?account=#{user}&token=#{tok}")
18
18
  result = JSON.parse(Net::HTTP.get_response(uri))
19
19
  n[auth_base] = result["success"], result["token"]
20
20
  n.save
@@ -28,7 +28,7 @@ Capistrano::Configuration.instance(:must_exist).load do
28
28
  desc "After a successful login, connect to the deploy server and receive deploy information"
29
29
  task :get_deploy do
30
30
  login
31
- uri = URI::parse("http://#{auth_base}/account/appinfo/?account=#{auth_account}&token=#{auth_token}&app=#{application}")
31
+ uri = URI.parse("http://#{auth_base}/account/appinfo/?account=#{auth_account}&token=#{auth_token}&app=#{application}")
32
32
  result = JSON.parse(Net::HTTP.get_response(uri))
33
33
  setup_app if result["error"]
34
34
  end
@@ -36,7 +36,7 @@ Capistrano::Configuration.instance(:must_exist).load do
36
36
  desc "After a successful login, connect to the deploy server and receive deploy information"
37
37
  task :setup_app do
38
38
  login
39
- uri = URI::parse("http://#{auth_base}/account/appcreate/?account=#{auth_account}&token=#{auth_token}")
39
+ uri = URI.parse("http://#{auth_base}/account/appcreate/?account=#{auth_account}&token=#{auth_token}")
40
40
  result = JSON.parse(
41
41
  Net::HTTP.post_form(uri, 'app' => application)
42
42
  )
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.75
4
+ version: 1.0.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley