typingpool 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/LICENSE +20 -0
  2. data/README.markdown +452 -0
  3. data/lib/typingpool/amazon/hit/assignment/empty.rb +19 -0
  4. data/lib/typingpool/amazon/hit/assignment.rb +43 -0
  5. data/lib/typingpool/amazon/hit/full/fromsearchhits.rb +44 -0
  6. data/lib/typingpool/amazon/hit/full.rb +105 -0
  7. data/lib/typingpool/amazon/hit.rb +458 -0
  8. data/lib/typingpool/amazon/question.rb +45 -0
  9. data/lib/typingpool/amazon.rb +3 -677
  10. data/lib/typingpool/app/cli/formatter.rb +16 -0
  11. data/lib/typingpool/app/cli.rb +64 -0
  12. data/lib/typingpool/app/friendlyexceptions.rb +34 -0
  13. data/lib/typingpool/app.rb +2 -97
  14. data/lib/typingpool/config/root.rb +114 -0
  15. data/lib/typingpool/config.rb +13 -119
  16. data/lib/typingpool/filer/audio.rb +84 -0
  17. data/lib/typingpool/filer/csv.rb +57 -0
  18. data/lib/typingpool/filer/dir.rb +76 -0
  19. data/lib/typingpool/filer/files/audio.rb +63 -0
  20. data/lib/typingpool/filer/files.rb +55 -0
  21. data/lib/typingpool/filer.rb +4 -313
  22. data/lib/typingpool/project/local.rb +117 -0
  23. data/lib/typingpool/project/remote/s3.rb +135 -0
  24. data/lib/typingpool/project/remote/sftp.rb +100 -0
  25. data/lib/typingpool/project/remote.rb +65 -0
  26. data/lib/typingpool/project.rb +2 -396
  27. data/lib/typingpool/template/assignment.rb +17 -0
  28. data/lib/typingpool/template/env.rb +77 -0
  29. data/lib/typingpool/template.rb +2 -87
  30. data/lib/typingpool/test/script.rb +310 -0
  31. data/lib/typingpool/test.rb +1 -306
  32. data/lib/typingpool/transcript/chunk.rb +129 -0
  33. data/lib/typingpool/transcript.rb +1 -125
  34. data/lib/typingpool/utility/castable.rb +65 -0
  35. data/lib/typingpool/utility.rb +1 -61
  36. data/test/test_integration_script_6_tp_finish.rb +1 -0
  37. metadata +135 -81
metadata CHANGED
@@ -1,98 +1,131 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: typingpool
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.1
4
5
  prerelease:
5
- version: 0.7.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Ryan Tate
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-09-09 00:00:00 -07:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: rturk
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: "2.9"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.9'
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: highline
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.9'
30
+ - !ruby/object:Gem::Dependency
31
+ name: highline
32
+ requirement: !ruby/object:Gem::Requirement
31
33
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: "1.6"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '1.6'
36
38
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: nokogiri
40
39
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
42
41
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "1.5"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '1.6'
46
+ - !ruby/object:Gem::Dependency
47
+ name: nokogiri
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '1.5'
47
54
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: aws-s3
51
55
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
53
57
  none: false
54
- requirements:
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
62
+ - !ruby/object:Gem::Dependency
63
+ name: aws-s3
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
55
67
  - - ~>
56
- - !ruby/object:Gem::Version
57
- version: "0.6"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.6'
58
70
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: net-sftp
62
71
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
64
73
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '0.6'
78
+ - !ruby/object:Gem::Dependency
79
+ name: net-sftp
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
68
85
  version: 2.0.5
69
86
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: vcr
73
87
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 2.0.5
94
+ - !ruby/object:Gem::Dependency
95
+ name: vcr
96
+ requirement: !ruby/object:Gem::Requirement
75
97
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
80
102
  type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: webmock
84
103
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: webmock
112
+ requirement: !ruby/object:Gem::Requirement
86
113
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
91
118
  type: :runtime
92
- version_requirements: *id007
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
93
126
  description: An app for transcribing audio using Mechanical Turk
94
127
  email: ryantate@ryantate.com
95
- executables:
128
+ executables:
96
129
  - tp-config
97
130
  - tp-make
98
131
  - tp-assign
@@ -100,11 +133,11 @@ executables:
100
133
  - tp-collect
101
134
  - tp-finish
102
135
  extensions: []
103
-
104
136
  extra_rdoc_files: []
105
-
106
- files:
137
+ files:
107
138
  - Rakefile
139
+ - LICENSE
140
+ - README.markdown
108
141
  - bin/tp-config
109
142
  - bin/tp-make
110
143
  - bin/tp-assign
@@ -113,15 +146,39 @@ files:
113
146
  - bin/tp-finish
114
147
  - lib/typingpool.rb
115
148
  - lib/typingpool/amazon.rb
149
+ - lib/typingpool/amazon/question.rb
150
+ - lib/typingpool/amazon/hit.rb
151
+ - lib/typingpool/amazon/hit/full.rb
152
+ - lib/typingpool/amazon/hit/full/fromsearchhits.rb
153
+ - lib/typingpool/amazon/hit/assignment.rb
154
+ - lib/typingpool/amazon/hit/assignment/empty.rb
116
155
  - lib/typingpool/app.rb
156
+ - lib/typingpool/app/cli.rb
157
+ - lib/typingpool/app/cli/formatter.rb
158
+ - lib/typingpool/app/friendlyexceptions.rb
117
159
  - lib/typingpool/config.rb
160
+ - lib/typingpool/config/root.rb
118
161
  - lib/typingpool/error.rb
119
162
  - lib/typingpool/filer.rb
163
+ - lib/typingpool/filer/audio.rb
164
+ - lib/typingpool/filer/csv.rb
165
+ - lib/typingpool/filer/dir.rb
166
+ - lib/typingpool/filer/files.rb
167
+ - lib/typingpool/filer/files/audio.rb
120
168
  - lib/typingpool/project.rb
169
+ - lib/typingpool/project/local.rb
170
+ - lib/typingpool/project/remote.rb
171
+ - lib/typingpool/project/remote/s3.rb
172
+ - lib/typingpool/project/remote/sftp.rb
121
173
  - lib/typingpool/template.rb
174
+ - lib/typingpool/template/assignment.rb
175
+ - lib/typingpool/template/env.rb
122
176
  - lib/typingpool/test.rb
177
+ - lib/typingpool/test/script.rb
123
178
  - lib/typingpool/transcript.rb
179
+ - lib/typingpool/transcript/chunk.rb
124
180
  - lib/typingpool/utility.rb
181
+ - lib/typingpool/utility/castable.rb
125
182
  - lib/typingpool/templates/assignment/amazon-init.js
126
183
  - lib/typingpool/templates/assignment/interview.html.erb
127
184
  - lib/typingpool/templates/assignment/interview/nameless.html.erb
@@ -193,37 +250,34 @@ files:
193
250
  - test/test_unit_project_remote.rb
194
251
  - test/test_unit_template.rb
195
252
  - test/test_unit_transcript.rb
196
- has_rdoc: true
197
253
  homepage: http://github.com/ryantate/typingpool
198
254
  licenses: []
199
-
200
255
  post_install_message:
201
256
  rdoc_options: []
202
-
203
- require_paths:
257
+ require_paths:
204
258
  - lib
205
- required_ruby_version: !ruby/object:Gem::Requirement
259
+ required_ruby_version: !ruby/object:Gem::Requirement
206
260
  none: false
207
- requirements:
208
- - - ">="
209
- - !ruby/object:Gem::Version
261
+ requirements:
262
+ - - ! '>='
263
+ - !ruby/object:Gem::Version
210
264
  version: 1.9.2
211
- required_rubygems_version: !ruby/object:Gem::Requirement
265
+ required_rubygems_version: !ruby/object:Gem::Requirement
212
266
  none: false
213
- requirements:
214
- - - ">="
215
- - !ruby/object:Gem::Version
216
- version: "0"
217
- requirements:
267
+ requirements:
268
+ - - ! '>='
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ requirements:
218
272
  - ffmpeg
219
273
  - mp3splt
220
274
  - mp3wrap
221
275
  rubyforge_project:
222
- rubygems_version: 1.5.0
276
+ rubygems_version: 1.8.24
223
277
  signing_key:
224
278
  specification_version: 3
225
279
  summary: An app for transcribing audio using Mechanical Turk
226
- test_files:
280
+ test_files:
227
281
  - test/test_unit_amazon.rb
228
282
  - test/test_unit_config.rb
229
283
  - test/test_unit_filer.rb