dockerlib-remote 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2JlMWM0MzBiZWRiMmYxZGIyYjcwZTI4Nzg4NTkyZjk5ODNjMTE1YQ==
4
+ ZmVkNjJiZmIyYTA0NDdkZmUxZTBiYTVhNzA4MzkxNDgxZDAxNDNiNg==
5
5
  data.tar.gz: !binary |-
6
- ZTUwYTUyODgyYWNkMGRlM2QxMTVhYjEwN2M1NmQ4ZjI2MWQ1ZGY0MQ==
6
+ NTFhNzU2OTE5OTUxYWU2YTExOWQ4YmIyN2JkMDQxNmU5YzkxZjYyZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzY1MWE0NWE3NWVhNjlmYzc0YTNjMDFhYmNkNDQwYmM5YjE0NmRjNzVmOTNm
10
- YWRmNTFiOThkZjhlYTAxODY2ZTZjOTI3MTQ3ZjM5NmEzOWQ2NTdhMjQxMThk
11
- ZjFiMmJiMDJiMzVmZGNhYzUwYmFjNDZhMjNmMDI2OGJmOWZjMWM=
9
+ NGNhNzJlOGEwYzkwNTc4MGY4OGU4M2M4MTYwMjczY2NjNDdjNGU0MmE0MGVj
10
+ NWI5ZGJhYzljZjJhYmZkNjU5MzI4MmY3NDJkNzA2OTE1NDU4YzU0ZjBjZjcx
11
+ YWQ0ZDYxOTY5MjhkOGQxY2NlNDIyMTgwZGIyNGFlMWQzZTVmMmQ=
12
12
  data.tar.gz: !binary |-
13
- NWFkY2M1ZGM0MDU5YzlmN2Y5YTk1NThkYzZkYmFjYTYzMTZlYzE4MzM2Y2Iy
14
- YzVhOGM4MTZmOTI0ZTRkZGYzYmU5M2E2ZWUxYWExYzM4Y2MxNWIxOThkNDM0
15
- ZDljN2Q1ZDU0YTBjYTJhMDM3MzNhN2I1OGExN2ZkYjFmMzJmZGM=
13
+ ZTY4MjkyN2Q3Yzg1ZmU2ZTEyYzdlMWQ0MmNjMTU3Mzk0OThmOTZjNjkyM2Yy
14
+ MDM3NmFiYjZlZjM2OWQyZjVmYjY4YTQ5M2EzOGQzYmI1NGZhY2Y1ZWM3ZWIx
15
+ NWQ4OWI4NWQzZDkxNDE4NmM2Yjc4YTcyZmU1YTRkNTUyZjk3YTE=
@@ -8,7 +8,7 @@ module Dockerlib
8
8
  def inspect_container(name)
9
9
  resp = connection.request(method: :get, path: "/containers/#{name}/json")
10
10
  if resp.status == 200
11
- {d: load_body(resp)}
11
+ {data: load_body(resp)}
12
12
  elsif resp.status == 404
13
13
  {code: :no_such_container}
14
14
  else
@@ -27,8 +27,8 @@ module Dockerlib
27
27
  end
28
28
 
29
29
  def to_server_error(resp)
30
- {error: :server_error, d: {http_status: resp.status,
31
- http_body: resp.body}}
30
+ {error: :server_error, data: {http_status: resp.status,
31
+ http_body: resp.body}}
32
32
  end
33
33
  end # Client
34
34
  end # Remote
@@ -1,5 +1,5 @@
1
1
  module Dockerlib
2
2
  module Remote
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - flant