acts_as_citable 1.1.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/acts_as_citable/version.rb +1 -1
- data/test/acts_as_citable_test.rb +1 -0
- data/test/dummy/log/test.log +84 -0
- metadata +4 -4
|
@@ -25,6 +25,7 @@ class RecordTest < ActiveSupport::TestCase
|
|
|
25
25
|
assert rec.respond_to?(:to_openurl)
|
|
26
26
|
assert rec.respond_to?(:to_csf)
|
|
27
27
|
assert rec.respond_to?(:to_easybib)
|
|
28
|
+
assert rec.respond_to?(:to_refworks_tagged)
|
|
28
29
|
assert rec.respond_to?(:csf)
|
|
29
30
|
assert rec.destroy
|
|
30
31
|
end
|
data/test/dummy/log/test.log
CHANGED
|
@@ -6930,3 +6930,87 @@ Processing by TestController#test as RIS
|
|
|
6930
6930
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6931
6931
|
Sent data 3.ris (1.0ms)
|
|
6932
6932
|
Completed 200 OK in 19ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
6933
|
+
Connecting to database specified by database.yml
|
|
6934
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
|
6935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6936
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:04.696000', 'itemType: book', 'csf', '2013-04-25 18:50:04.696000')[0m
|
|
6937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6940
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6941
|
+
[1m[35mSQL (1.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
|
6942
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6944
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6945
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6946
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6948
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6950
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6951
|
+
Processing by TestController#test as
|
|
6952
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6953
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:05.061000', 'itemType: book', 'csf', '2013-04-25 18:50:05.061000')[0m
|
|
6954
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6955
|
+
Completed 406 Not Acceptable in 12ms (ActiveRecord: 1.0ms)
|
|
6956
|
+
Processing by TestController#test as BIBTEX
|
|
6957
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6958
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:05.099000', 'itemType: book', 'csf', '2013-04-25 18:50:05.099000')
|
|
6959
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6960
|
+
Sent data 3.bib (11.0ms)
|
|
6961
|
+
Completed 200 OK in 56ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
|
6962
|
+
Processing by TestController#test as BIBTEX
|
|
6963
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6964
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:05.168000', 'itemType: book', 'csf', '2013-04-25 18:50:05.168000')[0m
|
|
6965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6966
|
+
Sent data 3.bib (2.0ms)
|
|
6967
|
+
Completed 200 OK in 19ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
6968
|
+
Processing by TestController#test as RIS
|
|
6969
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6970
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:05.203000', 'itemType: book', 'csf', '2013-04-25 18:50:05.203000')
|
|
6971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6972
|
+
Sent data 3.ris (1.0ms)
|
|
6973
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
6974
|
+
Connecting to database specified by database.yml
|
|
6975
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"[0m
|
|
6976
|
+
[1m[35m (1.0ms)[0m SAVEPOINT active_record_1
|
|
6977
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:52.033000', 'itemType: book', 'csf', '2013-04-25 18:50:52.033000')[0m
|
|
6978
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6979
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6980
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
6982
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "records" WHERE "records"."id" = 3
|
|
6983
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6984
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6985
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6986
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6987
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6990
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6991
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
6994
|
+
Processing by TestController#test as
|
|
6995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
6996
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:52.311000', 'itemType: book', 'csf', '2013-04-25 18:50:52.311000')[0m
|
|
6997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
6998
|
+
Completed 406 Not Acceptable in 15ms (ActiveRecord: 1.0ms)
|
|
6999
|
+
Processing by TestController#test as BIBTEX
|
|
7000
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
7001
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:52.337000', 'itemType: book', 'csf', '2013-04-25 18:50:52.337000')
|
|
7002
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
7003
|
+
Sent data 3.bib (3.0ms)
|
|
7004
|
+
Completed 200 OK in 37ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
|
7005
|
+
Processing by TestController#test as BIBTEX
|
|
7006
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
7007
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:52.385000', 'itemType: book', 'csf', '2013-04-25 18:50:52.385000')[0m
|
|
7008
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
7009
|
+
Sent data 3.bib (1.0ms)
|
|
7010
|
+
Completed 200 OK in 17ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
|
7011
|
+
Processing by TestController#test as RIS
|
|
7012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
7013
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "records" ("created_at", "data", "format", "updated_at") VALUES ('2013-04-25 18:50:52.409000', 'itemType: book', 'csf', '2013-04-25 18:50:52.409000')
|
|
7014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
7015
|
+
Sent data 3.ris (1.0ms)
|
|
7016
|
+
Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
metadata
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: acts_as_citable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.
|
|
5
|
+
version: 1.2.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-04-
|
|
12
|
+
date: 2013-04-25 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.0
|
|
36
|
+
version: 1.1.0
|
|
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.0
|
|
42
|
+
version: 1.1.0
|
|
43
43
|
none: false
|
|
44
44
|
prerelease: false
|
|
45
45
|
type: :runtime
|