containers_manager 0.1.9 → 0.1.10

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: 5f8424df422fdf725ef741ab1691a32a98596d63
4
- data.tar.gz: 9293945ec1ed64861fb20ee9b70faa5a70d50f14
3
+ metadata.gz: 2db6b56f9a424fde8e27e045689ffdeba003e248
4
+ data.tar.gz: 2644eba3650dc90892d56487ef83870e7e6f38a0
5
5
  SHA512:
6
- metadata.gz: 1acaa5f536be8341cdaa4e68112b428746a661cd7ba8a9a0a15805710bbef7f7714c2d5b3de381f9a20740739535aaa5a48b9e53a13c5e8623e96d3c272537e5
7
- data.tar.gz: 5bdec9203dd7f17e7426cd443842bc0035bfaa73682d78ff551281499148d47006f7bbfa8258ad8529dbf70cd03a1aa20505a86f6c6ebc51f8077312680f77ea
6
+ metadata.gz: f1bc3dbe24c0cd2b5969f8a4540febc0370249942702f43be4979dc21071442b00c06715bc8701e89cc05a7c182670c0b453fc74409d5755e0ad9db1c13af115
7
+ data.tar.gz: 230c0ca2c0d2337b2215d37191e989db05914a56b946a7f478a8ffa47979ca701bb2041fa2eecc497bbaef3ef577d1145e1da5c2f2f85121ba209c13b6ff0f8d
@@ -1,4 +1,3 @@
1
- require 'net/http'
2
1
  require 'json'
3
2
 
4
3
  module ContainersManager
@@ -8,8 +7,8 @@ module ContainersManager
8
7
  end
9
8
 
10
9
  def services(url)
11
- uri = URI(url)
12
- JSON.parse(Net::HTTP.get(uri))
10
+ resp = `curl -sSL #{url}`
11
+ JSON.parse(resp)
13
12
  end
14
13
 
15
14
  def deregister(id)
@@ -1,3 +1,3 @@
1
1
  module ContainersManager
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
@@ -15,6 +15,3 @@ require 'containers_manager/tasks/deregister_task'
15
15
  require 'containers_manager/application'
16
16
 
17
17
  require 'containers_manager/cli'
18
-
19
- module ContainersManager
20
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: containers_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duc Le
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-29 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler