docker-api 1.34.0 → 1.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/lib/docker/util.rb +2 -1
- data/lib/docker/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4316523d43ba5a3e24f42f5eae2efab140f472f
|
4
|
+
data.tar.gz: 74b8a64ced780ee23a735ae916c6b141ed9cf07b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24713b6480cb4e1a7c948b86a898181e83f6be5719959925d873f09b4b4c4672b47aa0e1eb8f987ba962be8c23c56e55ebfa8943cd716e65be64704fe5233df9
|
7
|
+
data.tar.gz: 9051f10166d00078703559fb92624ceb1cba960b2b41c6939e791616057dc6105e10f7e3656e13fad2ad37ba166d5d3b0d79c652187fbc80e5ec3710c6f8fef1
|
data/README.md
CHANGED
@@ -413,7 +413,7 @@ container.read_file("/test")
|
|
413
413
|
|
414
414
|
# Export a Container. Since an export is typically at least 300M, chunks of the
|
415
415
|
# export are yielded instead of just returning the whole thing.
|
416
|
-
File.open('export.tar', 'w') do |
|
416
|
+
File.open('export.tar', 'w') do |file|
|
417
417
|
container.export { |chunk| file.write(chunk) }
|
418
418
|
end
|
419
419
|
# => nil
|
@@ -622,10 +622,6 @@ image 'repo:new_tag' => 'repo:tag' do
|
|
622
622
|
end
|
623
623
|
```
|
624
624
|
|
625
|
-
## Known issues
|
626
|
-
|
627
|
-
* If the docker daemon is always responding to your requests with a 400 Bad Request when using UNIX sockets, verify you're running Excon version 0.46.0 or greater. [Link](https://github.com/swipely/docker-api/issues/381)
|
628
|
-
|
629
625
|
## Not supported (yet)
|
630
626
|
|
631
627
|
* Generating a tarball of images and metadata for a repository specified by a name: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.14/#get-a-tarball-containing-all-images-and-tags-in-a-repository
|
data/lib/docker/util.rb
CHANGED
@@ -241,8 +241,9 @@ module Docker::Util
|
|
241
241
|
|
242
242
|
def build_config_header(credentials)
|
243
243
|
if credentials.is_a?(String)
|
244
|
-
credentials =
|
244
|
+
credentials = MultiJson.load(credentials, symbolize_keys: true)
|
245
245
|
end
|
246
|
+
|
246
247
|
header = MultiJson.dump(
|
247
248
|
credentials[:serveraddress].to_s => {
|
248
249
|
'username' => credentials[:username].to_s,
|
data/lib/docker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.34.
|
4
|
+
version: 1.34.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swipely, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -195,9 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.5.1
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: A simple REST client for the Docker Remote API
|
202
202
|
test_files: []
|
203
|
-
has_rdoc:
|