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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2db6b56f9a424fde8e27e045689ffdeba003e248
|
4
|
+
data.tar.gz: 2644eba3650dc90892d56487ef83870e7e6f38a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
12
|
-
JSON.parse(
|
10
|
+
resp = `curl -sSL #{url}`
|
11
|
+
JSON.parse(resp)
|
13
12
|
end
|
14
13
|
|
15
14
|
def deregister(id)
|
data/lib/containers_manager.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|