docker-api 1.10.1 → 1.10.2
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 +4 -4
- data/README.md +3 -3
- data/lib/docker/image.rb +4 -7
- data/lib/docker/version.rb +1 -1
- data/spec/docker/image_spec.rb +12 -2
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml +697 -0
- metadata +4 -4
- data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +0 -38
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.10.
|
|
4
|
+
version: 1.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Swipely, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: excon
|
|
@@ -211,7 +211,7 @@ files:
|
|
|
211
211
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml
|
|
212
212
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml
|
|
213
213
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml
|
|
214
|
-
- spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/
|
|
214
|
+
- spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml
|
|
215
215
|
- spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml
|
|
216
216
|
- spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml
|
|
217
217
|
- spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml
|
|
@@ -301,7 +301,7 @@ test_files:
|
|
|
301
301
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml
|
|
302
302
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml
|
|
303
303
|
- spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_the_image_and_tags_it.yml
|
|
304
|
-
- spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/
|
|
304
|
+
- spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id_and_sends_Docker_creds.yml
|
|
305
305
|
- spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml
|
|
306
306
|
- spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml
|
|
307
307
|
- spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: post
|
|
5
|
-
uri: unix:///var/run/docker.sock/v1.10/images/create?fromImage=base
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- Swipely/Docker-API 1.9.1
|
|
12
|
-
Content-Type:
|
|
13
|
-
- text/plain
|
|
14
|
-
response:
|
|
15
|
-
status:
|
|
16
|
-
code: 200
|
|
17
|
-
message:
|
|
18
|
-
headers:
|
|
19
|
-
Content-Type:
|
|
20
|
-
- application/json
|
|
21
|
-
Date:
|
|
22
|
-
- Wed, 12 Mar 2014 13:32:12 GMT
|
|
23
|
-
Connection:
|
|
24
|
-
- close
|
|
25
|
-
Transfer-Encoding:
|
|
26
|
-
- ''
|
|
27
|
-
body:
|
|
28
|
-
encoding: UTF-8
|
|
29
|
-
string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
|
|
30
|
-
(ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
|
31
|
-
image (ubuntu-quantl) from base, endpoint: https://cdn-registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
|
|
32
|
-
dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
|
33
|
-
complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Download
|
|
34
|
-
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
|
|
35
|
-
complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}"
|
|
36
|
-
http_version:
|
|
37
|
-
recorded_at: Wed, 12 Mar 2014 13:32:13 GMT
|
|
38
|
-
recorded_with: VCR 2.8.0
|