qa 2.0.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +54 -6
- data/app/controllers/qa/application_controller.rb +24 -0
- data/app/controllers/qa/linked_data_terms_controller.rb +116 -51
- data/app/controllers/qa/terms_controller.rb +7 -2
- data/app/models/qa/mesh_tree.rb +5 -9
- data/app/models/qa/subject_mesh_term.rb +2 -7
- data/config/authorities/linked_data/agrovoc.json +8 -1
- data/config/initializers/linked_data_authorities.rb +1 -17
- data/config/routes.rb +11 -0
- data/lib/generators/qa/apidoc/USAGE +11 -0
- data/lib/generators/qa/apidoc/apidoc_generator.rb +22 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/apidoc.json +1322 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/favicon-16x16.png +0 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/favicon-32x32.png +0 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/index.html +61 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/oauth2-redirect.html +67 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-bundle.js +93 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-bundle.js.map +1 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-standalone-preset.js +14 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-standalone-preset.js.map +1 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.css +3 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.css.map +1 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.js +9 -0
- data/lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.js.map +1 -0
- data/lib/generators/qa/install/install_generator.rb +11 -0
- data/lib/generators/qa/install/templates/config/initializers/qa.rb +13 -0
- data/lib/generators/qa/local/tables/mysql/mysql_generator.rb +1 -1
- data/lib/generators/qa/local/tables/tables_generator.rb +1 -1
- data/lib/qa.rb +16 -0
- data/lib/qa/authorities/assign_fast_subauthority.rb +3 -3
- data/lib/qa/authorities/getty/aat.rb +13 -6
- data/lib/qa/authorities/getty/tgn.rb +11 -22
- data/lib/qa/authorities/getty/ulan.rb +13 -16
- data/lib/qa/authorities/linked_data.rb +1 -0
- data/lib/qa/authorities/linked_data/authority_service.rb +47 -0
- data/lib/qa/authorities/linked_data/config.rb +9 -3
- data/lib/qa/authorities/linked_data/config/search_config.rb +16 -2
- data/lib/qa/authorities/linked_data/config/term_config.rb +17 -3
- data/lib/qa/authorities/linked_data/find_term.rb +4 -3
- data/lib/qa/authorities/linked_data/generic_authority.rb +8 -1
- data/lib/qa/authorities/linked_data/rdf_helper.rb +15 -0
- data/lib/qa/authorities/linked_data/search_query.rb +19 -3
- data/lib/qa/authorities/loc/generic_authority.rb +2 -2
- data/lib/qa/authorities/loc_subauthority.rb +2 -2
- data/lib/qa/authorities/local.rb +2 -4
- data/lib/qa/authorities/local/file_based_authority.rb +1 -1
- data/lib/qa/authorities/local/mysql_table_based_authority.rb +11 -2
- data/lib/qa/authorities/local/table_based_authority.rb +2 -1
- data/lib/qa/authorities/mesh_tools/mesh_data_parser.rb +1 -1
- data/lib/qa/authorities/mesh_tools/mesh_importer.rb +1 -1
- data/lib/qa/authorities/oclcts/generic_oclc_authority.rb +1 -3
- data/lib/qa/configuration.rb +34 -0
- data/lib/qa/version.rb +1 -1
- data/lib/tasks/mesh.rake +3 -3
- data/spec/controllers/linked_data_terms_controller_spec.rb +247 -18
- data/spec/controllers/terms_controller_spec.rb +87 -12
- data/spec/fixtures/authorities/linked_data/lod_encoding_config.json +91 -0
- data/spec/fixtures/authorities/linked_data/lod_term_id_param_config.json +27 -0
- data/spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json +27 -0
- data/spec/fixtures/{lexvo_snippet.rdf → lexvo_snippet.rdf.xml} +1 -0
- data/spec/lib/authorities/assign_fast_spec.rb +3 -1
- data/spec/lib/authorities/file_based_authority_spec.rb +19 -11
- data/spec/lib/authorities/geonames_spec.rb +3 -3
- data/spec/lib/authorities/getty/aat_spec.rb +14 -8
- data/spec/lib/authorities/getty/tgn_spec.rb +8 -15
- data/spec/lib/authorities/getty/ulan_spec.rb +8 -6
- data/spec/lib/authorities/getty_spec.rb +2 -1
- data/spec/lib/authorities/linked_data/authority_service_spec.rb +47 -0
- data/spec/lib/authorities/linked_data/generic_authority_spec.rb +56 -14
- data/spec/lib/authorities/linked_data/search_config_spec.rb +33 -19
- data/spec/lib/authorities/linked_data/search_query_spec.rb +67 -15
- data/spec/lib/authorities/linked_data/term_config_spec.rb +34 -20
- data/spec/lib/authorities/loc_spec.rb +9 -9
- data/spec/lib/authorities/local_spec.rb +7 -8
- data/spec/lib/authorities/oclcts_spec.rb +27 -20
- data/spec/lib/authorities/table_based_authority_spec.rb +5 -3
- data/spec/lib/authorities_loc_subauthorities.rb +2 -2
- data/spec/lib/configuration_spec.rb +58 -0
- data/spec/lib/mesh_data_parser_spec.rb +2 -0
- data/spec/lib/services/rdf_authority_parser_spec.rb +1 -1
- data/spec/lib/tasks/mesh.rake_spec.rb +13 -12
- data/spec/models/subject_mesh_term_spec.rb +2 -0
- data/spec/requests/cors_headers_spec.rb +118 -0
- data/spec/spec_helper.rb +2 -2
- metadata +167 -137
data/spec/spec_helper.rb
CHANGED
@@ -19,7 +19,7 @@ require 'pry'
|
|
19
19
|
|
20
20
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
21
21
|
# in spec/support/ and its subdirectories.
|
22
|
-
Dir[Rails.root.join(
|
22
|
+
Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
|
23
23
|
|
24
24
|
RSpec.configure do |config|
|
25
25
|
config.fixture_path = File.expand_path("../fixtures", __FILE__)
|
@@ -49,7 +49,7 @@ end
|
|
49
49
|
|
50
50
|
# returns the file contents
|
51
51
|
def load_fixture_file(fname)
|
52
|
-
File.open(Rails.root.join(
|
52
|
+
File.open(Rails.root.join('spec', 'fixtures', fname)) do |f|
|
53
53
|
return f.read
|
54
54
|
end
|
55
55
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Anderson
|
@@ -12,25 +12,40 @@ authors:
|
|
12
12
|
- Eric James
|
13
13
|
- Mike Stroming
|
14
14
|
- Adam Wead
|
15
|
-
|
15
|
+
- E. Lynette Rayle
|
16
|
+
autorequire:
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
|
-
date:
|
19
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
22
|
+
name: activerecord-import
|
22
23
|
requirement: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- - "
|
25
|
+
- - ">="
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
+
version: '0'
|
27
28
|
type: :runtime
|
28
29
|
prerelease: false
|
29
30
|
version_requirements: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - "
|
32
|
+
- - ">="
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
+
version: '0'
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: deprecation
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
type: :runtime
|
43
|
+
prerelease: false
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
34
49
|
- !ruby/object:Gem::Dependency
|
35
50
|
name: faraday
|
36
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,21 +75,21 @@ dependencies:
|
|
60
75
|
- !ruby/object:Gem::Version
|
61
76
|
version: '1.6'
|
62
77
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
78
|
+
name: rails
|
64
79
|
requirement: !ruby/object:Gem::Requirement
|
65
80
|
requirements:
|
66
|
-
- - "
|
81
|
+
- - "~>"
|
67
82
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
83
|
+
version: '5.0'
|
69
84
|
type: :runtime
|
70
85
|
prerelease: false
|
71
86
|
version_requirements: !ruby/object:Gem::Requirement
|
72
87
|
requirements:
|
73
|
-
- - "
|
88
|
+
- - "~>"
|
74
89
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
90
|
+
version: '5.0'
|
76
91
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
92
|
+
name: rdf
|
78
93
|
requirement: !ruby/object:Gem::Requirement
|
79
94
|
requirements:
|
80
95
|
- - ">="
|
@@ -88,19 +103,19 @@ dependencies:
|
|
88
103
|
- !ruby/object:Gem::Version
|
89
104
|
version: '0'
|
90
105
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
106
|
+
name: bixby
|
92
107
|
requirement: !ruby/object:Gem::Requirement
|
93
108
|
requirements:
|
94
|
-
- - "
|
109
|
+
- - "~>"
|
95
110
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
type: :
|
111
|
+
version: 1.0.0
|
112
|
+
type: :development
|
98
113
|
prerelease: false
|
99
114
|
version_requirements: !ruby/object:Gem::Requirement
|
100
115
|
requirements:
|
101
|
-
- - "
|
116
|
+
- - "~>"
|
102
117
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
118
|
+
version: 1.0.0
|
104
119
|
- !ruby/object:Gem::Dependency
|
105
120
|
name: byebug
|
106
121
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,21 +131,21 @@ dependencies:
|
|
116
131
|
- !ruby/object:Gem::Version
|
117
132
|
version: '0'
|
118
133
|
- !ruby/object:Gem::Dependency
|
119
|
-
name:
|
134
|
+
name: engine_cart
|
120
135
|
requirement: !ruby/object:Gem::Requirement
|
121
136
|
requirements:
|
122
|
-
- - "
|
137
|
+
- - "~>"
|
123
138
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
139
|
+
version: '0.8'
|
125
140
|
type: :development
|
126
141
|
prerelease: false
|
127
142
|
version_requirements: !ruby/object:Gem::Requirement
|
128
143
|
requirements:
|
129
|
-
- - "
|
144
|
+
- - "~>"
|
130
145
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
146
|
+
version: '0.8'
|
132
147
|
- !ruby/object:Gem::Dependency
|
133
|
-
name:
|
148
|
+
name: linkeddata
|
134
149
|
requirement: !ruby/object:Gem::Requirement
|
135
150
|
requirements:
|
136
151
|
- - ">="
|
@@ -144,7 +159,7 @@ dependencies:
|
|
144
159
|
- !ruby/object:Gem::Version
|
145
160
|
version: '0'
|
146
161
|
- !ruby/object:Gem::Dependency
|
147
|
-
name:
|
162
|
+
name: pry
|
148
163
|
requirement: !ruby/object:Gem::Requirement
|
149
164
|
requirements:
|
150
165
|
- - ">="
|
@@ -158,19 +173,19 @@ dependencies:
|
|
158
173
|
- !ruby/object:Gem::Version
|
159
174
|
version: '0'
|
160
175
|
- !ruby/object:Gem::Dependency
|
161
|
-
name:
|
176
|
+
name: pry-byebug
|
162
177
|
requirement: !ruby/object:Gem::Requirement
|
163
178
|
requirements:
|
164
|
-
- - "
|
179
|
+
- - ">="
|
165
180
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0
|
181
|
+
version: '0'
|
167
182
|
type: :development
|
168
183
|
prerelease: false
|
169
184
|
version_requirements: !ruby/object:Gem::Requirement
|
170
185
|
requirements:
|
171
|
-
- - "
|
186
|
+
- - ">="
|
172
187
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0
|
188
|
+
version: '0'
|
174
189
|
- !ruby/object:Gem::Dependency
|
175
190
|
name: rspec-rails
|
176
191
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +229,7 @@ dependencies:
|
|
214
229
|
- !ruby/object:Gem::Version
|
215
230
|
version: '0'
|
216
231
|
- !ruby/object:Gem::Dependency
|
217
|
-
name:
|
232
|
+
name: swagger-docs
|
218
233
|
requirement: !ruby/object:Gem::Requirement
|
219
234
|
requirements:
|
220
235
|
- - ">="
|
@@ -228,33 +243,19 @@ dependencies:
|
|
228
243
|
- !ruby/object:Gem::Version
|
229
244
|
version: '0'
|
230
245
|
- !ruby/object:Gem::Dependency
|
231
|
-
name:
|
232
|
-
requirement: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: 0.42.0
|
237
|
-
type: :development
|
238
|
-
prerelease: false
|
239
|
-
version_requirements: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - "~>"
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: 0.42.0
|
244
|
-
- !ruby/object:Gem::Dependency
|
245
|
-
name: rubocop-rspec
|
246
|
+
name: webmock
|
246
247
|
requirement: !ruby/object:Gem::Requirement
|
247
248
|
requirements:
|
248
|
-
- - "
|
249
|
+
- - ">="
|
249
250
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
251
|
+
version: '0'
|
251
252
|
type: :development
|
252
253
|
prerelease: false
|
253
254
|
version_requirements: !ruby/object:Gem::Requirement
|
254
255
|
requirements:
|
255
|
-
- - "
|
256
|
+
- - ">="
|
256
257
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
258
|
+
version: '0'
|
258
259
|
description: Provides a set of uniform RESTful routes to query any controlled vocabulary
|
259
260
|
or set of authority terms.
|
260
261
|
email:
|
@@ -287,8 +288,24 @@ files:
|
|
287
288
|
- db/migrate/20130917200611_create_qa_subject_mesh_terms.rb
|
288
289
|
- db/migrate/20130917201026_create_qa_mesh_tree.rb
|
289
290
|
- db/migrate/20130918141523_add_term_lower_to_qa_subject_mesh_terms.rb
|
291
|
+
- lib/generators/qa/apidoc/USAGE
|
292
|
+
- lib/generators/qa/apidoc/apidoc_generator.rb
|
293
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/apidoc.json
|
294
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/favicon-16x16.png
|
295
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/favicon-32x32.png
|
296
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/index.html
|
297
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/oauth2-redirect.html
|
298
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-bundle.js
|
299
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-bundle.js.map
|
300
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-standalone-preset.js
|
301
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui-standalone-preset.js.map
|
302
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.css
|
303
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.css.map
|
304
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.js
|
305
|
+
- lib/generators/qa/apidoc/templates/public/qa/apidoc/swagger-ui.js.map
|
290
306
|
- lib/generators/qa/install/USAGE
|
291
307
|
- lib/generators/qa/install/install_generator.rb
|
308
|
+
- lib/generators/qa/install/templates/config/initializers/qa.rb
|
292
309
|
- lib/generators/qa/install/templates/config/oclcts-authorities.yml
|
293
310
|
- lib/generators/qa/local/USAGE
|
294
311
|
- lib/generators/qa/local/files/files_generator.rb
|
@@ -313,6 +330,7 @@ files:
|
|
313
330
|
- lib/qa/authorities/getty/tgn.rb
|
314
331
|
- lib/qa/authorities/getty/ulan.rb
|
315
332
|
- lib/qa/authorities/linked_data.rb
|
333
|
+
- lib/qa/authorities/linked_data/authority_service.rb
|
316
334
|
- lib/qa/authorities/linked_data/config.rb
|
317
335
|
- lib/qa/authorities/linked_data/config/search_config.rb
|
318
336
|
- lib/qa/authorities/linked_data/config/term_config.rb
|
@@ -336,6 +354,7 @@ files:
|
|
336
354
|
- lib/qa/authorities/oclcts/generic_oclc_authority.rb
|
337
355
|
- lib/qa/authorities/tgnlang.rb
|
338
356
|
- lib/qa/authorities/web_service_base.rb
|
357
|
+
- lib/qa/configuration.rb
|
339
358
|
- lib/qa/data/TGN_LANGUAGES.xml
|
340
359
|
- lib/qa/engine.rb
|
341
360
|
- lib/qa/services.rb
|
@@ -354,6 +373,7 @@ files:
|
|
354
373
|
- spec/fixtures/authorities/authority_B.yml
|
355
374
|
- spec/fixtures/authorities/authority_C.yml
|
356
375
|
- spec/fixtures/authorities/authority_D.yml
|
376
|
+
- spec/fixtures/authorities/linked_data/lod_encoding_config.json
|
357
377
|
- spec/fixtures/authorities/linked_data/lod_full_config.json
|
358
378
|
- spec/fixtures/authorities/linked_data/lod_lang_defaults.json
|
359
379
|
- spec/fixtures/authorities/linked_data/lod_lang_multi_defaults.json
|
@@ -362,7 +382,9 @@ files:
|
|
362
382
|
- spec/fixtures/authorities/linked_data/lod_min_config.json
|
363
383
|
- spec/fixtures/authorities/linked_data/lod_search_only_config.json
|
364
384
|
- spec/fixtures/authorities/linked_data/lod_sort.json
|
385
|
+
- spec/fixtures/authorities/linked_data/lod_term_id_param_config.json
|
365
386
|
- spec/fixtures/authorities/linked_data/lod_term_only_config.json
|
387
|
+
- spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json
|
366
388
|
- spec/fixtures/funders-find-response.json
|
367
389
|
- spec/fixtures/funders-noquery.json
|
368
390
|
- spec/fixtures/funders-noresults.json
|
@@ -377,7 +399,7 @@ files:
|
|
377
399
|
- spec/fixtures/journals-noquery.json
|
378
400
|
- spec/fixtures/journals-noresults.json
|
379
401
|
- spec/fixtures/journals-result.json
|
380
|
-
- spec/fixtures/lexvo_snippet.rdf
|
402
|
+
- spec/fixtures/lexvo_snippet.rdf.xml
|
381
403
|
- spec/fixtures/loc-names-response.txt
|
382
404
|
- spec/fixtures/loc-response.txt
|
383
405
|
- spec/fixtures/loc-subject-find-response.txt
|
@@ -414,6 +436,7 @@ files:
|
|
414
436
|
- spec/lib/authorities/getty/tgn_spec.rb
|
415
437
|
- spec/lib/authorities/getty/ulan_spec.rb
|
416
438
|
- spec/lib/authorities/getty_spec.rb
|
439
|
+
- spec/lib/authorities/linked_data/authority_service_spec.rb
|
417
440
|
- spec/lib/authorities/linked_data/config_spec.rb
|
418
441
|
- spec/lib/authorities/linked_data/find_term_spec.rb
|
419
442
|
- spec/lib/authorities/linked_data/generic_authority_spec.rb
|
@@ -429,10 +452,12 @@ files:
|
|
429
452
|
- spec/lib/authorities/table_based_authority_spec.rb
|
430
453
|
- spec/lib/authorities/tgnlang_spec.rb
|
431
454
|
- spec/lib/authorities_loc_subauthorities.rb
|
455
|
+
- spec/lib/configuration_spec.rb
|
432
456
|
- spec/lib/mesh_data_parser_spec.rb
|
433
457
|
- spec/lib/services/rdf_authority_parser_spec.rb
|
434
458
|
- spec/lib/tasks/mesh.rake_spec.rb
|
435
459
|
- spec/models/subject_mesh_term_spec.rb
|
460
|
+
- spec/requests/cors_headers_spec.rb
|
436
461
|
- spec/routing/linked_data_route_spec.rb
|
437
462
|
- spec/routing/route_spec.rb
|
438
463
|
- spec/spec_helper.rb
|
@@ -442,7 +467,7 @@ homepage: https://github.com/projecthydra/questioning_authority
|
|
442
467
|
licenses:
|
443
468
|
- APACHE-2
|
444
469
|
metadata: {}
|
445
|
-
post_install_message:
|
470
|
+
post_install_message:
|
446
471
|
rdoc_options: []
|
447
472
|
require_paths:
|
448
473
|
- lib
|
@@ -457,104 +482,109 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
457
482
|
- !ruby/object:Gem::Version
|
458
483
|
version: '0'
|
459
484
|
requirements: []
|
460
|
-
|
461
|
-
|
462
|
-
signing_key:
|
485
|
+
rubygems_version: 3.0.8
|
486
|
+
signing_key:
|
463
487
|
specification_version: 4
|
464
488
|
summary: You should question your authorities.
|
465
489
|
test_files:
|
466
|
-
- spec/
|
467
|
-
- spec/
|
490
|
+
- spec/spec_helper.rb
|
491
|
+
- spec/models/subject_mesh_term_spec.rb
|
492
|
+
- spec/requests/cors_headers_spec.rb
|
493
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
494
|
+
- spec/test_app_templates/Gemfile.extra
|
495
|
+
- spec/lib/tasks/mesh.rake_spec.rb
|
496
|
+
- spec/lib/configuration_spec.rb
|
497
|
+
- spec/lib/authorities_loc_subauthorities.rb
|
498
|
+
- spec/lib/mesh_data_parser_spec.rb
|
499
|
+
- spec/lib/authorities/linked_data/config_spec.rb
|
500
|
+
- spec/lib/authorities/linked_data/search_config_spec.rb
|
501
|
+
- spec/lib/authorities/linked_data/authority_service_spec.rb
|
502
|
+
- spec/lib/authorities/linked_data/search_query_spec.rb
|
503
|
+
- spec/lib/authorities/linked_data/term_config_spec.rb
|
504
|
+
- spec/lib/authorities/linked_data/find_term_spec.rb
|
505
|
+
- spec/lib/authorities/linked_data/generic_authority_spec.rb
|
506
|
+
- spec/lib/authorities/loc_spec.rb
|
507
|
+
- spec/lib/authorities/tgnlang_spec.rb
|
508
|
+
- spec/lib/authorities/crossref_spec.rb
|
509
|
+
- spec/lib/authorities/oclcts_spec.rb
|
510
|
+
- spec/lib/authorities/file_based_authority_spec.rb
|
511
|
+
- spec/lib/authorities/space_fix_encoder.rb
|
512
|
+
- spec/lib/authorities/assign_fast_spec.rb
|
513
|
+
- spec/lib/authorities/table_based_authority_spec.rb
|
514
|
+
- spec/lib/authorities/getty/tgn_spec.rb
|
515
|
+
- spec/lib/authorities/getty/ulan_spec.rb
|
516
|
+
- spec/lib/authorities/getty/aat_spec.rb
|
517
|
+
- spec/lib/authorities/mesh_spec.rb
|
518
|
+
- spec/lib/authorities/mysql_table_based_authority_spec.rb
|
519
|
+
- spec/lib/authorities/local_spec.rb
|
520
|
+
- spec/lib/authorities/geonames_spec.rb
|
521
|
+
- spec/lib/authorities/base_spec.rb
|
522
|
+
- spec/lib/authorities/getty_spec.rb
|
523
|
+
- spec/lib/services/rdf_authority_parser_spec.rb
|
524
|
+
- spec/fixtures/oclcts-response-mesh-3.txt
|
525
|
+
- spec/fixtures/loc-names-response.txt
|
526
|
+
- spec/fixtures/oclcts-response-mesh-2.txt
|
468
527
|
- spec/fixtures/aat-response.txt
|
469
|
-
- spec/fixtures/
|
470
|
-
- spec/fixtures/
|
528
|
+
- spec/fixtures/journals-result.json
|
529
|
+
- spec/fixtures/lod_lang_search_fr.rdf.xml
|
530
|
+
- spec/fixtures/oclcts-response-mesh-1.txt
|
531
|
+
- spec/fixtures/lod_lang_term_fr.rdf.xml
|
532
|
+
- spec/fixtures/funders-noquery.json
|
533
|
+
- spec/fixtures/lod_lang_term_enfrde.rdf.xml
|
471
534
|
- spec/fixtures/assign-fast-oneresult.json
|
535
|
+
- spec/fixtures/getty-aat-find-response.json
|
536
|
+
- spec/fixtures/lod_lang_term_enfr_noalt.rdf.xml
|
537
|
+
- spec/fixtures/assign-fast-noresults.json
|
538
|
+
- spec/fixtures/lod_loc_term_found.rdf.xml
|
539
|
+
- spec/fixtures/lod_lang_term_enfr.rdf.xml
|
472
540
|
- spec/fixtures/assign-fast-topical-result.json
|
473
|
-
- spec/fixtures/
|
474
|
-
- spec/fixtures/
|
475
|
-
- spec/fixtures/
|
476
|
-
- spec/fixtures/
|
477
|
-
- spec/fixtures/authorities/linked_data/lod_full_config.json
|
478
|
-
- spec/fixtures/authorities/linked_data/lod_lang_defaults.json
|
479
|
-
- spec/fixtures/authorities/linked_data/lod_lang_multi_defaults.json
|
480
|
-
- spec/fixtures/authorities/linked_data/lod_lang_no_defaults.json
|
481
|
-
- spec/fixtures/authorities/linked_data/lod_lang_param.json
|
482
|
-
- spec/fixtures/authorities/linked_data/lod_min_config.json
|
483
|
-
- spec/fixtures/authorities/linked_data/lod_search_only_config.json
|
484
|
-
- spec/fixtures/authorities/linked_data/lod_sort.json
|
485
|
-
- spec/fixtures/authorities/linked_data/lod_term_only_config.json
|
486
|
-
- spec/fixtures/funders-find-response.json
|
487
|
-
- spec/fixtures/funders-noquery.json
|
541
|
+
- spec/fixtures/getty-ulan-find-response.json
|
542
|
+
- spec/fixtures/loc-subjects-response.txt
|
543
|
+
- spec/fixtures/loc-subject-find-response.txt
|
544
|
+
- spec/fixtures/lod_oclc_all_query_3_results.rdf.xml
|
488
545
|
- spec/fixtures/funders-noresults.json
|
489
|
-
- spec/fixtures/funders-result.json
|
490
|
-
- spec/fixtures/geonames-find-response.json
|
491
|
-
- spec/fixtures/geonames-response.json
|
492
|
-
- spec/fixtures/getty-aat-find-response.json
|
493
546
|
- spec/fixtures/getty-tgn-find-response.json
|
494
|
-
- spec/fixtures/
|
547
|
+
- spec/fixtures/lod_lang_search_enfr.rdf.xml
|
495
548
|
- spec/fixtures/journals-find-response-two-issn.json
|
496
|
-
- spec/fixtures/
|
497
|
-
- spec/fixtures/
|
498
|
-
- spec/fixtures/
|
499
|
-
- spec/fixtures/journals-result.json
|
500
|
-
- spec/fixtures/lexvo_snippet.rdf
|
501
|
-
- spec/fixtures/loc-names-response.txt
|
549
|
+
- spec/fixtures/mesh.txt
|
550
|
+
- spec/fixtures/geonames-find-response.json
|
551
|
+
- spec/fixtures/lod_oclc_personalName_query_3_results.rdf.xml
|
502
552
|
- spec/fixtures/loc-response.txt
|
503
|
-
- spec/fixtures/
|
504
|
-
- spec/fixtures/
|
505
|
-
- spec/fixtures/
|
506
|
-
- spec/fixtures/lod_agrovoc_query_no_results.json
|
553
|
+
- spec/fixtures/funders-find-response.json
|
554
|
+
- spec/fixtures/lexvo_snippet.rdf.xml
|
555
|
+
- spec/fixtures/journals-find-response.json
|
507
556
|
- spec/fixtures/lod_agrovoc_term_found.rdf.xml
|
557
|
+
- spec/fixtures/lod_agrovoc_query_many_results.json
|
508
558
|
- spec/fixtures/lod_lang_search_en.rdf.xml
|
509
|
-
- spec/fixtures/lod_lang_search_enfr.rdf.xml
|
510
|
-
- spec/fixtures/lod_lang_search_enfrde.rdf.xml
|
511
|
-
- spec/fixtures/lod_lang_search_fr.rdf.xml
|
512
559
|
- spec/fixtures/lod_lang_term_en.rdf.xml
|
513
|
-
- spec/fixtures/
|
514
|
-
- spec/fixtures/
|
515
|
-
- spec/fixtures/lod_lang_term_enfrde.rdf.xml
|
516
|
-
- spec/fixtures/lod_lang_term_fr.rdf.xml
|
517
|
-
- spec/fixtures/lod_loc_term_found.rdf.xml
|
518
|
-
- spec/fixtures/lod_oclc_all_query_3_results.rdf.xml
|
519
|
-
- spec/fixtures/lod_oclc_personalName_query_3_results.rdf.xml
|
560
|
+
- spec/fixtures/journals-noresults.json
|
561
|
+
- spec/fixtures/journals-noquery.json
|
520
562
|
- spec/fixtures/lod_oclc_query_no_results.rdf.xml
|
521
|
-
- spec/fixtures/
|
522
|
-
- spec/fixtures/
|
523
|
-
- spec/fixtures/
|
524
|
-
- spec/fixtures/
|
525
|
-
- spec/fixtures/
|
563
|
+
- spec/fixtures/authorities/linked_data/lod_search_only_config.json
|
564
|
+
- spec/fixtures/authorities/linked_data/lod_sort.json
|
565
|
+
- spec/fixtures/authorities/linked_data/lod_min_config.json
|
566
|
+
- spec/fixtures/authorities/linked_data/lod_encoding_config.json
|
567
|
+
- spec/fixtures/authorities/linked_data/lod_term_id_param_config.json
|
568
|
+
- spec/fixtures/authorities/linked_data/lod_lang_multi_defaults.json
|
569
|
+
- spec/fixtures/authorities/linked_data/lod_lang_defaults.json
|
570
|
+
- spec/fixtures/authorities/linked_data/lod_term_only_config.json
|
571
|
+
- spec/fixtures/authorities/linked_data/lod_lang_no_defaults.json
|
572
|
+
- spec/fixtures/authorities/linked_data/lod_term_uri_param_config.json
|
573
|
+
- spec/fixtures/authorities/linked_data/lod_full_config.json
|
574
|
+
- spec/fixtures/authorities/linked_data/lod_lang_param.json
|
575
|
+
- spec/fixtures/authorities/authority_D.yml
|
576
|
+
- spec/fixtures/authorities/authority_A.yml
|
577
|
+
- spec/fixtures/authorities/authority_C.yml
|
578
|
+
- spec/fixtures/authorities/authority_B.yml
|
579
|
+
- spec/fixtures/geonames-response.json
|
526
580
|
- spec/fixtures/tgn-response.txt
|
581
|
+
- spec/fixtures/lod_oclc_term_found.rdf.xml
|
582
|
+
- spec/fixtures/assign-fast-noheader.json
|
583
|
+
- spec/fixtures/lod_agrovoc_query_no_results.json
|
584
|
+
- spec/fixtures/lod_lang_search_enfrde.rdf.xml
|
585
|
+
- spec/fixtures/funders-result.json
|
527
586
|
- spec/fixtures/ulan-response.txt
|
528
|
-
- spec/lib/authorities/assign_fast_spec.rb
|
529
|
-
- spec/lib/authorities/base_spec.rb
|
530
|
-
- spec/lib/authorities/crossref_spec.rb
|
531
|
-
- spec/lib/authorities/file_based_authority_spec.rb
|
532
|
-
- spec/lib/authorities/geonames_spec.rb
|
533
|
-
- spec/lib/authorities/getty/aat_spec.rb
|
534
|
-
- spec/lib/authorities/getty/tgn_spec.rb
|
535
|
-
- spec/lib/authorities/getty/ulan_spec.rb
|
536
|
-
- spec/lib/authorities/getty_spec.rb
|
537
|
-
- spec/lib/authorities/linked_data/config_spec.rb
|
538
|
-
- spec/lib/authorities/linked_data/find_term_spec.rb
|
539
|
-
- spec/lib/authorities/linked_data/generic_authority_spec.rb
|
540
|
-
- spec/lib/authorities/linked_data/search_config_spec.rb
|
541
|
-
- spec/lib/authorities/linked_data/search_query_spec.rb
|
542
|
-
- spec/lib/authorities/linked_data/term_config_spec.rb
|
543
|
-
- spec/lib/authorities/loc_spec.rb
|
544
|
-
- spec/lib/authorities/local_spec.rb
|
545
|
-
- spec/lib/authorities/mesh_spec.rb
|
546
|
-
- spec/lib/authorities/mysql_table_based_authority_spec.rb
|
547
|
-
- spec/lib/authorities/oclcts_spec.rb
|
548
|
-
- spec/lib/authorities/space_fix_encoder.rb
|
549
|
-
- spec/lib/authorities/table_based_authority_spec.rb
|
550
|
-
- spec/lib/authorities/tgnlang_spec.rb
|
551
|
-
- spec/lib/authorities_loc_subauthorities.rb
|
552
|
-
- spec/lib/mesh_data_parser_spec.rb
|
553
|
-
- spec/lib/services/rdf_authority_parser_spec.rb
|
554
|
-
- spec/lib/tasks/mesh.rake_spec.rb
|
555
|
-
- spec/models/subject_mesh_term_spec.rb
|
556
587
|
- spec/routing/linked_data_route_spec.rb
|
557
588
|
- spec/routing/route_spec.rb
|
558
|
-
- spec/
|
559
|
-
- spec/
|
560
|
-
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
589
|
+
- spec/controllers/terms_controller_spec.rb
|
590
|
+
- spec/controllers/linked_data_terms_controller_spec.rb
|