qa 0.0.1

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.
Files changed (101) hide show
  1. data/LICENSE +15 -0
  2. data/README.md +174 -0
  3. data/Rakefile +10 -0
  4. data/app/assets/javascripts/qa/application.js +13 -0
  5. data/app/assets/stylesheets/qa/application.css +13 -0
  6. data/app/controllers/qa/application_controller.rb +4 -0
  7. data/app/controllers/qa/terms_controller.rb +76 -0
  8. data/app/helpers/qa/application_helper.rb +2 -0
  9. data/app/models/qa/mesh_tree.rb +37 -0
  10. data/app/models/qa/subject_mesh_term.rb +45 -0
  11. data/app/views/layouts/qa/application.html.erb +14 -0
  12. data/config/authorities.yml +1 -0
  13. data/config/authorities/states.yml +101 -0
  14. data/config/initializers/authorities.rb +1 -0
  15. data/config/oclcts-authorities.yml +24 -0
  16. data/config/routes.rb +7 -0
  17. data/db/migrate/20130917200611_create_qa_subject_mesh_terms.rb +11 -0
  18. data/db/migrate/20130917201026_create_qa_mesh_tree.rb +10 -0
  19. data/db/migrate/20130918141523_add_term_lower_to_qa_subject_mesh_terms.rb +7 -0
  20. data/lib/qa.rb +9 -0
  21. data/lib/qa/authorities.rb +12 -0
  22. data/lib/qa/authorities/base.rb +50 -0
  23. data/lib/qa/authorities/lcsh.rb +46 -0
  24. data/lib/qa/authorities/loc.rb +200 -0
  25. data/lib/qa/authorities/local.rb +69 -0
  26. data/lib/qa/authorities/mesh.rb +20 -0
  27. data/lib/qa/authorities/mesh_tools.rb +6 -0
  28. data/lib/qa/authorities/mesh_tools/mesh_data_parser.rb +65 -0
  29. data/lib/qa/authorities/mesh_tools/mesh_importer.rb +41 -0
  30. data/lib/qa/authorities/oclcts.rb +63 -0
  31. data/lib/qa/authorities/tgnlang.rb +40 -0
  32. data/lib/qa/data/TGN_LANGUAGES.xml +7435 -0
  33. data/lib/qa/engine.rb +5 -0
  34. data/lib/qa/version.rb +3 -0
  35. data/lib/tasks/qa_tasks.rake +4 -0
  36. data/spec/controllers/terms_controller_spec.rb +70 -0
  37. data/spec/fixtures/authorities/authority_A.yml +10 -0
  38. data/spec/fixtures/authorities/authority_B.yml +7 -0
  39. data/spec/fixtures/authorities/authority_C.yml +4 -0
  40. data/spec/fixtures/lcsh-response.txt +1 -0
  41. data/spec/fixtures/loc-response.txt +147 -0
  42. data/spec/fixtures/mesh.txt +334 -0
  43. data/spec/fixtures/oclcts-response-mesh-1.txt +28 -0
  44. data/spec/fixtures/oclcts-response-mesh-2.txt +253 -0
  45. data/spec/fixtures/oclcts-response-mesh-3.txt +28 -0
  46. data/spec/internal/Gemfile +48 -0
  47. data/spec/internal/Gemfile.lock +156 -0
  48. data/spec/internal/README.rdoc +28 -0
  49. data/spec/internal/Rakefile +6 -0
  50. data/spec/internal/app/assets/javascripts/application.js +16 -0
  51. data/spec/internal/app/assets/stylesheets/application.css +13 -0
  52. data/spec/internal/app/controllers/application_controller.rb +5 -0
  53. data/spec/internal/app/helpers/application_helper.rb +2 -0
  54. data/spec/internal/app/views/layouts/application.html.erb +14 -0
  55. data/spec/internal/bin/bundle +3 -0
  56. data/spec/internal/bin/rails +4 -0
  57. data/spec/internal/bin/rake +4 -0
  58. data/spec/internal/config.ru +4 -0
  59. data/spec/internal/config/application.rb +23 -0
  60. data/spec/internal/config/boot.rb +4 -0
  61. data/spec/internal/config/database.yml +25 -0
  62. data/spec/internal/config/environment.rb +5 -0
  63. data/spec/internal/config/environments/development.rb +29 -0
  64. data/spec/internal/config/environments/production.rb +80 -0
  65. data/spec/internal/config/environments/test.rb +36 -0
  66. data/spec/internal/config/initializers/backtrace_silencers.rb +7 -0
  67. data/spec/internal/config/initializers/filter_parameter_logging.rb +4 -0
  68. data/spec/internal/config/initializers/inflections.rb +16 -0
  69. data/spec/internal/config/initializers/mime_types.rb +5 -0
  70. data/spec/internal/config/initializers/secret_token.rb +12 -0
  71. data/spec/internal/config/initializers/session_store.rb +3 -0
  72. data/spec/internal/config/initializers/wrap_parameters.rb +14 -0
  73. data/spec/internal/config/locales/en.yml +23 -0
  74. data/spec/internal/config/oclcts-authorities.yml +24 -0
  75. data/spec/internal/config/routes.rb +60 -0
  76. data/spec/internal/db/development.sqlite3 +0 -0
  77. data/spec/internal/db/migrate/20130930151844_create_qa_subject_mesh_terms.qa.rb +12 -0
  78. data/spec/internal/db/migrate/20130930151845_create_qa_mesh_tree.qa.rb +11 -0
  79. data/spec/internal/db/migrate/20130930151846_add_term_lower_to_qa_subject_mesh_terms.qa.rb +8 -0
  80. data/spec/internal/db/schema.rb +34 -0
  81. data/spec/internal/db/seeds.rb +7 -0
  82. data/spec/internal/db/test.sqlite3 +0 -0
  83. data/spec/internal/lib/generators/test_app_generator.rb +20 -0
  84. data/spec/internal/log/development.log +193 -0
  85. data/spec/internal/public/404.html +58 -0
  86. data/spec/internal/public/422.html +58 -0
  87. data/spec/internal/public/500.html +57 -0
  88. data/spec/internal/public/favicon.ico +0 -0
  89. data/spec/internal/public/robots.txt +5 -0
  90. data/spec/internal/test/test_helper.rb +15 -0
  91. data/spec/lib/authorities_lcsh_spec.rb +61 -0
  92. data/spec/lib/authorities_loc_spec.rb +35 -0
  93. data/spec/lib/authorities_local_spec.rb +89 -0
  94. data/spec/lib/authorities_mesh_spec.rb +38 -0
  95. data/spec/lib/authorities_oclcts_spec.rb +49 -0
  96. data/spec/lib/authorities_tgnlang_spec.rb +22 -0
  97. data/spec/lib/mesh_data_parser_spec.rb +125 -0
  98. data/spec/models/subject_mesh_term_spec.rb +49 -0
  99. data/spec/spec_helper.rb +60 -0
  100. data/spec/support/lib/generators/test_app_generator.rb +20 -0
  101. metadata +396 -0
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+
3
+ describe Qa::SubjectMeshTerm do
4
+ before(:all) do
5
+ @term = Qa::SubjectMeshTerm.new
6
+ @term.term_id = "ABCDEFG"
7
+ @term.term = "Glyphon"
8
+ @term.save!
9
+ end
10
+ after(:all) do
11
+ @term.destroy
12
+ end
13
+ it "returns an empty synonym list" do
14
+ @term.synonyms.should == []
15
+ end
16
+ it "returns a list of trees" do
17
+ @term.trees.should == []
18
+ end
19
+ it "saves a synonym list" do
20
+ a = Qa::SubjectMeshTerm.new
21
+ a.term_id = 'a'
22
+ a.synonyms = ['b','c']
23
+ a.save
24
+ a.synonyms.should == ['b', 'c']
25
+ end
26
+ it "finds a term by tree number" do
27
+ t = Qa::MeshTree.new
28
+ t.term_id = @term.term_id
29
+ t.tree_number = "D1.2.3.4"
30
+ t.save!
31
+ a = Qa::SubjectMeshTerm.from_tree_number("D1.2.3.4")
32
+ a.length.should == 1
33
+ end
34
+
35
+ it "returns parents"
36
+ #do
37
+ # SubjectMeshTerm.create(term_id: "1")
38
+ # SubjectMeshTerm.create(term_id: "2")
39
+ # SubjectMeshTerm.create(term_id: "3")
40
+ # MeshTree.create(term_id: @term.term_id, tree_number: "D1.2.3")
41
+ # MeshTree.create(term_id: @term.term_id, tree_number: "D1.A.3")
42
+ # MeshTree.create(term_id: '2', tree_number: "D1.2")
43
+ # MeshTree.create(term_id: '3', tree_number: "D1.A")
44
+ # MeshTree.create(term_id: '1', tree_number: "D1")
45
+
46
+ # @term.trees.should == ["D1.2.3", "D1.A.3"]
47
+ # @term.parents.map { |p| p.term_id }.should == ["1", "2", "3"]
48
+ #end
49
+ end
@@ -0,0 +1,60 @@
1
+ require File.expand_path("../internal/config/environment.rb", __FILE__)
2
+ require 'rspec/rails'
3
+ require 'rspec/autorun'
4
+ require 'webmock/rspec'
5
+
6
+ ENV["RAILS_ENV"] ||= 'test'
7
+
8
+ if ENV['COVERAGE']
9
+ require 'simplecov'
10
+ SimpleCov.start 'rails'
11
+ SimpleCov.command_name "spec"
12
+ end
13
+
14
+ # Requires supporting ruby files with custom matchers and macros, etc,
15
+ # in spec/support/ and its subdirectories.
16
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
17
+
18
+ # Checks for pending migrations before tests are run.
19
+ # If you are not using ActiveRecord, you can remove this line.
20
+ ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
21
+
22
+ RSpec.configure do |config|
23
+ # ## Mock Framework
24
+ #
25
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
26
+ #
27
+ # config.mock_with :mocha
28
+ # config.mock_with :flexmock
29
+ # config.mock_with :rr
30
+
31
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
32
+ config.fixture_path = "../spec/fixtures"
33
+
34
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
35
+ # examples within a transaction, remove the following line or assign false
36
+ # instead of true.
37
+ config.use_transactional_fixtures = true
38
+
39
+ # If true, the base class of anonymous controllers will be inferred
40
+ # automatically. This will be the default behavior in future versions of
41
+ # rspec-rails.
42
+ config.infer_base_class_for_anonymous_controllers = false
43
+
44
+ # Run specs in random order to surface order dependencies. If you find an
45
+ # order dependency and want to debug it, you can fix the order by providing
46
+ # the seed, which is printed after each run.
47
+ # --seed 1234
48
+ config.order = "random"
49
+
50
+ # Disable Webmock if we choose so we can test against the authorities, instead of their mocks
51
+ WebMock.disable! if ENV["WEBMOCK"] == "disabled"
52
+ end
53
+
54
+ def webmock_fixture fixture
55
+ File.new File.expand_path(File.join("../fixtures", fixture), __FILE__)
56
+ end
57
+
58
+ def local_authorities_path
59
+ File.expand_path(File.join("../fixtures/authorities"), __FILE__)
60
+ end
@@ -0,0 +1,20 @@
1
+ require 'rails/generators'
2
+
3
+ class TestAppGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../../../../support", __FILE__)
5
+
6
+ def inject_routes
7
+ insert_into_file "config/routes.rb", :after => ".draw do" do
8
+ %{
9
+
10
+ mount Qa::Engine => '/qa'
11
+
12
+ }
13
+ end
14
+ end
15
+
16
+ def copy_configs
17
+ copy_file "../../config/oclcts-authorities.yml", "config/oclcts-authorities.yml"
18
+ end
19
+
20
+ end
metadata ADDED
@@ -0,0 +1,396 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: qa
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Stephen Anderson
9
+ - Don Brower
10
+ - Jim Coble
11
+ - Mike Dubin
12
+ - Randall Floyd
13
+ - Eric James
14
+ - Mike Stroming
15
+ - Adam Wead
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+ date: 2013-10-04 00:00:00.000000000 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ requirement: !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ version: 4.0.0
29
+ type: :runtime
30
+ prerelease: false
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: 4.0.0
37
+ - !ruby/object:Gem::Dependency
38
+ name: curb
39
+ requirement: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: nokogiri
55
+ requirement: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: 1.6.0
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.6.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord-import
71
+ requirement: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: 0.4.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: 0.4.0
85
+ - !ruby/object:Gem::Dependency
86
+ name: sqlite3
87
+ requirement: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ - !ruby/object:Gem::Dependency
102
+ name: rspec
103
+ requirement: !ruby/object:Gem::Requirement
104
+ none: false
105
+ requirements:
106
+ - - ! '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ type: :development
110
+ prerelease: false
111
+ version_requirements: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rspec-rails
119
+ requirement: !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ - !ruby/object:Gem::Dependency
134
+ name: webmock
135
+ requirement: !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ none: false
145
+ requirements:
146
+ - - ! '>='
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ - !ruby/object:Gem::Dependency
150
+ name: simplecov
151
+ requirement: !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ type: :development
158
+ prerelease: false
159
+ version_requirements: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ - !ruby/object:Gem::Dependency
166
+ name: sqlite3
167
+ requirement: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ type: :development
174
+ prerelease: false
175
+ version_requirements: !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ! '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: debugger
183
+ requirement: !ruby/object:Gem::Requirement
184
+ none: false
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ type: :development
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ none: false
193
+ requirements:
194
+ - - ! '>='
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ description: Provides a set of uniform RESTful routes to query any controlled vocabulary
198
+ or set of authority terms.
199
+ email:
200
+ - amsterdamos@gmail.com
201
+ executables: []
202
+ extensions: []
203
+ extra_rdoc_files: []
204
+ files:
205
+ - app/assets/javascripts/qa/application.js
206
+ - app/assets/stylesheets/qa/application.css
207
+ - app/controllers/qa/application_controller.rb
208
+ - app/controllers/qa/terms_controller.rb
209
+ - app/helpers/qa/application_helper.rb
210
+ - app/models/qa/mesh_tree.rb
211
+ - app/models/qa/subject_mesh_term.rb
212
+ - app/views/layouts/qa/application.html.erb
213
+ - config/authorities/states.yml
214
+ - config/authorities.yml
215
+ - config/initializers/authorities.rb
216
+ - config/oclcts-authorities.yml
217
+ - config/routes.rb
218
+ - db/migrate/20130917200611_create_qa_subject_mesh_terms.rb
219
+ - db/migrate/20130917201026_create_qa_mesh_tree.rb
220
+ - db/migrate/20130918141523_add_term_lower_to_qa_subject_mesh_terms.rb
221
+ - lib/qa/authorities/base.rb
222
+ - lib/qa/authorities/lcsh.rb
223
+ - lib/qa/authorities/loc.rb
224
+ - lib/qa/authorities/local.rb
225
+ - lib/qa/authorities/mesh.rb
226
+ - lib/qa/authorities/mesh_tools/mesh_data_parser.rb
227
+ - lib/qa/authorities/mesh_tools/mesh_importer.rb
228
+ - lib/qa/authorities/mesh_tools.rb
229
+ - lib/qa/authorities/oclcts.rb
230
+ - lib/qa/authorities/tgnlang.rb
231
+ - lib/qa/authorities.rb
232
+ - lib/qa/data/TGN_LANGUAGES.xml
233
+ - lib/qa/engine.rb
234
+ - lib/qa/version.rb
235
+ - lib/qa.rb
236
+ - lib/tasks/qa_tasks.rake
237
+ - LICENSE
238
+ - Rakefile
239
+ - README.md
240
+ - spec/controllers/terms_controller_spec.rb
241
+ - spec/fixtures/authorities/authority_A.yml
242
+ - spec/fixtures/authorities/authority_B.yml
243
+ - spec/fixtures/authorities/authority_C.yml
244
+ - spec/fixtures/lcsh-response.txt
245
+ - spec/fixtures/loc-response.txt
246
+ - spec/fixtures/mesh.txt
247
+ - spec/fixtures/oclcts-response-mesh-1.txt
248
+ - spec/fixtures/oclcts-response-mesh-2.txt
249
+ - spec/fixtures/oclcts-response-mesh-3.txt
250
+ - spec/internal/app/assets/javascripts/application.js
251
+ - spec/internal/app/assets/stylesheets/application.css
252
+ - spec/internal/app/controllers/application_controller.rb
253
+ - spec/internal/app/helpers/application_helper.rb
254
+ - spec/internal/app/views/layouts/application.html.erb
255
+ - spec/internal/bin/bundle
256
+ - spec/internal/bin/rails
257
+ - spec/internal/bin/rake
258
+ - spec/internal/config/application.rb
259
+ - spec/internal/config/boot.rb
260
+ - spec/internal/config/database.yml
261
+ - spec/internal/config/environment.rb
262
+ - spec/internal/config/environments/development.rb
263
+ - spec/internal/config/environments/production.rb
264
+ - spec/internal/config/environments/test.rb
265
+ - spec/internal/config/initializers/backtrace_silencers.rb
266
+ - spec/internal/config/initializers/filter_parameter_logging.rb
267
+ - spec/internal/config/initializers/inflections.rb
268
+ - spec/internal/config/initializers/mime_types.rb
269
+ - spec/internal/config/initializers/secret_token.rb
270
+ - spec/internal/config/initializers/session_store.rb
271
+ - spec/internal/config/initializers/wrap_parameters.rb
272
+ - spec/internal/config/locales/en.yml
273
+ - spec/internal/config/oclcts-authorities.yml
274
+ - spec/internal/config/routes.rb
275
+ - spec/internal/config.ru
276
+ - spec/internal/db/development.sqlite3
277
+ - spec/internal/db/migrate/20130930151844_create_qa_subject_mesh_terms.qa.rb
278
+ - spec/internal/db/migrate/20130930151845_create_qa_mesh_tree.qa.rb
279
+ - spec/internal/db/migrate/20130930151846_add_term_lower_to_qa_subject_mesh_terms.qa.rb
280
+ - spec/internal/db/schema.rb
281
+ - spec/internal/db/seeds.rb
282
+ - spec/internal/db/test.sqlite3
283
+ - spec/internal/Gemfile
284
+ - spec/internal/Gemfile.lock
285
+ - spec/internal/lib/generators/test_app_generator.rb
286
+ - spec/internal/log/development.log
287
+ - spec/internal/public/404.html
288
+ - spec/internal/public/422.html
289
+ - spec/internal/public/500.html
290
+ - spec/internal/public/favicon.ico
291
+ - spec/internal/public/robots.txt
292
+ - spec/internal/Rakefile
293
+ - spec/internal/README.rdoc
294
+ - spec/internal/test/test_helper.rb
295
+ - spec/lib/authorities_lcsh_spec.rb
296
+ - spec/lib/authorities_loc_spec.rb
297
+ - spec/lib/authorities_local_spec.rb
298
+ - spec/lib/authorities_mesh_spec.rb
299
+ - spec/lib/authorities_oclcts_spec.rb
300
+ - spec/lib/authorities_tgnlang_spec.rb
301
+ - spec/lib/mesh_data_parser_spec.rb
302
+ - spec/models/subject_mesh_term_spec.rb
303
+ - spec/spec_helper.rb
304
+ - spec/support/lib/generators/test_app_generator.rb
305
+ homepage: https://github.com/projecthydra/questioning_authority
306
+ licenses:
307
+ - APACHE-2
308
+ post_install_message:
309
+ rdoc_options: []
310
+ require_paths:
311
+ - lib
312
+ required_ruby_version: !ruby/object:Gem::Requirement
313
+ none: false
314
+ requirements:
315
+ - - ! '>='
316
+ - !ruby/object:Gem::Version
317
+ version: '0'
318
+ required_rubygems_version: !ruby/object:Gem::Requirement
319
+ none: false
320
+ requirements:
321
+ - - ! '>='
322
+ - !ruby/object:Gem::Version
323
+ version: '0'
324
+ requirements: []
325
+ rubyforge_project:
326
+ rubygems_version: 1.8.23
327
+ signing_key:
328
+ specification_version: 3
329
+ summary: You should question your authorities.
330
+ test_files:
331
+ - spec/controllers/terms_controller_spec.rb
332
+ - spec/fixtures/authorities/authority_A.yml
333
+ - spec/fixtures/authorities/authority_B.yml
334
+ - spec/fixtures/authorities/authority_C.yml
335
+ - spec/fixtures/lcsh-response.txt
336
+ - spec/fixtures/loc-response.txt
337
+ - spec/fixtures/mesh.txt
338
+ - spec/fixtures/oclcts-response-mesh-1.txt
339
+ - spec/fixtures/oclcts-response-mesh-2.txt
340
+ - spec/fixtures/oclcts-response-mesh-3.txt
341
+ - spec/internal/app/assets/javascripts/application.js
342
+ - spec/internal/app/assets/stylesheets/application.css
343
+ - spec/internal/app/controllers/application_controller.rb
344
+ - spec/internal/app/helpers/application_helper.rb
345
+ - spec/internal/app/views/layouts/application.html.erb
346
+ - spec/internal/bin/bundle
347
+ - spec/internal/bin/rails
348
+ - spec/internal/bin/rake
349
+ - spec/internal/config/application.rb
350
+ - spec/internal/config/boot.rb
351
+ - spec/internal/config/database.yml
352
+ - spec/internal/config/environment.rb
353
+ - spec/internal/config/environments/development.rb
354
+ - spec/internal/config/environments/production.rb
355
+ - spec/internal/config/environments/test.rb
356
+ - spec/internal/config/initializers/backtrace_silencers.rb
357
+ - spec/internal/config/initializers/filter_parameter_logging.rb
358
+ - spec/internal/config/initializers/inflections.rb
359
+ - spec/internal/config/initializers/mime_types.rb
360
+ - spec/internal/config/initializers/secret_token.rb
361
+ - spec/internal/config/initializers/session_store.rb
362
+ - spec/internal/config/initializers/wrap_parameters.rb
363
+ - spec/internal/config/locales/en.yml
364
+ - spec/internal/config/oclcts-authorities.yml
365
+ - spec/internal/config/routes.rb
366
+ - spec/internal/config.ru
367
+ - spec/internal/db/development.sqlite3
368
+ - spec/internal/db/migrate/20130930151844_create_qa_subject_mesh_terms.qa.rb
369
+ - spec/internal/db/migrate/20130930151845_create_qa_mesh_tree.qa.rb
370
+ - spec/internal/db/migrate/20130930151846_add_term_lower_to_qa_subject_mesh_terms.qa.rb
371
+ - spec/internal/db/schema.rb
372
+ - spec/internal/db/seeds.rb
373
+ - spec/internal/db/test.sqlite3
374
+ - spec/internal/Gemfile
375
+ - spec/internal/Gemfile.lock
376
+ - spec/internal/lib/generators/test_app_generator.rb
377
+ - spec/internal/log/development.log
378
+ - spec/internal/public/404.html
379
+ - spec/internal/public/422.html
380
+ - spec/internal/public/500.html
381
+ - spec/internal/public/favicon.ico
382
+ - spec/internal/public/robots.txt
383
+ - spec/internal/Rakefile
384
+ - spec/internal/README.rdoc
385
+ - spec/internal/test/test_helper.rb
386
+ - spec/lib/authorities_lcsh_spec.rb
387
+ - spec/lib/authorities_loc_spec.rb
388
+ - spec/lib/authorities_local_spec.rb
389
+ - spec/lib/authorities_mesh_spec.rb
390
+ - spec/lib/authorities_oclcts_spec.rb
391
+ - spec/lib/authorities_tgnlang_spec.rb
392
+ - spec/lib/mesh_data_parser_spec.rb
393
+ - spec/models/subject_mesh_term_spec.rb
394
+ - spec/spec_helper.rb
395
+ - spec/support/lib/generators/test_app_generator.rb
396
+ has_rdoc: