dawn-cli 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -3
  3. data/bin/dawni +15 -0
  4. data/lib/dawn/cli/commands.rb +9 -8
  5. data/lib/dawn/cli/commands/app.rb +35 -6
  6. data/lib/dawn/cli/commands/auth.rb +9 -7
  7. data/lib/dawn/cli/commands/base_commands.rb +31 -0
  8. data/lib/dawn/cli/commands/domain.rb +15 -5
  9. data/lib/dawn/cli/commands/drain.rb +15 -5
  10. data/lib/dawn/cli/commands/env.rb +25 -14
  11. data/lib/dawn/cli/commands/key.rb +20 -7
  12. data/lib/dawn/cli/commands/local.rb +13 -3
  13. data/lib/dawn/cli/commands/release.rb +6 -4
  14. data/lib/dawn/cli/helpers.rb +3 -5
  15. data/lib/dawn/cli/output_formatter.rb +15 -2
  16. data/lib/dawn/cli/parser.rb +58 -36
  17. data/lib/dawn/cli/version.rb +2 -2
  18. data/spec/api.log +45272 -0
  19. data/spec/cli/commands/app_spec.rb +71 -0
  20. data/spec/cli/commands/auth_spec.rb +13 -0
  21. data/spec/cli/commands/domain_spec.rb +25 -0
  22. data/spec/cli/commands/drain_spec.rb +25 -0
  23. data/spec/cli/commands/env_spec.rb +26 -0
  24. data/spec/cli/commands/key_spec.rb +30 -0
  25. data/spec/cli/commands/local_spec.rb +15 -0
  26. data/spec/cli/commands/release_spec.rb +19 -0
  27. data/spec/cli/parser_spec.rb +262 -0
  28. data/spec/cli_spec_helper.rb +13 -0
  29. data/spec/support/vcr.rb +11 -0
  30. data/spec/vcr/Dawn_CLI_App/_create/should_create_a_new_app_with_a_name.yml +51 -0
  31. data/spec/vcr/Dawn_CLI_App/_create/should_create_a_new_app_without_a_name.yml +51 -0
  32. data/spec/vcr/Dawn_CLI_App/_delete/should_delete_current_app.yml +98 -0
  33. data/spec/vcr/Dawn_CLI_App/_list/should_list_all_available_apps.yml +65 -0
  34. data/spec/vcr/Dawn_CLI_App/_list_gears/should_list_all_gears_for_current_app.yml +98 -0
  35. data/spec/vcr/Dawn_CLI_App/_logs/should_trail_the_current_app_s_logs.yml +98 -0
  36. data/spec/vcr/Dawn_CLI_App/_scale/should_modify_the_formation_for_the_current_app.yml +98 -0
  37. data/spec/vcr/Dawn_CLI_Auth/_login/should_login_using_proper_credentials.yml +48 -0
  38. data/spec/vcr/Dawn_CLI_Auth/_login/should_not_login_using_invalid_credentials.yml +46 -0
  39. data/spec/vcr/Dawn_CLI_Domain/_add/should_add_a_domain_to_the_current_app.yml +96 -0
  40. data/spec/vcr/Dawn_CLI_Domain/_delete/should_delete_a_domain_to_the_current_app.yml +97 -0
  41. data/spec/vcr/Dawn_CLI_Domain/_list/should_list_all_domains_for_current_app.yml +102 -0
  42. data/spec/vcr/Dawn_CLI_Drain/_add/should_add_a_drain_to_the_current_app.yml +359 -0
  43. data/spec/vcr/Dawn_CLI_Drain/_delete/should_remove_a_drain_from_current_app.yml +476 -0
  44. data/spec/vcr/Dawn_CLI_Drain/_list/should_list_all_drains_for_current_app.yml +98 -0
  45. data/spec/vcr/Dawn_CLI_Env/_get/should_retrieve_an_ENV_variable_given_a_key.yml +51 -0
  46. data/spec/vcr/Dawn_CLI_Env/_set/should_set_an_ENV_variable_given_a_Hash.yml +424 -0
  47. data/spec/vcr/Dawn_CLI_Env/_unset/should_remove_an_ENV_variable_given_a_key.yml +275 -0
  48. data/spec/vcr/Dawn_CLI_Key/_add/should_add_existing_id_rsa.yml +52 -0
  49. data/spec/vcr/Dawn_CLI_Key/_delete/should_delete_a_key_by_id.yml +101 -0
  50. data/spec/vcr/Dawn_CLI_Key/_get/should_retrieve_a_key_by_id.yml +102 -0
  51. data/spec/vcr/Dawn_CLI_Key/_list/should_list_all_keys_deployed.yml +53 -0
  52. data/spec/vcr/Dawn_CLI_Local/_health_check/should_verify_that_server_is_running.yml +50 -0
  53. data/spec/vcr/Dawn_CLI_Local/_whoami/should_print_current_user_to_console.yml +51 -0
  54. metadata +43 -4
@@ -0,0 +1,13 @@
1
+ $:.unshift(File.expand_path("../lib", File.dirname(__FILE__)))
2
+ require "rspec"
3
+ require "rspec/expectations"
4
+ require "dawn/cli/parser"
5
+
6
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
7
+
8
+ RSpec.configure do |config|
9
+ config.mock_with :rspec
10
+ config.color = true
11
+ config.formatter = :documentation
12
+ config.tty = true
13
+ end
@@ -0,0 +1,11 @@
1
+ require 'vcr'
2
+ require 'webmock'
3
+
4
+ VCR.configure do |c|
5
+ #c.allow_http_connections_when_no_cassette = false
6
+ c.hook_into :excon
7
+ c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'vcr')
8
+ c.configure_rspec_metadata!
9
+ c.default_cassette_options = { record: :new_episodes }
10
+ #c.default_cassette_options = { record: :all }
11
+ end
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.dawn.dev/apps
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"app":{"name":"crispy-judge"}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"2255e04539af7c716b760a7e7886886a"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - 14d10238-5535-462c-9cca-aee97222ebc4
37
+ x-runtime:
38
+ - '0.036248'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:21:22 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"app":{"id":18,"created_at":"2014-06-24 22:21:22 UTC","updated_at":"2014-06-24
48
+ 22:21:22 UTC","name":"crispy-judge","version":0,"env":{},"formation":{"web":"1"},"url":"crispy-judge.dawnapp.dev"}}'
49
+ http_version:
50
+ recorded_at: Tue, 24 Jun 2014 22:21:42 GMT
51
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.dawn.dev/apps
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"app":{"name":null}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"598e5d9eaac707ccff3f8d4dbbed539d"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - d6fe2990-fc4b-4a8b-accb-d021d9bb607c
37
+ x-runtime:
38
+ - '0.092005'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:21:21 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"app":{"id":17,"created_at":"2014-06-24 22:21:21 UTC","updated_at":"2014-06-24
48
+ 22:21:21 UTC","name":"sick-brown-32","version":0,"env":{},"formation":{"web":"1"},"url":"sick-brown-32.dawnapp.dev"}}'
49
+ http_version:
50
+ recorded_at: Tue, 24 Jun 2014 22:21:41 GMT
51
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.dawn.dev/apps/crispy-judge
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"2255e04539af7c716b760a7e7886886a"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - e898be1f-67a8-4d78-a8d4-a5923bfc7210
37
+ x-runtime:
38
+ - '0.056372'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:25:05 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"app":{"id":18,"created_at":"2014-06-24 22:21:22 UTC","updated_at":"2014-06-24
48
+ 22:21:22 UTC","name":"crispy-judge","version":0,"env":{},"formation":{"web":"1"},"url":"crispy-judge.dawnapp.dev"}}'
49
+ http_version:
50
+ recorded_at: Tue, 24 Jun 2014 22:25:25 GMT
51
+ - request:
52
+ method: delete
53
+ uri: http://api.dawn.dev/apps/18
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers:
58
+ Accept:
59
+ - application/json
60
+ Content-Type:
61
+ - application/json
62
+ Accept-Encoding:
63
+ - gzip
64
+ User-Agent:
65
+ - dawn/0.10.1
66
+ X-Ruby-Version:
67
+ - 2.1.2
68
+ X-Ruby-Platform:
69
+ - x86_64-linux
70
+ Authorization:
71
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
72
+ response:
73
+ status:
74
+ code: 200
75
+ message:
76
+ headers:
77
+ content-type:
78
+ - text/html
79
+ etag:
80
+ - '"1ce274e88a32b6499661c494df064296"'
81
+ cache-control:
82
+ - max-age=0, private, must-revalidate
83
+ x-request-id:
84
+ - 131895a1-6024-44b2-b8dd-d62593663e07
85
+ x-runtime:
86
+ - '0.065157'
87
+ transfer-encoding:
88
+ - ''
89
+ connection:
90
+ - TE, close
91
+ Date:
92
+ - Tue, 24 Jun 2014 22:25:10 GMT
93
+ body:
94
+ encoding: UTF-8
95
+ string: '{"message":"app has been destroyed"}'
96
+ http_version:
97
+ recorded_at: Tue, 24 Jun 2014 22:25:30 GMT
98
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,65 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.dawn.dev/apps
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"b01482c2585fba0bdf33bc5188ceac4c"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - 01f51aeb-3100-429f-97bd-4b311b392a4f
37
+ x-runtime:
38
+ - '0.091846'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:21:29 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '[{"app":{"id":2,"created_at":"2014-06-24 18:36:05 UTC","updated_at":"2014-06-24
48
+ 18:36:05 UTC","name":"domains-test","version":0,"env":{},"formation":{"web":"1"},"url":"domains-test.dawnapp.dev"}},{"app":{"id":3,"created_at":"2014-06-24
49
+ 18:36:06 UTC","updated_at":"2014-06-24 18:36:06 UTC","name":"domain-test","version":0,"env":{},"formation":{"web":"1"},"url":"domain-test.dawnapp.dev"}},{"app":{"id":4,"created_at":"2014-06-24
50
+ 18:36:11 UTC","updated_at":"2014-06-24 18:36:11 UTC","name":"drains-test","version":0,"env":{},"formation":{"web":"1"},"url":"drains-test.dawnapp.dev"}},{"app":{"id":5,"created_at":"2014-06-24
51
+ 18:36:12 UTC","updated_at":"2014-06-24 18:36:12 UTC","name":"drain-test","version":0,"env":{},"formation":{"web":"1"},"url":"drain-test.dawnapp.dev"}},{"app":{"id":6,"created_at":"2014-06-24
52
+ 18:36:17 UTC","updated_at":"2014-06-24 18:36:17 UTC","name":"gears-test","version":0,"env":{},"formation":{"web":"1"},"url":"gears-test.dawnapp.dev"}},{"app":{"id":7,"created_at":"2014-06-24
53
+ 18:36:18 UTC","updated_at":"2014-06-24 18:36:18 UTC","name":"gear-test","version":0,"env":{},"formation":{"web":"1"},"url":"gear-test.dawnapp.dev"}},{"app":{"id":8,"created_at":"2014-06-24
54
+ 18:36:20 UTC","updated_at":"2014-06-24 18:36:20 UTC","name":"releases-test","version":0,"env":{},"formation":{"web":"1"},"url":"releases-test.dawnapp.dev"}},{"app":{"id":9,"created_at":"2014-06-24
55
+ 18:36:20 UTC","updated_at":"2014-06-24 18:36:20 UTC","name":"release-test","version":0,"env":{},"formation":{"web":"1"},"url":"release-test.dawnapp.dev"}},{"app":{"id":10,"created_at":"2014-06-24
56
+ 18:36:22 UTC","updated_at":"2014-06-24 18:36:22 UTC","name":"env-test","version":0,"env":{},"formation":{"web":"1"},"url":"env-test.dawnapp.dev"}},{"app":{"id":11,"created_at":"2014-06-24
57
+ 18:39:55 UTC","updated_at":"2014-06-24 18:39:55 UTC","name":"high-morse-82","version":0,"env":{},"formation":{"web":"1"},"url":"high-morse-82.dawnapp.dev"}},{"app":{"id":14,"created_at":"2014-06-24
58
+ 18:53:16 UTC","updated_at":"2014-06-24 18:53:16 UTC","name":"jovial-pike-55","version":0,"env":{},"formation":{"web":"1"},"url":"jovial-pike-55.dawnapp.dev"}},{"app":{"id":15,"created_at":"2014-06-24
59
+ 19:08:41 UTC","updated_at":"2014-06-24 19:08:41 UTC","name":"app-test","version":0,"env":{},"formation":{"web":"1"},"url":"app-test.dawnapp.dev"}},{"app":{"id":16,"created_at":"2014-06-24
60
+ 21:59:06 UTC","updated_at":"2014-06-24 22:01:42 UTC","name":"cookie-crushers","version":0,"env":{},"formation":{"web":"2"},"url":"cookie-crushers.dawnapp.dev"}},{"app":{"id":17,"created_at":"2014-06-24
61
+ 22:21:21 UTC","updated_at":"2014-06-24 22:21:21 UTC","name":"sick-brown-32","version":0,"env":{},"formation":{"web":"1"},"url":"sick-brown-32.dawnapp.dev"}},{"app":{"id":18,"created_at":"2014-06-24
62
+ 22:21:22 UTC","updated_at":"2014-06-24 22:21:22 UTC","name":"crispy-judge","version":0,"env":{},"formation":{"web":"1"},"url":"crispy-judge.dawnapp.dev"}}]'
63
+ http_version:
64
+ recorded_at: Tue, 24 Jun 2014 22:21:50 GMT
65
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.dawn.dev/apps/app-test
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"d5f561456fce1e85587f20c72f7e3305"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - d3aa329d-7a78-47c6-b292-1db45da29ea9
37
+ x-runtime:
38
+ - '0.023672'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:21:30 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"app":{"id":15,"created_at":"2014-06-24 19:08:41 UTC","updated_at":"2014-06-24
48
+ 19:08:41 UTC","name":"app-test","version":0,"env":{},"formation":{"web":"1"},"url":"app-test.dawnapp.dev"}}'
49
+ http_version:
50
+ recorded_at: Tue, 24 Jun 2014 22:21:50 GMT
51
+ - request:
52
+ method: get
53
+ uri: http://api.dawn.dev/apps/15/gears
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers:
58
+ Accept:
59
+ - application/json
60
+ Content-Type:
61
+ - application/json
62
+ Accept-Encoding:
63
+ - gzip
64
+ User-Agent:
65
+ - dawn/0.10.1
66
+ X-Ruby-Version:
67
+ - 2.1.2
68
+ X-Ruby-Platform:
69
+ - x86_64-linux
70
+ Authorization:
71
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
72
+ response:
73
+ status:
74
+ code: 200
75
+ message:
76
+ headers:
77
+ content-type:
78
+ - text/html
79
+ etag:
80
+ - '"d751713988987e9331980363e24189ce"'
81
+ cache-control:
82
+ - max-age=0, private, must-revalidate
83
+ x-request-id:
84
+ - 9a2b61f6-435a-4bc6-a87b-8dbf62716213
85
+ x-runtime:
86
+ - '0.021116'
87
+ transfer-encoding:
88
+ - ''
89
+ connection:
90
+ - TE, close
91
+ Date:
92
+ - Tue, 24 Jun 2014 22:21:32 GMT
93
+ body:
94
+ encoding: UTF-8
95
+ string: "[]"
96
+ http_version:
97
+ recorded_at: Tue, 24 Jun 2014 22:21:53 GMT
98
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.dawn.dev/apps/app-test
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip
16
+ User-Agent:
17
+ - dawn/0.10.1
18
+ X-Ruby-Version:
19
+ - 2.1.2
20
+ X-Ruby-Platform:
21
+ - x86_64-linux
22
+ Authorization:
23
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
24
+ response:
25
+ status:
26
+ code: 200
27
+ message:
28
+ headers:
29
+ content-type:
30
+ - text/html
31
+ etag:
32
+ - '"3706693ac5e209a35be13767e42109c6"'
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ x-request-id:
36
+ - 22c53e55-7075-4052-8305-6b7da580ce34
37
+ x-runtime:
38
+ - '0.025555'
39
+ transfer-encoding:
40
+ - ''
41
+ connection:
42
+ - TE, close
43
+ Date:
44
+ - Tue, 24 Jun 2014 22:23:54 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"app":{"id":15,"created_at":"2014-06-24 19:08:41 UTC","updated_at":"2014-06-24
48
+ 22:21:35 UTC","name":"app-test","version":0,"env":{},"formation":{"web":"2"},"url":"app-test.dawnapp.dev"}}'
49
+ http_version:
50
+ recorded_at: Tue, 24 Jun 2014 22:24:14 GMT
51
+ - request:
52
+ method: get
53
+ uri: http://api.dawn.dev/apps/15/logs?tail=false
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ''
57
+ headers:
58
+ Accept:
59
+ - application/json
60
+ Content-Type:
61
+ - application/json
62
+ Accept-Encoding:
63
+ - gzip
64
+ User-Agent:
65
+ - dawn/0.10.1
66
+ X-Ruby-Version:
67
+ - 2.1.2
68
+ X-Ruby-Platform:
69
+ - x86_64-linux
70
+ Authorization:
71
+ - Basic SWNlRHJhZ29uOmFGM0VHM1hjdW16Sm1LcGFIeUI5
72
+ response:
73
+ status:
74
+ code: 200
75
+ message:
76
+ headers:
77
+ content-type:
78
+ - text/html
79
+ etag:
80
+ - '"a29a821b348570a427b3e52fda5c3a91"'
81
+ cache-control:
82
+ - max-age=0, private, must-revalidate
83
+ x-request-id:
84
+ - b21a520b-d7e1-482e-a12f-f4c40d480013
85
+ x-runtime:
86
+ - '0.034857'
87
+ transfer-encoding:
88
+ - ''
89
+ connection:
90
+ - TE, close
91
+ Date:
92
+ - Tue, 24 Jun 2014 22:23:58 GMT
93
+ body:
94
+ encoding: UTF-8
95
+ string: '{"logs":"/sessions/af98169c-4714-4683-90d3-4f84ef474a85"}'
96
+ http_version:
97
+ recorded_at: Tue, 24 Jun 2014 22:24:18 GMT
98
+ recorded_with: VCR 2.9.2