elasticity 1.4.1 → 1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/.travis.yml +11 -0
- data/HISTORY.md +6 -0
- data/README.md +23 -6
- data/elasticity.gemspec +4 -7
- data/lib/elasticity/custom_jar_job.rb +3 -2
- data/lib/elasticity/hive_job.rb +1 -3
- data/lib/elasticity/pig_job.rb +1 -4
- data/lib/elasticity/simple_job.rb +4 -3
- data/lib/elasticity/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/add_instance_groups/one_group_successful.yml +33 -27
- data/spec/fixtures/vcr_cassettes/add_instance_groups/one_group_unsuccessful.yml +33 -27
- data/spec/fixtures/vcr_cassettes/add_jobflow_steps/add_multiple_steps.yml +236 -222
- data/spec/fixtures/vcr_cassettes/custom_jar_job/cloudburst.yml +33 -27
- data/spec/fixtures/vcr_cassettes/describe_jobflows/all_jobflows.yml +64 -58
- data/spec/fixtures/vcr_cassettes/direct/terminate_jobflow.yml +30 -24
- data/spec/fixtures/vcr_cassettes/hive_job/hive_ads.yml +30 -24
- data/spec/fixtures/vcr_cassettes/modify_instance_groups/set_instances_to_3.yml +30 -24
- data/spec/fixtures/vcr_cassettes/pig_job/apache_log_reports.yml +32 -26
- data/spec/fixtures/vcr_cassettes/pig_job/apache_log_reports_with_bootstrap.yml +33 -27
- data/spec/fixtures/vcr_cassettes/run_jobflow/word_count.yml +33 -27
- data/spec/fixtures/vcr_cassettes/set_termination_protection/nonexistent_job_flows.yml +33 -27
- data/spec/fixtures/vcr_cassettes/set_termination_protection/protect_multiple_job_flows.yml +30 -24
- data/spec/fixtures/vcr_cassettes/terminate_jobflows/one_jobflow.yml +30 -24
- data/spec/lib/elasticity/emr_spec.rb +3 -0
- data/spec/lib/elasticity/hive_job_spec.rb +3 -9
- data/spec/lib/elasticity/pig_job_spec.rb +16 -1
- data/spec/spec_helper.rb +39 -26
- metadata +14 -90
@@ -1,69 +1,75 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- 994deb7a-63ac-11e0-bc41-ababd98a870b
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
18
|
+
headers:
|
19
|
+
Date:
|
22
20
|
- Sun, 10 Apr 2011 19:56:17 GMT
|
23
|
-
|
21
|
+
Content-Type:
|
22
|
+
- text/xml
|
23
|
+
Content-Encoding:
|
24
24
|
- gzip
|
25
|
-
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- 994deb7a-63ac-11e0-bc41-ababd98a870b
|
27
|
+
Vary:
|
26
28
|
- Accept-Encoding
|
27
|
-
|
29
|
+
Transfer-Encoding:
|
28
30
|
- chunked
|
29
|
-
body:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
31
|
+
body:
|
32
|
+
encoding: ASCII-8BIT
|
33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OpymwA
|
65
|
+
rj1VZZgH7FPaoioThhml+n6qMmvlGtkVOr6lXe8t7eBu3C+1Bmd3/HXncMoy
|
66
|
+
8Hd5R1vhAawBWEEA8r9lUeYRG95hV2VQRUT1Q6vKlKCI0JurMrH2fqoyjIyR
|
67
|
+
iGrvUZUZEcdmwaE1ORZmjoWZwh9TmFmHkkI7W1FIbGGbwkw4TFj/ec+3soNe
|
68
|
+
70sZCa16pd7dMvwvE0FDdQQ/4Jc0N0bT3sJ/JLAcZKvwPwDzq985in14a/i/
|
69
|
+
4lLLrtDW4b8KiybRdN/82PE/7JVu7+XhqDk6GQqHE/+/11vZxC6/MQGAtTKA
|
70
|
+
SAAQBr+rv2UOsMsXszO6D/slbvm/dUnx/4712X2jYYpfDLycUYY+QShrRKlh
|
71
|
+
UC1hla0w4YGiliHAClY0oY7rNV4JKCeWDwdctJrrRCjT+PQ/yLkKP9E2AAA=
|
68
72
|
|
69
73
|
http_version: "1.1"
|
74
|
+
recorded_at: Sat, 03 Mar 2012 22:59:59 GMT
|
75
|
+
recorded_with: VCR 2.0.0
|
@@ -1,32 +1,38 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- 54a92156-63dc-11e0-a11b-4b625b21bf04
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Mon, 11 Apr 2011 01:37:58 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "225"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
21
|
+
Date:
|
22
|
+
- Mon, 11 Apr 2011 01:37:58 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- 54a92156-63dc-11e0-a11b-4b625b21bf04
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<TerminateJobFlowsResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<ResponseMetadata>
|
32
|
+
<RequestId>54a92156-63dc-11e0-a11b-4b625b21bf04</RequestId>
|
33
|
+
</ResponseMetadata>
|
34
|
+
</TerminateJobFlowsResponse>
|
31
35
|
|
32
36
|
http_version: "1.1"
|
37
|
+
recorded_at: Sat, 03 Mar 2012 23:00:04 GMT
|
38
|
+
recorded_with: VCR 2.0.0
|
@@ -1,35 +1,41 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
7
9
|
headers:
|
8
|
-
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
18
|
headers:
|
17
|
-
|
18
|
-
- 87d43cfd-6fb2-11e0-bc88-bf902ad8b20b
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Tue, 26 Apr 2011 03:08:58 GMT
|
23
|
-
content-length:
|
19
|
+
Content-Length:
|
24
20
|
- "297"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
Date:
|
22
|
+
- Wed, 29 Feb 2012 22:00:49 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- d73ae5f8-6320-11e1-aa97-9959c72600a0
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<RunJobFlowResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<RunJobFlowResult>
|
32
|
+
<JobFlowId>j-2I4HV6S3SDGD9</JobFlowId>
|
33
|
+
</RunJobFlowResult>
|
34
|
+
<ResponseMetadata>
|
35
|
+
<RequestId>d73ae5f8-6320-11e1-aa97-9959c72600a0</RequestId>
|
36
|
+
</ResponseMetadata>
|
37
|
+
</RunJobFlowResponse>
|
34
38
|
|
35
39
|
http_version: "1.1"
|
40
|
+
recorded_at: Thu, 01 Mar 2012 09:47:52 GMT
|
41
|
+
recorded_with: VCR 2.0.0
|
@@ -1,32 +1,38 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- 4ef75373-659c-11e0-bdf6-e3d62a364c28
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Wed, 13 Apr 2011 07:04:43 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "231"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
21
|
+
Date:
|
22
|
+
- Wed, 13 Apr 2011 07:04:43 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- 4ef75373-659c-11e0-bdf6-e3d62a364c28
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<ModifyInstanceGroupsResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<ResponseMetadata>
|
32
|
+
<RequestId>4ef75373-659c-11e0-bdf6-e3d62a364c28</RequestId>
|
33
|
+
</ResponseMetadata>
|
34
|
+
</ModifyInstanceGroupsResponse>
|
31
35
|
|
32
36
|
http_version: "1.1"
|
37
|
+
recorded_at: Sat, 03 Mar 2012 23:00:12 GMT
|
38
|
+
recorded_with: VCR 2.0.0
|
@@ -1,35 +1,41 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- c00d285d-7935-11e0-a51d-7bf947dae271
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Sun, 08 May 2011 05:40:58 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "297"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
Date:
|
22
|
+
- Sun, 08 May 2011 05:40:58 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- c00d285d-7935-11e0-a51d-7bf947dae271
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<RunJobFlowResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<RunJobFlowResult>
|
32
|
+
<JobFlowId>j-1HB7A3TBRT3VS</JobFlowId>
|
33
|
+
</RunJobFlowResult>
|
34
|
+
<ResponseMetadata>
|
35
|
+
<RequestId>c00d285d-7935-11e0-a51d-7bf947dae271</RequestId>
|
36
|
+
</ResponseMetadata>
|
37
|
+
</RunJobFlowResponse>
|
34
38
|
|
35
39
|
http_version: "1.1"
|
40
|
+
recorded_at: Sat, 03 Mar 2012 23:00:18 GMT
|
41
|
+
recorded_with: VCR 2.0.0
|
@@ -1,35 +1,41 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- 10533247-7ad7-11e0-86ad-3b6ddfd3d4b9
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Tue, 10 May 2011 07:28:12 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "297"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
Date:
|
22
|
+
- Tue, 10 May 2011 07:28:12 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- 10533247-7ad7-11e0-86ad-3b6ddfd3d4b9
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<RunJobFlowResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<RunJobFlowResult>
|
32
|
+
<JobFlowId>j-1UK43AWRT3QHD</JobFlowId>
|
33
|
+
</RunJobFlowResult>
|
34
|
+
<ResponseMetadata>
|
35
|
+
<RequestId>10533247-7ad7-11e0-86ad-3b6ddfd3d4b9</RequestId>
|
36
|
+
</ResponseMetadata>
|
37
|
+
</RunJobFlowResponse>
|
34
38
|
|
35
39
|
http_version: "1.1"
|
40
|
+
recorded_at: Sat, 03 Mar 2012 23:00:22 GMT
|
41
|
+
recorded_with: VCR 2.0.0
|
@@ -1,35 +1,41 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 200
|
15
17
|
message: OK
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- b22f4aea-6a4b-11e0-9ddc-a168e244afdb
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Tue, 19 Apr 2011 06:10:16 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "296"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
Date:
|
22
|
+
- Tue, 19 Apr 2011 06:10:16 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- b22f4aea-6a4b-11e0-9ddc-a168e244afdb
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<RunJobFlowResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<RunJobFlowResult>
|
32
|
+
<JobFlowId>j-G6N5HA528AD4</JobFlowId>
|
33
|
+
</RunJobFlowResult>
|
34
|
+
<ResponseMetadata>
|
35
|
+
<RequestId>b22f4aea-6a4b-11e0-9ddc-a168e244afdb</RequestId>
|
36
|
+
</ResponseMetadata>
|
37
|
+
</RunJobFlowResponse>
|
34
38
|
|
35
39
|
http_version: "1.1"
|
40
|
+
recorded_at: Sat, 03 Mar 2012 23:00:27 GMT
|
41
|
+
recorded_with: VCR 2.0.0
|
@@ -1,35 +1,41 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
method:
|
5
|
-
uri: !ruby/regexp /^https
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: !ruby/regexp /^https/
|
6
6
|
body:
|
7
|
-
|
8
|
-
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
9
11
|
- "*/*; q=0.5, application/xml"
|
10
|
-
|
12
|
+
Accept-Encoding:
|
11
13
|
- gzip, deflate
|
12
|
-
response:
|
13
|
-
status:
|
14
|
+
response:
|
15
|
+
status:
|
14
16
|
code: 400
|
15
17
|
message: Bad Request
|
16
|
-
headers:
|
17
|
-
|
18
|
-
- dc0ce847-6923-11e0-9da4-8d278034dea6
|
19
|
-
content-type:
|
20
|
-
- text/xml
|
21
|
-
date:
|
22
|
-
- Sun, 17 Apr 2011 18:52:35 GMT
|
23
|
-
content-length:
|
18
|
+
headers:
|
19
|
+
Content-Length:
|
24
20
|
- "289"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
Date:
|
22
|
+
- Sun, 17 Apr 2011 18:52:35 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
X-Amzn-Requestid:
|
26
|
+
- dc0ce847-6923-11e0-9da4-8d278034dea6
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: |
|
30
|
+
<ErrorResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
|
31
|
+
<Error>
|
32
|
+
<Type>Sender</Type>
|
33
|
+
<Code>ValidationError</Code>
|
34
|
+
<Message>Specified job flow ID not valid</Message>
|
35
|
+
</Error>
|
36
|
+
<RequestId>dc0ce847-6923-11e0-9da4-8d278034dea6</RequestId>
|
37
|
+
</ErrorResponse>
|
34
38
|
|
35
39
|
http_version: "1.1"
|
40
|
+
recorded_at: Sat, 03 Mar 2012 23:00:34 GMT
|
41
|
+
recorded_with: VCR 2.0.0
|