dockerlib-remote 0.1.3 → 0.1.4

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: 14089169f6775c8bcf4e334dac3232946d3829ab
4
- data.tar.gz: c7ea7f5b59053770d0cbf8fb1411244eaa4a12d5
3
+ metadata.gz: c11e5621d7f0a86efdf7b5c0aac93a547c260a47
4
+ data.tar.gz: 2f8da1f32cea2fdd538ca13fd1e299e4bc2ecf48
5
5
  SHA512:
6
- metadata.gz: 34921b14e13dee722c57701e9014baf6868c49ab90d9fc5d30f158920b2033893dddad14b9ca95d4b01ac2846158ebb417aad52605b61d4edc324fc84993d4d6
7
- data.tar.gz: aeb6e2b0992f5d2c80ee430a6eb4842c57d99d65c7ea9345873380534a1a5682a0bfeb7fe057fb3f3bfc19de3528507910a04e180c27251dd53b891778962400
6
+ metadata.gz: 5fd4e0715c3d2017c9fd19ee497e36d2651d7c542cff64aa372331eb9bf3215875b7977a2211df28a1e9e1d01273244cfc3d8d3875ee331acedee93ee297334a
7
+ data.tar.gz: de1ad888be0c0521fd54134496df9442a7bfe30c7209b8b861b6823751173a126206641d1c92818b5c24461dfc4abb6f054b9c1f56b9b88d8efdcc0b4cd8349a
@@ -27,6 +27,10 @@ module Dockerlib
27
27
  end
28
28
  end
29
29
 
30
+ def containers
31
+ get('/containers/json')
32
+ end
33
+
30
34
  def get(path)
31
35
  resp = connection.request(method: :get, path: path)
32
36
  if resp.status == 200
@@ -1,5 +1,5 @@
1
1
  module Dockerlib
2
2
  module Remote
3
- VERSION = '0.1.3'.freeze
3
+ VERSION = '0.1.4'.freeze
4
4
  end # Remote
5
5
  end # Dockerlib
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerlib-remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - flant