docker-api 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/lib/docker/container.rb +7 -0
  4. data/lib/docker/version.rb +2 -2
  5. data/spec/docker/container_spec.rb +21 -6
  6. data/spec/docker/image_spec.rb +1 -3
  7. data/spec/docker_spec.rb +2 -1
  8. data/spec/vcr/Docker/_info/returns_the_info_as_a_Hash.yml +12 -15
  9. data/spec/vcr/Docker/_validate_version/when_nothing_is_raised/validate_version_/.yml +12 -15
  10. data/spec/vcr/Docker/_version/returns_the_version_as_a_Hash.yml +12 -15
  11. data/spec/vcr/Docker_Container/_all/when_the_HTTP_response_is_a_200/materializes_each_Container_into_a_Docker_Container.yml +207 -3364
  12. data/spec/vcr/Docker_Container/_attach/yields_each_chunk.yml +31 -39
  13. data/spec/vcr/Docker_Container/_changes/returns_the_changes_as_an_array.yml +45 -57
  14. data/spec/vcr/Docker_Container/_commit/creates_a_new_Image_from_the_Container_s_changes.yml +34 -43
  15. data/spec/vcr/Docker_Container/_create/when_the_Container_does_not_yet_exist_and_the_body_is_a_Hash/when_the_HTTP_request_returns_a_200/sets_the_id.yml +13 -16
  16. data/spec/vcr/Docker_Container/_export/yields_each_chunk.yml +52 -47
  17. data/spec/vcr/Docker_Container/_json/returns_the_description_as_a_Hash.yml +24 -30
  18. data/spec/vcr/Docker_Container/_kill/kills_the_container.yml +121 -1712
  19. data/spec/vcr/Docker_Container/_restart/restarts_the_container.yml +78 -99
  20. data/spec/vcr/Docker_Container/_run/when_the_Container_s_command_does_not_return_status_code_of_0/raises_an_error.yml +34 -43
  21. 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 +90 -116
  22. data/spec/vcr/Docker_Container/_start/starts_the_container.yml +35 -44
  23. data/spec/vcr/Docker_Container/_stop/stops_the_container.yml +131 -1724
  24. data/spec/vcr/Docker_Container/_top/returns_the_top_commands_as_an_Array.yml +84 -0
  25. data/spec/vcr/Docker_Container/_wait/waits_for_the_command_to_finish.yml +34 -43
  26. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/and_a_command_runs_for_too_long/raises_a_ServerError.yml +23 -29
  27. data/spec/vcr/Docker_Container/_wait/when_an_argument_is_given/sets_the_read_timeout_to_that_amount_of_time.yml +34 -43
  28. data/spec/vcr/Docker_Image/_all/materializes_each_Image_into_a_Docker_Image.yml +25 -32
  29. data/spec/vcr/Docker_Image/_build/with_a_valid_Dockerfile/builds_an_image.yml +43 -20
  30. data/spec/vcr/Docker_Image/_build/with_an_invalid_Dockerfile/throws_a_UnexpectedResponseError.yml +41 -23
  31. data/spec/vcr/Docker_Image/_create/when_the_Image_does_not_yet_exist_and_the_body_is_a_Hash/sets_the_id.yml +12 -16
  32. data/spec/vcr/Docker_Image/_history/returns_the_history_of_the_Image.yml +23 -30
  33. data/spec/vcr/Docker_Image/_insert/inserts_the_url_s_file_into_a_new_Image.yml +113 -99
  34. data/spec/vcr/Docker_Image/_json/returns_additional_information_about_image_image.yml +23 -30
  35. data/spec/vcr/Docker_Image/_remove/removes_the_Image.yml +34 -44
  36. data/spec/vcr/Docker_Image/_run/when_the_argument_is_a_String/splits_the_String_by_spaces_and_creates_a_new_Container.yml +42 -54
  37. data/spec/vcr/Docker_Image/_run/when_the_argument_is_an_Array/creates_a_new_Container.yml +42 -54
  38. data/spec/vcr/Docker_Image/_search/materializes_each_Image_into_a_Docker_Image.yml +15 -17
  39. data/spec/vcr/Docker_Image/_tag/tags_the_image_with_the_repo_name.yml +22 -29
  40. metadata +4 -6
  41. data/spec/vcr/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/builds_the_image.yml +0 -124
  42. data/spec/vcr/Docker_Image/_import/when_the_file_does_exist/creates_the_Image.yml +0 -35

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.