qa 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -10
  3. data/app/controllers/qa/terms_controller.rb +1 -1
  4. data/lib/qa/authorities.rb +0 -1
  5. data/lib/qa/authorities/base.rb +1 -1
  6. data/lib/qa/authorities/loc.rb +6 -0
  7. data/lib/qa/authorities/local.rb +0 -1
  8. data/lib/qa/authorities/mesh.rb +7 -1
  9. data/lib/qa/authorities/oclcts.rb +7 -1
  10. data/lib/qa/authorities/tgnlang.rb +6 -0
  11. data/lib/qa/authorities/web_service_base.rb +1 -1
  12. data/lib/qa/version.rb +1 -1
  13. data/spec/controllers/terms_controller_spec.rb +0 -6
  14. data/spec/fixtures/loc-names-response.txt +1733 -0
  15. data/spec/fixtures/loc-subjects-response.txt +1733 -0
  16. data/spec/internal/Gemfile +1 -1
  17. data/spec/internal/Gemfile.lock +55 -56
  18. data/spec/internal/config/initializers/secret_token.rb +1 -1
  19. data/spec/internal/config/routes.rb +0 -4
  20. data/spec/lib/authorities_loc_spec.rb +53 -19
  21. data/spec/lib/authorities_mesh_spec.rb +1 -1
  22. data/spec/lib/authorities_oclcts_spec.rb +2 -2
  23. data/spec/lib/tasks/mesh.rake_spec.rb +1 -1
  24. metadata +22 -96
  25. data/lib/qa/authorities/lcsh.rb +0 -41
  26. data/spec/fixtures/lcsh-response.txt +0 -1
  27. data/spec/internal/config/oclcts-authorities.yml +0 -24
  28. data/spec/internal/db/development.sqlite3 +0 -0
  29. data/spec/internal/db/migrate/20131106203101_create_qa_subject_mesh_terms.qa.rb +0 -12
  30. data/spec/internal/db/migrate/20131106203102_create_qa_mesh_tree.qa.rb +0 -11
  31. data/spec/internal/db/migrate/20131106203103_add_term_lower_to_qa_subject_mesh_terms.qa.rb +0 -8
  32. data/spec/internal/db/schema.rb +0 -34
  33. data/spec/internal/db/test.sqlite3 +0 -0
  34. data/spec/internal/log/development.log +0 -7046
  35. data/spec/lib/authorities_lcsh_spec.rb +0 -50
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
- gem 'rails', '4.0.1'
4
+ gem 'rails', '4.0.3'
5
5
 
6
6
  # Use sqlite3 as the database for Active Record
7
7
  gem 'sqlite3'
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: ../../../questioning_authority
3
3
  specs:
4
- qa (0.0.2)
5
- activerecord-import (>= 0.4.0)
6
- curb
4
+ qa (0.0.3)
5
+ activerecord-import
7
6
  deprecation
8
7
  nokogiri (~> 1.6.0)
9
8
  rails (~> 4.0.0)
@@ -12,35 +11,35 @@ PATH
12
11
  GEM
13
12
  remote: https://rubygems.org/
14
13
  specs:
15
- actionmailer (4.0.1)
16
- actionpack (= 4.0.1)
14
+ actionmailer (4.0.3)
15
+ actionpack (= 4.0.3)
17
16
  mail (~> 2.5.4)
18
- actionpack (4.0.1)
19
- activesupport (= 4.0.1)
17
+ actionpack (4.0.3)
18
+ activesupport (= 4.0.3)
20
19
  builder (~> 3.1.0)
21
20
  erubis (~> 2.7.0)
22
21
  rack (~> 1.5.2)
23
22
  rack-test (~> 0.6.2)
24
- activemodel (4.0.1)
25
- activesupport (= 4.0.1)
23
+ activemodel (4.0.3)
24
+ activesupport (= 4.0.3)
26
25
  builder (~> 3.1.0)
27
- activerecord (4.0.1)
28
- activemodel (= 4.0.1)
26
+ activerecord (4.0.3)
27
+ activemodel (= 4.0.3)
29
28
  activerecord-deprecated_finders (~> 1.0.2)
30
- activesupport (= 4.0.1)
29
+ activesupport (= 4.0.3)
31
30
  arel (~> 4.0.0)
32
31
  activerecord-deprecated_finders (1.0.3)
33
32
  activerecord-import (0.4.1)
34
33
  activerecord (>= 3.0)
35
- activesupport (4.0.1)
34
+ activesupport (4.0.3)
36
35
  i18n (~> 0.6, >= 0.6.4)
37
36
  minitest (~> 4.2)
38
37
  multi_json (~> 1.3)
39
38
  thread_safe (~> 0.1)
40
39
  tzinfo (~> 0.3.37)
41
40
  addressable (2.3.5)
42
- arel (4.0.1)
43
- atomic (1.1.14)
41
+ arel (4.0.2)
42
+ atomic (1.1.15)
44
43
  builder (3.1.4)
45
44
  coffee-rails (4.0.1)
46
45
  coffee-script (>= 2.2.0)
@@ -48,76 +47,76 @@ GEM
48
47
  coffee-script (2.2.0)
49
48
  coffee-script-source
50
49
  execjs
51
- coffee-script-source (1.6.3)
52
- crack (0.4.1)
53
- safe_yaml (~> 0.9.0)
54
- curb (0.8.5)
55
- deprecation (0.0.5)
50
+ coffee-script-source (1.7.0)
51
+ crack (0.4.2)
52
+ safe_yaml (~> 1.0.0)
53
+ deprecation (0.1.0)
56
54
  activesupport
57
- diff-lcs (1.2.4)
55
+ diff-lcs (1.2.5)
58
56
  erubis (2.7.0)
59
57
  execjs (2.0.2)
60
58
  hike (1.2.3)
61
- i18n (0.6.5)
62
- jbuilder (1.5.2)
59
+ i18n (0.6.9)
60
+ jbuilder (1.5.3)
63
61
  activesupport (>= 3.0.0)
64
62
  multi_json (>= 1.2.0)
65
- jquery-rails (3.0.4)
63
+ jquery-rails (3.1.0)
66
64
  railties (>= 3.0, < 5.0)
67
65
  thor (>= 0.14, < 2.0)
68
66
  json (1.8.1)
69
67
  mail (2.5.4)
70
68
  mime-types (~> 1.16)
71
69
  treetop (~> 1.4.8)
72
- mime-types (1.25)
70
+ mime-types (1.25.1)
73
71
  mini_portile (0.5.2)
74
72
  minitest (4.7.5)
75
- multi_json (1.8.2)
76
- nokogiri (1.6.0)
73
+ multi_json (1.8.4)
74
+ nokogiri (1.6.1)
77
75
  mini_portile (~> 0.5.0)
78
- polyglot (0.3.3)
76
+ polyglot (0.3.4)
79
77
  rack (1.5.2)
80
78
  rack-test (0.6.2)
81
79
  rack (>= 1.0)
82
- rails (4.0.1)
83
- actionmailer (= 4.0.1)
84
- actionpack (= 4.0.1)
85
- activerecord (= 4.0.1)
86
- activesupport (= 4.0.1)
80
+ rails (4.0.3)
81
+ actionmailer (= 4.0.3)
82
+ actionpack (= 4.0.3)
83
+ activerecord (= 4.0.3)
84
+ activesupport (= 4.0.3)
87
85
  bundler (>= 1.3.0, < 2.0)
88
- railties (= 4.0.1)
86
+ railties (= 4.0.3)
89
87
  sprockets-rails (~> 2.0.0)
90
- railties (4.0.1)
91
- actionpack (= 4.0.1)
92
- activesupport (= 4.0.1)
88
+ railties (4.0.3)
89
+ actionpack (= 4.0.3)
90
+ activesupport (= 4.0.3)
93
91
  rake (>= 0.8.7)
94
92
  thor (>= 0.18.1, < 2.0)
95
- rake (10.1.0)
96
- rdoc (3.12.2)
93
+ rake (10.1.1)
94
+ rdoc (4.1.1)
97
95
  json (~> 1.4)
98
96
  rest-client (1.6.7)
99
97
  mime-types (>= 1.16)
100
- rspec-core (2.14.7)
101
- rspec-expectations (2.14.3)
98
+ rspec-core (2.14.8)
99
+ rspec-expectations (2.14.5)
102
100
  diff-lcs (>= 1.1.3, < 2.0)
103
- rspec-mocks (2.14.4)
104
- rspec-rails (2.14.0)
101
+ rspec-mocks (2.14.6)
102
+ rspec-rails (2.14.1)
105
103
  actionpack (>= 3.0)
104
+ activemodel (>= 3.0)
106
105
  activesupport (>= 3.0)
107
106
  railties (>= 3.0)
108
107
  rspec-core (~> 2.14.0)
109
108
  rspec-expectations (~> 2.14.0)
110
109
  rspec-mocks (~> 2.14.0)
111
- safe_yaml (0.9.7)
112
- sass (3.2.12)
110
+ safe_yaml (1.0.1)
111
+ sass (3.2.14)
113
112
  sass-rails (4.0.1)
114
113
  railties (>= 4.0.0, < 5.0)
115
114
  sass (>= 3.1.10)
116
115
  sprockets-rails (~> 2.0.0)
117
- sdoc (0.3.20)
118
- json (>= 1.1.3)
119
- rdoc (~> 3.10)
120
- sprockets (2.10.0)
116
+ sdoc (0.4.0)
117
+ json (~> 1.8)
118
+ rdoc (~> 4.0, < 5.0)
119
+ sprockets (2.11.0)
121
120
  hike (~> 1.2)
122
121
  multi_json (~> 1.0)
123
122
  rack (~> 1.0)
@@ -126,21 +125,21 @@ GEM
126
125
  actionpack (>= 3.0)
127
126
  activesupport (>= 3.0)
128
127
  sprockets (~> 2.8)
129
- sqlite3 (1.3.8)
128
+ sqlite3 (1.3.9)
130
129
  thor (0.18.1)
131
- thread_safe (0.1.3)
132
- atomic
130
+ thread_safe (0.2.0)
131
+ atomic (>= 1.1.7, < 2)
133
132
  tilt (1.4.1)
134
133
  treetop (1.4.15)
135
134
  polyglot
136
135
  polyglot (>= 0.3.1)
137
- turbolinks (1.3.0)
136
+ turbolinks (2.2.1)
138
137
  coffee-rails
139
138
  tzinfo (0.3.38)
140
- uglifier (2.3.0)
139
+ uglifier (2.4.0)
141
140
  execjs (>= 0.3.0)
142
141
  json (>= 1.8.0)
143
- webmock (1.15.2)
142
+ webmock (1.17.4)
144
143
  addressable (>= 2.2.7)
145
144
  crack (>= 0.3.2)
146
145
 
@@ -152,7 +151,7 @@ DEPENDENCIES
152
151
  jbuilder (~> 1.2)
153
152
  jquery-rails
154
153
  qa!
155
- rails (= 4.0.1)
154
+ rails (= 4.0.3)
156
155
  rspec-rails
157
156
  sass-rails (~> 4.0.0)
158
157
  sdoc
@@ -9,4 +9,4 @@
9
9
 
10
10
  # Make sure your secret_key_base is kept private
11
11
  # if you're sharing your code publicly.
12
- Internal::Application.config.secret_key_base = '16f29deccb3d1cd78972d5df7afe5b0d62584835fb4d073518eb36918cf46ca3ba0c2a7e1f112577a91d53adc63c9f410e6f7dec95f55fc0202ed3ba9a3b7501'
12
+ Internal::Application.config.secret_key_base = '66c858b75897c8982958abbc82b7b9446578fb1d4dcb090a59e4a1ecfb22fb175acbc4730ad88eeccbb9ef523d558f0a8b5041a5851ca5f5b25c8b6cd0662927'
@@ -1,8 +1,4 @@
1
1
  Internal::Application.routes.draw do
2
-
3
- mount Qa::Engine => '/qa'
4
-
5
-
6
2
  # The priority is based upon order of creation: first created -> highest priority.
7
3
  # See how all your routes lay out with "rake routes".
8
4
 
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Qa::Authorities::Loc do
4
-
4
+
5
5
  before :all do
6
6
  stub_request(:get, "http://id.loc.gov/search/?format=json&q=haw*&q=cs:http://id.loc.gov/vocabulary/geographicAreas").
7
7
  with(:headers => {'Accept'=>'application/json'}).
@@ -9,28 +9,62 @@ describe Qa::Authorities::Loc do
9
9
  @authority = Qa::Authorities::Loc.new
10
10
  @authority.search("haw*", "geographicAreas")
11
11
  end
12
+
13
+ describe "geographic areas" do
12
14
 
13
- it "should instantiate with a query and return data" do
14
- expect(@authority).not_to be_nil
15
- @authority.raw_response.to_s.should include("id")
16
- end
15
+ it "should instantiate with a query and return data" do
16
+ expect(@authority).not_to be_nil
17
+ @authority.raw_response.to_s.should include("id")
18
+ end
17
19
 
18
- it "should return a sub_authority url" do
19
- @authority.should_not be_nil
20
- url = @authority.sub_authorityURL("geographicAreas")
21
- expect(url).not_to be_nil
22
- end
20
+ it "should return a sub_authority url" do
21
+ @authority.should_not be_nil
22
+ url = @authority.sub_authorityURL("geographicAreas")
23
+ expect(url).not_to be_nil
24
+ end
23
25
 
24
- it "should not return a url for an invalid sub_authority" do
25
- @authority.should_not be_nil
26
- url = @authority.sub_authorityURL("invalid sub_authority")
27
- expect(url).to eq("")
28
- end
26
+ it "should not return a url for an invalid sub_authority" do
27
+ @authority.should_not be_nil
28
+ url = @authority.sub_authorityURL("invalid sub_authority")
29
+ expect(url).to eq("")
30
+ end
29
31
 
30
- it "should return JSON" do
31
- @authority.should_not be_nil
32
- json = @authority.parse_authority_response(@authority.raw_response)
33
- expect(json).not_to be_empty
32
+ it "should return JSON" do
33
+ @authority.should_not be_nil
34
+ json = @authority.parse_authority_response(@authority.raw_response)
35
+ expect(json).not_to be_empty
36
+ end
37
+
38
+ end
39
+
40
+ describe "subject headings" do
41
+
42
+ before :all do
43
+ stub_request(:get, "http://id.loc.gov/search/?format=json&q=History--&q=cs:http://id.loc.gov/authorities/subjects").
44
+ with(:headers => {'Accept'=>'application/json'}).
45
+ to_return(:body => webmock_fixture("loc-subjects-response.txt"), :status => 200)
46
+ end
47
+
48
+ it "should be retrieved via search" do
49
+ @authority.search("History--", "subjects")
50
+ @authority.results.first["label"].should == "History--Philosophy--History--20th century"
51
+ end
52
+
53
+ end
54
+
55
+ describe "name headings" do
56
+
57
+ before :all do
58
+ stub_request(:get, "http://id.loc.gov/search/?format=json&q=Berry&q=cs:http://id.loc.gov/authorities/names").
59
+ with(:headers => {'Accept'=>'application/json'}).
60
+ to_return(:body => webmock_fixture("loc-names-response.txt"), :status => 200)
61
+ end
62
+
63
+ it "should be retrieved via search" do
64
+ @authority.search("Berry", "names")
65
+ @authority.results.first["label"].should == "Berry, James W. (James William), 1938-"
66
+ end
67
+
34
68
  end
35
69
 
36
70
  end
@@ -37,7 +37,7 @@ describe Qa::Authorities::Mesh do
37
37
 
38
38
  it "gets full records" do
39
39
  m = Qa::Authorities::Mesh.new
40
- result = m.get_full_record('2')
40
+ result = m.full_record('2')
41
41
  result.should == {id: '2', label: 'Mr Snow', synonyms: []}
42
42
  end
43
43
  end
@@ -12,7 +12,7 @@ describe Qa::Authorities::Oclcts do
12
12
 
13
13
  @first_query = Qa::Authorities::Oclcts.new
14
14
  @terms = @first_query.search("ball", "mesh")
15
- @term_record = @first_query.get_full_record(@terms.first["id"], "mesh")
15
+ @term_record = @first_query.full_record(@terms.first["id"], "mesh")
16
16
  @second_query = Qa::Authorities::Oclcts.new
17
17
  @second_query.search("alph", "mesh")
18
18
  end
@@ -41,7 +41,7 @@ describe Qa::Authorities::Oclcts do
41
41
  end
42
42
 
43
43
  it "should succeed for valid ids, even if the id is not in the initial list of responses" do
44
- record = @second_query.get_full_record(@terms.first["id"], "mesh")
44
+ record = @second_query.full_record(@terms.first["id"], "mesh")
45
45
  record.values.should include @terms.first["id"]
46
46
  record.values.should include @terms.first["label"]
47
47
  end
@@ -32,7 +32,7 @@ describe "mesh rake tasks" do
32
32
  it "should create or update all records in the config file" do
33
33
  ENV['MESH_FILE'] = "dummy"
34
34
  input = StringIO.new("*NEWRECORD\nUI = 5\nMH = test\n")
35
- File.should_receive(:open).with("dummy").and_yield(input)
35
+ expect(File).to receive(:open).with("dummy").and_yield(input)
36
36
  @rake[@task_name].invoke
37
37
  term = Qa::SubjectMeshTerm.find_by_term_id(5)
38
38
  term.should_not be_nil
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: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Anderson
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2013-11-11 00:00:00.000000000 Z
18
+ date: 2014-03-07 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -31,20 +31,6 @@ dependencies:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 4.0.0
34
- - !ruby/object:Gem::Dependency
35
- name: curb
36
- requirement: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- type: :runtime
42
- prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
34
  - !ruby/object:Gem::Dependency
49
35
  name: rest-client
50
36
  requirement: !ruby/object:Gem::Requirement
@@ -79,14 +65,14 @@ dependencies:
79
65
  requirements:
80
66
  - - '>='
81
67
  - !ruby/object:Gem::Version
82
- version: 0.4.0
68
+ version: '0'
83
69
  type: :runtime
84
70
  prerelease: false
85
71
  version_requirements: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - '>='
88
74
  - !ruby/object:Gem::Version
89
- version: 0.4.0
75
+ version: '0'
90
76
  - !ruby/object:Gem::Dependency
91
77
  name: deprecation
92
78
  requirement: !ruby/object:Gem::Requirement
@@ -115,20 +101,6 @@ dependencies:
115
101
  - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
- - !ruby/object:Gem::Dependency
119
- name: rspec
120
- requirement: !ruby/object:Gem::Requirement
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
- requirements:
129
- - - '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
104
  - !ruby/object:Gem::Dependency
133
105
  name: rspec-rails
134
106
  requirement: !ruby/object:Gem::Requirement
@@ -171,34 +143,6 @@ dependencies:
171
143
  - - '>='
172
144
  - !ruby/object:Gem::Version
173
145
  version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: sqlite3
176
- requirement: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - '>='
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- type: :development
182
- prerelease: false
183
- version_requirements: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - '>='
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- - !ruby/object:Gem::Dependency
189
- name: debugger
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- type: :development
196
- prerelease: false
197
- version_requirements: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - '>='
200
- - !ruby/object:Gem::Version
201
- version: '0'
202
146
  description: Provides a set of uniform RESTful routes to query any controlled vocabulary
203
147
  or set of authority terms.
204
148
  email:
@@ -207,6 +151,9 @@ executables: []
207
151
  extensions: []
208
152
  extra_rdoc_files: []
209
153
  files:
154
+ - LICENSE
155
+ - README.md
156
+ - Rakefile
210
157
  - app/assets/javascripts/qa/application.js
211
158
  - app/assets/stylesheets/qa/application.css
212
159
  - app/controllers/qa/application_controller.rb
@@ -215,47 +162,48 @@ files:
215
162
  - app/models/qa/mesh_tree.rb
216
163
  - app/models/qa/subject_mesh_term.rb
217
164
  - app/views/layouts/qa/application.html.erb
218
- - config/authorities/states.yml
219
165
  - config/authorities.yml
166
+ - config/authorities/states.yml
220
167
  - config/initializers/authorities.rb
221
168
  - config/oclcts-authorities.yml
222
169
  - config/routes.rb
223
170
  - db/migrate/20130917200611_create_qa_subject_mesh_terms.rb
224
171
  - db/migrate/20130917201026_create_qa_mesh_tree.rb
225
172
  - db/migrate/20130918141523_add_term_lower_to_qa_subject_mesh_terms.rb
173
+ - lib/qa.rb
174
+ - lib/qa/authorities.rb
226
175
  - lib/qa/authorities/base.rb
227
- - lib/qa/authorities/lcsh.rb
228
176
  - lib/qa/authorities/loc.rb
229
- - lib/qa/authorities/local/subauthority.rb
230
177
  - lib/qa/authorities/local.rb
178
+ - lib/qa/authorities/local/subauthority.rb
231
179
  - lib/qa/authorities/mesh.rb
180
+ - lib/qa/authorities/mesh_tools.rb
232
181
  - lib/qa/authorities/mesh_tools/mesh_data_parser.rb
233
182
  - lib/qa/authorities/mesh_tools/mesh_importer.rb
234
- - lib/qa/authorities/mesh_tools.rb
235
183
  - lib/qa/authorities/oclcts.rb
236
184
  - lib/qa/authorities/tgnlang.rb
237
185
  - lib/qa/authorities/web_service_base.rb
238
- - lib/qa/authorities.rb
239
186
  - lib/qa/data/TGN_LANGUAGES.xml
240
187
  - lib/qa/engine.rb
241
188
  - lib/qa/version.rb
242
- - lib/qa.rb
243
189
  - lib/tasks/mesh.rake
244
190
  - lib/tasks/qa_tasks.rake
245
- - LICENSE
246
- - Rakefile
247
- - README.md
248
191
  - spec/controllers/terms_controller_spec.rb
249
192
  - spec/fixtures/authorities/authority_A.yml
250
193
  - spec/fixtures/authorities/authority_B.yml
251
194
  - spec/fixtures/authorities/authority_C.yml
252
195
  - spec/fixtures/authorities/authority_D.yml
253
- - spec/fixtures/lcsh-response.txt
196
+ - spec/fixtures/loc-names-response.txt
254
197
  - spec/fixtures/loc-response.txt
198
+ - spec/fixtures/loc-subjects-response.txt
255
199
  - spec/fixtures/mesh.txt
256
200
  - spec/fixtures/oclcts-response-mesh-1.txt
257
201
  - spec/fixtures/oclcts-response-mesh-2.txt
258
202
  - spec/fixtures/oclcts-response-mesh-3.txt
203
+ - spec/internal/Gemfile
204
+ - spec/internal/Gemfile.lock
205
+ - spec/internal/README.rdoc
206
+ - spec/internal/Rakefile
259
207
  - spec/internal/app/assets/javascripts/application.js
260
208
  - spec/internal/app/assets/stylesheets/application.css
261
209
  - spec/internal/app/controllers/application_controller.rb
@@ -264,6 +212,7 @@ files:
264
212
  - spec/internal/bin/bundle
265
213
  - spec/internal/bin/rails
266
214
  - spec/internal/bin/rake
215
+ - spec/internal/config.ru
267
216
  - spec/internal/config/application.rb
268
217
  - spec/internal/config/boot.rb
269
218
  - spec/internal/config/database.yml
@@ -279,29 +228,15 @@ files:
279
228
  - spec/internal/config/initializers/session_store.rb
280
229
  - spec/internal/config/initializers/wrap_parameters.rb
281
230
  - spec/internal/config/locales/en.yml
282
- - spec/internal/config/oclcts-authorities.yml
283
231
  - spec/internal/config/routes.rb
284
- - spec/internal/config.ru
285
- - spec/internal/db/development.sqlite3
286
- - spec/internal/db/migrate/20131106203101_create_qa_subject_mesh_terms.qa.rb
287
- - spec/internal/db/migrate/20131106203102_create_qa_mesh_tree.qa.rb
288
- - spec/internal/db/migrate/20131106203103_add_term_lower_to_qa_subject_mesh_terms.qa.rb
289
- - spec/internal/db/schema.rb
290
232
  - spec/internal/db/seeds.rb
291
- - spec/internal/db/test.sqlite3
292
- - spec/internal/Gemfile
293
- - spec/internal/Gemfile.lock
294
233
  - spec/internal/lib/generators/test_app_generator.rb
295
- - spec/internal/log/development.log
296
234
  - spec/internal/public/404.html
297
235
  - spec/internal/public/422.html
298
236
  - spec/internal/public/500.html
299
237
  - spec/internal/public/favicon.ico
300
238
  - spec/internal/public/robots.txt
301
- - spec/internal/Rakefile
302
- - spec/internal/README.rdoc
303
239
  - spec/internal/test/test_helper.rb
304
- - spec/lib/authorities_lcsh_spec.rb
305
240
  - spec/lib/authorities_loc_spec.rb
306
241
  - spec/lib/authorities_local_spec.rb
307
242
  - spec/lib/authorities_mesh_spec.rb
@@ -332,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
332
267
  version: '0'
333
268
  requirements: []
334
269
  rubyforge_project:
335
- rubygems_version: 2.0.3
270
+ rubygems_version: 2.2.2
336
271
  signing_key:
337
272
  specification_version: 4
338
273
  summary: You should question your authorities.
@@ -342,8 +277,9 @@ test_files:
342
277
  - spec/fixtures/authorities/authority_B.yml
343
278
  - spec/fixtures/authorities/authority_C.yml
344
279
  - spec/fixtures/authorities/authority_D.yml
345
- - spec/fixtures/lcsh-response.txt
280
+ - spec/fixtures/loc-names-response.txt
346
281
  - spec/fixtures/loc-response.txt
282
+ - spec/fixtures/loc-subjects-response.txt
347
283
  - spec/fixtures/mesh.txt
348
284
  - spec/fixtures/oclcts-response-mesh-1.txt
349
285
  - spec/fixtures/oclcts-response-mesh-2.txt
@@ -371,20 +307,12 @@ test_files:
371
307
  - spec/internal/config/initializers/session_store.rb
372
308
  - spec/internal/config/initializers/wrap_parameters.rb
373
309
  - spec/internal/config/locales/en.yml
374
- - spec/internal/config/oclcts-authorities.yml
375
310
  - spec/internal/config/routes.rb
376
311
  - spec/internal/config.ru
377
- - spec/internal/db/development.sqlite3
378
- - spec/internal/db/migrate/20131106203101_create_qa_subject_mesh_terms.qa.rb
379
- - spec/internal/db/migrate/20131106203102_create_qa_mesh_tree.qa.rb
380
- - spec/internal/db/migrate/20131106203103_add_term_lower_to_qa_subject_mesh_terms.qa.rb
381
- - spec/internal/db/schema.rb
382
312
  - spec/internal/db/seeds.rb
383
- - spec/internal/db/test.sqlite3
384
313
  - spec/internal/Gemfile
385
314
  - spec/internal/Gemfile.lock
386
315
  - spec/internal/lib/generators/test_app_generator.rb
387
- - spec/internal/log/development.log
388
316
  - spec/internal/public/404.html
389
317
  - spec/internal/public/422.html
390
318
  - spec/internal/public/500.html
@@ -393,7 +321,6 @@ test_files:
393
321
  - spec/internal/Rakefile
394
322
  - spec/internal/README.rdoc
395
323
  - spec/internal/test/test_helper.rb
396
- - spec/lib/authorities_lcsh_spec.rb
397
324
  - spec/lib/authorities_loc_spec.rb
398
325
  - spec/lib/authorities_local_spec.rb
399
326
  - spec/lib/authorities_mesh_spec.rb
@@ -404,4 +331,3 @@ test_files:
404
331
  - spec/models/subject_mesh_term_spec.rb
405
332
  - spec/spec_helper.rb
406
333
  - spec/support/lib/generators/test_app_generator.rb
407
- has_rdoc: