transcribable 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MTYyNjE3MzMxZGYzZjRmYmRiZTk2ODczZTVmNzdmMzcwYjUzOWIwNg==
5
- data.tar.gz: !binary |-
6
- ZTMzMjllYmU4NmJiNTNkYWZkNDhlYWQ2NWZiZDFkNTdiYjczMzI3OA==
2
+ SHA1:
3
+ metadata.gz: 7f5de19a408e8388338be162954131537863a665
4
+ data.tar.gz: f4b57b514ff47ed86c7cf7592cbeca564f778fbb
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ODdmMzY5YzEwYjkzNWRiYzRjM2ExZWNmNWY5YzZkNTJjMzM5OGMyY2IzOWZl
10
- ZWIxMGQ1ZWM2YzljMDdiZjdkZDZiNjUzMTBkOWE1YjM0MDg1MjZjNjVkZjhh
11
- NGUxZmM2MDkzMmFhMTlmYTQwNDRlMzEwZTEyZDc5OTcxZmJhMjQ=
12
- data.tar.gz: !binary |-
13
- YjhhNmI3ODU3OTcwOGQ3MzI1Yzk4NzA3ZGVjNDAzMDNmOTU4YWJhZDM4ZWNm
14
- NmFjNGRlMDg5YWRiOGI1N2U1MmQwODE1MTZjYTU2YjM2M2VjMDZjNGQ4Zjg5
15
- MzA1NDU1NGEyMWNhNWM3ZTg1YmQzOThhOTdhZGFiMmMyY2RkMGQ=
6
+ metadata.gz: 46b65a5ece136bc63f64686e01dd7168e335ee82ca6b7fda765defb70a06ca3a4bffea3036d5946d6b63fc187f9fce853e08dddc1a587fd3ae4aaec9be2cf5cc
7
+ data.tar.gz: 8df8c5d33b511bee8846c0e3f2b7989ca55a74582718d9571b28eb7a0ec973bfe8c24d5a1d83521abde49c390b013c1a896aa4ce500c35ac0eae653e13649b11
@@ -27,6 +27,6 @@
27
27
  <% end %>
28
28
  </div>
29
29
  <% end %>
30
- <%%= hidden_field_tag "filing_id", @<%= @table.singularize %>.id %>
30
+ <%%= hidden_field_tag "<%= @table.singularize %>_id", @<%= @table.singularize %>.id %>
31
31
  <%%= submit_tag "Submit", :class => "fancy_btn full_width_btn green-btn", :id => "transcriptionsubmit" %>
32
32
  <%% end %>
@@ -5,7 +5,15 @@ namespace :transcribable do
5
5
  klass = Kernel.const_get(Transcribable.table.classify)
6
6
  dc = YAML.load(File.read("#{Rails.root.to_s}/config/documentcloud.yml"))
7
7
  dc_project = JSON.parse(RestClient.get("https://#{CGI::escape(dc['email'])}:#{CGI::escape(dc['password'])}@www.documentcloud.org/api/projects.json"))
8
+
9
+ # i had to use this to return the desired project
10
+ # trace came back NoMethodError: undefined method `scan' for 19735:Fixnum
11
+ # running rails 4.2.1
12
+ #dc_project = dc_project['projects'].select {|q| q['id'] == dc['project']}[0]
13
+
8
14
  dc_project = dc_project['projects'].select {|q| q['id'] == dc['project'].scan(/^\d+/)[0].to_i }[0]
15
+
16
+
9
17
  dc_project['document_ids'].each do |doc_id|
10
18
  begin
11
19
  dc_doc = JSON.parse(RestClient.get("https://www.documentcloud.org/api/documents/#{doc_id}.json"))['document']
@@ -13,7 +21,10 @@ namespace :transcribable do
13
21
  rescue RestClient::ResourceNotFound
14
22
  next
15
23
  end
16
- obj = klass.find_or_initialize_by_url("https://www.documentcloud.org/documents/#{dc_doc['id']}")
24
+
25
+ # uses updated method with model field & value as the argument
26
+ obj = klass.find_or_initialize_by(url: "https://www.documentcloud.org/documents/#{dc_doc['id']}")
27
+
17
28
  # don't plow over verified docs if rerunning the script
18
29
  obj.verified = false if obj.new_record?
19
30
  obj.save
@@ -1,3 +1,3 @@
1
1
  module Transcribable
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -0,0 +1,979 @@
1
+  (0.4ms) begin transaction
2
+ -----------------------------
3
+ TranscribableTest: test_truth
4
+ -----------------------------
5
+  (0.1ms) rollback transaction
6
+  (1.5ms) CREATE TABLE "filings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "buyer" varchar(255), "amount" integer, "verified" boolean, "notes" text) 
7
+  (1.1ms) CREATE TABLE "transcriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "buyer" varchar(255), "amount" integer, "filing_id" integer, "user_id" varchar(255), "notes" text)
8
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
9
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10
+  (0.2ms) SELECT version FROM "schema_migrations"
11
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130710175855')
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+  (0.5ms) begin transaction
14
+ -----------------------------
15
+ TranscribableTest: test_truth
16
+ -----------------------------
17
+  (0.1ms) rollback transaction
18
+  (0.5ms) begin transaction
19
+ --------------------------------------------------
20
+ TranscribableTest: test_transcribable_table_is_set
21
+ --------------------------------------------------
22
+  (0.1ms) rollback transaction
23
+  (0.1ms) begin transaction
24
+ -----------------------------
25
+ TranscribableTest: test_truth
26
+ -----------------------------
27
+  (0.1ms) rollback transaction
28
+  (0.5ms) begin transaction
29
+ --------------------------------------------------
30
+ TranscribableTest: test_transcribable_table_is_set
31
+ --------------------------------------------------
32
+  (0.1ms) rollback transaction
33
+  (0.1ms) begin transaction
34
+ -----------------------------
35
+ TranscribableTest: test_truth
36
+ -----------------------------
37
+  (0.1ms) rollback transaction
38
+  (0.5ms) begin transaction
39
+ ---------------------------------------------------
40
+ TranscribableTest: test_transcribable_attrs_are_set
41
+ ---------------------------------------------------
42
+  (0.1ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+ --------------------------------------------------
45
+ TranscribableTest: test_transcribable_table_is_set
46
+ --------------------------------------------------
47
+  (0.1ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+ -----------------------------
50
+ TranscribableTest: test_truth
51
+ -----------------------------
52
+  (0.1ms) rollback transaction
53
+  (0.5ms) begin transaction
54
+ -------------------------------------------
55
+ TranscribableTest: test_skipped_attr_is_set
56
+ -------------------------------------------
57
+  (0.1ms) rollback transaction
58
+  (0.1ms) begin transaction
59
+ ---------------------------------------------------
60
+ TranscribableTest: test_transcribable_attrs_are_set
61
+ ---------------------------------------------------
62
+  (0.1ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+ --------------------------------------------------
65
+ TranscribableTest: test_transcribable_table_is_set
66
+ --------------------------------------------------
67
+  (0.1ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+ -----------------------------
70
+ TranscribableTest: test_truth
71
+ -----------------------------
72
+  (0.1ms) rollback transaction
73
+  (0.5ms) begin transaction
74
+ ----------------------------------------------
75
+ TranscribableTest: test_set_verification_level
76
+ ----------------------------------------------
77
+  (0.2ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+ -------------------------------------------
80
+ TranscribableTest: test_skipped_attr_is_set
81
+ -------------------------------------------
82
+  (0.1ms) rollback transaction
83
+  (0.1ms) begin transaction
84
+ ---------------------------------------------------
85
+ TranscribableTest: test_transcribable_attrs_are_set
86
+ ---------------------------------------------------
87
+  (0.1ms) rollback transaction
88
+  (0.1ms) begin transaction
89
+ --------------------------------------------------
90
+ TranscribableTest: test_transcribable_table_is_set
91
+ --------------------------------------------------
92
+  (0.1ms) rollback transaction
93
+  (0.1ms) begin transaction
94
+ -----------------------------
95
+ TranscribableTest: test_truth
96
+ -----------------------------
97
+  (0.1ms) rollback transaction
98
+  (0.6ms) begin transaction
99
+ ----------------------------------------------
100
+ TranscribableTest: test_set_verification_level
101
+ ----------------------------------------------
102
+  (0.1ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+ -------------------------------------------
105
+ TranscribableTest: test_skipped_attr_is_set
106
+ -------------------------------------------
107
+  (0.1ms) rollback transaction
108
+  (0.1ms) begin transaction
109
+ ---------------------------------------------------
110
+ TranscribableTest: test_transcribable_attrs_are_set
111
+ ---------------------------------------------------
112
+  (0.1ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+ --------------------------------------------------
115
+ TranscribableTest: test_transcribable_table_is_set
116
+ --------------------------------------------------
117
+  (0.1ms) rollback transaction
118
+  (0.1ms) begin transaction
119
+ -----------------------------
120
+ TranscribableTest: test_truth
121
+ -----------------------------
122
+  (0.1ms) rollback transaction
123
+  (0.5ms) begin transaction
124
+ --------------------------------------------------
125
+ TranscribableTest: test_assign_documents_correctly
126
+ --------------------------------------------------
127
+ Filing Load (22.9ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
128
+  (0.1ms) rollback transaction
129
+  (0.1ms) begin transaction
130
+ ----------------------------------------------
131
+ TranscribableTest: test_set_verification_level
132
+ ----------------------------------------------
133
+  (0.1ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+ -------------------------------------------
136
+ TranscribableTest: test_skipped_attr_is_set
137
+ -------------------------------------------
138
+  (0.1ms) rollback transaction
139
+  (0.1ms) begin transaction
140
+ ---------------------------------------------------
141
+ TranscribableTest: test_transcribable_attrs_are_set
142
+ ---------------------------------------------------
143
+  (0.1ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+ --------------------------------------------------
146
+ TranscribableTest: test_transcribable_table_is_set
147
+ --------------------------------------------------
148
+  (0.1ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+ -----------------------------
151
+ TranscribableTest: test_truth
152
+ -----------------------------
153
+  (0.1ms) rollback transaction
154
+  (0.5ms) begin transaction
155
+ --------------------------------------------------
156
+ TranscribableTest: test_assign_documents_correctly
157
+ --------------------------------------------------
158
+ Filing Load (4.4ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
159
+  (0.1ms) rollback transaction
160
+  (0.1ms) begin transaction
161
+ ----------------------------------------------
162
+ TranscribableTest: test_set_verification_level
163
+ ----------------------------------------------
164
+  (0.1ms) rollback transaction
165
+  (0.1ms) begin transaction
166
+ -------------------------------------------
167
+ TranscribableTest: test_skipped_attr_is_set
168
+ -------------------------------------------
169
+  (0.1ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+ ---------------------------------------------------
172
+ TranscribableTest: test_transcribable_attrs_are_set
173
+ ---------------------------------------------------
174
+  (0.1ms) rollback transaction
175
+  (0.1ms) begin transaction
176
+ --------------------------------------------------
177
+ TranscribableTest: test_transcribable_table_is_set
178
+ --------------------------------------------------
179
+  (0.1ms) rollback transaction
180
+  (0.1ms) begin transaction
181
+ -----------------------------
182
+ TranscribableTest: test_truth
183
+ -----------------------------
184
+  (0.1ms) rollback transaction
185
+  (0.5ms) begin transaction
186
+ --------------------------------------------------
187
+ TranscribableTest: test_assign_documents_correctly
188
+ --------------------------------------------------
189
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" ORDER BY "filings"."id" ASC LIMIT 1
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ ----------------------------------------------
193
+ TranscribableTest: test_set_verification_level
194
+ ----------------------------------------------
195
+  (0.1ms) rollback transaction
196
+  (0.1ms) begin transaction
197
+ -------------------------------------------
198
+ TranscribableTest: test_skipped_attr_is_set
199
+ -------------------------------------------
200
+  (0.1ms) rollback transaction
201
+  (0.1ms) begin transaction
202
+ ---------------------------------------------------
203
+ TranscribableTest: test_transcribable_attrs_are_set
204
+ ---------------------------------------------------
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+ --------------------------------------------------
208
+ TranscribableTest: test_transcribable_table_is_set
209
+ --------------------------------------------------
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ -----------------------------
213
+ TranscribableTest: test_truth
214
+ -----------------------------
215
+  (0.1ms) rollback transaction
216
+  (0.5ms) begin transaction
217
+ --------------------------------------------------
218
+ TranscribableTest: test_assign_documents_correctly
219
+ --------------------------------------------------
220
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" ORDER BY "filings"."id" ASC LIMIT 1
221
+  (0.1ms) rollback transaction
222
+  (0.1ms) begin transaction
223
+ ----------------------------------------------
224
+ TranscribableTest: test_set_verification_level
225
+ ----------------------------------------------
226
+  (0.1ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+ -------------------------------------------
229
+ TranscribableTest: test_skipped_attr_is_set
230
+ -------------------------------------------
231
+  (0.1ms) rollback transaction
232
+  (0.1ms) begin transaction
233
+ ---------------------------------------------------
234
+ TranscribableTest: test_transcribable_attrs_are_set
235
+ ---------------------------------------------------
236
+  (0.1ms) rollback transaction
237
+  (0.1ms) begin transaction
238
+ --------------------------------------------------
239
+ TranscribableTest: test_transcribable_table_is_set
240
+ --------------------------------------------------
241
+  (0.1ms) rollback transaction
242
+  (0.1ms) begin transaction
243
+ -----------------------------
244
+ TranscribableTest: test_truth
245
+ -----------------------------
246
+  (0.1ms) rollback transaction
247
+  (0.5ms) begin transaction
248
+ --------------------------------------------------
249
+ TranscribableTest: test_assign_documents_correctly
250
+ --------------------------------------------------
251
+  (0.1ms) SELECT COUNT(*) FROM "filings"
252
+  (0.2ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+ ----------------------------------------------
255
+ TranscribableTest: test_set_verification_level
256
+ ----------------------------------------------
257
+  (0.1ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+ -------------------------------------------
260
+ TranscribableTest: test_skipped_attr_is_set
261
+ -------------------------------------------
262
+  (0.1ms) rollback transaction
263
+  (0.1ms) begin transaction
264
+ ---------------------------------------------------
265
+ TranscribableTest: test_transcribable_attrs_are_set
266
+ ---------------------------------------------------
267
+  (0.1ms) rollback transaction
268
+  (0.1ms) begin transaction
269
+ --------------------------------------------------
270
+ TranscribableTest: test_transcribable_table_is_set
271
+ --------------------------------------------------
272
+  (0.1ms) rollback transaction
273
+  (0.1ms) begin transaction
274
+ -----------------------------
275
+ TranscribableTest: test_truth
276
+ -----------------------------
277
+  (0.1ms) rollback transaction
278
+  (0.5ms) begin transaction
279
+ --------------------------------------------------
280
+ TranscribableTest: test_assign_documents_correctly
281
+ --------------------------------------------------
282
+  (0.1ms) SELECT COUNT(*) FROM "filings"
283
+  (0.3ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+ ----------------------------------------------
286
+ TranscribableTest: test_set_verification_level
287
+ ----------------------------------------------
288
+  (0.1ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+ -------------------------------------------
291
+ TranscribableTest: test_skipped_attr_is_set
292
+ -------------------------------------------
293
+  (0.1ms) rollback transaction
294
+  (0.1ms) begin transaction
295
+ ---------------------------------------------------
296
+ TranscribableTest: test_transcribable_attrs_are_set
297
+ ---------------------------------------------------
298
+  (0.1ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ --------------------------------------------------
301
+ TranscribableTest: test_transcribable_table_is_set
302
+ --------------------------------------------------
303
+  (0.1ms) rollback transaction
304
+  (0.1ms) begin transaction
305
+ -----------------------------
306
+ TranscribableTest: test_truth
307
+ -----------------------------
308
+  (0.1ms) rollback transaction
309
+  (0.5ms) begin transaction
310
+ --------------------------------------------------
311
+ TranscribableTest: test_assign_documents_correctly
312
+ --------------------------------------------------
313
+  (0.1ms) rollback transaction
314
+  (0.1ms) begin transaction
315
+ ----------------------------------------------
316
+ TranscribableTest: test_set_verification_level
317
+ ----------------------------------------------
318
+  (0.1ms) rollback transaction
319
+  (0.1ms) begin transaction
320
+ -------------------------------------------
321
+ TranscribableTest: test_skipped_attr_is_set
322
+ -------------------------------------------
323
+  (0.1ms) rollback transaction
324
+  (0.1ms) begin transaction
325
+ ---------------------------------------------------
326
+ TranscribableTest: test_transcribable_attrs_are_set
327
+ ---------------------------------------------------
328
+  (0.1ms) rollback transaction
329
+  (0.1ms) begin transaction
330
+ --------------------------------------------------
331
+ TranscribableTest: test_transcribable_table_is_set
332
+ --------------------------------------------------
333
+  (0.1ms) rollback transaction
334
+  (0.1ms) begin transaction
335
+ -----------------------------
336
+ TranscribableTest: test_truth
337
+ -----------------------------
338
+  (0.1ms) rollback transaction
339
+  (0.5ms) begin transaction
340
+ -------------------------------------------------------------------------------------------------------
341
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
342
+ -------------------------------------------------------------------------------------------------------
343
+  (0.1ms) SAVEPOINT active_record_1
344
+ SQL (6.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
346
+  (0.1ms) SAVEPOINT active_record_1
347
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
349
+  (0.1ms) SAVEPOINT active_record_1
350
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
352
+  (0.1ms) SAVEPOINT active_record_1
353
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
355
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
356
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
357
+ SQL (0.2ms) DELETE FROM "filings"
358
+ SQL (0.1ms) DELETE FROM "transcriptions"
359
+  (21.3ms) rollback transaction
360
+  (0.1ms) begin transaction
361
+ ----------------------------------------------
362
+ TranscribableTest: test_set_verification_level
363
+ ----------------------------------------------
364
+  (0.1ms) rollback transaction
365
+  (0.1ms) begin transaction
366
+ -------------------------------------------
367
+ TranscribableTest: test_skipped_attr_is_set
368
+ -------------------------------------------
369
+  (0.1ms) rollback transaction
370
+  (0.1ms) begin transaction
371
+ ---------------------------------------------------
372
+ TranscribableTest: test_transcribable_attrs_are_set
373
+ ---------------------------------------------------
374
+  (0.1ms) rollback transaction
375
+  (0.1ms) begin transaction
376
+ --------------------------------------------------
377
+ TranscribableTest: test_transcribable_table_is_set
378
+ --------------------------------------------------
379
+  (0.1ms) rollback transaction
380
+  (0.1ms) begin transaction
381
+ -----------------------------
382
+ TranscribableTest: test_truth
383
+ -----------------------------
384
+  (0.1ms) rollback transaction
385
+  (0.5ms) begin transaction
386
+ -------------------------------------------------------------------------------------------------------
387
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
388
+ -------------------------------------------------------------------------------------------------------
389
+  (0.2ms) SAVEPOINT active_record_1
390
+ SQL (6.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
392
+  (0.1ms) SAVEPOINT active_record_1
393
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
395
+  (0.1ms) SAVEPOINT active_record_1
396
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
398
+  (0.1ms) SAVEPOINT active_record_1
399
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
401
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
402
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
403
+ SQL (0.1ms) DELETE FROM "filings"
404
+ SQL (0.1ms) DELETE FROM "transcriptions"
405
+  (0.7ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+ ----------------------------------------------
408
+ TranscribableTest: test_set_verification_level
409
+ ----------------------------------------------
410
+  (0.1ms) rollback transaction
411
+  (0.1ms) begin transaction
412
+ -------------------------------------------
413
+ TranscribableTest: test_skipped_attr_is_set
414
+ -------------------------------------------
415
+  (0.1ms) rollback transaction
416
+  (0.1ms) begin transaction
417
+ ---------------------------------------------------
418
+ TranscribableTest: test_transcribable_attrs_are_set
419
+ ---------------------------------------------------
420
+  (0.1ms) rollback transaction
421
+  (0.1ms) begin transaction
422
+ --------------------------------------------------
423
+ TranscribableTest: test_transcribable_table_is_set
424
+ --------------------------------------------------
425
+  (0.1ms) rollback transaction
426
+  (0.1ms) begin transaction
427
+ -----------------------------
428
+ TranscribableTest: test_truth
429
+ -----------------------------
430
+  (0.1ms) rollback transaction
431
+  (0.5ms) begin transaction
432
+ -------------------------------------------------------------------------------------------------------
433
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
434
+ -------------------------------------------------------------------------------------------------------
435
+  (0.3ms) SAVEPOINT active_record_1
436
+ SQL (5.8ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
438
+  (0.1ms) SAVEPOINT active_record_1
439
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
441
+  (0.1ms) SAVEPOINT active_record_1
442
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
444
+  (0.1ms) SAVEPOINT active_record_1
445
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
447
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
448
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
449
+ SQL (0.1ms) DELETE FROM "filings"
450
+ SQL (0.1ms) DELETE FROM "transcriptions"
451
+  (0.7ms) rollback transaction
452
+  (0.1ms) begin transaction
453
+ ----------------------------------------------
454
+ TranscribableTest: test_set_verification_level
455
+ ----------------------------------------------
456
+  (0.1ms) rollback transaction
457
+  (0.1ms) begin transaction
458
+ -------------------------------------------
459
+ TranscribableTest: test_skipped_attr_is_set
460
+ -------------------------------------------
461
+  (0.1ms) rollback transaction
462
+  (0.1ms) begin transaction
463
+ ---------------------------------------------------
464
+ TranscribableTest: test_transcribable_attrs_are_set
465
+ ---------------------------------------------------
466
+  (0.1ms) rollback transaction
467
+  (0.1ms) begin transaction
468
+ --------------------------------------------------
469
+ TranscribableTest: test_transcribable_table_is_set
470
+ --------------------------------------------------
471
+  (0.1ms) rollback transaction
472
+  (0.1ms) begin transaction
473
+ -----------------------------
474
+ TranscribableTest: test_truth
475
+ -----------------------------
476
+  (0.1ms) rollback transaction
477
+  (0.5ms) begin transaction
478
+ -------------------------------------------------------------------------------------------------------
479
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
480
+ -------------------------------------------------------------------------------------------------------
481
+  (0.2ms) SAVEPOINT active_record_1
482
+ SQL (6.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
484
+  (0.1ms) SAVEPOINT active_record_1
485
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
487
+  (0.1ms) SAVEPOINT active_record_1
488
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
490
+  (0.1ms) SAVEPOINT active_record_1
491
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
493
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
494
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
495
+ SQL (0.1ms) DELETE FROM "filings"
496
+ SQL (0.1ms) DELETE FROM "transcriptions"
497
+  (0.7ms) rollback transaction
498
+  (0.1ms) begin transaction
499
+ ----------------------------------------------
500
+ TranscribableTest: test_set_verification_level
501
+ ----------------------------------------------
502
+  (0.1ms) rollback transaction
503
+  (0.1ms) begin transaction
504
+ -------------------------------------------
505
+ TranscribableTest: test_skipped_attr_is_set
506
+ -------------------------------------------
507
+  (0.1ms) rollback transaction
508
+  (0.1ms) begin transaction
509
+ ---------------------------------------------------
510
+ TranscribableTest: test_transcribable_attrs_are_set
511
+ ---------------------------------------------------
512
+  (0.1ms) rollback transaction
513
+  (0.1ms) begin transaction
514
+ --------------------------------------------------
515
+ TranscribableTest: test_transcribable_table_is_set
516
+ --------------------------------------------------
517
+  (0.1ms) rollback transaction
518
+  (0.1ms) begin transaction
519
+ -----------------------------
520
+ TranscribableTest: test_truth
521
+ -----------------------------
522
+  (0.1ms) rollback transaction
523
+  (0.5ms) begin transaction
524
+ -------------------------------------------------------------------------------------------------------
525
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
526
+ -------------------------------------------------------------------------------------------------------
527
+  (0.1ms) SAVEPOINT active_record_1
528
+ SQL (6.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
530
+  (0.1ms) SAVEPOINT active_record_1
531
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
533
+  (0.1ms) SAVEPOINT active_record_1
534
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
535
+  (0.1ms) RELEASE SAVEPOINT active_record_1
536
+  (0.1ms) SAVEPOINT active_record_1
537
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
539
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
540
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
541
+ SQL (0.1ms) DELETE FROM "filings"
542
+ SQL (0.1ms) DELETE FROM "transcriptions"
543
+  (0.7ms) rollback transaction
544
+  (0.1ms) begin transaction
545
+ ----------------------------------------------
546
+ TranscribableTest: test_set_verification_level
547
+ ----------------------------------------------
548
+  (0.1ms) rollback transaction
549
+  (0.1ms) begin transaction
550
+ -------------------------------------------
551
+ TranscribableTest: test_skipped_attr_is_set
552
+ -------------------------------------------
553
+  (0.1ms) rollback transaction
554
+  (0.1ms) begin transaction
555
+ ---------------------------------------------------
556
+ TranscribableTest: test_transcribable_attrs_are_set
557
+ ---------------------------------------------------
558
+  (0.1ms) rollback transaction
559
+  (0.1ms) begin transaction
560
+ --------------------------------------------------
561
+ TranscribableTest: test_transcribable_table_is_set
562
+ --------------------------------------------------
563
+  (0.1ms) rollback transaction
564
+  (0.1ms) begin transaction
565
+ -----------------------------
566
+ TranscribableTest: test_truth
567
+ -----------------------------
568
+  (0.1ms) rollback transaction
569
+  (0.5ms) begin transaction
570
+ -------------------------------------------------------------------------------------------------------
571
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
572
+ -------------------------------------------------------------------------------------------------------
573
+  (0.2ms) SAVEPOINT active_record_1
574
+ SQL (6.1ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
576
+  (0.1ms) SAVEPOINT active_record_1
577
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
579
+  (0.1ms) SAVEPOINT active_record_1
580
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
582
+  (0.1ms) SAVEPOINT active_record_1
583
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
585
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
586
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
587
+ SQL (0.1ms) DELETE FROM "filings"
588
+ SQL (0.1ms) DELETE FROM "transcriptions"
589
+  (49.8ms) rollback transaction
590
+  (0.1ms) begin transaction
591
+ ----------------------------------------------
592
+ TranscribableTest: test_set_verification_level
593
+ ----------------------------------------------
594
+  (0.1ms) rollback transaction
595
+  (0.1ms) begin transaction
596
+ -------------------------------------------
597
+ TranscribableTest: test_skipped_attr_is_set
598
+ -------------------------------------------
599
+  (0.1ms) rollback transaction
600
+  (0.1ms) begin transaction
601
+ ---------------------------------------------------
602
+ TranscribableTest: test_transcribable_attrs_are_set
603
+ ---------------------------------------------------
604
+  (0.1ms) rollback transaction
605
+  (0.1ms) begin transaction
606
+ --------------------------------------------------
607
+ TranscribableTest: test_transcribable_table_is_set
608
+ --------------------------------------------------
609
+  (0.1ms) rollback transaction
610
+  (0.1ms) begin transaction
611
+ -----------------------------
612
+ TranscribableTest: test_truth
613
+ -----------------------------
614
+  (0.1ms) rollback transaction
615
+  (0.1ms) begin transaction
616
+ ------------------------------------------------------------
617
+ TranscribableVerifierTest: test_should_verify_transcriptions
618
+ ------------------------------------------------------------
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
622
+  (0.1ms) SAVEPOINT active_record_1
623
+ SQL (0.5ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
625
+  (0.1ms) SAVEPOINT active_record_1
626
+ SQL (0.1ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "5aa499f0cfb30130c5fc442c03361f6e"]]
627
+  (0.1ms) RELEASE SAVEPOINT active_record_1
628
+ Filing Load (0.1ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
629
+ == Verifying buyer, amount
630
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
631
+  (0.1ms) SAVEPOINT active_record_1
632
+ SQL (0.2ms) UPDATE "filings" SET "buyer" = ?, "amount" = ?, "verified" = ? WHERE "filings"."id" = 1 [["buyer", "RESTORE OUR FUTURE"], ["amount", 123], ["verified", true]]
633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
634
+ == Verified https://www.documentcloud.org/documents/326749-abc-chicago
635
+ SQL (0.1ms) DELETE FROM "filings"
636
+ SQL (0.1ms) DELETE FROM "transcriptions"
637
+  (0.7ms) rollback transaction
638
+  (0.5ms) begin transaction
639
+ -------------------------------------------------------------------------------------------------------
640
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
641
+ -------------------------------------------------------------------------------------------------------
642
+  (0.3ms) SAVEPOINT active_record_1
643
+ SQL (6.3ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
645
+  (0.1ms) SAVEPOINT active_record_1
646
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
648
+  (0.1ms) SAVEPOINT active_record_1
649
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
651
+  (0.1ms) SAVEPOINT active_record_1
652
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
654
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
655
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
656
+ SQL (0.1ms) DELETE FROM "filings"
657
+ SQL (0.1ms) DELETE FROM "transcriptions"
658
+  (0.7ms) rollback transaction
659
+  (0.1ms) begin transaction
660
+ ----------------------------------------------
661
+ TranscribableTest: test_set_verification_level
662
+ ----------------------------------------------
663
+  (0.1ms) rollback transaction
664
+  (0.1ms) begin transaction
665
+ -------------------------------------------
666
+ TranscribableTest: test_skipped_attr_is_set
667
+ -------------------------------------------
668
+  (0.1ms) rollback transaction
669
+  (0.1ms) begin transaction
670
+ ---------------------------------------------------
671
+ TranscribableTest: test_transcribable_attrs_are_set
672
+ ---------------------------------------------------
673
+  (0.1ms) rollback transaction
674
+  (0.1ms) begin transaction
675
+ --------------------------------------------------
676
+ TranscribableTest: test_transcribable_table_is_set
677
+ --------------------------------------------------
678
+  (0.1ms) rollback transaction
679
+  (0.1ms) begin transaction
680
+ -----------------------------
681
+ TranscribableTest: test_truth
682
+ -----------------------------
683
+  (0.1ms) rollback transaction
684
+  (0.1ms) begin transaction
685
+ ------------------------------------------------------------
686
+ TranscribableVerifierTest: test_should_verify_transcriptions
687
+ ------------------------------------------------------------
688
+  (0.1ms) SAVEPOINT active_record_1
689
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
691
+  (0.1ms) SAVEPOINT active_record_1
692
+ SQL (0.3ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
694
+  (0.1ms) SAVEPOINT active_record_1
695
+ SQL (0.1ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
697
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
698
+ == Verifying buyer, amount
699
+ Transcription Load (0.3ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
700
+  (0.1ms) SAVEPOINT active_record_1
701
+ SQL (0.3ms) UPDATE "filings" SET "buyer" = ?, "amount" = ?, "verified" = ? WHERE "filings"."id" = 1 [["buyer", "RESTORE OUR FUTURE"], ["amount", 123], ["verified", true]]
702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
703
+ == Verified https://www.documentcloud.org/documents/326749-abc-chicago
704
+ SQL (0.1ms) DELETE FROM "filings"
705
+ SQL (0.1ms) DELETE FROM "transcriptions"
706
+  (0.7ms) rollback transaction
707
+  (0.6ms) begin transaction
708
+ -------------------------------------------------------------------------------------------------------
709
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
710
+ -------------------------------------------------------------------------------------------------------
711
+  (0.2ms) SAVEPOINT active_record_1
712
+ SQL (5.9ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
714
+  (0.1ms) SAVEPOINT active_record_1
715
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
717
+  (0.1ms) SAVEPOINT active_record_1
718
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
720
+  (0.1ms) SAVEPOINT active_record_1
721
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
722
+  (0.1ms) RELEASE SAVEPOINT active_record_1
723
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
724
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
725
+ SQL (0.3ms) DELETE FROM "filings"
726
+ SQL (0.1ms) DELETE FROM "transcriptions"
727
+  (1.7ms) rollback transaction
728
+  (0.2ms) begin transaction
729
+ ----------------------------------------------
730
+ TranscribableTest: test_set_verification_level
731
+ ----------------------------------------------
732
+  (0.1ms) rollback transaction
733
+  (0.1ms) begin transaction
734
+ -------------------------------------------
735
+ TranscribableTest: test_skipped_attr_is_set
736
+ -------------------------------------------
737
+  (0.1ms) rollback transaction
738
+  (0.1ms) begin transaction
739
+ ---------------------------------------------------
740
+ TranscribableTest: test_transcribable_attrs_are_set
741
+ ---------------------------------------------------
742
+  (0.1ms) rollback transaction
743
+  (0.1ms) begin transaction
744
+ --------------------------------------------------
745
+ TranscribableTest: test_transcribable_table_is_set
746
+ --------------------------------------------------
747
+  (0.1ms) rollback transaction
748
+  (0.1ms) begin transaction
749
+ -----------------------------
750
+ TranscribableTest: test_truth
751
+ -----------------------------
752
+  (0.1ms) rollback transaction
753
+  (0.1ms) begin transaction
754
+ ------------------------------------------------------------
755
+ TranscribableVerifierTest: test_should_verify_transcriptions
756
+ ------------------------------------------------------------
757
+  (0.1ms) SAVEPOINT active_record_1
758
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
760
+  (0.1ms) SAVEPOINT active_record_1
761
+ SQL (0.4ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
763
+  (0.1ms) SAVEPOINT active_record_1
764
+ SQL (0.1ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
766
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
767
+ == Verifying buyer, amount
768
+ Transcription Load (0.3ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
769
+  (0.1ms) SAVEPOINT active_record_1
770
+ SQL (0.2ms) UPDATE "filings" SET "buyer" = ?, "amount" = ?, "verified" = ? WHERE "filings"."id" = 1 [["buyer", "RESTORE OUR FUTURE"], ["amount", 123], ["verified", true]]
771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
772
+ == Verified https://www.documentcloud.org/documents/326749-abc-chicago
773
+ SQL (0.1ms) DELETE FROM "filings"
774
+ SQL (0.1ms) DELETE FROM "transcriptions"
775
+  (0.7ms) rollback transaction
776
+  (0.5ms) begin transaction
777
+ -------------------------------------------------------------------------------------------------------
778
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
779
+ -------------------------------------------------------------------------------------------------------
780
+  (0.3ms) SAVEPOINT active_record_1
781
+ SQL (6.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
782
+  (0.1ms) RELEASE SAVEPOINT active_record_1
783
+  (0.1ms) SAVEPOINT active_record_1
784
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
786
+  (0.1ms) SAVEPOINT active_record_1
787
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
789
+  (0.1ms) SAVEPOINT active_record_1
790
+ SQL (0.3ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
792
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
793
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
794
+ SQL (0.1ms) DELETE FROM "filings"
795
+ SQL (0.1ms) DELETE FROM "transcriptions"
796
+  (0.7ms) rollback transaction
797
+  (0.1ms) begin transaction
798
+ ----------------------------------------------
799
+ TranscribableTest: test_set_verification_level
800
+ ----------------------------------------------
801
+  (0.1ms) rollback transaction
802
+  (0.1ms) begin transaction
803
+ -------------------------------------------
804
+ TranscribableTest: test_skipped_attr_is_set
805
+ -------------------------------------------
806
+  (0.1ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+ ---------------------------------------------------
809
+ TranscribableTest: test_transcribable_attrs_are_set
810
+ ---------------------------------------------------
811
+  (0.1ms) rollback transaction
812
+  (0.1ms) begin transaction
813
+ --------------------------------------------------
814
+ TranscribableTest: test_transcribable_table_is_set
815
+ --------------------------------------------------
816
+  (0.1ms) rollback transaction
817
+  (0.1ms) begin transaction
818
+ -----------------------------
819
+ TranscribableTest: test_truth
820
+ -----------------------------
821
+  (0.1ms) rollback transaction
822
+  (0.1ms) begin transaction
823
+ ------------------------------------------------------------
824
+ TranscribableVerifierTest: test_should_verify_transcriptions
825
+ ------------------------------------------------------------
826
+  (0.1ms) SAVEPOINT active_record_1
827
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
829
+  (0.1ms) SAVEPOINT active_record_1
830
+ SQL (0.3ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
832
+  (0.1ms) SAVEPOINT active_record_1
833
+ SQL (0.1ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
835
+ Filing Load (0.1ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
836
+ == Verifying buyer, amount
837
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
838
+  (0.1ms) SAVEPOINT active_record_1
839
+ SQL (0.2ms) UPDATE "filings" SET "buyer" = ?, "amount" = ?, "verified" = ? WHERE "filings"."id" = 1 [["buyer", "RESTORE OUR FUTURE"], ["amount", 123], ["verified", true]]
840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
841
+ == Verified https://www.documentcloud.org/documents/326749-abc-chicago
842
+ SQL (0.1ms) DELETE FROM "filings"
843
+ SQL (0.1ms) DELETE FROM "transcriptions"
844
+  (0.5ms) rollback transaction
845
+  (0.6ms) begin transaction
846
+ -------------------------------------------------------------------------------------------------------
847
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
848
+ -------------------------------------------------------------------------------------------------------
849
+  (0.1ms) SAVEPOINT active_record_1
850
+ SQL (6.1ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
852
+  (0.1ms) SAVEPOINT active_record_1
853
+ SQL (0.3ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
855
+  (0.1ms) SAVEPOINT active_record_1
856
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
858
+  (0.1ms) SAVEPOINT active_record_1
859
+ SQL (0.2ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
860
+  (0.1ms) RELEASE SAVEPOINT active_record_1
861
+ Transcription Load (0.1ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
862
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
863
+ SQL (0.1ms) DELETE FROM "filings"
864
+ SQL (0.1ms) DELETE FROM "transcriptions"
865
+  (0.7ms) rollback transaction
866
+  (0.1ms) begin transaction
867
+ ----------------------------------------------
868
+ TranscribableTest: test_set_verification_level
869
+ ----------------------------------------------
870
+  (0.1ms) rollback transaction
871
+  (0.1ms) begin transaction
872
+ -------------------------------------------
873
+ TranscribableTest: test_skipped_attr_is_set
874
+ -------------------------------------------
875
+  (0.1ms) rollback transaction
876
+  (0.1ms) begin transaction
877
+ ---------------------------------------------------
878
+ TranscribableTest: test_transcribable_attrs_are_set
879
+ ---------------------------------------------------
880
+  (0.1ms) rollback transaction
881
+  (0.1ms) begin transaction
882
+ --------------------------------------------------
883
+ TranscribableTest: test_transcribable_table_is_set
884
+ --------------------------------------------------
885
+  (0.1ms) rollback transaction
886
+  (0.1ms) begin transaction
887
+ -----------------------------
888
+ TranscribableTest: test_truth
889
+ -----------------------------
890
+  (0.1ms) rollback transaction
891
+  (0.1ms) begin transaction
892
+ ------------------------------------------------------------
893
+ TranscribableVerifierTest: test_should_verify_transcriptions
894
+ ------------------------------------------------------------
895
+  (0.1ms) SAVEPOINT active_record_1
896
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
898
+  (0.1ms) SAVEPOINT active_record_1
899
+ SQL (0.3ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
901
+  (0.1ms) SAVEPOINT active_record_1
902
+ SQL (0.2ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 1234], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
904
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
905
+ == Verifying buyer, amount
906
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
907
+ == Not verified: https://www.documentcloud.org/documents/326749-abc-chicago
908
+ SQL (0.2ms) DELETE FROM "filings"
909
+ SQL (0.1ms) DELETE FROM "transcriptions"
910
+  (0.8ms) rollback transaction
911
+  (0.5ms) begin transaction
912
+ -------------------------------------------------------------------------------------------------------
913
+ TranscribableAssignerTest: test_should_assign_documents_that_aren't_verified_or_transcribed_by_the_user
914
+ -------------------------------------------------------------------------------------------------------
915
+  (0.2ms) SAVEPOINT active_record_1
916
+ SQL (7.0ms) INSERT INTO "filings" ("id", "url", "verified") VALUES (?, ?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326844-fox-chicago-public-file"], ["verified", true]]
917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
918
+  (0.1ms) SAVEPOINT active_record_1
919
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 2], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
921
+  (0.1ms) SAVEPOINT active_record_1
922
+ SQL (0.1ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 3], ["url", "https://www.documentcloud.org/documents/326753-cbs-chicago-public-file"]]
923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
924
+  (0.1ms) SAVEPOINT active_record_1
925
+ SQL (0.3ms) INSERT INTO "transcriptions" ("filing_id", "user_id") VALUES (?, ?) [["filing_id", 2], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
927
+ Transcription Load (0.2ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."user_id" = '40765bb0cfa90130c5fb442c03361f6e'
928
+ Filing Load (0.2ms) SELECT "filings".* FROM "filings" WHERE (("filings"."verified" = 'f' OR "filings"."verified" IS NULL)) AND (id NOT IN (2))
929
+ SQL (0.1ms) DELETE FROM "filings"
930
+ SQL (0.1ms) DELETE FROM "transcriptions"
931
+  (0.7ms) rollback transaction
932
+  (0.1ms) begin transaction
933
+ ----------------------------------------------
934
+ TranscribableTest: test_set_verification_level
935
+ ----------------------------------------------
936
+  (0.1ms) rollback transaction
937
+  (0.1ms) begin transaction
938
+ -------------------------------------------
939
+ TranscribableTest: test_skipped_attr_is_set
940
+ -------------------------------------------
941
+  (0.1ms) rollback transaction
942
+  (0.1ms) begin transaction
943
+ ---------------------------------------------------
944
+ TranscribableTest: test_transcribable_attrs_are_set
945
+ ---------------------------------------------------
946
+  (0.1ms) rollback transaction
947
+  (0.1ms) begin transaction
948
+ --------------------------------------------------
949
+ TranscribableTest: test_transcribable_table_is_set
950
+ --------------------------------------------------
951
+  (0.1ms) rollback transaction
952
+  (0.1ms) begin transaction
953
+ -----------------------------
954
+ TranscribableTest: test_truth
955
+ -----------------------------
956
+  (0.1ms) rollback transaction
957
+  (0.1ms) begin transaction
958
+ ------------------------------------------------------------
959
+ TranscribableVerifierTest: test_should_verify_transcriptions
960
+ ------------------------------------------------------------
961
+  (0.1ms) SAVEPOINT active_record_1
962
+ SQL (0.4ms) INSERT INTO "filings" ("id", "url") VALUES (?, ?) [["id", 1], ["url", "https://www.documentcloud.org/documents/326749-abc-chicago"]]
963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
964
+  (0.1ms) SAVEPOINT active_record_1
965
+ SQL (0.4ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore Our Future"], ["filing_id", 1], ["user_id", "40765bb0cfa90130c5fb442c03361f6e"]]
966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
967
+  (0.1ms) SAVEPOINT active_record_1
968
+ SQL (0.1ms) INSERT INTO "transcriptions" ("amount", "buyer", "filing_id", "user_id") VALUES (?, ?, ?, ?) [["amount", 123], ["buyer", "Restore our Future"], ["filing_id", 1], ["user_id", "5aa499f0cfb30130c5fc442c03361f6e"]]
969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
970
+ Filing Load (0.1ms) SELECT "filings".* FROM "filings" WHERE "filings"."id" = ? LIMIT 1 [["id", 1]]
971
+ == Verifying buyer, amount
972
+ Transcription Load (0.3ms) SELECT "transcriptions".* FROM "transcriptions" WHERE "transcriptions"."filing_id" = ? [["filing_id", 1]]
973
+  (0.1ms) SAVEPOINT active_record_1
974
+ SQL (0.4ms) UPDATE "filings" SET "buyer" = ?, "amount" = ?, "verified" = ? WHERE "filings"."id" = 1 [["buyer", "RESTORE OUR FUTURE"], ["amount", 123], ["verified", true]]
975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
976
+ == Verified https://www.documentcloud.org/documents/326749-abc-chicago
977
+ SQL (0.1ms) DELETE FROM "filings"
978
+ SQL (0.1ms) DELETE FROM "transcriptions"
979
+  (0.7ms) rollback transaction
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transcribable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Al Shaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-25 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.0
19
+ version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.0
26
+ version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: uuid
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Drop in crowdsourcing for your Rails app.
@@ -73,6 +73,8 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - MIT-LICENSE
77
+ - Rakefile
76
78
  - lib/generators/templates/assets/stylesheets/simple_frame.css
77
79
  - lib/generators/templates/config/documentcloud.yml
78
80
  - lib/generators/templates/controller.rb
@@ -84,11 +86,11 @@ files:
84
86
  - lib/generators/templates/views/new.html.erb
85
87
  - lib/generators/transcribable_generator.rb
86
88
  - lib/tasks/harvester.rake
89
+ - lib/transcribable.rb
87
90
  - lib/transcribable/railtie.rb
88
91
  - lib/transcribable/version.rb
89
- - lib/transcribable.rb
90
- - MIT-LICENSE
91
- - Rakefile
92
+ - test/dummy/README.rdoc
93
+ - test/dummy/Rakefile
92
94
  - test/dummy/app/assets/javascripts/application.js
93
95
  - test/dummy/app/assets/stylesheets/application.css
94
96
  - test/dummy/app/controllers/application_controller.rb
@@ -99,6 +101,7 @@ files:
99
101
  - test/dummy/bin/bundle
100
102
  - test/dummy/bin/rails
101
103
  - test/dummy/bin/rake
104
+ - test/dummy/config.ru
102
105
  - test/dummy/config/application.rb
103
106
  - test/dummy/config/boot.rb
104
107
  - test/dummy/config/database.yml
@@ -115,14 +118,13 @@ files:
115
118
  - test/dummy/config/initializers/wrap_parameters.rb
116
119
  - test/dummy/config/locales/en.yml
117
120
  - test/dummy/config/routes.rb
118
- - test/dummy/config.ru
119
121
  - test/dummy/db/schema.rb
122
+ - test/dummy/db/test.sqlite3
123
+ - test/dummy/log/test.log
120
124
  - test/dummy/public/404.html
121
125
  - test/dummy/public/422.html
122
126
  - test/dummy/public/500.html
123
127
  - test/dummy/public/favicon.ico
124
- - test/dummy/Rakefile
125
- - test/dummy/README.rdoc
126
128
  - test/test_helper.rb
127
129
  - test/transcribable_test.rb
128
130
  homepage: https://github.com/propublica/transcribable
@@ -135,17 +137,17 @@ require_paths:
135
137
  - lib
136
138
  required_ruby_version: !ruby/object:Gem::Requirement
137
139
  requirements:
138
- - - ! '>='
140
+ - - ">="
139
141
  - !ruby/object:Gem::Version
140
142
  version: '0'
141
143
  required_rubygems_version: !ruby/object:Gem::Requirement
142
144
  requirements:
143
- - - ! '>='
145
+ - - ">="
144
146
  - !ruby/object:Gem::Version
145
147
  version: '0'
146
148
  requirements: []
147
149
  rubyforge_project:
148
- rubygems_version: 2.1.9
150
+ rubygems_version: 2.4.5
149
151
  signing_key:
150
152
  specification_version: 4
151
153
  summary: Drop in crowdsourcing for your Rails app.
@@ -178,6 +180,8 @@ test_files:
178
180
  - test/dummy/config/routes.rb
179
181
  - test/dummy/config.ru
180
182
  - test/dummy/db/schema.rb
183
+ - test/dummy/db/test.sqlite3
184
+ - test/dummy/log/test.log
181
185
  - test/dummy/public/404.html
182
186
  - test/dummy/public/422.html
183
187
  - test/dummy/public/500.html