typingpool 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/Rakefile +23 -0
  2. data/bin/tp-assign +240 -0
  3. data/bin/tp-collect +50 -0
  4. data/bin/tp-config +114 -0
  5. data/bin/tp-finish +101 -0
  6. data/bin/tp-make +169 -0
  7. data/bin/tp-review +175 -0
  8. data/lib/typingpool/amazon.rb +732 -0
  9. data/lib/typingpool/app.rb +634 -0
  10. data/lib/typingpool/config.rb +344 -0
  11. data/lib/typingpool/error.rb +22 -0
  12. data/lib/typingpool/filer.rb +396 -0
  13. data/lib/typingpool/project.rb +593 -0
  14. data/lib/typingpool/template.rb +175 -0
  15. data/lib/typingpool/templates/assignment/amazon-init.js +38 -0
  16. data/lib/typingpool/templates/assignment/interview/nameless.html.erb +13 -0
  17. data/lib/typingpool/templates/assignment/interview/noisy.html.erb +12 -0
  18. data/lib/typingpool/templates/assignment/interview/partials/voices.html.erb +10 -0
  19. data/lib/typingpool/templates/assignment/interview/phone.html.erb +12 -0
  20. data/lib/typingpool/templates/assignment/interview.html.erb +11 -0
  21. data/lib/typingpool/templates/assignment/main.css +20 -0
  22. data/lib/typingpool/templates/assignment/partials/entry.html.erb +19 -0
  23. data/lib/typingpool/templates/assignment/partials/footer.html.erb +3 -0
  24. data/lib/typingpool/templates/assignment/partials/header.html.erb +11 -0
  25. data/lib/typingpool/templates/assignment/partials/labeling-example.html.erb +4 -0
  26. data/lib/typingpool/templates/assignment/partials/labeling.html.erb +5 -0
  27. data/lib/typingpool/templates/assignment/partials/length-description.html.erb +6 -0
  28. data/lib/typingpool/templates/assignment/partials/voices.html.erb +10 -0
  29. data/lib/typingpool/templates/assignment/speech.html.erb +11 -0
  30. data/lib/typingpool/templates/config.yml +21 -0
  31. data/lib/typingpool/templates/project/audio/chunks/.empty_directory +0 -0
  32. data/lib/typingpool/templates/project/audio/originals/.empty_directory +0 -0
  33. data/lib/typingpool/templates/project/data/.empty_directory +0 -0
  34. data/lib/typingpool/templates/project/etc/ About these files - read me.txt +8 -0
  35. data/lib/typingpool/templates/project/etc/audio-compat.js +25 -0
  36. data/lib/typingpool/templates/project/etc/player/audio-player.js +4 -0
  37. data/lib/typingpool/templates/project/etc/player/license.txt +19 -0
  38. data/lib/typingpool/templates/project/etc/player/player.swf +0 -0
  39. data/lib/typingpool/templates/project/etc/transcript.css +49 -0
  40. data/lib/typingpool/templates/transcript.html.erb +23 -0
  41. data/lib/typingpool/test/fixtures/amazon-question-html.html +95 -0
  42. data/lib/typingpool/test/fixtures/amazon-question-url.txt +1 -0
  43. data/lib/typingpool/test/fixtures/audio/mp3/interview.1.mp3 +0 -0
  44. data/lib/typingpool/test/fixtures/audio/mp3/interview.2.mp3 +0 -0
  45. data/lib/typingpool/test/fixtures/audio/wma/VN620007.WMA +0 -0
  46. data/lib/typingpool/test/fixtures/audio/wma/VN620052.WMA +0 -0
  47. data/lib/typingpool/test/fixtures/config-1 +20 -0
  48. data/lib/typingpool/test/fixtures/config-2 +25 -0
  49. data/lib/typingpool/test/fixtures/not_yaml.txt +4 -0
  50. data/lib/typingpool/test/fixtures/template-2.html.erb +10 -0
  51. data/lib/typingpool/test/fixtures/template-3.html.erb +22 -0
  52. data/lib/typingpool/test/fixtures/template.html.erb +10 -0
  53. data/lib/typingpool/test/fixtures/tp_collect_id.txt +1 -0
  54. data/lib/typingpool/test/fixtures/tp_collect_sandbox-assignment.csv +8 -0
  55. data/lib/typingpool/test/fixtures/tp_review_id.txt +1 -0
  56. data/lib/typingpool/test/fixtures/tp_review_sandbox-assignment.csv +8 -0
  57. data/lib/typingpool/test/fixtures/transcript-chunks.csv +226 -0
  58. data/lib/typingpool/test/fixtures/utf8_transcript.txt +7 -0
  59. data/lib/typingpool/test/fixtures/vcr/tp-collect-1.yml +2712 -0
  60. data/lib/typingpool/test/fixtures/vcr/tp-collect-2.yml +2718 -0
  61. data/lib/typingpool/test/fixtures/vcr/tp-collect-3.yml +2768 -0
  62. data/lib/typingpool/test/fixtures/vcr/tp-review-1.yml +570 -0
  63. data/lib/typingpool/test/fixtures/vcr/tp-review-2.yml +351 -0
  64. data/lib/typingpool/test.rb +418 -0
  65. data/lib/typingpool/transcript.rb +181 -0
  66. data/lib/typingpool/utility.rb +272 -0
  67. data/lib/typingpool.rb +500 -0
  68. data/test/make_amazon_question_fixture.rb +24 -0
  69. data/test/make_tp_collect_fixture_1.rb +26 -0
  70. data/test/make_tp_collect_fixture_2.rb +16 -0
  71. data/test/make_tp_collect_fixture_3.rb +15 -0
  72. data/test/make_tp_collect_fixture_4.rb +17 -0
  73. data/test/make_tp_review_fixture_1.rb +26 -0
  74. data/test/make_tp_review_fixture_2.rb +30 -0
  75. data/test/make_transcript_chunks_fixture.rb +53 -0
  76. data/test/test_integration_script_1_tp_config.rb +108 -0
  77. data/test/test_integration_script_2_tp_make.rb +119 -0
  78. data/test/test_integration_script_3_tp_assign.rb +152 -0
  79. data/test/test_integration_script_4_tp_review.rb +72 -0
  80. data/test/test_integration_script_5_tp_collect.rb +44 -0
  81. data/test/test_integration_script_6_tp_finish.rb +123 -0
  82. data/test/test_unit_amazon.rb +153 -0
  83. data/test/test_unit_config.rb +94 -0
  84. data/test/test_unit_filer.rb +202 -0
  85. data/test/test_unit_project.rb +168 -0
  86. data/test/test_unit_project_local.rb +68 -0
  87. data/test/test_unit_project_remote.rb +157 -0
  88. data/test/test_unit_template.rb +111 -0
  89. data/test/test_unit_transcript.rb +77 -0
  90. metadata +234 -0
@@ -0,0 +1,351 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: HITId=2LX0OHOVR14IB35EXLTHHCWACYA56R&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A50-07%3A00&Version=2008-08-02&Signature=L3g9viHOrKv1VDMrtn9yRq%2B2Gb4%3D
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - "255"
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - text/xml
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Date:
28
+ - Sun, 01 Jul 2012 22:22:49 GMT
29
+ Server:
30
+ - MTurk
31
+ body:
32
+ encoding: US-ASCII
33
+ string: |-
34
+ <?xml version="1.0"?>
35
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>10bd0c81-8e87-4039-8d8d-6bd4dc6c9c29</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2MOY2AOO2GMMSZ50S2JCP6IAAMA55E</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2LX0OHOVR14IB35EXLTHHCWACYA56R</HITId><AssignmentStatus>Approved</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:11Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:01Z</AcceptTime><SubmitTime>2012-07-01T22:21:11Z</SubmitTime><ApprovalTime>2012-07-01T22:22:45Z</ApprovalTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
36
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
37
+ &lt;Answer&gt;
38
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
39
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.00.00.5a786c80f5b6c457c7e77baceaece289.COKFVJ.mp3&lt;/FreeText&gt;
40
+ &lt;/Answer&gt;
41
+ &lt;Answer&gt;
42
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
43
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
44
+ &lt;/Answer&gt;
45
+ &lt;Answer&gt;
46
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
47
+ &lt;FreeText&gt;Ryan: This is probably a dumb question but in Grand Rapids -- are you guys connected to the auto industry or are you too far from Detroit to be...&amp;#13;
48
+ &amp;#13;
49
+ Havi: We are. We're connected to the buyers for the auto industry in Detroit and Flint. It's kind of a - it's a statewide business here but....&lt;/FreeText&gt;
50
+ &lt;/Answer&gt;
51
+ &lt;/QuestionFormAnswers&gt;
52
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
53
+ http_version:
54
+ recorded_at: Sun, 01 Jul 2012 22:22:50 GMT
55
+ - request:
56
+ method: post
57
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
58
+ body:
59
+ encoding: US-ASCII
60
+ string: HITId=24ZMVHVKCJ01F3JJGVY9NQW679U57Q&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A50-07%3A00&Version=2008-08-02&Signature=L3g9viHOrKv1VDMrtn9yRq%2B2Gb4%3D
61
+ headers:
62
+ Accept:
63
+ - "*/*; q=0.5, application/xml"
64
+ Accept-Encoding:
65
+ - gzip, deflate
66
+ Content-Length:
67
+ - "255"
68
+ User-Agent:
69
+ - Ruby
70
+ response:
71
+ status:
72
+ code: 200
73
+ message: OK
74
+ headers:
75
+ Content-Type:
76
+ - text/xml
77
+ Transfer-Encoding:
78
+ - chunked
79
+ Date:
80
+ - Sun, 01 Jul 2012 22:22:50 GMT
81
+ Server:
82
+ - MTurk
83
+ body:
84
+ encoding: US-ASCII
85
+ string: |-
86
+ <?xml version="1.0"?>
87
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>b5b3bc0d-8863-4db0-8d85-bfbb9b72aab7</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2TTLY58B727ME1XRWT419YFSVZM9UR</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>24ZMVHVKCJ01F3JJGVY9NQW679U57Q</HITId><AssignmentStatus>Approved</AssignmentStatus><AutoApprovalTime>2012-07-02T08:22:03Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:56Z</AcceptTime><SubmitTime>2012-07-01T22:22:03Z</SubmitTime><ApprovalTime>2012-07-01T22:22:47Z</ApprovalTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
88
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
89
+ &lt;Answer&gt;
90
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
91
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.00.40.5a786c80f5b6c457c7e77baceaece289.RKEFVA.mp3&lt;/FreeText&gt;
92
+ &lt;/Answer&gt;
93
+ &lt;Answer&gt;
94
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
95
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
96
+ &lt;/Answer&gt;
97
+ &lt;Answer&gt;
98
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
99
+ &lt;FreeText&gt;Ryan: ....Bright start and then just kind of like fizzled. -Laughs.- &amp;#13;
100
+ &amp;#13;
101
+ Havi: Right.&amp;#13;
102
+ &amp;#13;
103
+ Ryan: No fault of the company, they were kind of starved of resources. I mean they actually did really well for several years and then it kind of -- it changed from what it was originally. And it was too bad because that particular division -- other parts of GM....&lt;/FreeText&gt;
104
+ &lt;/Answer&gt;
105
+ &lt;/QuestionFormAnswers&gt;
106
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
107
+ http_version:
108
+ recorded_at: Sun, 01 Jul 2012 22:22:51 GMT
109
+ - request:
110
+ method: post
111
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
112
+ body:
113
+ encoding: US-ASCII
114
+ string: HITId=2M998D8J3VE7AB95ZA3G6MCKEBZXHT&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A51-07%3A00&Version=2008-08-02&Signature=xqZ%2FsfthS5YbIz5D%2F7tXrlnGyxE%3D
115
+ headers:
116
+ Accept:
117
+ - "*/*; q=0.5, application/xml"
118
+ Accept-Encoding:
119
+ - gzip, deflate
120
+ Content-Length:
121
+ - "257"
122
+ User-Agent:
123
+ - Ruby
124
+ response:
125
+ status:
126
+ code: 200
127
+ message: OK
128
+ headers:
129
+ Content-Type:
130
+ - text/xml
131
+ Transfer-Encoding:
132
+ - chunked
133
+ Date:
134
+ - Sun, 01 Jul 2012 22:22:51 GMT
135
+ Server:
136
+ - MTurk
137
+ body:
138
+ encoding: US-ASCII
139
+ string: |-
140
+ <?xml version="1.0"?>
141
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>4ac97600-abae-4ba7-87cf-c0bfb34a5dda</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2S1NZW6HEZ6OSN78J5Z6CGUM2LIZP0</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2M998D8J3VE7AB95ZA3G6MCKEBZXHT</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:23Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:15Z</AcceptTime><SubmitTime>2012-07-01T22:21:23Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
142
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
143
+ &lt;Answer&gt;
144
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
145
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.01.20.5a786c80f5b6c457c7e77baceaece289.BCYSXT.mp3&lt;/FreeText&gt;
146
+ &lt;/Answer&gt;
147
+ &lt;Answer&gt;
148
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
149
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
150
+ &lt;/Answer&gt;
151
+ &lt;Answer&gt;
152
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
153
+ &lt;FreeText&gt;Ryan: ...NUMMI which is just like this amazing GM plant that turned out these juist incredibly high quality small cars, and people just don;t know about a lot of this stuff, like that it exists. So. I look forward to reading -- I'm still reading through your archive -- but I look forward to finishing it because I'm really interested in these issues.&amp;#13;
154
+ &amp;#13;
155
+ Havi: Ya I think it was a really interesting....&lt;/FreeText&gt;
156
+ &lt;/Answer&gt;
157
+ &lt;/QuestionFormAnswers&gt;
158
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
159
+ http_version:
160
+ recorded_at: Sun, 01 Jul 2012 22:22:51 GMT
161
+ - request:
162
+ method: post
163
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
164
+ body:
165
+ encoding: US-ASCII
166
+ string: HITId=21ASZVXX2Q458D120A7NLW1NY9V7PE&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A51-07%3A00&Version=2008-08-02&Signature=xqZ%2FsfthS5YbIz5D%2F7tXrlnGyxE%3D
167
+ headers:
168
+ Accept:
169
+ - "*/*; q=0.5, application/xml"
170
+ Accept-Encoding:
171
+ - gzip, deflate
172
+ Content-Length:
173
+ - "257"
174
+ User-Agent:
175
+ - Ruby
176
+ response:
177
+ status:
178
+ code: 200
179
+ message: OK
180
+ headers:
181
+ Content-Type:
182
+ - text/xml
183
+ Transfer-Encoding:
184
+ - chunked
185
+ Date:
186
+ - Sun, 01 Jul 2012 22:22:51 GMT
187
+ Server:
188
+ - MTurk
189
+ body:
190
+ encoding: US-ASCII
191
+ string: |-
192
+ <?xml version="1.0"?>
193
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>beec06cb-c6c2-4050-a1a3-3c6d09936807</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>0</NumResults><TotalNumResults>0</TotalNumResults><PageNumber>1</PageNumber></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
194
+ http_version:
195
+ recorded_at: Sun, 01 Jul 2012 22:22:52 GMT
196
+ - request:
197
+ method: post
198
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
199
+ body:
200
+ encoding: US-ASCII
201
+ string: HITId=2SST2D5NQYN5TM7CVSWT1MNC2ZI592&PageSize=100&Operation=GetAssignmentsForHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A52-07%3A00&Version=2008-08-02&Signature=GulD43cl08AXwBP3jzSO8VJVm0w%3D
202
+ headers:
203
+ Accept:
204
+ - "*/*; q=0.5, application/xml"
205
+ Accept-Encoding:
206
+ - gzip, deflate
207
+ Content-Length:
208
+ - "253"
209
+ User-Agent:
210
+ - Ruby
211
+ response:
212
+ status:
213
+ code: 200
214
+ message: OK
215
+ headers:
216
+ Content-Type:
217
+ - text/xml
218
+ Transfer-Encoding:
219
+ - chunked
220
+ Date:
221
+ - Sun, 01 Jul 2012 22:22:51 GMT
222
+ Server:
223
+ - MTurk
224
+ body:
225
+ encoding: US-ASCII
226
+ string: |-
227
+ <?xml version="1.0"?>
228
+ <GetAssignmentsForHITResponse><OperationRequest><RequestId>f08eb428-1913-4235-a0c6-91926c2def70</RequestId></OperationRequest><GetAssignmentsForHITResult><Request><IsValid>True</IsValid></Request><NumResults>1</NumResults><TotalNumResults>1</TotalNumResults><PageNumber>1</PageNumber><Assignment><AssignmentId>2JJNDWIOV1S766KP5SL16YDZ87PXIP</AssignmentId><WorkerId>A9S0AOAI8HO9P</WorkerId><HITId>2SST2D5NQYN5TM7CVSWT1MNC2ZI592</HITId><AssignmentStatus>Submitted</AssignmentStatus><AutoApprovalTime>2012-07-02T08:21:51Z</AutoApprovalTime><AcceptTime>2012-07-01T22:21:44Z</AcceptTime><SubmitTime>2012-07-01T22:21:51Z</SubmitTime><Answer>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
229
+ &lt;QuestionFormAnswers xmlns="http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2005-10-01/QuestionFormAnswers.xsd"&gt;
230
+ &lt;Answer&gt;
231
+ &lt;QuestionIdentifier&gt;typingpool_url&lt;/QuestionIdentifier&gt;
232
+ &lt;FreeText&gt;http://webmasher.com/mturk/Typingpool's%20Test%20&amp;amp;%20Interview.02.00.5a786c80f5b6c457c7e77baceaece289.WSLIMR.mp3&lt;/FreeText&gt;
233
+ &lt;/Answer&gt;
234
+ &lt;Answer&gt;
235
+ &lt;QuestionIdentifier&gt;typingpool_project_id&lt;/QuestionIdentifier&gt;
236
+ &lt;FreeText&gt;5a786c80f5b6c457c7e77baceaece289&lt;/FreeText&gt;
237
+ &lt;/Answer&gt;
238
+ &lt;Answer&gt;
239
+ &lt;QuestionIdentifier&gt;transcription&lt;/QuestionIdentifier&gt;
240
+ &lt;FreeText&gt;-blank-&lt;/FreeText&gt;
241
+ &lt;/Answer&gt;
242
+ &lt;/QuestionFormAnswers&gt;
243
+ </Answer></Assignment></GetAssignmentsForHITResult></GetAssignmentsForHITResponse>
244
+ http_version:
245
+ recorded_at: Sun, 01 Jul 2012 22:22:52 GMT
246
+ - request:
247
+ method: post
248
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
249
+ body:
250
+ encoding: US-ASCII
251
+ string: AssignmentId=2S1NZW6HEZ6OSN78J5Z6CGUM2LIZP0&Operation=ApproveAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A52-07%3A00&Version=2008-08-02&Signature=5itP20UMN4wRSjo8t9lhZFTQuRQ%3D
252
+ headers:
253
+ Accept:
254
+ - "*/*; q=0.5, application/xml"
255
+ Accept-Encoding:
256
+ - gzip, deflate
257
+ Content-Length:
258
+ - "244"
259
+ User-Agent:
260
+ - Ruby
261
+ response:
262
+ status:
263
+ code: 200
264
+ message: OK
265
+ headers:
266
+ Content-Type:
267
+ - text/xml
268
+ Transfer-Encoding:
269
+ - chunked
270
+ Date:
271
+ - Sun, 01 Jul 2012 22:22:53 GMT
272
+ Server:
273
+ - MTurk
274
+ body:
275
+ encoding: US-ASCII
276
+ string: |-
277
+ <?xml version="1.0"?>
278
+ <ApproveAssignmentResponse><OperationRequest><RequestId>a20d71c3-64ef-4121-85c6-842dcbe8fffb</RequestId></OperationRequest><ApproveAssignmentResult><Request><IsValid>True</IsValid></Request></ApproveAssignmentResult></ApproveAssignmentResponse>
279
+ http_version:
280
+ recorded_at: Sun, 01 Jul 2012 22:22:53 GMT
281
+ - request:
282
+ method: post
283
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
284
+ body:
285
+ encoding: US-ASCII
286
+ string: AssignmentId=2JJNDWIOV1S766KP5SL16YDZ87PXIP&RequesterFeedback=No+reason+-+this+is+a+test&Operation=RejectAssignment&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A53-07%3A00&Version=2008-08-02&Signature=DcFrUSMeJMj1BL6R9PQCSqlRp6s%3D
287
+ headers:
288
+ Accept:
289
+ - "*/*; q=0.5, application/xml"
290
+ Accept-Encoding:
291
+ - gzip, deflate
292
+ Content-Length:
293
+ - "288"
294
+ User-Agent:
295
+ - Ruby
296
+ response:
297
+ status:
298
+ code: 200
299
+ message: OK
300
+ headers:
301
+ Content-Type:
302
+ - text/xml
303
+ Transfer-Encoding:
304
+ - chunked
305
+ Date:
306
+ - Sun, 01 Jul 2012 22:22:53 GMT
307
+ Server:
308
+ - MTurk
309
+ body:
310
+ encoding: US-ASCII
311
+ string: |-
312
+ <?xml version="1.0"?>
313
+ <RejectAssignmentResponse><OperationRequest><RequestId>e2c886bb-e26f-4b5f-a549-003f0f856091</RequestId></OperationRequest><RejectAssignmentResult><Request><IsValid>True</IsValid></Request></RejectAssignmentResult></RejectAssignmentResponse>
314
+ http_version:
315
+ recorded_at: Sun, 01 Jul 2012 22:22:54 GMT
316
+ - request:
317
+ method: post
318
+ uri: https://mechanicalturk.sandbox.amazonaws.com/
319
+ body:
320
+ encoding: US-ASCII
321
+ string: HITId=2SST2D5NQYN5TM7CVSWT1MNC2ZI592&Operation=DisposeHIT&Service=AWSMechanicalTurkRequester&AWSAccessKeyId=<AWS_KEY>&Timestamp=2012-07-01T15%3A22%3A54-07%3A00&Version=2008-08-02&Signature=047lUg5mYC1WomSD2%2BOQa1VuAIA%3D
322
+ headers:
323
+ Accept:
324
+ - "*/*; q=0.5, application/xml"
325
+ Accept-Encoding:
326
+ - gzip, deflate
327
+ Content-Length:
328
+ - "232"
329
+ User-Agent:
330
+ - Ruby
331
+ response:
332
+ status:
333
+ code: 200
334
+ message: OK
335
+ headers:
336
+ Content-Type:
337
+ - text/xml
338
+ Transfer-Encoding:
339
+ - chunked
340
+ Date:
341
+ - Sun, 01 Jul 2012 22:22:54 GMT
342
+ Server:
343
+ - MTurk
344
+ body:
345
+ encoding: US-ASCII
346
+ string: |-
347
+ <?xml version="1.0"?>
348
+ <DisposeHITResponse><OperationRequest><RequestId>8ab6c4c9-c685-4ea9-a444-c376cc5bf74e</RequestId></OperationRequest><DisposeHITResult><Request><IsValid>True</IsValid></Request></DisposeHITResult></DisposeHITResponse>
349
+ http_version:
350
+ recorded_at: Sun, 01 Jul 2012 22:22:54 GMT
351
+ recorded_with: VCR 2.0.0.rc2