ex_cite 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/app/controllers/ex_cite/export_citations_controller.rb +18 -14
  3. data/app/helpers/ex_cite/application_helper.rb +1 -8
  4. data/app/models/ex_cite/push_format.rb +7 -5
  5. data/app/views/ex_cite/cite/_external_form.html.erb +3 -3
  6. data/config/initializers/mime_types.rb +7 -1
  7. data/lib/ex_cite/core_ext.rb +4 -15
  8. data/lib/ex_cite/engine.rb +12 -26
  9. data/lib/ex_cite/version.rb +1 -1
  10. data/test/dummy/log/development.log +405 -0
  11. data/test/dummy/log/test.log +86349 -0
  12. data/test/dummy/test/unit/ex_cite_record_test.rb +5 -3
  13. data/test/dummy/tmp/cache/15C/AE1/468286998ed7e41613b5b638604d0d418e16f000to_refworks_tagged +4 -0
  14. data/test/dummy/tmp/cache/23D/251/794c17bcbef330a90c5063ca7b881b06685047aeto_refworks_tagged +4 -0
  15. data/test/dummy/tmp/cache/24E/D11/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_refworks_tagged +4 -0
  16. data/test/dummy/tmp/cache/2A6/8D1/affd98a65c2fce8403f2d2776024add085305dc8to_refworks_tagged +4 -0
  17. data/test/dummy/tmp/cache/2E8/121/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_refworks_tagged +4 -0
  18. data/test/dummy/tmp/cache/2FA/431/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_refworks_tagged +4 -0
  19. data/test/dummy/tmp/cache/336/B71/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_refworks_tagged +4 -0
  20. data/test/dummy/tmp/cache/36A/321/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_refworks_tagged +5 -0
  21. data/test/dummy/tmp/cache/3BC/4C1/794c17bcbef330a90c5063ca7b881b06685047aeto_chicago_author_date +4 -0
  22. data/test/dummy/tmp/cache/403/6D1/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_chicago_author_date +4 -0
  23. data/test/dummy/tmp/cache/425/491/affd98a65c2fce8403f2d2776024add085305dc8to_chicago_author_date +4 -0
  24. data/test/dummy/tmp/cache/479/4F1/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_chicago_author_date +4 -0
  25. data/test/dummy/tmp/cache/4B5/B31/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_chicago_author_date +4 -0
  26. data/test/dummy/tmp/cache/4E9/FE1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_chicago_author_date +4 -0
  27. data/test/dummy/tmp/cache/C60/020/468286998ed7e41613b5b638604d0d418e16f000to_csl +1 -0
  28. data/test/dummy/tmp/cache/D31/D60/794c17bcbef330a90c5063ca7b881b06685047aeto_apa +3 -0
  29. data/test/dummy/tmp/cache/D39/F20/794c17bcbef330a90c5063ca7b881b06685047aeto_mla +3 -0
  30. data/test/dummy/tmp/cache/D41/ED0/794c17bcbef330a90c5063ca7b881b06685047aeto_csl +1 -0
  31. data/test/dummy/tmp/cache/D78/870/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_apa +3 -0
  32. data/test/dummy/tmp/cache/D80/A30/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_mla +3 -0
  33. data/test/dummy/tmp/cache/D9A/430/affd98a65c2fce8403f2d2776024add085305dc8to_apa +3 -0
  34. data/test/dummy/tmp/cache/DA2/5F0/affd98a65c2fce8403f2d2776024add085305dc8to_mla +3 -0
  35. data/test/dummy/tmp/cache/DAA/5A0/affd98a65c2fce8403f2d2776024add085305dc8to_csl +1 -0
  36. data/test/dummy/tmp/cache/DEC/D60/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_csl +1 -0
  37. data/test/dummy/tmp/cache/DEE/090/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_apa +3 -0
  38. data/test/dummy/tmp/cache/DF6/250/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_mla +3 -0
  39. data/test/dummy/tmp/cache/DFE/200/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csl +1 -0
  40. data/test/dummy/tmp/cache/E2A/AD0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_apa +3 -0
  41. data/test/dummy/tmp/cache/E32/C90/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_mla +3 -0
  42. data/test/dummy/tmp/cache/E3A/C40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csl +1 -0
  43. data/test/dummy/tmp/cache/E5E/B80/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_apa +3 -0
  44. data/test/dummy/tmp/cache/E66/D40/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_mla +3 -0
  45. data/test/dummy/tmp/cache/E6E/CF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csl +1 -0
  46. data/test/functional/ex_cite/export_citations _controller_test.rb +36 -11
  47. data/test/test_helper.rb +9 -8
  48. metadata +74 -11
  49. data/config/initializers/citation.rb +0 -7
@@ -1,7 +1,9 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class ExCiteRecordTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
4
+ test "test the ability to modify the services on the fly" do
5
+ ExCite.easybib.url = "localhost"
6
+ assert ExCite.easybib.url.eql? "localhost"
7
+ ExCite.easybib.url = "http://www.easybib.com/cite/bulk"
8
+ end
7
9
  end
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046923.668:@expires_in0: @value"I"RT GEN
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046923.919:@expires_in0: @value"$I"RT Book, whole
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046925.098:@expires_in0: @value"I"RT GEN
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046923.986:@expires_in0: @value"(I"RT Journal Article
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046924.694:@expires_in0: @value"$I"RT Book, whole
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046924.206:@expires_in0: @value"$I"RT Book, whole
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046924.143:@expires_in0: @value"(I"RT Journal Article
2
+ ER
3
+
4
+ :ET
@@ -0,0 +1,5 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1368046923.822:@expires_in0: @value"(I"RT Book, whole
2
+ T1
3
+ ER
4
+
5
+ :ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759489.642:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759486.681:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759490.833:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759493.101:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759492.003:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1,4 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759488.349:@expires_in0: @value"dI"Z<div class="csl-bib-body">
2
+
3
+ [CSL STYLE ERROR: reference with no printed form.]
4
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371753384.656:@expires_in0: @value":I"0{"ITEM-1":{"id":"ITEM-1","type":"article"}}:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759490.048:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759489.201:@expires_in0: @value"WI"M<div class="csl-bib-body">
2
+ <div class="csl-entry"> Print.</div>
3
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759242.462:@expires_in0: @value"7I"-{"ITEM-1":{"id":"ITEM-1","type":"book"}}:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759487.272:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759485.727:@expires_in0: @value"aI"W<div class="csl-bib-body">
2
+ <div class="csl-entry"> : n. pag. Print.</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759491.211:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759490.418:@expires_in0: @value"_I"U<div class="csl-bib-body">
2
+ <div class="csl-entry"> n. pag. Print.</div>
3
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759242.541:@expires_in0: @value"BI"8{"ITEM-1":{"id":"ITEM-1","type":"article-journal"}}:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371753384.762:@expires_in0: @value"7I"-{"ITEM-1":{"id":"ITEM-1","type":"book"}}:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759406.824:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759492.752:@expires_in0: @value"WI"M<div class="csl-bib-body">
2
+ <div class="csl-entry"> Print.</div>
3
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371758038.066:@expires_in0: @value"7I"-{"ITEM-1":{"id":"ITEM-1","type":"book"}}:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759492.407:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759491.618:@expires_in0: @value"_I"U<div class="csl-bib-body">
2
+ <div class="csl-entry"> n. pag. Print.</div>
3
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759242.689:@expires_in0: @value"BI"8{"ITEM-1":{"id":"ITEM-1","type":"article-journal"}}:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759488.812:@expires_in0: @value"XI"N<div class="csl-bib-body">
2
+ <div class="csl-entry"> (n.d.).</div>
3
+ </div>:ET
@@ -0,0 +1,3 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759487.838:@expires_in0: @value"WI"M<div class="csl-bib-body">
2
+ <div class="csl-entry"> Print.</div>
3
+ </div>:ET
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@created_atf1371759242.363:@expires_in0: @value"7I"-{"ITEM-1":{"id":"ITEM-1","type":"book"}}:ET
@@ -56,16 +56,6 @@ module ExCite
56
56
  end
57
57
  end
58
58
 
59
- test "should ignore invalid id" do
60
- $acts_as_citable_classes.each do |citable_class|
61
- ExCite.acts_as_citable_class = citable_class
62
- get :index, :data => "itemType: book", :from_format => "csf", :to_format => "ris", :id => "unkown", :use_route => :export_citations
63
- assert_response :success
64
- clear
65
- initialize_cite
66
- end
67
- end
68
-
69
59
  test "should convert openurl to format" do
70
60
  $acts_as_citable_classes.each do |citable_class|
71
61
  ExCite.acts_as_citable_class = citable_class
@@ -124,7 +114,7 @@ module ExCite
124
114
  end
125
115
  end
126
116
 
127
- test "should fail since resource key is invalid" do
117
+ test "should attempt to find by resource_key" do
128
118
  $acts_as_citable_classes.each do |citable_class|
129
119
  ExCite.acts_as_citable_class = citable_class
130
120
  get :index, :to_format => "ris", :resource_key => "unknown", :use_route => :export_citations
@@ -133,5 +123,40 @@ module ExCite
133
123
  initialize_cite
134
124
  end
135
125
  end
126
+
127
+ test "should attempt to find by id" do
128
+ $acts_as_citable_classes.each do |citable_class|
129
+ ExCite.acts_as_citable_class = citable_class
130
+ get :index, :to_format => "ris", :id => "unknown", :use_route => :export_citations
131
+ assert_response :bad_request
132
+ clear
133
+ initialize_cite
134
+ end
135
+ end
136
+
137
+ test "should handle missing to_format" do
138
+ $acts_as_citable_classes.each do |citable_class|
139
+ ExCite.acts_as_citable_class = citable_class
140
+ get :index, :data => "itemType: book", :from_format => "csf", :use_route => :export_citations
141
+ assert_response :bad_request
142
+ clear
143
+ initialize_cite
144
+ end
145
+ end
146
+
147
+
148
+ test "Should conver tto csl" do
149
+ $acts_as_citable_classes.each do |citable_class|
150
+ ExCite.acts_as_citable_class = citable_class
151
+ Citero.from_formats.each do |from|
152
+ Citero.citation_styles.each do |to|
153
+ get :index, :data => $formats[from.to_sym], :from_format => from, :to_format => to, :use_route => :export_citations
154
+ assert_response :success
155
+ clear
156
+ initialize_cite
157
+ end
158
+ end
159
+ end
160
+ end
136
161
  end
137
162
  end
data/test/test_helper.rb CHANGED
@@ -1,11 +1,12 @@
1
- require 'coveralls'
2
- Coveralls.wear!
3
-
4
- require 'simplecov'
5
- require 'simplecov-rcov'
6
-
7
- SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
8
- SimpleCov.start 'rails'
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
9
10
 
10
11
  # Configure Rails Environment
11
12
  ENV["RAILS_ENV"] = "test"
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: ex_cite
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.1
5
+ version: 1.1.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-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -83,13 +83,13 @@ dependencies:
83
83
  requirements:
84
84
  - - "~>"
85
85
  - !ruby/object:Gem::Version
86
- version: 1.1.4
86
+ version: 2.0.0
87
87
  none: false
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - "~>"
91
91
  - !ruby/object:Gem::Version
92
- version: 1.1.4
92
+ version: 2.0.0
93
93
  none: false
94
94
  prerelease: false
95
95
  type: :runtime
@@ -115,17 +115,15 @@ dependencies:
115
115
  name: brakeman
116
116
  version_requirements: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ">="
118
+ - - "~>"
119
119
  - !ruby/object:Gem::Version
120
- version: !binary |-
121
- MA==
120
+ version: 1.9.5
122
121
  none: false
123
122
  requirement: !ruby/object:Gem::Requirement
124
123
  requirements:
125
- - - ">="
124
+ - - "~>"
126
125
  - !ruby/object:Gem::Version
127
- version: !binary |-
128
- MA==
126
+ version: 1.9.5
129
127
  none: false
130
128
  prerelease: false
131
129
  type: :development
@@ -220,7 +218,6 @@ files:
220
218
  - app/views/ex_cite/cite/external_form.html.erb
221
219
  - app/views/layouts/ex_cite/application.html.erb
222
220
  - config/routes.rb
223
- - config/initializers/citation.rb
224
221
  - config/initializers/mime_types.rb
225
222
  - lib/ex_cite/core_ext.rb
226
223
  - lib/ex_cite/engine.rb
@@ -275,6 +272,20 @@ files:
275
272
  - test/dummy/test/unit/type_two_test.rb
276
273
  - test/dummy/tmp/cache/00B/8A1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_easybib
277
274
  - test/dummy/tmp/cache/031/0D1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_openurl
275
+ - test/dummy/tmp/cache/15C/AE1/468286998ed7e41613b5b638604d0d418e16f000to_refworks_tagged
276
+ - test/dummy/tmp/cache/23D/251/794c17bcbef330a90c5063ca7b881b06685047aeto_refworks_tagged
277
+ - test/dummy/tmp/cache/24E/D11/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_refworks_tagged
278
+ - test/dummy/tmp/cache/2A6/8D1/affd98a65c2fce8403f2d2776024add085305dc8to_refworks_tagged
279
+ - test/dummy/tmp/cache/2E8/121/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_refworks_tagged
280
+ - test/dummy/tmp/cache/2FA/431/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_refworks_tagged
281
+ - test/dummy/tmp/cache/336/B71/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_refworks_tagged
282
+ - test/dummy/tmp/cache/36A/321/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_refworks_tagged
283
+ - test/dummy/tmp/cache/3BC/4C1/794c17bcbef330a90c5063ca7b881b06685047aeto_chicago_author_date
284
+ - test/dummy/tmp/cache/403/6D1/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_chicago_author_date
285
+ - test/dummy/tmp/cache/425/491/affd98a65c2fce8403f2d2776024add085305dc8to_chicago_author_date
286
+ - test/dummy/tmp/cache/479/4F1/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_chicago_author_date
287
+ - test/dummy/tmp/cache/4B5/B31/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_chicago_author_date
288
+ - test/dummy/tmp/cache/4E9/FE1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_chicago_author_date
278
289
  - test/dummy/tmp/cache/assets/C79/9D0/sprockets%2Fc2a0614840a581c50b353a995658e80d
279
290
  - test/dummy/tmp/cache/assets/C88/210/sprockets%2F3472207be8196858ab6481c8dd11d565
280
291
  - test/dummy/tmp/cache/assets/CA5/4B0/sprockets%2F67891927e7bd2bf4c3101f0601b64c13
@@ -295,31 +306,50 @@ files:
295
306
  - test/dummy/tmp/cache/assets/DF9/B40/sprockets%2F61ea80c2ba85ceb6a249ea3ea3fe5c59
296
307
  - test/dummy/tmp/cache/assets/F28/980/sprockets%2Fcd4defde398dcfb53eea6dd7ba9ad6af
297
308
  - test/dummy/tmp/cache/C5A/FC0/468286998ed7e41613b5b638604d0d418e16f000to_csf
309
+ - test/dummy/tmp/cache/C60/020/468286998ed7e41613b5b638604d0d418e16f000to_csl
298
310
  - test/dummy/tmp/cache/C6C/220/468286998ed7e41613b5b638604d0d418e16f000to_ris
299
311
  - test/dummy/tmp/cache/CA2/960/1d506e64f277826763665b38ce9f7000cb23673fto_ris
300
312
  - test/dummy/tmp/cache/CEF/FF0/de17f25829c0b9d278f4a4b873a9765a81e10481to_csf
301
313
  - test/dummy/tmp/cache/CF2/440/1ad5e264e5a423b07ab635982e79e35290b85c41to_ris
314
+ - test/dummy/tmp/cache/D31/D60/794c17bcbef330a90c5063ca7b881b06685047aeto_apa
315
+ - test/dummy/tmp/cache/D39/F20/794c17bcbef330a90c5063ca7b881b06685047aeto_mla
302
316
  - test/dummy/tmp/cache/D3B/E70/794c17bcbef330a90c5063ca7b881b06685047aeto_csf
317
+ - test/dummy/tmp/cache/D41/ED0/794c17bcbef330a90c5063ca7b881b06685047aeto_csl
303
318
  - test/dummy/tmp/cache/D4D/0D0/794c17bcbef330a90c5063ca7b881b06685047aeto_ris
304
319
  - test/dummy/tmp/cache/D5E/ED0/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_ris
320
+ - test/dummy/tmp/cache/D78/870/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_apa
321
+ - test/dummy/tmp/cache/D80/A30/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_mla
305
322
  - test/dummy/tmp/cache/D86/BF0/6c38bce413d92f7b510f508f23f947e0be53c60fto_ris
323
+ - test/dummy/tmp/cache/D9A/430/affd98a65c2fce8403f2d2776024add085305dc8to_apa
306
324
  - test/dummy/tmp/cache/D9C/600/468286998ed7e41613b5b638604d0d418e16f000to_bibtex
325
+ - test/dummy/tmp/cache/DA2/5F0/affd98a65c2fce8403f2d2776024add085305dc8to_mla
307
326
  - test/dummy/tmp/cache/DA4/540/affd98a65c2fce8403f2d2776024add085305dc8to_csf
327
+ - test/dummy/tmp/cache/DAA/5A0/affd98a65c2fce8403f2d2776024add085305dc8to_csl
308
328
  - test/dummy/tmp/cache/DB6/7A0/affd98a65c2fce8403f2d2776024add085305dc8to_ris
309
329
  - test/dummy/tmp/cache/DB8/5B0/a14aff18a493e0f4e01c75d4f39ea2426ff17c89to_ris
310
330
  - test/dummy/tmp/cache/DE6/D00/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_csf
331
+ - test/dummy/tmp/cache/DEC/D60/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_csl
332
+ - test/dummy/tmp/cache/DEE/090/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_apa
333
+ - test/dummy/tmp/cache/DF6/250/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_mla
311
334
  - test/dummy/tmp/cache/DF8/1A0/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csf
312
335
  - test/dummy/tmp/cache/DF8/F60/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_ris
313
336
  - test/dummy/tmp/cache/DFD/850/468286998ed7e41613b5b638604d0d418e16f000to_easybib
337
+ - test/dummy/tmp/cache/DFE/200/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csl
314
338
  - test/dummy/tmp/cache/E0A/400/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_ris
315
339
  - test/dummy/tmp/cache/E0F/540/ea6c0a7650e32439bef1894db08c8bbf09a2fac6to_ris
316
340
  - test/dummy/tmp/cache/E23/080/468286998ed7e41613b5b638604d0d418e16f000to_openurl
341
+ - test/dummy/tmp/cache/E2A/AD0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_apa
342
+ - test/dummy/tmp/cache/E32/C90/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_mla
317
343
  - test/dummy/tmp/cache/E34/BE0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csf
344
+ - test/dummy/tmp/cache/E3A/C40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csl
318
345
  - test/dummy/tmp/cache/E46/8B0/35f6ed07eec1943f18d5c970502033f3087000a1to_easybib
319
346
  - test/dummy/tmp/cache/E46/E40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_ris
320
347
  - test/dummy/tmp/cache/E4E/C40/e493a26438256bfe6a011042b33e1577252cfb89to_easybib
348
+ - test/dummy/tmp/cache/E5E/B80/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_apa
321
349
  - test/dummy/tmp/cache/E60/9B0/cc141d92caee81bd0601a5ee365fdf9ec31d23bbto_ris
350
+ - test/dummy/tmp/cache/E66/D40/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_mla
322
351
  - test/dummy/tmp/cache/E68/C90/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csf
352
+ - test/dummy/tmp/cache/E6E/CF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csl
323
353
  - test/dummy/tmp/cache/E7A/EF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_ris
324
354
  - test/dummy/tmp/cache/E7D/EE0/794c17bcbef330a90c5063ca7b881b06685047aeto_bibtex
325
355
  - test/dummy/tmp/cache/EC7/1D0/c40475adaf32bb892347f5266ebc36b75858888ato_easybib
@@ -425,6 +455,20 @@ test_files:
425
455
  - test/dummy/test/unit/type_two_test.rb
426
456
  - test/dummy/tmp/cache/00B/8A1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_easybib
427
457
  - test/dummy/tmp/cache/031/0D1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_openurl
458
+ - test/dummy/tmp/cache/15C/AE1/468286998ed7e41613b5b638604d0d418e16f000to_refworks_tagged
459
+ - test/dummy/tmp/cache/23D/251/794c17bcbef330a90c5063ca7b881b06685047aeto_refworks_tagged
460
+ - test/dummy/tmp/cache/24E/D11/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_refworks_tagged
461
+ - test/dummy/tmp/cache/2A6/8D1/affd98a65c2fce8403f2d2776024add085305dc8to_refworks_tagged
462
+ - test/dummy/tmp/cache/2E8/121/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_refworks_tagged
463
+ - test/dummy/tmp/cache/2FA/431/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_refworks_tagged
464
+ - test/dummy/tmp/cache/336/B71/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_refworks_tagged
465
+ - test/dummy/tmp/cache/36A/321/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_refworks_tagged
466
+ - test/dummy/tmp/cache/3BC/4C1/794c17bcbef330a90c5063ca7b881b06685047aeto_chicago_author_date
467
+ - test/dummy/tmp/cache/403/6D1/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_chicago_author_date
468
+ - test/dummy/tmp/cache/425/491/affd98a65c2fce8403f2d2776024add085305dc8to_chicago_author_date
469
+ - test/dummy/tmp/cache/479/4F1/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_chicago_author_date
470
+ - test/dummy/tmp/cache/4B5/B31/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_chicago_author_date
471
+ - test/dummy/tmp/cache/4E9/FE1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_chicago_author_date
428
472
  - test/dummy/tmp/cache/assets/C79/9D0/sprockets%2Fc2a0614840a581c50b353a995658e80d
429
473
  - test/dummy/tmp/cache/assets/C88/210/sprockets%2F3472207be8196858ab6481c8dd11d565
430
474
  - test/dummy/tmp/cache/assets/CA5/4B0/sprockets%2F67891927e7bd2bf4c3101f0601b64c13
@@ -445,31 +489,50 @@ test_files:
445
489
  - test/dummy/tmp/cache/assets/DF9/B40/sprockets%2F61ea80c2ba85ceb6a249ea3ea3fe5c59
446
490
  - test/dummy/tmp/cache/assets/F28/980/sprockets%2Fcd4defde398dcfb53eea6dd7ba9ad6af
447
491
  - test/dummy/tmp/cache/C5A/FC0/468286998ed7e41613b5b638604d0d418e16f000to_csf
492
+ - test/dummy/tmp/cache/C60/020/468286998ed7e41613b5b638604d0d418e16f000to_csl
448
493
  - test/dummy/tmp/cache/C6C/220/468286998ed7e41613b5b638604d0d418e16f000to_ris
449
494
  - test/dummy/tmp/cache/CA2/960/1d506e64f277826763665b38ce9f7000cb23673fto_ris
450
495
  - test/dummy/tmp/cache/CEF/FF0/de17f25829c0b9d278f4a4b873a9765a81e10481to_csf
451
496
  - test/dummy/tmp/cache/CF2/440/1ad5e264e5a423b07ab635982e79e35290b85c41to_ris
497
+ - test/dummy/tmp/cache/D31/D60/794c17bcbef330a90c5063ca7b881b06685047aeto_apa
498
+ - test/dummy/tmp/cache/D39/F20/794c17bcbef330a90c5063ca7b881b06685047aeto_mla
452
499
  - test/dummy/tmp/cache/D3B/E70/794c17bcbef330a90c5063ca7b881b06685047aeto_csf
500
+ - test/dummy/tmp/cache/D41/ED0/794c17bcbef330a90c5063ca7b881b06685047aeto_csl
453
501
  - test/dummy/tmp/cache/D4D/0D0/794c17bcbef330a90c5063ca7b881b06685047aeto_ris
454
502
  - test/dummy/tmp/cache/D5E/ED0/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_ris
503
+ - test/dummy/tmp/cache/D78/870/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_apa
504
+ - test/dummy/tmp/cache/D80/A30/b665552cd9b09a9c72e20a7f3ab1c8e786e23f99to_mla
455
505
  - test/dummy/tmp/cache/D86/BF0/6c38bce413d92f7b510f508f23f947e0be53c60fto_ris
506
+ - test/dummy/tmp/cache/D9A/430/affd98a65c2fce8403f2d2776024add085305dc8to_apa
456
507
  - test/dummy/tmp/cache/D9C/600/468286998ed7e41613b5b638604d0d418e16f000to_bibtex
508
+ - test/dummy/tmp/cache/DA2/5F0/affd98a65c2fce8403f2d2776024add085305dc8to_mla
457
509
  - test/dummy/tmp/cache/DA4/540/affd98a65c2fce8403f2d2776024add085305dc8to_csf
510
+ - test/dummy/tmp/cache/DAA/5A0/affd98a65c2fce8403f2d2776024add085305dc8to_csl
458
511
  - test/dummy/tmp/cache/DB6/7A0/affd98a65c2fce8403f2d2776024add085305dc8to_ris
459
512
  - test/dummy/tmp/cache/DB8/5B0/a14aff18a493e0f4e01c75d4f39ea2426ff17c89to_ris
460
513
  - test/dummy/tmp/cache/DE6/D00/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_csf
514
+ - test/dummy/tmp/cache/DEC/D60/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_csl
515
+ - test/dummy/tmp/cache/DEE/090/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_apa
516
+ - test/dummy/tmp/cache/DF6/250/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_mla
461
517
  - test/dummy/tmp/cache/DF8/1A0/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csf
462
518
  - test/dummy/tmp/cache/DF8/F60/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_ris
463
519
  - test/dummy/tmp/cache/DFD/850/468286998ed7e41613b5b638604d0d418e16f000to_easybib
520
+ - test/dummy/tmp/cache/DFE/200/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csl
464
521
  - test/dummy/tmp/cache/E0A/400/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_ris
465
522
  - test/dummy/tmp/cache/E0F/540/ea6c0a7650e32439bef1894db08c8bbf09a2fac6to_ris
466
523
  - test/dummy/tmp/cache/E23/080/468286998ed7e41613b5b638604d0d418e16f000to_openurl
524
+ - test/dummy/tmp/cache/E2A/AD0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_apa
525
+ - test/dummy/tmp/cache/E32/C90/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_mla
467
526
  - test/dummy/tmp/cache/E34/BE0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csf
527
+ - test/dummy/tmp/cache/E3A/C40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csl
468
528
  - test/dummy/tmp/cache/E46/8B0/35f6ed07eec1943f18d5c970502033f3087000a1to_easybib
469
529
  - test/dummy/tmp/cache/E46/E40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_ris
470
530
  - test/dummy/tmp/cache/E4E/C40/e493a26438256bfe6a011042b33e1577252cfb89to_easybib
531
+ - test/dummy/tmp/cache/E5E/B80/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_apa
471
532
  - test/dummy/tmp/cache/E60/9B0/cc141d92caee81bd0601a5ee365fdf9ec31d23bbto_ris
533
+ - test/dummy/tmp/cache/E66/D40/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_mla
472
534
  - test/dummy/tmp/cache/E68/C90/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csf
535
+ - test/dummy/tmp/cache/E6E/CF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csl
473
536
  - test/dummy/tmp/cache/E7A/EF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_ris
474
537
  - test/dummy/tmp/cache/E7D/EE0/794c17bcbef330a90c5063ca7b881b06685047aeto_bibtex
475
538
  - test/dummy/tmp/cache/EC7/1D0/c40475adaf32bb892347f5266ebc36b75858888ato_easybib
@@ -1,7 +0,0 @@
1
- module ExCite
2
- ActiveSupport.on_load(:after_initialize) do
3
- ActiveRecord::Base.class_eval do
4
- include ResourceKey
5
- end
6
- end
7
- end