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