acts_as_citable 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/lib/acts_as_citable/version.rb +1 -1
- data/test/acts_as_citable_test.rb +14 -8
- data/test/dummy/log/test.log +676 -0
- data/test/dummy/test/unit/record_test.rb +4 -4
- data/test/test_helper.rb +9 -9
- metadata +4 -4
data/MIT-LICENSE
CHANGED
@@ -32,10 +32,10 @@ class RecordTest < ActiveSupport::TestCase
|
|
32
32
|
|
33
33
|
test "should work with models inherited acts_as_citable models" do
|
34
34
|
rec = InheritedRecord.new(:data => "itemType: book", :format => "csf")
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
assert_equal "TY - BOOK\nER -\n\n", rec.to_ris
|
36
|
+
assert_equal "@book{????\n}", rec.to_bibtex
|
37
|
+
assert_equal "rft.ulr_ver=Z39.88-2004&rft.ctx_ver=Z39.88-2004&rft.rfr_id=info:sid/libraries.nyu.edu:citero&rft_val_fmlt=info:ofi/fmt:kev:mtx:book&rft.genre=book", rec.to_openurl
|
38
|
+
assert_equal "{\"source\":\"book\",\"book\":{\"title\":null},\"pubtype\":{\"main\":\"pubnonperiodical\"},\"pubnonperiodical\":{},\"contributors\":[]}", rec.to_easybib
|
39
39
|
assert rec.destroy
|
40
40
|
end
|
41
41
|
|
@@ -58,10 +58,10 @@ class RecordTest < ActiveSupport::TestCase
|
|
58
58
|
|
59
59
|
test "should be available to convert to" do
|
60
60
|
rec = Record.new(:data => "itemType: book", :format => "csf")
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
61
|
+
assert_equal "TY - BOOK\nER -\n\n", rec.to_ris
|
62
|
+
assert_equal "@book{????\n}", rec.to_bibtex
|
63
|
+
assert_equal "rft.ulr_ver=Z39.88-2004&rft.ctx_ver=Z39.88-2004&rft.rfr_id=info:sid/libraries.nyu.edu:citero&rft_val_fmlt=info:ofi/fmt:kev:mtx:book&rft.genre=book", rec.to_openurl
|
64
|
+
assert_equal "{\"source\":\"book\",\"book\":{\"title\":null},\"pubtype\":{\"main\":\"pubnonperiodical\"},\"pubnonperiodical\":{},\"contributors\":[]}", rec.to_easybib
|
65
65
|
assert rec.destroy
|
66
66
|
end
|
67
67
|
|
@@ -79,4 +79,10 @@ class RecordTest < ActiveSupport::TestCase
|
|
79
79
|
arr.each {|rec| assert rec.destroy}
|
80
80
|
end
|
81
81
|
|
82
|
+
test "should be able to convert to an export STYLE" do
|
83
|
+
rec = Record.new(:data => "itemType: book", :format => "csf")
|
84
|
+
assert_equal "<div class=\"csl-bib-body\">\n <div class=\"csl-entry\"> (n.d.).</div>\n</div>", rec.to_apa
|
85
|
+
assert_equal "<div class=\"csl-bib-body\">\n <div class=\"csl-entry\"> Print.</div>\n</div>", rec.to_mla
|
86
|
+
assert_equal "<div class=\"csl-bib-body\">\n\n[CSL STYLE ERROR: reference with no printed form.]\n</div>", rec.to_chicago_author_date
|
87
|
+
end
|
82
88
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -7014,3 +7014,679 @@ Processing by TestController#test as RIS
|
|
7014
7014
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7015
7015
|
Sent data 3.ris (1.0ms)
|
7016
7016
|
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7017
|
+
Connecting to database specified by database.yml
|
7018
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7020
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-05-20 18:22:57.550000', 'itemType: book', 'csf', '2013-05-20 18:22:57.550000')[0m
|
7021
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7023
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7025
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7032
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7034
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7036
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7037
|
+
Processing by TestController#test as
|
7038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7039
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-05-20 18:22:57.975000', 'itemType: book', 'csf', '2013-05-20 18:22:57.975000')[0m
|
7040
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7041
|
+
Completed 406 Not Acceptable in 17ms (ActiveRecord: 0.0ms)
|
7042
|
+
Processing by TestController#test as BIBTEX
|
7043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7044
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-05-20 18:22:58.002000', 'itemType: book', 'csf', '2013-05-20 18:22:58.002000')
|
7045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7046
|
+
Sent data 3.bib (10.0ms)
|
7047
|
+
Completed 200 OK in 53ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
7048
|
+
Processing by TestController#test as BIBTEX
|
7049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7050
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-05-20 18:22:58.065000', 'itemType: book', 'csf', '2013-05-20 18:22:58.065000')[0m
|
7051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7052
|
+
Sent data 3.bib (1.0ms)
|
7053
|
+
Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7054
|
+
Processing by TestController#test as RIS
|
7055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7056
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-05-20 18:22:58.090000', 'itemType: book', 'csf', '2013-05-20 18:22:58.090000')
|
7057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7058
|
+
Sent data 3.ris (1.0ms)
|
7059
|
+
Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7060
|
+
Connecting to database specified by database.yml
|
7061
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7063
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:17:07.983000', 'itemType: book', 'csf', '2013-06-14 22:17:07.983000')[0m
|
7064
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7065
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7066
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7067
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7068
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7069
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7070
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7071
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7073
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7076
|
+
Processing by TestController#test as
|
7077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7078
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:17:08.289000', 'itemType: book', 'csf', '2013-06-14 22:17:08.289000')[0m
|
7079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7080
|
+
Completed 406 Not Acceptable in 13ms (ActiveRecord: 0.0ms)
|
7081
|
+
Processing by TestController#test as BIBTEX
|
7082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7083
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:17:08.315000', 'itemType: book', 'csf', '2013-06-14 22:17:08.315000')
|
7084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7085
|
+
Sent data 3.bib (4.0ms)
|
7086
|
+
Completed 200 OK in 48ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7087
|
+
Processing by TestController#test as BIBTEX
|
7088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7089
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:17:08.371000', 'itemType: book', 'csf', '2013-06-14 22:17:08.371000')[0m
|
7090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7091
|
+
Sent data 3.bib (1.0ms)
|
7092
|
+
Completed 200 OK in 15ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
7093
|
+
Processing by TestController#test as RIS
|
7094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7095
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:17:08.395000', 'itemType: book', 'csf', '2013-06-14 22:17:08.395000')
|
7096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7097
|
+
Sent data 3.ris (1.0ms)
|
7098
|
+
Completed 200 OK in 17ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7099
|
+
Connecting to database specified by database.yml
|
7100
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7101
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7102
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:18:54.029000', 'itemType: book', 'csf', '2013-06-14 22:18:54.029000')[0m
|
7103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7105
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7107
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7108
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7109
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7111
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7112
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7114
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7115
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7116
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7117
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7118
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7119
|
+
Processing by TestController#test as
|
7120
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7121
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:18:54.359000', 'itemType: book', 'csf', '2013-06-14 22:18:54.359000')[0m
|
7122
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7123
|
+
Completed 406 Not Acceptable in 11ms (ActiveRecord: 1.0ms)
|
7124
|
+
Processing by TestController#test as BIBTEX
|
7125
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7126
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:18:54.383000', 'itemType: book', 'csf', '2013-06-14 22:18:54.383000')
|
7127
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7128
|
+
Sent data 3.bib (3.0ms)
|
7129
|
+
Completed 200 OK in 42ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7130
|
+
Processing by TestController#test as BIBTEX
|
7131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7132
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:18:54.435000', 'itemType: book', 'csf', '2013-06-14 22:18:54.435000')[0m
|
7133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7134
|
+
Sent data 3.bib (1.0ms)
|
7135
|
+
Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7136
|
+
Processing by TestController#test as RIS
|
7137
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7138
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:18:54.461000', 'itemType: book', 'csf', '2013-06-14 22:18:54.461000')
|
7139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7140
|
+
Sent data 3.ris (1.0ms)
|
7141
|
+
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7142
|
+
Connecting to database specified by database.yml
|
7143
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7144
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7145
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:19:46.973000', 'itemType: book', 'csf', '2013-06-14 22:19:46.973000')[0m
|
7146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7148
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7149
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7150
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7156
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7158
|
+
Processing by TestController#test as
|
7159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7160
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:19:47.331000', 'itemType: book', 'csf', '2013-06-14 22:19:47.331000')[0m
|
7161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7162
|
+
Completed 406 Not Acceptable in 13ms (ActiveRecord: 0.0ms)
|
7163
|
+
Processing by TestController#test as BIBTEX
|
7164
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7165
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:19:47.361000', 'itemType: book', 'csf', '2013-06-14 22:19:47.361000')
|
7166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7167
|
+
Sent data 3.bib (3.0ms)
|
7168
|
+
Completed 200 OK in 38ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7169
|
+
Processing by TestController#test as BIBTEX
|
7170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7171
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:19:47.412000', 'itemType: book', 'csf', '2013-06-14 22:19:47.412000')[0m
|
7172
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7173
|
+
Sent data 3.bib (1.0ms)
|
7174
|
+
Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7175
|
+
Processing by TestController#test as RIS
|
7176
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7177
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:19:47.439000', 'itemType: book', 'csf', '2013-06-14 22:19:47.439000')
|
7178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7179
|
+
Sent data 3.ris (2.0ms)
|
7180
|
+
Completed 200 OK in 17ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7181
|
+
Connecting to database specified by database.yml
|
7182
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7184
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:21:25.028000', 'itemType: book', 'csf', '2013-06-14 22:21:25.028000')[0m
|
7185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7186
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7189
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7192
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7196
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7197
|
+
Processing by TestController#test as
|
7198
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7199
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:21:25.337000', 'itemType: book', 'csf', '2013-06-14 22:21:25.337000')[0m
|
7200
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7201
|
+
Completed 406 Not Acceptable in 12ms (ActiveRecord: 0.0ms)
|
7202
|
+
Processing by TestController#test as BIBTEX
|
7203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7204
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:21:25.363000', 'itemType: book', 'csf', '2013-06-14 22:21:25.363000')
|
7205
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7206
|
+
Sent data 3.bib (2.0ms)
|
7207
|
+
Completed 200 OK in 34ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7208
|
+
Processing by TestController#test as BIBTEX
|
7209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7210
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:21:25.405000', 'itemType: book', 'csf', '2013-06-14 22:21:25.405000')[0m
|
7211
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7212
|
+
Sent data 3.bib (1.0ms)
|
7213
|
+
Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
7214
|
+
Processing by TestController#test as RIS
|
7215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7216
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:21:25.428000', 'itemType: book', 'csf', '2013-06-14 22:21:25.428000')
|
7217
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7218
|
+
Sent data 3.ris (1.0ms)
|
7219
|
+
Completed 200 OK in 17ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7220
|
+
Connecting to database specified by database.yml
|
7221
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7222
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7223
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:25:40.595000', 'itemType: book', 'csf', '2013-06-14 22:25:40.595000')[0m
|
7224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7225
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7227
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7228
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7229
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7232
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7233
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7234
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7238
|
+
Processing by TestController#test as
|
7239
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7240
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:25:40.888000', 'itemType: book', 'csf', '2013-06-14 22:25:40.888000')[0m
|
7241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7242
|
+
Completed 406 Not Acceptable in 14ms (ActiveRecord: 1.0ms)
|
7243
|
+
Processing by TestController#test as BIBTEX
|
7244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7245
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:25:40.917000', 'itemType: book', 'csf', '2013-06-14 22:25:40.917000')
|
7246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7247
|
+
Sent data 3.bib (3.0ms)
|
7248
|
+
Completed 200 OK in 39ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7249
|
+
Processing by TestController#test as BIBTEX
|
7250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7251
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:25:40.963000', 'itemType: book', 'csf', '2013-06-14 22:25:40.963000')[0m
|
7252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7253
|
+
Sent data 3.bib (1.0ms)
|
7254
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7255
|
+
Processing by TestController#test as RIS
|
7256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7257
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:25:40.990000', 'itemType: book', 'csf', '2013-06-14 22:25:40.990000')
|
7258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7259
|
+
Sent data 3.ris (1.0ms)
|
7260
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7261
|
+
Connecting to database specified by database.yml
|
7262
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7264
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:26:15.890000', 'itemType: book', 'csf', '2013-06-14 22:26:15.890000')[0m
|
7265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7269
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7272
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7274
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7275
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7278
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7281
|
+
Processing by TestController#test as
|
7282
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7283
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:26:16.170000', 'itemType: book', 'csf', '2013-06-14 22:26:16.170000')[0m
|
7284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7285
|
+
Completed 406 Not Acceptable in 11ms (ActiveRecord: 0.0ms)
|
7286
|
+
Processing by TestController#test as BIBTEX
|
7287
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7288
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:26:16.195000', 'itemType: book', 'csf', '2013-06-14 22:26:16.195000')
|
7289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7290
|
+
Sent data 3.bib (3.0ms)
|
7291
|
+
Completed 200 OK in 46ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
7292
|
+
Processing by TestController#test as BIBTEX
|
7293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7294
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:26:16.255000', 'itemType: book', 'csf', '2013-06-14 22:26:16.255000')[0m
|
7295
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7296
|
+
Sent data 3.bib (2.0ms)
|
7297
|
+
Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7298
|
+
Processing by TestController#test as RIS
|
7299
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7300
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:26:16.283000', 'itemType: book', 'csf', '2013-06-14 22:26:16.283000')
|
7301
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7302
|
+
Sent data 3.ris (1.0ms)
|
7303
|
+
Completed 200 OK in 21ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
7304
|
+
Connecting to database specified by database.yml
|
7305
|
+
Connecting to database specified by database.yml
|
7306
|
+
Connecting to database specified by database.yml
|
7307
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7308
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7309
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:28:29.665000', 'itemType: book', 'csf', '2013-06-14 22:28:29.665000')[0m
|
7310
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7312
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7314
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7315
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7318
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7319
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7321
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7322
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7323
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7324
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7325
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7326
|
+
Processing by TestController#test as
|
7327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7328
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:28:29.956000', 'itemType: book', 'csf', '2013-06-14 22:28:29.956000')[0m
|
7329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7330
|
+
Completed 406 Not Acceptable in 10ms (ActiveRecord: 1.0ms)
|
7331
|
+
Processing by TestController#test as BIBTEX
|
7332
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7333
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:28:29.979000', 'itemType: book', 'csf', '2013-06-14 22:28:29.979000')
|
7334
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7335
|
+
Sent data 3.bib (3.0ms)
|
7336
|
+
Completed 200 OK in 38ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7337
|
+
Processing by TestController#test as BIBTEX
|
7338
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7339
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:28:30.027000', 'itemType: book', 'csf', '2013-06-14 22:28:30.027000')[0m
|
7340
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7341
|
+
Sent data 3.bib (2.0ms)
|
7342
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7343
|
+
Processing by TestController#test as RIS
|
7344
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7345
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:28:30.053000', 'itemType: book', 'csf', '2013-06-14 22:28:30.053000')
|
7346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7347
|
+
Sent data 3.ris (7.0ms)
|
7348
|
+
Completed 200 OK in 25ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
7349
|
+
Connecting to database specified by database.yml
|
7350
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7352
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:34:11.067000', 'itemType: book', 'csf', '2013-06-14 22:34:11.067000')[0m
|
7353
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7354
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7355
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7356
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7357
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7358
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7359
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7361
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7369
|
+
Processing by TestController#test as
|
7370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7371
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:34:11.419000', 'itemType: book', 'csf', '2013-06-14 22:34:11.419000')[0m
|
7372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7373
|
+
Completed 406 Not Acceptable in 12ms (ActiveRecord: 1.0ms)
|
7374
|
+
Processing by TestController#test as BIBTEX
|
7375
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7376
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:34:11.440000', 'itemType: book', 'csf', '2013-06-14 22:34:11.440000')
|
7377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7378
|
+
Sent data 3.bib (10.0ms)
|
7379
|
+
Completed 200 OK in 54ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
7380
|
+
Processing by TestController#test as BIBTEX
|
7381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7382
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:34:11.504000', 'itemType: book', 'csf', '2013-06-14 22:34:11.504000')[0m
|
7383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7384
|
+
Sent data 3.bib (2.0ms)
|
7385
|
+
Completed 200 OK in 19ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7386
|
+
Processing by TestController#test as RIS
|
7387
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7388
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:34:11.536000', 'itemType: book', 'csf', '2013-06-14 22:34:11.536000')
|
7389
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7390
|
+
Sent data 3.ris (2.0ms)
|
7391
|
+
Completed 200 OK in 26ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7392
|
+
Connecting to database specified by database.yml
|
7393
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7394
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7395
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:48:32.938000', 'itemType: book', 'csf', '2013-06-14 22:48:32.938000')[0m
|
7396
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7400
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7403
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7405
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7407
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7408
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7412
|
+
Processing by TestController#test as
|
7413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7414
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:48:33.423000', 'itemType: book', 'csf', '2013-06-14 22:48:33.423000')[0m
|
7415
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7416
|
+
Completed 406 Not Acceptable in 13ms (ActiveRecord: 1.0ms)
|
7417
|
+
Processing by TestController#test as BIBTEX
|
7418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7419
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:48:33.463000', 'itemType: book', 'csf', '2013-06-14 22:48:33.463000')
|
7420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7421
|
+
Sent data 3.bib (11.0ms)
|
7422
|
+
Completed 200 OK in 56ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
7423
|
+
Processing by TestController#test as BIBTEX
|
7424
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7425
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:48:33.528000', 'itemType: book', 'csf', '2013-06-14 22:48:33.528000')[0m
|
7426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7427
|
+
Sent data 3.bib (1.0ms)
|
7428
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7429
|
+
Processing by TestController#test as RIS
|
7430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7431
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-14 22:48:33.552000', 'itemType: book', 'csf', '2013-06-14 22:48:33.552000')
|
7432
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7433
|
+
Sent data 3.ris (5.0ms)
|
7434
|
+
Completed 200 OK in 21ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
7435
|
+
Connecting to database specified by database.yml
|
7436
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7437
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7438
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 17:58:13.264000', 'itemType: book', 'csf', '2013-06-20 17:58:13.264000')[0m
|
7439
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7442
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7443
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7448
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7455
|
+
Processing by TestController#test as
|
7456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7457
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 17:58:13.615000', 'itemType: book', 'csf', '2013-06-20 17:58:13.615000')[0m
|
7458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7459
|
+
Completed 406 Not Acceptable in 13ms (ActiveRecord: 1.0ms)
|
7460
|
+
Processing by TestController#test as BIBTEX
|
7461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7462
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 17:58:13.654000', 'itemType: book', 'csf', '2013-06-20 17:58:13.654000')
|
7463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7464
|
+
Sent data 3.bib (10.0ms)
|
7465
|
+
Completed 200 OK in 56ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
7466
|
+
Processing by TestController#test as BIBTEX
|
7467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7468
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 17:58:13.720000', 'itemType: book', 'csf', '2013-06-20 17:58:13.720000')[0m
|
7469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7470
|
+
Sent data 3.bib (1.0ms)
|
7471
|
+
Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7472
|
+
Processing by TestController#test as RIS
|
7473
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7474
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 17:58:13.749000', 'itemType: book', 'csf', '2013-06-20 17:58:13.749000')
|
7475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7476
|
+
Sent data 3.ris (1.0ms)
|
7477
|
+
Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7478
|
+
Connecting to database specified by database.yml
|
7479
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7481
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:02:53.851000', 'itemType: book', 'csf', '2013-06-20 18:02:53.851000')[0m
|
7482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7484
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7485
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7486
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7488
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7490
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7493
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7495
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7498
|
+
Processing by TestController#test as
|
7499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7500
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:02:54.142000', 'itemType: book', 'csf', '2013-06-20 18:02:54.142000')[0m
|
7501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7502
|
+
Completed 406 Not Acceptable in 11ms (ActiveRecord: 1.0ms)
|
7503
|
+
Processing by TestController#test as BIBTEX
|
7504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7505
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:02:54.165000', 'itemType: book', 'csf', '2013-06-20 18:02:54.165000')
|
7506
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7507
|
+
Sent data 3.bib (3.0ms)
|
7508
|
+
Completed 200 OK in 35ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7509
|
+
Processing by TestController#test as BIBTEX
|
7510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7511
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:02:54.214000', 'itemType: book', 'csf', '2013-06-20 18:02:54.214000')[0m
|
7512
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7513
|
+
Sent data 3.bib (1.0ms)
|
7514
|
+
Completed 200 OK in 14ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7515
|
+
Processing by TestController#test as RIS
|
7516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7517
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:02:54.239000', 'itemType: book', 'csf', '2013-06-20 18:02:54.239000')
|
7518
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7519
|
+
Sent data 3.ris (1.0ms)
|
7520
|
+
Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7521
|
+
Connecting to database specified by database.yml
|
7522
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7523
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7524
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:05.745000', 'itemType: book', 'csf', '2013-06-20 18:04:05.745000')[0m
|
7525
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7526
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7527
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7528
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7529
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7530
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7531
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7535
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7536
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7540
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7541
|
+
Processing by TestController#test as
|
7542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7543
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:06.024000', 'itemType: book', 'csf', '2013-06-20 18:04:06.024000')[0m
|
7544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7545
|
+
Completed 406 Not Acceptable in 12ms (ActiveRecord: 1.0ms)
|
7546
|
+
Processing by TestController#test as BIBTEX
|
7547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7548
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:06.048000', 'itemType: book', 'csf', '2013-06-20 18:04:06.048000')
|
7549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7550
|
+
Sent data 3.bib (3.0ms)
|
7551
|
+
Completed 200 OK in 43ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
7552
|
+
Processing by TestController#test as BIBTEX
|
7553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7554
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:06.104000', 'itemType: book', 'csf', '2013-06-20 18:04:06.104000')[0m
|
7555
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7556
|
+
Sent data 3.bib (1.0ms)
|
7557
|
+
Completed 200 OK in 21ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
7558
|
+
Processing by TestController#test as RIS
|
7559
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7560
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:06.130000', 'itemType: book', 'csf', '2013-06-20 18:04:06.130000')
|
7561
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7562
|
+
Sent data 3.ris (1.0ms)
|
7563
|
+
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7564
|
+
Connecting to database specified by database.yml
|
7565
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7566
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7567
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:53.237000', 'itemType: book', 'csf', '2013-06-20 18:04:53.237000')[0m
|
7568
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7569
|
+
[1m[36m (1.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7570
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7571
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7572
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7573
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7575
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7578
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7579
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7581
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7583
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7584
|
+
Processing by TestController#test as
|
7585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7586
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:53.519000', 'itemType: book', 'csf', '2013-06-20 18:04:53.519000')[0m
|
7587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7588
|
+
Completed 406 Not Acceptable in 10ms (ActiveRecord: 1.0ms)
|
7589
|
+
Processing by TestController#test as BIBTEX
|
7590
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7591
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:53.542000', 'itemType: book', 'csf', '2013-06-20 18:04:53.542000')
|
7592
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7593
|
+
Sent data 3.bib (3.0ms)
|
7594
|
+
Completed 200 OK in 33ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7595
|
+
Processing by TestController#test as BIBTEX
|
7596
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7597
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:53.588000', 'itemType: book', 'csf', '2013-06-20 18:04:53.588000')[0m
|
7598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7599
|
+
Sent data 3.bib (1.0ms)
|
7600
|
+
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7601
|
+
Processing by TestController#test as RIS
|
7602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7603
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:04:53.616000', 'itemType: book', 'csf', '2013-06-20 18:04:53.616000')
|
7604
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7605
|
+
Sent data 3.ris (2.0ms)
|
7606
|
+
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
7607
|
+
Connecting to database specified by database.yml
|
7608
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7610
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:16:10.882000', 'itemType: book', 'csf', '2013-06-20 18:16:10.882000')[0m
|
7611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7613
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7615
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7617
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7618
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7624
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7626
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7627
|
+
Processing by TestController#test as
|
7628
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7629
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:16:14.465000', 'itemType: book', 'csf', '2013-06-20 18:16:14.465000')[0m
|
7630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7631
|
+
Completed 406 Not Acceptable in 12ms (ActiveRecord: 2.0ms)
|
7632
|
+
Processing by TestController#test as BIBTEX
|
7633
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7634
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:16:14.492000', 'itemType: book', 'csf', '2013-06-20 18:16:14.492000')
|
7635
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7636
|
+
Sent data 3.bib (3.0ms)
|
7637
|
+
Completed 200 OK in 40ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7638
|
+
Processing by TestController#test as BIBTEX
|
7639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7640
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:16:14.542000', 'itemType: book', 'csf', '2013-06-20 18:16:14.542000')[0m
|
7641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7642
|
+
Sent data 3.bib (1.0ms)
|
7643
|
+
Completed 200 OK in 17ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
7644
|
+
Processing by TestController#test as RIS
|
7645
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7646
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:16:14.570000', 'itemType: book', 'csf', '2013-06-20 18:16:14.570000')
|
7647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7648
|
+
Sent data 3.ris (1.0ms)
|
7649
|
+
Completed 200 OK in 18ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
7650
|
+
Connecting to database specified by database.yml
|
7651
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
7652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7653
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:17:52.774000', 'itemType: book', 'csf', '2013-06-20 18:17:52.774000')[0m
|
7654
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7657
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7658
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
7659
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7661
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7662
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
7663
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7665
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7666
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7667
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7668
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7669
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7670
|
+
Processing by TestController#test as
|
7671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7672
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:17:56.527000', 'itemType: book', 'csf', '2013-06-20 18:17:56.527000')[0m
|
7673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7674
|
+
Completed 406 Not Acceptable in 14ms (ActiveRecord: 0.0ms)
|
7675
|
+
Processing by TestController#test as BIBTEX
|
7676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7677
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:17:56.558000', 'itemType: book', 'csf', '2013-06-20 18:17:56.558000')
|
7678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7679
|
+
Sent data 3.bib (4.0ms)
|
7680
|
+
Completed 200 OK in 51ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
7681
|
+
Processing by TestController#test as BIBTEX
|
7682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7683
|
+
[1m[36mSQL (11.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:17:56.629000', 'itemType: book', 'csf', '2013-06-20 18:17:56.629000')[0m
|
7684
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7685
|
+
Sent data 3.bib (2.0ms)
|
7686
|
+
Completed 200 OK in 38ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7687
|
+
Processing by TestController#test as RIS
|
7688
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7689
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-06-20 18:17:56.686000', 'itemType: book', 'csf', '2013-06-20 18:17:56.686000')
|
7690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7691
|
+
Sent data 3.ris (2.0ms)
|
7692
|
+
Completed 200 OK in 31ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
@@ -3,9 +3,9 @@ require 'test_helper'
|
|
3
3
|
class RecordTest < ActiveSupport::TestCase
|
4
4
|
test "should be able to create a new Record" do
|
5
5
|
rec = Record.new(:data => "itemType: book", :format => "csf")
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
assert_equal "TY - BOOK\nER -\n\n", rec.to_ris
|
7
|
+
assert_equal "@book{????\n}", rec.to_bibtex
|
8
|
+
assert_equal "rft.ulr_ver=Z39.88-2004&rft.ctx_ver=Z39.88-2004&rft.rfr_id=info:sid/libraries.nyu.edu:citero&rft_val_fmlt=info:ofi/fmt:kev:mtx:book&rft.genre=book", rec.to_openurl
|
9
|
+
assert_equal "{\"source\":\"book\",\"book\":{\"title\":null},\"pubtype\":{\"main\":\"pubnonperiodical\"},\"pubnonperiodical\":{},\"contributors\":[]}", rec.to_easybib
|
10
10
|
end
|
11
11
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
|
2
|
-
require 'simplecov
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
unless ENV['TRAVIS']
|
2
|
+
require 'simplecov'
|
3
|
+
require 'simplecov-rcov'
|
4
|
+
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
|
5
|
+
SimpleCov.start 'rails'
|
6
|
+
else
|
7
|
+
require 'coveralls'
|
8
|
+
Coveralls.wear!
|
9
|
+
end
|
10
10
|
|
11
11
|
# Configure Rails Environment
|
12
12
|
ENV["RAILS_ENV"] = "test"
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: acts_as_citable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version:
|
5
|
+
version: 2.0.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- hab278
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -33,13 +33,13 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - "~>"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.1
|
36
|
+
version: 2.1.1
|
37
37
|
none: false
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 1.1
|
42
|
+
version: 2.1.1
|
43
43
|
none: false
|
44
44
|
prerelease: false
|
45
45
|
type: :runtime
|