docker-api 1.15.0 → 1.16.0

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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -1
  3. data/Rakefile +37 -0
  4. data/TESTING.md +61 -0
  5. data/lib/docker.rb +8 -1
  6. data/lib/docker/container.rb +44 -80
  7. data/lib/docker/exec.rb +98 -0
  8. data/lib/docker/image.rb +4 -3
  9. data/lib/docker/util.rb +79 -0
  10. data/lib/docker/version.rb +2 -2
  11. data/spec/docker/container_spec.rb +192 -56
  12. data/spec/docker/event_spec.rb +4 -4
  13. data/spec/docker/exec_spec.rb +197 -0
  14. data/spec/docker/image_spec.rb +131 -102
  15. data/spec/docker_spec.rb +37 -27
  16. data/spec/fixtures/build_from_dir/Dockerfile +2 -2
  17. data/spec/fixtures/export.tar +0 -0
  18. data/spec/fixtures/top/Dockerfile +2 -2
  19. data/spec/spec_helper.rb +10 -0
  20. data/spec/support/vcr.rb +5 -0
  21. data/spec/vcr/Docker/_authenticate_/with_valid_credentials/logs_in_and_sets_the_creds.yml +6 -8
  22. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +7 -9
  23. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +7 -9
  24. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +7 -9
  25. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +46 -139
  26. data/spec/vcr/Docker_Container/_attach/with_normal_sized_chunks/yields_each_chunk.yml +62 -20
  27. data/spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml +62 -20
  28. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +71 -28
  29. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +69 -23
  30. data/spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml +134 -0
  31. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml +73 -290
  32. data/spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml +51 -211
  33. data/spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml +36 -17
  34. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml +30 -9
  35. data/spec/vcr/Docker_Container/_delete/deletes_the_container.yml +17 -23
  36. data/spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml +151 -0
  37. data/spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml +153 -0
  38. data/spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml +153 -0
  39. data/spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml +100 -0
  40. data/spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml +152 -0
  41. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +263 -28
  42. data/spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml +36 -17
  43. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +36 -17
  44. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +55 -53
  45. data/spec/vcr/Docker_Container/_kill/with_a_kill_signal/kills_the_container.yml +74 -96
  46. data/spec/vcr/Docker_Container/_logs/when_not_selecting_any_stream/raises_a_client_error.yml +84 -81
  47. data/spec/vcr/Docker_Container/_logs/when_selecting_stdout/returns_blank_logs.yml +34 -15
  48. data/spec/vcr/Docker_Container/_pause/pauses_the_container.yml +98 -45
  49. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +88 -56
  50. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +39 -22
  51. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_returns_a_status_code_of_0/creates_a_new_container_to_run_the_specified_command.yml +212 -60
  52. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +45 -30
  53. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +54 -83
  54. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml +84 -81
  55. data/spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml +46 -30
  56. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +103 -40
  57. data/spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml +81 -57
  58. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +39 -22
  59. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +39 -22
  60. data/spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml +128 -0
  61. data/spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml +155 -0
  62. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml +152 -0
  63. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml +152 -0
  64. data/spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml +151 -0
  65. data/spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml +151 -0
  66. data/spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml +151 -0
  67. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +86 -200
  68. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml +10 -14
  69. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml +147 -39
  70. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml +10 -14
  71. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +12 -14
  72. data/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 +118 -16
  73. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml +118 -14
  74. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml +109 -37
  75. data/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 -60
  76. 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 +41 -2631
  77. data/spec/vcr/Docker_Image/_exist_/when_the_image_does_exist/returns_true.yml +12 -19
  78. data/spec/vcr/Docker_Image/_get/when_the_image_does_exist/returns_the_new_image.yml +7 -9
  79. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +17 -198
  80. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_invalid/raises_an_error.yml +26 -30
  81. data/spec/vcr/Docker_Image/_import/when_the_argument_is_a_URI/when_the_URI_is_valid/returns_an_Image.yml +246 -22
  82. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +35 -10
  83. data/spec/vcr/Docker_Image/_insert_local/when_a_direcory_is_passed/inserts_the_directory.yml +1249 -74
  84. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/creates_a_new_image.yml +84 -94
  85. data/spec/vcr/Docker_Image/_insert_local/when_removing_intermediate_containers/leave_no_intermediate_containers.yml +70 -92
  86. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_exist/creates_a_new_Image_that_has_that_file.yml +125 -98
  87. data/spec/vcr/Docker_Image/_insert_local/when_the_local_file_does_not_exist/raises_an_error.yml +13 -60
  88. data/spec/vcr/Docker_Image/_insert_local/when_there_are_multiple_files_passed/creates_a_new_Image_that_has_each_file.yml +190 -135
  89. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +15 -198
  90. data/spec/vcr/Docker_Image/_push/pushes_the_Image.yml +169 -264
  91. data/spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml +175 -4543
  92. data/spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml +90 -206
  93. data/spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml +300 -0
  94. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +77 -207
  95. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +77 -207
  96. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml +160 -0
  97. data/spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml +16 -197
  98. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +151 -73
  99. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +42 -196
  100. metadata +67 -41
  101. data/spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml +0 -58
  102. data/spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/returns_the_error_message.yml +0 -163
  103. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +0 -58
  104. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml +0 -41
  105. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +0 -276
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: unix:///var/run/docker.sock/v1.12/images/create?fromImage=base
5
+ uri: "<DOCKER_HOST>/v1.15/images/create?fromImage=debian%3Awheezy"
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Swipely/Docker-API 1.13.6
11
+ - Swipely/Docker-API 1.15.0
12
12
  Content-Type:
13
13
  - text/plain
14
14
  response:
@@ -19,208 +19,25 @@ http_interactions:
19
19
  Content-Type:
20
20
  - application/json
21
21
  Date:
22
- - Mon, 27 Oct 2014 22:56:38 GMT
22
+ - Mon, 01 Dec 2014 18:08:46 GMT
23
23
  body:
24
24
  encoding: UTF-8
25
- string: "{\"status\":\"Pulling repository base\"}\r\n{\"status\":\"Pulling image
26
- (ubuntu-quantl) from base\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
27
- image (ubuntu-quantl) from base, endpoint: https://registry-1.docker.io/v1/\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
28
- dependent layers\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
29
- metadata\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Pulling
30
- fs layer\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":530807,\"total\":94863360,\"start\":1414450600},\"progress\":\"[\\u003e
31
- \ ] 530.8 kB/94.86 MB 1m50s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":1071479,\"total\":94863360,\"start\":1414450600},\"progress\":\"[\\u003e
32
- \ ] 1.071 MB/94.86 MB 1m2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":1612151,\"total\":94863360,\"start\":1414450600},\"progress\":\"[\\u003e
33
- \ ] 1.612 MB/94.86 MB 44s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":2152823,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=\\u003e
34
- \ ] 2.153 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":2693495,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=\\u003e
35
- \ ] 2.693 MB/94.86 MB 32s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":3234167,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=\\u003e
36
- \ ] 3.234 MB/94.86 MB 27s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":3774839,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=\\u003e
37
- \ ] 3.775 MB/94.86 MB 29s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":4315511,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==\\u003e
38
- \ ] 4.316 MB/94.86 MB 31s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":4856183,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==\\u003e
39
- \ ] 4.856 MB/94.86 MB 33s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":5396855,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==\\u003e
40
- \ ] 5.397 MB/94.86 MB 34s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":5937527,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===\\u003e
41
- \ ] 5.938 MB/94.86 MB 35s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":6478199,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===\\u003e
42
- \ ] 6.478 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":7018871,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===\\u003e
43
- \ ] 7.019 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":7559543,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===\\u003e
44
- \ ] 7.56 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":8100215,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====\\u003e
45
- \ ] 8.1 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":8640887,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====\\u003e
46
- \ ] 8.641 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":9181559,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====\\u003e
47
- \ ] 9.182 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":9722231,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====\\u003e
48
- \ ] 9.722 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":10262903,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====\\u003e
49
- \ ] 10.26 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":10803575,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====\\u003e
50
- \ ] 10.8 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":11344247,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====\\u003e
51
- \ ] 11.34 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":11884919,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======\\u003e
52
- \ ] 11.88 MB/94.86 MB 38s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":12425591,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======\\u003e
53
- \ ] 12.43 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":12966263,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======\\u003e
54
- \ ] 12.97 MB/94.86 MB 37s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":13506935,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======\\u003e
55
- \ ] 13.51 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":14047607,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======\\u003e
56
- \ ] 14.05 MB/94.86 MB 36s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":14588279,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======\\u003e
57
- \ ] 14.59 MB/94.86 MB 35s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":15128951,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======\\u003e
58
- \ ] 15.13 MB/94.86 MB 35s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":15669623,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========\\u003e
59
- \ ] 15.67 MB/94.86 MB 34s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":16210295,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========\\u003e
60
- \ ] 16.21 MB/94.86 MB 34s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":16750967,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========\\u003e
61
- \ ] 16.75 MB/94.86 MB 33s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":17291639,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========\\u003e
62
- \ ] 17.29 MB/94.86 MB 33s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":17832311,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========\\u003e
63
- \ ] 17.83 MB/94.86 MB 32s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":18372983,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========\\u003e
64
- \ ] 18.37 MB/94.86 MB 32s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":18913655,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========\\u003e
65
- \ ] 18.91 MB/94.86 MB 31s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":19454327,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========\\u003e
66
- \ ] 19.45 MB/94.86 MB 31s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":19994999,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========\\u003e
67
- \ ] 19.99 MB/94.86 MB 30s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":20535671,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========\\u003e
68
- \ ] 20.54 MB/94.86 MB 30s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":21076343,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========\\u003e
69
- \ ] 21.08 MB/94.86 MB 29s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":21617015,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========\\u003e
70
- \ ] 21.62 MB/94.86 MB 29s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":22157687,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========\\u003e
71
- \ ] 22.16 MB/94.86 MB 28s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":22698359,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========\\u003e
72
- \ ] 22.7 MB/94.86 MB 28s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":23239031,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============\\u003e
73
- \ ] 23.24 MB/94.86 MB 28s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":23779703,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============\\u003e
74
- \ ] 23.78 MB/94.86 MB 27s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":24320375,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============\\u003e
75
- \ ] 24.32 MB/94.86 MB 27s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":24861047,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============\\u003e
76
- \ ] 24.86 MB/94.86 MB 26s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":25401719,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============\\u003e
77
- \ ] 25.4 MB/94.86 MB 26s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":25942391,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============\\u003e
78
- \ ] 25.94 MB/94.86 MB 26s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":26483063,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============\\u003e
79
- \ ] 26.48 MB/94.86 MB 25s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":27023735,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============\\u003e
80
- \ ] 27.02 MB/94.86 MB 25s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":27564407,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============\\u003e
81
- \ ] 27.56 MB/94.86 MB 24s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":28105079,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============\\u003e
82
- \ ] 28.11 MB/94.86 MB 24s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":28645751,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============\\u003e
83
- \ ] 28.65 MB/94.86 MB 24s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":29186423,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============\\u003e
84
- \ ] 29.19 MB/94.86 MB 23s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":29727095,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============\\u003e
85
- \ ] 29.73 MB/94.86 MB 23s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":30267767,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============\\u003e
86
- \ ] 30.27 MB/94.86 MB 23s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":30808439,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================\\u003e
87
- \ ] 30.81 MB/94.86 MB 23s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":31349111,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================\\u003e
88
- \ ] 31.35 MB/94.86 MB 22s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":31889783,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================\\u003e
89
- \ ] 31.89 MB/94.86 MB 22s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":32430455,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================\\u003e
90
- \ ] 32.43 MB/94.86 MB 22s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":32971127,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================\\u003e
91
- \ ] 32.97 MB/94.86 MB 21s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":33511799,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================\\u003e
92
- \ ] 33.51 MB/94.86 MB 21s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":34052471,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================\\u003e
93
- \ ] 34.05 MB/94.86 MB 21s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":34593143,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================\\u003e
94
- \ ] 34.59 MB/94.86 MB 21s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":35133815,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================\\u003e
95
- \ ] 35.13 MB/94.86 MB 21s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":35674487,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================\\u003e
96
- \ ] 35.67 MB/94.86 MB 20s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":36215159,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================\\u003e
97
- \ ] 36.22 MB/94.86 MB 20s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":36755831,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================\\u003e
98
- \ ] 36.76 MB/94.86 MB 20s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":37296503,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================\\u003e
99
- \ ] 37.3 MB/94.86 MB 20s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":37837175,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================\\u003e
100
- \ ] 37.84 MB/94.86 MB 19s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":38377847,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================\\u003e
101
- \ ] 38.38 MB/94.86 MB 19s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":38918519,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================\\u003e
102
- \ ] 38.92 MB/94.86 MB 19s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":39459191,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================\\u003e
103
- \ ] 39.46 MB/94.86 MB 19s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":39999863,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================\\u003e
104
- \ ] 40 MB/94.86 MB 18s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":40540535,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================\\u003e
105
- \ ] 40.54 MB/94.86 MB 18s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":41081207,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================\\u003e
106
- \ ] 41.08 MB/94.86 MB 18s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":41621879,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================\\u003e
107
- \ ] 41.62 MB/94.86 MB 18s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":42162551,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================\\u003e
108
- \ ] 42.16 MB/94.86 MB 17s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":42703223,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================\\u003e
109
- \ ] 42.7 MB/94.86 MB 17s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":43243895,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================\\u003e
110
- \ ] 43.24 MB/94.86 MB 17s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":43784567,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================\\u003e
111
- \ ] 43.78 MB/94.86 MB 17s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":44325239,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================\\u003e
112
- \ ] 44.33 MB/94.86 MB 17s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":44865911,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================\\u003e
113
- \ ] 44.87 MB/94.86 MB 16s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":45406583,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================\\u003e
114
- \ ] 45.41 MB/94.86 MB 16s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":45947255,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================\\u003e
115
- \ ] 45.95 MB/94.86 MB 16s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":46487927,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================\\u003e
116
- \ ] 46.49 MB/94.86 MB 16s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":47028599,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================\\u003e
117
- \ ] 47.03 MB/94.86 MB 15s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":47569271,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================\\u003e
118
- \ ] 47.57 MB/94.86 MB 15s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":48109943,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================\\u003e
119
- \ ] 48.11 MB/94.86 MB 15s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":48650615,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================\\u003e
120
- \ ] 48.65 MB/94.86 MB 15s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":49191287,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================\\u003e
121
- \ ] 49.19 MB/94.86 MB 15s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":49731959,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================\\u003e
122
- \ ] 49.73 MB/94.86 MB 14s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":50272631,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================\\u003e
123
- \ ] 50.27 MB/94.86 MB 14s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":50813303,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================\\u003e
124
- \ ] 50.81 MB/94.86 MB 14s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":51353975,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================\\u003e
125
- \ ] 51.35 MB/94.86 MB 14s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":51881775,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================\\u003e
126
- \ ] 51.88 MB/94.86 MB 13s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":52422447,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================\\u003e
127
- \ ] 52.42 MB/94.86 MB 13s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":52963119,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================\\u003e
128
- \ ] 52.96 MB/94.86 MB 13s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":53503791,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================\\u003e
129
- \ ] 53.5 MB/94.86 MB 13s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":54044463,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================\\u003e
130
- \ ] 54.04 MB/94.86 MB 13s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":54585135,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================\\u003e
131
- \ ] 54.59 MB/94.86 MB 12s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":55125807,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================\\u003e
132
- \ ] 55.13 MB/94.86 MB 12s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":55666479,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================\\u003e
133
- \ ] 55.67 MB/94.86 MB 12s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":56207151,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================\\u003e
134
- \ ] 56.21 MB/94.86 MB 12s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":56747823,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================\\u003e
135
- \ ] 56.75 MB/94.86 MB 11s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":57288495,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================\\u003e
136
- \ ] 57.29 MB/94.86 MB 11s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":57829167,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================\\u003e
137
- \ ] 57.83 MB/94.86 MB 11s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":58369839,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================\\u003e
138
- \ ] 58.37 MB/94.86 MB 11s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":58910511,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================\\u003e
139
- \ ] 58.91 MB/94.86 MB 11s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":59451183,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================\\u003e
140
- \ ] 59.45 MB/94.86 MB 10s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":59991855,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================\\u003e
141
- \ ] 59.99 MB/94.86 MB 10s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":60520111,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================\\u003e
142
- \ ] 60.52 MB/94.86 MB 10s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":61059095,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================\\u003e
143
- \ ] 61.06 MB/94.86 MB 10s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":61599767,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================\\u003e
144
- \ ] 61.6 MB/94.86 MB 10s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":62140439,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================\\u003e
145
- \ ] 62.14 MB/94.86 MB 9s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":62681111,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================\\u003e
146
- \ ] 62.68 MB/94.86 MB 9s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":63221783,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================\\u003e
147
- \ ] 63.22 MB/94.86 MB 9s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":63757983,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================\\u003e
148
- \ ] 63.76 MB/94.86 MB 9s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":64298655,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================\\u003e
149
- \ ] 64.3 MB/94.86 MB 9s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":64839327,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================================\\u003e
150
- \ ] 64.84 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":65379999,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================================\\u003e
151
- \ ] 65.38 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":65920671,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================================\\u003e
152
- \ ] 65.92 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":66461343,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================================\\u003e
153
- \ ] 66.46 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":67002015,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================================\\u003e
154
- \ ] 67 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":67542687,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================================\\u003e
155
- \ ] 67.54 MB/94.86 MB 8s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":68083359,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===================================\\u003e
156
- \ ] 68.08 MB/94.86 MB 7s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":68624031,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================================\\u003e
157
- \ ] 68.62 MB/94.86 MB 7s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":69164703,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================================\\u003e
158
- \ ] 69.16 MB/94.86 MB 7s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":69705375,\"total\":94863360,\"start\":1414450600},\"progress\":\"[====================================\\u003e
159
- \ ] 69.71 MB/94.86 MB 7s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":70246047,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================================\\u003e
160
- \ ] 70.25 MB/94.86 MB 7s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":70786719,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================================\\u003e
161
- \ ] 70.79 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":71327391,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================================\\u003e
162
- \ ] 71.33 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":71868063,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=====================================\\u003e
163
- \ ] 71.87 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":72408735,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================================\\u003e
164
- \ ] 72.41 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":72949407,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================================\\u003e
165
- \ ] 72.95 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":73490079,\"total\":94863360,\"start\":1414450600},\"progress\":\"[======================================\\u003e
166
- \ ] 73.49 MB/94.86 MB 6s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":74030751,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================================\\u003e
167
- \ ] 74.03 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":74571423,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================================\\u003e
168
- \ ] 74.57 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":75112095,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================================\\u003e
169
- \ ] 75.11 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":75652767,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=======================================\\u003e
170
- \ ] 75.65 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":76193439,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================================\\u003e
171
- \ ] 76.19 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":76734111,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================================\\u003e
172
- \ ] 76.73 MB/94.86 MB 5s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":77274783,\"total\":94863360,\"start\":1414450600},\"progress\":\"[========================================\\u003e
173
- \ ] 77.27 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":77815455,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================================\\u003e
174
- \ ] 77.82 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":78356127,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================================\\u003e
175
- \ ] 78.36 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":78896799,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================================\\u003e
176
- \ ] 78.9 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":79437471,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=========================================\\u003e
177
- \ ] 79.44 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":79978143,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================================\\u003e
178
- \ ] 79.98 MB/94.86 MB 4s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":80518815,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================================\\u003e
179
- \ ] 80.52 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":81059487,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==========================================\\u003e
180
- \ ] 81.06 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":81600159,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================================\\u003e
181
- \ ] 81.6 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":82140831,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================================\\u003e
182
- \ ] 82.14 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":82681503,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================================\\u003e
183
- \ ] 82.68 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":83222175,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===========================================\\u003e
184
- \ ] 83.22 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":83762847,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================================\\u003e
185
- \ ] 83.76 MB/94.86 MB 3s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":84303519,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================================\\u003e
186
- \ ] 84.3 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":84844191,\"total\":94863360,\"start\":1414450600},\"progress\":\"[============================================\\u003e
187
- \ ] 84.84 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":85384863,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================================\\u003e
188
- \ ] 85.38 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":85925535,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================================\\u003e
189
- \ ] 85.93 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":86466207,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================================\\u003e
190
- \ ] 86.47 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":87006879,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=============================================\\u003e
191
- \ ] 87.01 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":87547551,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================================\\u003e
192
- \ ] 87.55 MB/94.86 MB 2s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":88088223,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================================\\u003e
193
- \ ] 88.09 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":88628895,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================================\\u003e
194
- \ ] 88.63 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":89169567,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==============================================\\u003e
195
- \ ] 89.17 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":89710239,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================================\\u003e
196
- \ ] 89.71 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":90250911,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================================\\u003e
197
- \ ] 90.25 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":90791583,\"total\":94863360,\"start\":1414450600},\"progress\":\"[===============================================\\u003e
198
- \ ] 90.79 MB/94.86 MB 1s\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":91332255,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================================\\u003e
199
- \ ] 91.33 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":91872927,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================================\\u003e
200
- \ ] 91.87 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":92413599,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================================\\u003e
201
- \ ] 92.41 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":92954271,\"total\":94863360,\"start\":1414450600},\"progress\":\"[================================================\\u003e
202
- \ ] 92.95 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":93494943,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================================\\u003e
203
- ] 93.49 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":94035615,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================================\\u003e
204
- ] 94.04 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":94576287,\"total\":94863360,\"start\":1414450600},\"progress\":\"[=================================================\\u003e
205
- ] 94.58 MB/94.86 MB 0\",\"id\":\"27cf78414709\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":94863360,\"total\":94863360,\"start\":1414450600},\"progress\":\"[==================================================\\u003e]
206
- 94.86 MB/94.86 MB\",\"id\":\"27cf78414709\"}{\"status\":\"Download complete\",\"progressDetail\":{},\"id\":\"27cf78414709\"}{\"status\":\"Pulling
207
- metadata\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Pulling
208
- fs layer\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Downloading\",\"progressDetail\":{\"current\":3647,\"total\":10240,\"start\":1414450627},\"progress\":\"[=================\\u003e
209
- \ ] 3.647 kB/10.24 kB 0\",\"id\":\"b750fe79269d\"}{\"status\":\"Download
210
- complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Download
211
- complete\",\"progressDetail\":{},\"id\":\"b750fe79269d\"}{\"status\":\"Status:
212
- Downloaded newer image for base\"}\r\n"
25
+ string: "{\"status\":\"The image you are pulling has been verified\",\"id\":\"debian:wheezy\"}\r\n{\"status\":\"Already
26
+ exists\",\"progressDetail\":{},\"id\":\"511136ea3c5a\"}{\"status\":\"Already
27
+ exists\",\"progressDetail\":{},\"id\":\"f10807909bc5\"}{\"status\":\"Already
28
+ exists\",\"progressDetail\":{},\"id\":\"f6fab3b798be\"}{\"status\":\"Status:
29
+ Image is up to date for debian:wheezy\"}\r\n"
213
30
  http_version:
214
- recorded_at: Mon, 27 Oct 2014 22:57:07 GMT
31
+ recorded_at: Mon, 01 Dec 2014 18:08:46 GMT
215
32
  - request:
216
33
  method: post
217
- uri: unix:///var/run/docker.sock/v1.12/images/b750fe79269d/tag?force=true&repo=base2
34
+ uri: "<DOCKER_HOST>/v1.15/images/f6fab3b798be/tag?force=true&repo=teh"
218
35
  body:
219
36
  encoding: US-ASCII
220
37
  string: ''
221
38
  headers:
222
39
  User-Agent:
223
- - Swipely/Docker-API 1.13.6
40
+ - Swipely/Docker-API 1.15.0
224
41
  Content-Type:
225
42
  - text/plain
226
43
  response:
@@ -229,7 +46,7 @@ http_interactions:
229
46
  message:
230
47
  headers:
231
48
  Date:
232
- - Mon, 27 Oct 2014 22:57:07 GMT
49
+ - Mon, 01 Dec 2014 18:08:46 GMT
233
50
  Content-Length:
234
51
  - '0'
235
52
  Content-Type:
@@ -238,5 +55,34 @@ http_interactions:
238
55
  encoding: UTF-8
239
56
  string: ''
240
57
  http_version:
241
- recorded_at: Mon, 27 Oct 2014 22:57:07 GMT
58
+ recorded_at: Mon, 01 Dec 2014 18:08:46 GMT
59
+ - request:
60
+ method: delete
61
+ uri: "<DOCKER_HOST>/v1.15/images/teh:latest?noprune=true"
62
+ body:
63
+ encoding: US-ASCII
64
+ string: ''
65
+ headers:
66
+ User-Agent:
67
+ - Swipely/Docker-API 1.15.0
68
+ Content-Type:
69
+ - text/plain
70
+ response:
71
+ status:
72
+ code: 200
73
+ message:
74
+ headers:
75
+ Content-Type:
76
+ - application/json
77
+ Date:
78
+ - Mon, 01 Dec 2014 18:08:46 GMT
79
+ Content-Length:
80
+ - '28'
81
+ body:
82
+ encoding: UTF-8
83
+ string: |-
84
+ [{"Untagged":"teh:latest"}
85
+ ]
86
+ http_version:
87
+ recorded_at: Mon, 01 Dec 2014 18:08:46 GMT
242
88
  recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,167 +1,167 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
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-11-14 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.38.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.38.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: archive-tar-minitar
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-its
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: cane
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: pry
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: vcr
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 2.7.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.7.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: webmock
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  description: A simple REST client for the Docker Remote API
@@ -173,14 +173,15 @@ executables: []
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
- - .cane
177
- - .gitignore
178
- - .simplecov
179
- - .travis.yml
176
+ - ".cane"
177
+ - ".gitignore"
178
+ - ".simplecov"
179
+ - ".travis.yml"
180
180
  - Gemfile
181
181
  - LICENSE
182
182
  - README.md
183
183
  - Rakefile
184
+ - TESTING.md
184
185
  - docker-api.gemspec
185
186
  - lib/docker.rb
186
187
  - lib/docker/base.rb
@@ -188,6 +189,7 @@ files:
188
189
  - lib/docker/container.rb
189
190
  - lib/docker/error.rb
190
191
  - lib/docker/event.rb
192
+ - lib/docker/exec.rb
191
193
  - lib/docker/image.rb
192
194
  - lib/docker/messages.rb
193
195
  - lib/docker/rake_task.rb
@@ -197,11 +199,13 @@ files:
197
199
  - spec/docker/connection_spec.rb
198
200
  - spec/docker/container_spec.rb
199
201
  - spec/docker/event_spec.rb
202
+ - spec/docker/exec_spec.rb
200
203
  - spec/docker/image_spec.rb
201
204
  - spec/docker/messages_spec.rb
202
205
  - spec/docker/util_spec.rb
203
206
  - spec/docker_spec.rb
204
207
  - spec/fixtures/build_from_dir/Dockerfile
208
+ - spec/fixtures/export.tar
205
209
  - spec/fixtures/top/Dockerfile
206
210
  - spec/spec_helper.rb
207
211
  - spec/support/vcr.rb
@@ -214,12 +218,17 @@ files:
214
218
  - spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml
215
219
  - spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml
216
220
  - spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml
217
- - spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml
221
+ - spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml
218
222
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
219
223
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
220
224
  - spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml
221
225
  - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml
222
226
  - spec/vcr/Docker_Container/_delete/deletes_the_container.yml
227
+ - spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml
228
+ - spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml
229
+ - spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml
230
+ - spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml
231
+ - spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml
223
232
  - spec/vcr/Docker_Container/_export/yields_each_chunk.yml
224
233
  - spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml
225
234
  - spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml
@@ -234,20 +243,24 @@ files:
234
243
  - spec/vcr/Docker_Container/_start/starts_the_container.yml
235
244
  - spec/vcr/Docker_Container/_stop/stops_the_container.yml
236
245
  - spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml
237
- - spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/returns_the_error_message.yml
238
246
  - spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml
239
247
  - spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml
240
248
  - spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml
241
249
  - spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml
242
- - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml
243
250
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml
251
+ - spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml
252
+ - spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml
253
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml
254
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml
255
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml
256
+ - spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml
257
+ - spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml
244
258
  - spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml
245
259
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml
246
260
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml
247
261
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml
248
262
  - spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
249
263
  - 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
250
- - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml
251
264
  - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml
252
265
  - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml
253
266
  - 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
@@ -268,9 +281,10 @@ files:
268
281
  - spec/vcr/Docker_Image/_push/pushes_the_Image.yml
269
282
  - spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml
270
283
  - spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml
271
- - spec/vcr/Docker_Image/_remove/removes_the_Image.yml
284
+ - spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml
272
285
  - spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml
273
286
  - spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
287
+ - spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml
274
288
  - spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml
275
289
  - spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
276
290
  - spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml
@@ -284,17 +298,17 @@ require_paths:
284
298
  - lib
285
299
  required_ruby_version: !ruby/object:Gem::Requirement
286
300
  requirements:
287
- - - '>='
301
+ - - ">="
288
302
  - !ruby/object:Gem::Version
289
303
  version: '0'
290
304
  required_rubygems_version: !ruby/object:Gem::Requirement
291
305
  requirements:
292
- - - '>='
306
+ - - ">="
293
307
  - !ruby/object:Gem::Version
294
308
  version: '0'
295
309
  requirements: []
296
310
  rubyforge_project:
297
- rubygems_version: 2.0.14
311
+ rubygems_version: 2.2.2
298
312
  signing_key:
299
313
  specification_version: 4
300
314
  summary: A simple REST client for the Docker Remote API
@@ -302,11 +316,13 @@ test_files:
302
316
  - spec/docker/connection_spec.rb
303
317
  - spec/docker/container_spec.rb
304
318
  - spec/docker/event_spec.rb
319
+ - spec/docker/exec_spec.rb
305
320
  - spec/docker/image_spec.rb
306
321
  - spec/docker/messages_spec.rb
307
322
  - spec/docker/util_spec.rb
308
323
  - spec/docker_spec.rb
309
324
  - spec/fixtures/build_from_dir/Dockerfile
325
+ - spec/fixtures/export.tar
310
326
  - spec/fixtures/top/Dockerfile
311
327
  - spec/spec_helper.rb
312
328
  - spec/support/vcr.rb
@@ -319,12 +335,17 @@ test_files:
319
335
  - spec/vcr/Docker_Container/_attach/with_very_small_chunks/yields_each_chunk.yml
320
336
  - spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml
321
337
  - spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml
322
- - spec/vcr/Docker_Container/_commit/if_run_is_passed_it_saves_the_command_in_the_image/saves_the_command.yml
338
+ - spec/vcr/Docker_Container/_copy/when_the_file_does_not_exist/raises_an_error.yml
323
339
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_directory/yields_each_chunk_of_the_tarred_directory.yml
324
340
  - spec/vcr/Docker_Container/_copy/when_the_input_is_a_file/yields_each_chunk_of_the_tarred_file.yml
325
341
  - spec/vcr/Docker_Container/_create/when_creating_a_container_named_bob/should_have_name_set_to_bob.yml
326
342
  - spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist/when_the_HTTP_request_returns_a_200/sets_the_id.yml
327
343
  - spec/vcr/Docker_Container/_delete/deletes_the_container.yml
344
+ - spec/vcr/Docker_Container/_exec/when_detach_is_true/returns_the_Docker_Exec_object.yml
345
+ - spec/vcr/Docker_Container/_exec/when_passed_a_block/streams_the_stdout/stderr_messages.yml
346
+ - spec/vcr/Docker_Container/_exec/when_passed_only_a_command/returns_the_stdout/stderr_messages.yml
347
+ - spec/vcr/Docker_Container/_exec/when_stdin_object_is_passed/returns_the_stdout/stderr_messages.yml
348
+ - spec/vcr/Docker_Container/_exec/when_tty_is_true/returns_the_raw_stdout/stderr_output.yml
328
349
  - spec/vcr/Docker_Container/_export/yields_each_chunk.yml
329
350
  - spec/vcr/Docker_Container/_get/when_the_HTTP_response_is_a_200/materializes_the_Container_into_a_Docker_Container.yml
330
351
  - spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml
@@ -339,20 +360,24 @@ test_files:
339
360
  - spec/vcr/Docker_Container/_start/starts_the_container.yml
340
361
  - spec/vcr/Docker_Container/_stop/stops_the_container.yml
341
362
  - spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/raises_a_client_error.yml
342
- - spec/vcr/Docker_Container/_streaming_logs/when_not_selecting_any_stream/returns_the_error_message.yml
343
363
  - spec/vcr/Docker_Container/_streaming_logs/when_selecting_stdout/returns_blank_logs.yml
344
364
  - spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml
345
365
  - spec/vcr/Docker_Container/_unpause/unpauses_the_container.yml
346
366
  - spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml
347
- - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml
348
367
  - spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml
368
+ - spec/vcr/Docker_Exec/_create/when_the_HTTP_request_returns_a_201/sets_the_id.yml
369
+ - spec/vcr/Docker_Exec/_resize/when_exec_instance_has_TTY_enabled/returns_a_200.yml
370
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/block_is_passed/attaches_to_the_stream.yml
371
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_false/returns_the_stdout_and_stderr_messages.yml
372
+ - spec/vcr/Docker_Exec/_start_/when_detach_is_set_to_true/returns_empty_stdout_and_stderr_messages.yml
373
+ - spec/vcr/Docker_Exec/_start_/when_the_HTTP_request_returns_a_201/starts_the_exec_instance.yml
374
+ - spec/vcr/Docker_Exec/_start_/when_the_command_has_already_run/raises_an_error.yml
349
375
  - spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml
350
376
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_a_block_capturing_build_output/calls_the_block_and_passes_build_output.yml
351
377
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/with_specifying_a_repo_in_the_query_parameters/builds_an_image_and_tags_it.yml
352
378
  - spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/without_query_parameters/builds_an_image.yml
353
379
  - spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml
354
380
  - 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
355
- - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_Docker_creds.yml
356
381
  - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_credentials_passed/sends_X-Registry-Config_header.yml
357
382
  - spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_no_query_parameters/builds_the_image.yml
358
383
  - 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
@@ -373,9 +398,10 @@ test_files:
373
398
  - spec/vcr/Docker_Image/_push/pushes_the_Image.yml
374
399
  - spec/vcr/Docker_Image/_push/when_there_are_no_credentials/still_pushes.yml
375
400
  - spec/vcr/Docker_Image/_refresh_/updates_the_info_hash.yml
376
- - spec/vcr/Docker_Image/_remove/removes_the_Image.yml
401
+ - spec/vcr/Docker_Image/_remove/when_no_name_is_given/removes_the_Image.yml
377
402
  - spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml
378
403
  - spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml
404
+ - spec/vcr/Docker_Image/_run/when_the_argument_is_nil/command_configured_in_image/should_normally_show_result_if_image_has_Cmd_configured.yml
379
405
  - spec/vcr/Docker_Image/_run/when_the_argument_is_nil/no_command_configured_in_image/should_raise_an_error_if_no_command_is_specified.yml
380
406
  - spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml
381
407
  - spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml