acts_as_citable 1.1.4 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ActsAsCitable
2
- VERSION = "1.1.4"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -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
@@ -6930,3 +6930,87 @@ Processing by TestController#test as RIS
6930
6930
   (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"
6935
+  (0.0ms) SAVEPOINT active_record_1
6936
+ SQL (1.0ms) INSERT 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')
6937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6938
+  (0.0ms) SAVEPOINT active_record_1
6939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6940
+  (0.0ms) SAVEPOINT active_record_1
6941
+ SQL (1.0ms) DELETE FROM "records" WHERE "records"."id" = 3
6942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6943
+  (0.0ms) SAVEPOINT active_record_1
6944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6945
+  (0.0ms) SAVEPOINT active_record_1
6946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6947
+  (0.0ms) SAVEPOINT active_record_1
6948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6949
+  (0.0ms) SAVEPOINT active_record_1
6950
+  (1.0ms) RELEASE SAVEPOINT active_record_1
6951
+ Processing by TestController#test as
6952
+  (0.0ms) SAVEPOINT active_record_1
6953
+ SQL (1.0ms) INSERT 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')
6954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6955
+ Completed 406 Not Acceptable in 12ms (ActiveRecord: 1.0ms)
6956
+ Processing by TestController#test as BIBTEX
6957
+  (0.0ms) SAVEPOINT active_record_1
6958
+ SQL (1.0ms) 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
+  (1.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SAVEPOINT active_record_1
6964
+ SQL (1.0ms) INSERT 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')
6965
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
6970
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "records"
6976
+  (1.0ms) SAVEPOINT active_record_1
6977
+ SQL (1.0ms) INSERT 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')
6978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6979
+  (0.0ms) SAVEPOINT active_record_1
6980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6981
+  (0.0ms) SAVEPOINT active_record_1
6982
+ SQL (0.0ms) DELETE FROM "records" WHERE "records"."id" = 3
6983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6984
+  (0.0ms) SAVEPOINT active_record_1
6985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6986
+  (0.0ms) SAVEPOINT active_record_1
6987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6988
+  (0.0ms) SAVEPOINT active_record_1
6989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6990
+  (0.0ms) SAVEPOINT active_record_1
6991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6992
+  (0.0ms) SAVEPOINT active_record_1
6993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6994
+ Processing by TestController#test as
6995
+  (0.0ms) SAVEPOINT active_record_1
6996
+ SQL (1.0ms) INSERT 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')
6997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6998
+ Completed 406 Not Acceptable in 15ms (ActiveRecord: 1.0ms)
6999
+ Processing by TestController#test as BIBTEX
7000
+  (0.0ms) SAVEPOINT active_record_1
7001
+ SQL (1.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.0ms) SAVEPOINT active_record_1
7007
+ SQL (1.0ms) INSERT 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')
7008
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
7013
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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.1.4
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-23 00:00:00.000000000 Z
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.4
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.4
42
+ version: 1.1.0
43
43
  none: false
44
44
  prerelease: false
45
45
  type: :runtime