enju_biblio 0.1.0.pre69 → 0.1.0.pre70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/items_controller.rb +5 -5
  3. data/app/controllers/manifestations_controller.rb +10 -85
  4. data/app/controllers/resource_import_files_controller.rb +1 -0
  5. data/app/models/enju_biblio/ability.rb +29 -19
  6. data/app/models/manifestation.rb +38 -11
  7. data/app/models/resource_import_file.rb +35 -12
  8. data/app/models/resource_import_file_state_machine.rb +1 -1
  9. data/app/views/agent_types/_form.html.erb +2 -1
  10. data/app/views/agents/_form.html.erb +1 -1
  11. data/app/views/import_requests/new.html.erb +2 -2
  12. data/app/views/items/_form.html.erb +7 -0
  13. data/app/views/items/edit.html.erb +0 -1
  14. data/app/views/items/new.html.erb +0 -1
  15. data/app/views/manifestations/_colorbox.html.erb +5 -0
  16. data/app/views/manifestations/_export_detail.html.erb +7 -0
  17. data/app/views/manifestations/_export_list.html.erb +6 -0
  18. data/app/views/manifestations/_manifestation.txt.erb +1 -0
  19. data/app/views/manifestations/index.html.erb +1 -0
  20. data/app/views/manifestations/index.txt.erb +2 -4
  21. data/app/views/manifestations/show.html.erb +2 -5
  22. data/app/views/manifestations/show.txt.erb +2 -0
  23. data/app/views/resource_import_files/_results.html.erb +23 -0
  24. data/app/views/resource_import_files/new.html.erb +2 -0
  25. data/app/views/resource_import_files/show.html.erb +8 -12
  26. data/app/views/resource_import_results/_list.html.erb +26 -0
  27. data/app/views/resource_import_results/_list_lines.html.erb +25 -0
  28. data/app/views/resource_import_results/index.html.erb +3 -30
  29. data/app/views/resource_import_results/show.html.erb +1 -1
  30. data/config/locales/translation_en.yml +8 -5
  31. data/config/locales/translation_ja.yml +4 -1
  32. data/lib/enju_biblio/version.rb +1 -1
  33. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/ISBN_import/with_record_not_found/should_record_an_error_message.yml +155 -0
  34. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_has_only_isbn/should_be_imported.yml +464 -374
  35. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_shift_jis/should_be_imported.yml +232 -159
  36. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_be_imported.yml +234 -161
  37. data/spec/cassette_library/ResourceImportFile/when_its_mode_is_create_/when_it_is_written_in_utf-8/should_send_message_when_import_is_completed.yml +234 -163
  38. data/spec/controllers/agent_types_controller_spec.rb +5 -0
  39. data/spec/controllers/content_types_controller_spec.rb +7 -0
  40. data/spec/controllers/frequencies_controller_spec.rb +7 -0
  41. data/spec/controllers/items_controller_spec.rb +18 -0
  42. data/spec/controllers/manifestations_controller_spec.rb +30 -0
  43. data/spec/factories/classification.rb +6 -0
  44. data/spec/fixtures/items.yml +2 -0
  45. data/spec/models/manifestation_spec.rb +16 -0
  46. data/spec/models/resource_export_file_spec.rb +19 -0
  47. data/spec/models/resource_import_file_spec.rb +58 -0
  48. data/spec/views/resource_import_files/index.html.erb_spec.rb +19 -0
  49. data/spec/views/resource_import_files/show.html.erb_spec.erb +27 -0
  50. data/spec/views/resource_import_results/index.html.erb_spec.rb +32 -0
  51. data/spec/views/resource_import_results/show.html.erb_spec.erb +27 -0
  52. metadata +427 -407
@@ -19,15 +19,15 @@ http_interactions:
19
19
  message: OK
20
20
  headers:
21
21
  Date:
22
- - Wed, 01 Oct 2014 10:44:27 GMT
22
+ - Mon, 28 Sep 2015 14:54:24 GMT
23
23
  Server:
24
24
  - Apache
25
25
  Etag:
26
- - '"f6ed27b8e85a20ba45b23d8f4f32af76"'
26
+ - '"503701e3484cc1589fe2e5fdf3c797e8"'
27
27
  X-Ua-Compatible:
28
28
  - IE=Edge,chrome=1
29
29
  X-Runtime:
30
- - '0.143286'
30
+ - '0.148611'
31
31
  Cache-Control:
32
32
  - max-age=0, private, must-revalidate
33
33
  Status:
@@ -35,9 +35,9 @@ http_interactions:
35
35
  Content-Type:
36
36
  - application/xml; charset=utf-8
37
37
  Set-Cookie:
38
- - _front_session_id=b86d265d890a283e0075b0e572256e2d; domain=.iss.ndl.go.jp;
39
- path=/; expires=Wed, 01-Oct-2014 11:44:27 GMT; HttpOnly
40
- - serverid=1101; path=/
38
+ - _front_session_id=63ffbb46092ee25c0d8cebddb6efcbb0; domain=.iss.ndl.go.jp;
39
+ path=/; expires=Mon, 28-Sep-2015 15:54:24 GMT; HttpOnly
40
+ - serverid=1105; path=/
41
41
  Vary:
42
42
  - Accept-Encoding,User-Agent
43
43
  X-Content-Type-Options:
@@ -45,7 +45,7 @@ http_interactions:
45
45
  X-Frame-Options:
46
46
  - SAMEORIGIN
47
47
  Content-Length:
48
- - '1312'
48
+ - '1470'
49
49
  Connection:
50
50
  - close
51
51
  body:
@@ -64,8 +64,8 @@ http_interactions:
64
64
  ZS8iPgogIDxjaGFubmVsPgogICAgPHRpdGxlPjEgOTc4NDc5ODAwMjA2NCBp
65
65
  c3MtbmRsLW9wYWMgLSDlm73nq4vlm73kvJrlm7Pmm7jppKjjgrXjg7zjg4Eg
66
66
  T3BlblNlYXJjaDwvdGl0bGU+CiAgICA8bGluaz5odHRwOi8vaXNzLm5kbC5n
67
- by5qcC9hcGkvb3BlbnNlYXJjaD9tZWRpYXR5cGU9MSZhbXA7aWR4PTEmYW1w
68
- O2RwaWQ9aXNzLW5kbC1vcGFjJmFtcDtjbnQ9MTAmYW1wO2lzYm49OTc4NDc5
67
+ by5qcC9hcGkvb3BlbnNlYXJjaD9tZWRpYXR5cGU9MSZhbXA7ZHBpZD1pc3Mt
68
+ bmRsLW9wYWMmYW1wO2lkeD0xJmFtcDtjbnQ9MTAmYW1wO2lzYm49OTc4NDc5
69
69
  ODAwMjA2NDwvbGluaz4KICAgIDxkZXNjcmlwdGlvbj5TZWFyY2ggcmVzdWx0
70
70
  cyBmb3IgaXNibj05Nzg0Nzk4MDAyMDY0IG1lZGlhdHlwZT0xIGNudD0xMCBk
71
71
  cGlkPWlzcy1uZGwtb3BhYyA8L2Rlc2NyaXB0aW9uPgogICAgPGxhbmd1YWdl
@@ -125,10 +125,21 @@ http_interactions:
125
125
  Y3Q+CiAgICAgIDxyZGZzOnNlZUFsc28gcmRmOnJlc291cmNlPSJodHRwOi8v
126
126
  aWQubmRsLmdvLmpwL2JpYi8wMDAwMDMwNDY1NDYiLz4KICAgICAgPHJkZnM6
127
127
  c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHA6Ly93ZWIub21sLmNpdHkub3Nh
128
- a2EubGcuanAvd2Vib3BhY19pX2phLzAwMTAxOTY3NzkiLz4KICAgIDwvaXRl
129
- bT4KICA8L2NoYW5uZWw+CjwvcnNzPgo=
128
+ a2EubGcuanAvd2Vib3BhY19pX2phLzAwMTAxOTY3NzkiLz4KICAgICAgPHJk
129
+ ZnM6c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHBzOi8vd3d3LmxpYnJhcnku
130
+ cHJlZi5vc2FrYS5qcC9saWNzeHAtb3BhYy9XT3BhY01zZ05ld0xpc3RUb1Rp
131
+ ZlRpbERldGFpbEFjdGlvbi5kbz90aWxjb2Q9MTAwMDAwMDE3NzY3NTEiLz4K
132
+ ICAgICAgPHJkZnM6c2VlQWxzbyByZGY6cmVzb3VyY2U9Imh0dHA6Ly93ZWJz
133
+ di5haWNoaS1wcmVmLWxpYnJhcnkuanAvd2luai9vcGFjL3N3aXRjaC1kZXRh
134
+ aWwtaWNjYXAuZG8/YmliaWQ9MTE2MDI0NTg1NSIvPgogICAgICA8cmRmczpz
135
+ ZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL29wYWMxLmxpYnJhcnkucHJl
136
+ Zi5taWUubGcuanAvd2luai9vcGFjL3N3aXRjaC1kZXRhaWwtaWNjYXAuZG8/
137
+ YmliaWQ9MTEwMTg3MDkxMyIvPgogICAgICA8cmRmczpzZWVBbHNvIHJkZjpy
138
+ ZXNvdXJjZT0iaHR0cDovL3d3dy5saWJyYXJ5LnByZWYuZ2lmdS5sZy5qcC93
139
+ aW5qL29wYWMvc3dpdGNoLWRldGFpbC1pY2NhcC5kbz9iaWJpZD0xMTAwMDM3
140
+ MTk5Ii8+CiAgICA8L2l0ZW0+CiAgPC9jaGFubmVsPgo8L3Jzcz4K
130
141
  http_version:
131
- recorded_at: Wed, 01 Oct 2014 10:44:27 GMT
142
+ recorded_at: Mon, 28 Sep 2015 06:11:25 GMT
132
143
  - request:
133
144
  method: get
134
145
  uri: http://iss.ndl.go.jp/books/R100000002-I000003046546-00.rdf
@@ -136,27 +147,27 @@ http_interactions:
136
147
  encoding: US-ASCII
137
148
  string: ''
138
149
  headers:
150
+ User-Agent:
151
+ - Faraday v0.9.1
139
152
  Accept-Encoding:
140
153
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
141
154
  Accept:
142
155
  - "*/*"
143
- User-Agent:
144
- - Ruby
145
156
  response:
146
157
  status:
147
158
  code: 200
148
159
  message: OK
149
160
  headers:
150
161
  Date:
151
- - Wed, 01 Oct 2014 10:44:27 GMT
162
+ - Mon, 28 Sep 2015 14:54:24 GMT
152
163
  Server:
153
164
  - Apache
154
165
  Etag:
155
- - '"41a6933c22204b3114e09965941cc0c3"'
166
+ - '"4ec5cce084a02bdac6e851af1f822823"'
156
167
  X-Ua-Compatible:
157
168
  - IE=Edge,chrome=1
158
169
  X-Runtime:
159
- - '0.507453'
170
+ - '0.542794'
160
171
  Cache-Control:
161
172
  - max-age=0, private, must-revalidate
162
173
  Status:
@@ -164,8 +175,8 @@ http_interactions:
164
175
  Content-Type:
165
176
  - application/rdf+xml; charset=utf-8
166
177
  Set-Cookie:
167
- - _front_session_id=4da2cc80610092b158ec9f138ad70ace; domain=.iss.ndl.go.jp;
168
- path=/; expires=Wed, 01-Oct-2014 11:44:28 GMT; HttpOnly
178
+ - _front_session_id=89d222e6142c77cdc72bd3b549ba020f; domain=.iss.ndl.go.jp;
179
+ path=/; expires=Mon, 28-Sep-2015 15:54:25 GMT; HttpOnly
169
180
  - serverid=1101; path=/
170
181
  Vary:
171
182
  - Accept-Encoding,User-Agent
@@ -173,8 +184,6 @@ http_interactions:
173
184
  - nosniff
174
185
  X-Frame-Options:
175
186
  - SAMEORIGIN
176
- Content-Length:
177
- - '2143'
178
187
  Connection:
179
188
  - close
180
189
  body:
@@ -274,158 +283,220 @@ http_interactions:
274
283
  ZCByZGY6cmVzb3VyY2U9Imh0dHA6Ly9pc3MubmRsLmdvLmpwL2Jvb2tzL1Ix
275
284
  MDAwMDAwMDEtSTAxMzQwMzMxMy0wMCNpdGVtIi8+CiAgICA8ZGNuZGw6cmVj
276
285
  b3JkIHJkZjpyZXNvdXJjZT0iaHR0cDovL2lzcy5uZGwuZ28uanAvYm9va3Mv
277
- UjEwMDAwMDAwMS1JMDE5NjMwNTY0LTAwI2l0ZW0iLz4KICAgIDxkY25kbDpy
286
+ UjEwMDAwMDAwMS1JMDMwMTA2NDUwLTAwI2l0ZW0iLz4KICAgIDxkY25kbDpy
278
287
  ZWNvcmQgcmRmOnJlc291cmNlPSJodHRwOi8vaXNzLm5kbC5nby5qcC9ib29r
279
- cy9SMTAwMDAwMDAxLUkwMjg5OTYwODktMDAjaXRlbSIvPgogICAgPGRjbmRs
288
+ cy9SMTAwMDAwMDAxLUkwNDkwMjIxODUtMDAjaXRlbSIvPgogICAgPGRjbmRs
280
289
  OnJlY29yZCByZGY6cmVzb3VyY2U9Imh0dHA6Ly9pc3MubmRsLmdvLmpwL2Jv
281
- b2tzL1IxMDAwMDAwMDEtSTAzMDEwNjQ1MC0wMCNpdGVtIi8+CiAgICA8ZGNu
290
+ b2tzL1IxMDAwMDAwMDEtSTA1Mjg5Mzk4NC0wMCNpdGVtIi8+CiAgICA8ZGNu
282
291
  ZGw6cmVjb3JkIHJkZjpyZXNvdXJjZT0iaHR0cDovL2lzcy5uZGwuZ28uanAv
283
- Ym9va3MvUjEwMDAwMDAwMS1JMDQxOTM2ODE4LTAwI2l0ZW0iLz4KICAgIDxk
292
+ Ym9va3MvUjEwMDAwMDAwMS1JMDU2NDM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+ kanlm7Pmm7jppKg8L2ZvYWY6bmFtZT4KICAgICAgICA8ZGN0ZXJtczppZGVu
486
+ dGlmaWVyIHJkZjpkYXRhdHlwZT0iaHR0cDovL25kbC5nby5qcC9kY25kbC90
487
+ ZXJtcy9ORExMaWJDb2RlIj4xMzEzPC9kY3Rlcm1zOmlkZW50aWZpZXI+CiAg
488
+ ICAgIDwvZm9hZjpBZ2VudD4KICAgIDwvZGNuZGw6aG9sZGluZ0FnZW50Pgog
489
+ ICAgPGRjdGVybXM6aWRlbnRpZmllciByZGY6ZGF0YXR5cGU9Imh0dHA6Ly9u
490
+ ZGwuZ28uanAvZGNuZGwvdGVybXMvc29tb2t1QmliSUQiPjExMDU0OTM5MTU8
491
+ L2RjdGVybXM6aWRlbnRpZmllcj4KICAgIDxkY3Rlcm1zOmlkZW50aWZpZXIg
492
+ cmRmOmRhdGF0eXBlPSJodHRwOi8vbmRsLmdvLmpwL2RjbmRsL3Rlcm1zL3Nv
493
+ bW9rdVN1YklEIj41MDAzODMyMDAwPC9kY3Rlcm1zOmlkZW50aWZpZXI+CiAg
494
+ ICA8ZGNuZGw6Y2FsbE51bWJlcj7vvJXvvJTvvJfvvI7vvJTvvI/vvJXvvJTv
495
+ vJLvvJXvvI/vvJLvvJDvvJDvvJE8L2RjbmRsOmNhbGxOdW1iZXI+CiAgICA8
496
+ ZGNuZGw6YXZhaWxhYmlsaXR5PumWsuWPr++8j+WAi+WQpu+8j+WNlOWPrzwv
497
+ ZGNuZGw6YXZhaWxhYmlsaXR5PgogICAgPGRjdGVybXM6ZGVzY3JpcHRpb24+
498
+ 6YWN572u5aC05omAIDog77yi77yS5pu45bqr77ytPC9kY3Rlcm1zOmRlc2Ny
499
+ aXB0aW9uPgogIDwvZGNuZGw6SXRlbT4KPC9yZGY6UkRGPg==
429
500
  http_version:
430
- recorded_at: Wed, 01 Oct 2014 10:44:28 GMT
501
+ recorded_at: Mon, 28 Sep 2015 06:11:25 GMT
431
502
  recorded_with: VCR 2.9.3
@@ -162,6 +162,11 @@ describe AgentTypesController do
162
162
  delete :destroy, :id => agent_type.id
163
163
  expect(response).to redirect_to(agent_types_url)
164
164
  end
165
+
166
+ it "should not destroy agent_type that contains agents" do
167
+ delete :destroy, id: agent_types(:agent_type_00001)
168
+ expect(response).to be_forbidden
169
+ end
165
170
  end
166
171
 
167
172
  end
@@ -58,6 +58,13 @@ describe ContentTypesController do
58
58
  get :edit, :id => content_type.id
59
59
  expect(assigns(:content_type)).to eq(content_type)
60
60
  end
61
+ it "assigns the content_type even if it associates manifestation(s)" do
62
+ content_type = FactoryGirl.create(:content_type)
63
+ manifestation = FactoryGirl.create(:manifestation, :content_type_id => content_type.id)
64
+ get :edit, :id => content_type.id
65
+ expect(assigns(:content_type)).to eq content_type
66
+ expect(response).to be_success
67
+ end
61
68
  end
62
69
 
63
70
  describe "POST create" do
@@ -58,6 +58,13 @@ describe FrequenciesController do
58
58
  get :edit, :id => frequency.id
59
59
  assigns(:frequency).should eq(frequency)
60
60
  end
61
+ it "assigns the frequency even if it associates manifestation(s)" do
62
+ frequency = FactoryGirl.create(:frequency)
63
+ manifestation = FactoryGirl.create(:manifestation, :frequency_id => frequency.id)
64
+ get :edit, :id => frequency.id
65
+ expect(assigns(:frequency)).to eq frequency
66
+ expect(response).to be_success
67
+ end
61
68
  end
62
69
 
63
70
  describe "POST create" do
@@ -30,6 +30,24 @@ describe ItemsController do
30
30
  expect(assigns(:items)).to_not be_nil
31
31
  end
32
32
 
33
+ it "assigns items as @items with acquired_from and acquired_until" do
34
+ get :index, acquired_from: '2015-09-20', acquired_until: '2015-09-26'
35
+ expect(assigns(:items)).to_not be_nil
36
+ expect(assigns(:items).count).to eq 1
37
+ end
38
+
39
+ it "assigns items as @items with acquired_from" do
40
+ get :index, acquired_from: '2015-09-20'
41
+ expect(assigns(:items)).to_not be_nil
42
+ expect(assigns(:items).count).to eq 1
43
+ end
44
+
45
+ it "assigns items as @items with acquired_until" do
46
+ get :index, acquired_until: '2015-09-20'
47
+ expect(assigns(:items)).to_not be_nil
48
+ expect(assigns(:items).count).to eq 1
49
+ end
50
+
33
51
  it "should not get index with inventory_file_id" do
34
52
  get :index, :inventory_file_id => 1
35
53
  expect(response).to be_success
@@ -194,11 +194,35 @@ describe ManifestationsController do
194
194
  expect(assigns(:manifestations)).not_to be_empty
195
195
  end
196
196
 
197
+ it "should show manifestation with NDC", :solr => true do
198
+ classification = FactoryGirl.create(:classification, :category => "007.3", :classification_type_id => 1)
199
+ Manifestation.first.classifications << classification
200
+ get :index, :classification => "007", :classification_type => 1
201
+ expect(response).to be_success
202
+ expect(assigns(:manifestations)).not_to be_empty
203
+ end
204
+
205
+ it "should not search with classification if classification is blank" do
206
+ get :index, :classification => "", :classification_type => 1
207
+ expect(response).to be_success
208
+ expect(assigns(:query)).not_to match /classification/
209
+ end
210
+
197
211
  it "should accept per_page params" do
198
212
  get :index, per_page: 3
199
213
  expect(assigns(:manifestations).count).to eq 3
200
214
  expect(assigns(:manifestations).total_count).to eq 119
201
215
  end
216
+
217
+ it "should accept page parameter" do
218
+ get :index
219
+ original_manifestations = assigns(:manifestations)
220
+ expect(original_manifestations.count).to eq 10
221
+ get :index, page: 2
222
+ manifestations_page2 = assigns(:manifestations)
223
+ expect(manifestations_page2.count).to eq 10
224
+ expect(original_manifestations.first).not_to eq manifestations_page2.first
225
+ end
202
226
  end
203
227
  end
204
228
 
@@ -225,6 +249,12 @@ describe ManifestationsController do
225
249
  expect(assigns(:manifestation)).to eq assigns(:agent).manifestations.find(3)
226
250
  expect(response).to be_success
227
251
  end
252
+
253
+ it "should not show manifestation with required_role of admin" do
254
+ manifestation = FactoryGirl.create(:manifestation, :required_role_id => 4)
255
+ get :show, :id => manifestation.id
256
+ expect(response).not_to be_success
257
+ end
228
258
  end
229
259
 
230
260
  describe "When logged in as User" do
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :classification do |f|
3
+ f.sequence(:category){|n| "classification_#{n}"}
4
+ f.classification_type_id{FactoryGirl.create(:classification_type).id}
5
+ end
6
+ end
@@ -263,6 +263,7 @@ item_00024:
263
263
  id: 24
264
264
  include_supplements: false
265
265
  created_at: 2007-08-24 23:46:08.607081 +09:00
266
+ acquired_at: 2015-08-25 23:46:08.607081 +09:00
266
267
  item_00025:
267
268
  updated_at: 2007-08-24 23:46:08.607081 +09:00
268
269
  item_identifier: '00025'
@@ -274,6 +275,7 @@ item_00025:
274
275
  id: 25
275
276
  include_supplements: false
276
277
  created_at: 2007-08-24 23:46:08.607081 +09:00
278
+ acquired_at: 2015-09-25 23:46:08.607081 +09:00
277
279
 
278
280
  # == Schema Information
279
281
  #