enju_biblio 0.1.0.pre37 → 0.1.0.pre38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/addresses.js +2 -0
- data/app/assets/javascripts/identifier_types.js +2 -0
- data/app/assets/javascripts/identifiers.js +2 -0
- data/app/assets/stylesheets/addresses.css +4 -0
- data/app/assets/stylesheets/identifier_types.css +4 -0
- data/app/assets/stylesheets/identifiers.css +4 -0
- data/app/controllers/addresses_controller.rb +2 -0
- data/app/controllers/carrier_types_controller.rb +85 -5
- data/app/controllers/identifier_types_controller.rb +84 -0
- data/app/controllers/identifiers_controller.rb +14 -0
- data/app/controllers/manifestations_controller.rb +14 -21
- data/app/helpers/addresses_helper.rb +2 -0
- data/app/helpers/identifier_types_helper.rb +2 -0
- data/app/helpers/identifiers_helper.rb +2 -0
- data/app/models/carrier_type.rb +2 -0
- data/app/models/enju_biblio/ability.rb +12 -0
- data/app/models/identifier.rb +65 -0
- data/app/models/identifier_type.rb +21 -0
- data/app/models/import_request.rb +1 -0
- data/app/models/manifestation.rb +28 -87
- data/app/models/page_sweeper.rb +0 -2
- data/app/models/resource_import_file.rb +34 -18
- data/app/views/addresses/_form.html.erb +57 -0
- data/app/views/addresses/edit.html.erb +6 -0
- data/app/views/addresses/index.html.erb +41 -0
- data/app/views/addresses/new.html.erb +5 -0
- data/app/views/addresses/show.html.erb +55 -0
- data/app/views/carrier_types/_form.html.erb +4 -1
- data/app/views/carrier_types/index.html.erb +1 -1
- data/app/views/identifier_types/_form.html.erb +22 -0
- data/app/views/identifier_types/edit.html.erb +13 -0
- data/app/views/identifier_types/index.html.erb +45 -0
- data/app/views/identifier_types/new.html.erb +12 -0
- data/app/views/identifier_types/show.html.erb +24 -0
- data/app/views/identifiers/_form.html.erb +30 -0
- data/app/views/identifiers/edit.html.erb +15 -0
- data/app/views/identifiers/index.html.erb +33 -0
- data/app/views/identifiers/new.html.erb +14 -0
- data/app/views/identifiers/show.html.erb +29 -0
- data/app/views/items/index.csv.erb +1 -1
- data/app/views/items/index.html.erb +2 -1
- data/app/views/manifestations/_form.html.erb +17 -36
- data/app/views/manifestations/_show.mods.builder +6 -2
- data/app/views/manifestations/_show.rdf.builder +7 -6
- data/app/views/manifestations/_show_detail_librarian.html.erb +5 -15
- data/app/views/manifestations/_show_detail_user.html.erb +5 -15
- data/app/views/manifestations/_show_index.html.erb +1 -1
- data/app/views/manifestations/index.csv.erb +1 -1
- data/app/views/manifestations/index.rss.builder +3 -1
- data/app/views/manifestations/show.mobile.erb +1 -1
- data/config/locales/translation_en.yml +14 -7
- data/config/locales/translation_ja.yml +15 -8
- data/config/routes.rb +6 -8
- data/db/migrate/005_create_manifestations.rb +0 -12
- data/db/migrate/20130506175303_create_identifier_types.rb +12 -0
- data/db/migrate/20130506175834_create_identifiers.rb +14 -0
- data/lib/enju_biblio/version.rb +1 -1
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/identifier_types.yml +27 -0
- data/spec/controllers/identifier_types_controller_spec.rb +167 -0
- data/spec/controllers/identifiers_controller_spec.rb +446 -0
- data/spec/controllers/import_requests_controller_spec.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +12 -10
- data/spec/dummy/app/models/ability.rb +12 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
- data/spec/dummy/db/schema.rb +26 -16
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_myc +0 -0
- data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
- data/spec/factories/identifier.rb +6 -0
- data/spec/factories/identifier_type.rb +5 -0
- data/spec/fixtures/identifier_types.yml +29 -0
- data/spec/fixtures/identifiers.yml +113 -0
- data/spec/fixtures/manifestations.yml +0 -137
- data/spec/fixtures/subject_heading_types.yml +39 -0
- data/spec/fixtures/subject_types.yml +4 -4
- data/spec/models/identifier_spec.rb +22 -0
- data/spec/models/identifier_type_spec.rb +21 -0
- data/spec/models/manifestation_spec.rb +0 -11
- data/spec/models/resource_import_file_spec.rb +7 -7
- data/spec/routing/manifestations_routing_spec.rb +1 -1
- metadata +66 -16
- data/app/views/manifestations/_show_periodical_master.html.erb +0 -23
- data/app/views/manifestations/_show_series_statement.html.erb +0 -30
- data/spec/dummy/solr/data/test/index/segments_l8s +0 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
---
|
2
|
+
subject_heading_type_00001:
|
3
|
+
name: unknown
|
4
|
+
display_name: unknown
|
5
|
+
updated_at: 2008-03-03 00:44:49.850140 +09:00
|
6
|
+
id: 1
|
7
|
+
note: ""
|
8
|
+
created_at: 2008-03-03 00:44:34.260739 +09:00
|
9
|
+
position: 1
|
10
|
+
subject_heading_type_00002:
|
11
|
+
name: ndlsh
|
12
|
+
display_name: NDLSH
|
13
|
+
updated_at: 2008-03-03 00:44:49.850140 +09:00
|
14
|
+
id: 2
|
15
|
+
note: ""
|
16
|
+
created_at: 2008-03-03 00:44:34.260739 +09:00
|
17
|
+
position: 2
|
18
|
+
subject_heading_type_00003:
|
19
|
+
name: bsh
|
20
|
+
display_name: BSH
|
21
|
+
updated_at: 2008-03-03 00:44:58.685360 +09:00
|
22
|
+
id: 3
|
23
|
+
note: ""
|
24
|
+
created_at: 2008-03-03 00:44:58.685360 +09:00
|
25
|
+
position: 3
|
26
|
+
|
27
|
+
# == Schema Information
|
28
|
+
#
|
29
|
+
# Table name: subject_heading_types
|
30
|
+
#
|
31
|
+
# id :integer not null, primary key
|
32
|
+
# name :string(255) not null
|
33
|
+
# display_name :text
|
34
|
+
# note :text
|
35
|
+
# position :integer
|
36
|
+
# created_at :datetime not null
|
37
|
+
# updated_at :datetime not null
|
38
|
+
#
|
39
|
+
|
@@ -1,28 +1,28 @@
|
|
1
1
|
---
|
2
2
|
subject_type_00001:
|
3
3
|
id: 1
|
4
|
-
name:
|
4
|
+
name: concept
|
5
5
|
display_name: Concept
|
6
6
|
note:
|
7
7
|
position: 1
|
8
8
|
|
9
9
|
subject_type_00002:
|
10
10
|
id: 2
|
11
|
-
name:
|
11
|
+
name: event
|
12
12
|
display_name: Event
|
13
13
|
note:
|
14
14
|
position: 2
|
15
15
|
|
16
16
|
subject_type_00003:
|
17
17
|
id: 3
|
18
|
-
name:
|
18
|
+
name: object
|
19
19
|
display_name: Object
|
20
20
|
note:
|
21
21
|
position: 3
|
22
22
|
|
23
23
|
subject_type_00004:
|
24
24
|
id: 4
|
25
|
-
name:
|
25
|
+
name: place
|
26
26
|
display_name: Place
|
27
27
|
note:
|
28
28
|
position: 4
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe Identifier do
|
5
|
+
#pending "add some examples to (or delete) #{__FILE__}"
|
6
|
+
|
7
|
+
end
|
8
|
+
|
9
|
+
# == Schema Information
|
10
|
+
#
|
11
|
+
# Table name: identifiers
|
12
|
+
#
|
13
|
+
# id :integer not null, primary key
|
14
|
+
# body :string(255) not null
|
15
|
+
# identifier_type_id :integer not null
|
16
|
+
# manifestation_id :integer
|
17
|
+
# primary :boolean
|
18
|
+
# position :integer
|
19
|
+
# created_at :datetime not null
|
20
|
+
# updated_at :datetime not null
|
21
|
+
#
|
22
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe IdentifierType do
|
5
|
+
#pending "add some examples to (or delete) #{__FILE__}"
|
6
|
+
|
7
|
+
end
|
8
|
+
|
9
|
+
# == Schema Information
|
10
|
+
#
|
11
|
+
# Table name: identifier_types
|
12
|
+
#
|
13
|
+
# id :integer not null, primary key
|
14
|
+
# name :string(255)
|
15
|
+
# display_name :text
|
16
|
+
# note :text
|
17
|
+
# position :integer
|
18
|
+
# created_at :datetime not null
|
19
|
+
# updated_at :datetime not null
|
20
|
+
#
|
21
|
+
|
@@ -200,10 +200,6 @@ describe Manifestation, :solr => true do
|
|
200
200
|
manifestations(:manifestation_00001).title.should be_true
|
201
201
|
end
|
202
202
|
|
203
|
-
it "should import isbn", :vcr => true do
|
204
|
-
Manifestation.import_isbn('4797327030').should be_valid
|
205
|
-
end
|
206
|
-
|
207
203
|
it "should respond to pickup" do
|
208
204
|
Manifestation.pickup.should_not raise_error(ActiveRecord::RecordNotFound)
|
209
205
|
end
|
@@ -253,13 +249,6 @@ end
|
|
253
249
|
# height :integer
|
254
250
|
# width :integer
|
255
251
|
# depth :integer
|
256
|
-
# isbn :string(255)
|
257
|
-
# isbn10 :string(255)
|
258
|
-
# wrong_isbn :string(255)
|
259
|
-
# nbn :string(255)
|
260
|
-
# lccn :string(255)
|
261
|
-
# oclc_number :string(255)
|
262
|
-
# issn :string(255)
|
263
252
|
# price :integer
|
264
253
|
# fulltext :text
|
265
254
|
# volume_number_string :string(255)
|
@@ -16,16 +16,16 @@ describe ResourceImportFile do
|
|
16
16
|
old_items_count = Item.count
|
17
17
|
old_patrons_count = Patron.count
|
18
18
|
old_import_results_count = ResourceImportResult.count
|
19
|
-
@file.import_start.should eq({:manifestation_imported =>
|
19
|
+
@file.import_start.should eq({:manifestation_imported => 9, :item_imported => 6, :manifestation_found => 3, :item_found => 3, :failed => 7})
|
20
20
|
manifestation = Item.where(:item_identifier => '11111').first.manifestation
|
21
21
|
manifestation.publishers.first.full_name.should eq 'test4'
|
22
22
|
manifestation.publishers.first.full_name_transcription.should eq 'てすと4'
|
23
23
|
manifestation.publishers.second.full_name_transcription.should eq 'てすと5'
|
24
24
|
manifestation.produces.first.produce_type.name.should eq 'publisher'
|
25
25
|
manifestation.creates.first.create_type.name.should eq 'author'
|
26
|
-
Manifestation.count.should eq old_manifestations_count +
|
26
|
+
Manifestation.count.should eq old_manifestations_count + 9
|
27
27
|
Item.count.should eq old_items_count + 6
|
28
|
-
Patron.count.should eq old_patrons_count +
|
28
|
+
Patron.count.should eq old_patrons_count + 9
|
29
29
|
ResourceImportResult.count.should eq old_import_results_count + 17
|
30
30
|
|
31
31
|
manifestation_101 = Manifestation.where(:manifestation_identifier => '101').first
|
@@ -62,7 +62,7 @@ describe ResourceImportFile do
|
|
62
62
|
item_10104.bookstore.should be_nil
|
63
63
|
|
64
64
|
manifestation_104 = Manifestation.where(:manifestation_identifier => '104').first
|
65
|
-
manifestation_104.isbn.should eq '9784797327038'
|
65
|
+
manifestation_104.identifier_contents(:isbn).should eq ['9784797327038']
|
66
66
|
manifestation_104.original_title.should eq 'test10'
|
67
67
|
manifestation_104.creators.collect(&:full_name).should eq ['test3']
|
68
68
|
manifestation_104.publishers.collect(&:full_name).should eq ['test4']
|
@@ -82,14 +82,14 @@ describe ResourceImportFile do
|
|
82
82
|
old_items_count = Item.count
|
83
83
|
old_patrons_count = Patron.count
|
84
84
|
old_import_results_count = ResourceImportResult.count
|
85
|
-
@file.import_start.should eq({:manifestation_imported =>
|
85
|
+
@file.import_start.should eq({:manifestation_imported => 9, :item_imported => 6, :manifestation_found => 3, :item_found => 3, :failed => 7})
|
86
86
|
manifestation = Item.where(:item_identifier => '11111').first.manifestation
|
87
87
|
manifestation.publishers.first.full_name.should eq 'test4'
|
88
88
|
manifestation.publishers.first.full_name_transcription.should eq 'てすと4'
|
89
89
|
manifestation.publishers.second.full_name_transcription.should eq 'てすと5'
|
90
|
-
Manifestation.count.should eq old_manifestations_count +
|
90
|
+
Manifestation.count.should eq old_manifestations_count + 9
|
91
91
|
Item.count.should eq old_items_count + 6
|
92
|
-
Patron.count.should eq old_patrons_count +
|
92
|
+
Patron.count.should eq old_patrons_count + 9
|
93
93
|
ResourceImportResult.count.should eq old_import_results_count + 17
|
94
94
|
Item.find_by_item_identifier('10101').manifestation.creators.size.should eq 2
|
95
95
|
Item.find_by_item_identifier('10101').manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
@@ -16,7 +16,7 @@ describe ManifestationsController do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
it "recognizes ISBN" do
|
19
|
-
{ :get => "/isbn/4798002062" }.should route_to(:controller => "manifestations", :action => "
|
19
|
+
{ :get => "/isbn/4798002062" }.should route_to(:controller => "manifestations", :action => "index", :isbn => "4798002062")
|
20
20
|
end
|
21
21
|
|
22
22
|
it "recognizes and generates #edit" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_biblio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_core
|
@@ -282,28 +282,28 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - ~>
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 0.1.0.
|
285
|
+
version: 0.1.0.pre22
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - ~>
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 0.1.0.
|
292
|
+
version: 0.1.0.pre22
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: enju_subject
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
297
|
- - ~>
|
298
298
|
- !ruby/object:Gem::Version
|
299
|
-
version: 0.1.0.
|
299
|
+
version: 0.1.0.pre16
|
300
300
|
type: :development
|
301
301
|
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
304
|
- - ~>
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: 0.1.0.
|
306
|
+
version: 0.1.0.pre16
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
308
|
name: enju_inventory
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -352,14 +352,14 @@ dependencies:
|
|
352
352
|
requirements:
|
353
353
|
- - ~>
|
354
354
|
- !ruby/object:Gem::Version
|
355
|
-
version: 0.1.0.
|
355
|
+
version: 0.1.0.pre8
|
356
356
|
type: :development
|
357
357
|
prerelease: false
|
358
358
|
version_requirements: !ruby/object:Gem::Requirement
|
359
359
|
requirements:
|
360
360
|
- - ~>
|
361
361
|
- !ruby/object:Gem::Version
|
362
|
-
version: 0.1.0.
|
362
|
+
version: 0.1.0.pre8
|
363
363
|
- !ruby/object:Gem::Dependency
|
364
364
|
name: enju_export
|
365
365
|
requirement: !ruby/object:Gem::Requirement
|
@@ -380,28 +380,28 @@ dependencies:
|
|
380
380
|
requirements:
|
381
381
|
- - ~>
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version: 0.1.0.
|
383
|
+
version: 0.1.0.pre25
|
384
384
|
type: :development
|
385
385
|
prerelease: false
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
387
387
|
requirements:
|
388
388
|
- - ~>
|
389
389
|
- !ruby/object:Gem::Version
|
390
|
-
version: 0.1.0.
|
390
|
+
version: 0.1.0.pre25
|
391
391
|
- !ruby/object:Gem::Dependency
|
392
392
|
name: enju_ndl
|
393
393
|
requirement: !ruby/object:Gem::Requirement
|
394
394
|
requirements:
|
395
395
|
- - ~>
|
396
396
|
- !ruby/object:Gem::Version
|
397
|
-
version: 0.1.0.
|
397
|
+
version: 0.1.0.pre20
|
398
398
|
type: :development
|
399
399
|
prerelease: false
|
400
400
|
version_requirements: !ruby/object:Gem::Requirement
|
401
401
|
requirements:
|
402
402
|
- - ~>
|
403
403
|
- !ruby/object:Gem::Version
|
404
|
-
version: 0.1.0.
|
404
|
+
version: 0.1.0.pre20
|
405
405
|
- !ruby/object:Gem::Dependency
|
406
406
|
name: mobylette
|
407
407
|
requirement: !ruby/object:Gem::Requirement
|
@@ -465,7 +465,14 @@ executables: []
|
|
465
465
|
extensions: []
|
466
466
|
extra_rdoc_files: []
|
467
467
|
files:
|
468
|
+
- app/assets/javascripts/addresses.js
|
469
|
+
- app/assets/javascripts/identifier_types.js
|
470
|
+
- app/assets/javascripts/identifiers.js
|
471
|
+
- app/assets/stylesheets/addresses.css
|
472
|
+
- app/assets/stylesheets/identifier_types.css
|
473
|
+
- app/assets/stylesheets/identifiers.css
|
468
474
|
- app/assets/stylesheets/scaffold.css
|
475
|
+
- app/controllers/addresses_controller.rb
|
469
476
|
- app/controllers/carrier_types_controller.rb
|
470
477
|
- app/controllers/content_types_controller.rb
|
471
478
|
- app/controllers/countries_controller.rb
|
@@ -476,6 +483,8 @@ files:
|
|
476
483
|
- app/controllers/extents_controller.rb
|
477
484
|
- app/controllers/form_of_works_controller.rb
|
478
485
|
- app/controllers/frequencies_controller.rb
|
486
|
+
- app/controllers/identifier_types_controller.rb
|
487
|
+
- app/controllers/identifiers_controller.rb
|
479
488
|
- app/controllers/import_requests_controller.rb
|
480
489
|
- app/controllers/items_controller.rb
|
481
490
|
- app/controllers/languages_controller.rb
|
@@ -499,6 +508,9 @@ files:
|
|
499
508
|
- app/controllers/resource_import_files_controller.rb
|
500
509
|
- app/controllers/resource_import_results_controller.rb
|
501
510
|
- app/controllers/series_statements_controller.rb
|
511
|
+
- app/helpers/addresses_helper.rb
|
512
|
+
- app/helpers/identifier_types_helper.rb
|
513
|
+
- app/helpers/identifiers_helper.rb
|
502
514
|
- app/helpers/manifestations_helper.rb
|
503
515
|
- app/helpers/owns_helper.rb
|
504
516
|
- app/helpers/patrons_helper.rb
|
@@ -515,6 +527,8 @@ files:
|
|
515
527
|
- app/models/extent.rb
|
516
528
|
- app/models/form_of_work.rb
|
517
529
|
- app/models/frequency.rb
|
530
|
+
- app/models/identifier.rb
|
531
|
+
- app/models/identifier_type.rb
|
518
532
|
- app/models/import_request.rb
|
519
533
|
- app/models/item.rb
|
520
534
|
- app/models/item_sweeper.rb
|
@@ -542,6 +556,11 @@ files:
|
|
542
556
|
- app/models/resource_import_file.rb
|
543
557
|
- app/models/resource_import_result.rb
|
544
558
|
- app/models/series_statement.rb
|
559
|
+
- app/views/addresses/_form.html.erb
|
560
|
+
- app/views/addresses/edit.html.erb
|
561
|
+
- app/views/addresses/index.html.erb
|
562
|
+
- app/views/addresses/new.html.erb
|
563
|
+
- app/views/addresses/show.html.erb
|
545
564
|
- app/views/carrier_types/_form.html.erb
|
546
565
|
- app/views/carrier_types/edit.html.erb
|
547
566
|
- app/views/carrier_types/index.html.erb
|
@@ -594,6 +613,16 @@ files:
|
|
594
613
|
- app/views/frequencies/index.html.erb
|
595
614
|
- app/views/frequencies/new.html.erb
|
596
615
|
- app/views/frequencies/show.html.erb
|
616
|
+
- app/views/identifier_types/_form.html.erb
|
617
|
+
- app/views/identifier_types/edit.html.erb
|
618
|
+
- app/views/identifier_types/index.html.erb
|
619
|
+
- app/views/identifier_types/new.html.erb
|
620
|
+
- app/views/identifier_types/show.html.erb
|
621
|
+
- app/views/identifiers/_form.html.erb
|
622
|
+
- app/views/identifiers/edit.html.erb
|
623
|
+
- app/views/identifiers/index.html.erb
|
624
|
+
- app/views/identifiers/new.html.erb
|
625
|
+
- app/views/identifiers/show.html.erb
|
597
626
|
- app/views/import_requests/_form.html.erb
|
598
627
|
- app/views/import_requests/edit.html.erb
|
599
628
|
- app/views/import_requests/index.html.erb
|
@@ -672,10 +701,8 @@ files:
|
|
672
701
|
- app/views/manifestations/_show_index.html.erb
|
673
702
|
- app/views/manifestations/_show_index.mobile.erb
|
674
703
|
- app/views/manifestations/_show_parent.html.erb
|
675
|
-
- app/views/manifestations/_show_periodical_master.html.erb
|
676
704
|
- app/views/manifestations/_show_series_detail.html.erb
|
677
705
|
- app/views/manifestations/_show_series_index.html.erb
|
678
|
-
- app/views/manifestations/_show_series_statement.html.erb
|
679
706
|
- app/views/manifestations/_submenu_parent.html.erb
|
680
707
|
- app/views/manifestations/_tab_list.html.erb
|
681
708
|
- app/views/manifestations/_tab_menu.html.erb
|
@@ -886,6 +913,8 @@ files:
|
|
886
913
|
- db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
887
914
|
- db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
888
915
|
- db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
916
|
+
- db/migrate/20130506175303_create_identifier_types.rb
|
917
|
+
- db/migrate/20130506175834_create_identifiers.rb
|
889
918
|
- lib/enju_biblio/biblio_helper.rb
|
890
919
|
- lib/enju_biblio/engine.rb
|
891
920
|
- lib/enju_biblio/openurl.rb
|
@@ -899,6 +928,7 @@ files:
|
|
899
928
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/create_types.yml
|
900
929
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/form_of_works.yml
|
901
930
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/frequencies.yml
|
931
|
+
- lib/generators/enju_biblio/setup/templates/db/fixtures/identifier_types.yml
|
902
932
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/languages.yml
|
903
933
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/licenses.yml
|
904
934
|
- lib/generators/enju_biblio/setup/templates/db/fixtures/manifestation_relationship_types.yml
|
@@ -931,6 +961,8 @@ files:
|
|
931
961
|
- spec/controllers/extents_controller_spec.rb
|
932
962
|
- spec/controllers/form_of_works_controller_spec.rb
|
933
963
|
- spec/controllers/frequencies_controller_spec.rb
|
964
|
+
- spec/controllers/identifier_types_controller_spec.rb
|
965
|
+
- spec/controllers/identifiers_controller_spec.rb
|
934
966
|
- spec/controllers/import_requests_controller_spec.rb
|
935
967
|
- spec/controllers/items_controller_spec.rb
|
936
968
|
- spec/controllers/languages_controller_spec.rb
|
@@ -1086,6 +1118,7 @@ files:
|
|
1086
1118
|
- spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
|
1087
1119
|
- spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
|
1088
1120
|
- spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
|
1121
|
+
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1089
1122
|
- spec/dummy/db/schema.rb
|
1090
1123
|
- spec/dummy/db/test.sqlite3
|
1091
1124
|
- spec/dummy/lib/plugins/ext/event-calendar.rb
|
@@ -1130,7 +1163,7 @@ files:
|
|
1130
1163
|
- spec/dummy/solr/conf/stopwords.txt
|
1131
1164
|
- spec/dummy/solr/conf/synonyms.txt
|
1132
1165
|
- spec/dummy/solr/data/test/index/segments.gen
|
1133
|
-
- spec/dummy/solr/data/test/index/
|
1166
|
+
- spec/dummy/solr/data/test/index/segments_myc
|
1134
1167
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1135
1168
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1136
1169
|
- spec/dummy/tmp/cache/4AD/470/country_all
|
@@ -1147,6 +1180,8 @@ files:
|
|
1147
1180
|
- spec/factories/extent.rb
|
1148
1181
|
- spec/factories/form_of_work.rb
|
1149
1182
|
- spec/factories/frequency.rb
|
1183
|
+
- spec/factories/identifier.rb
|
1184
|
+
- spec/factories/identifier_type.rb
|
1150
1185
|
- spec/factories/import_request.rb
|
1151
1186
|
- spec/factories/item.rb
|
1152
1187
|
- spec/factories/language.rb
|
@@ -1191,6 +1226,8 @@ files:
|
|
1191
1226
|
- spec/fixtures/extents.yml
|
1192
1227
|
- spec/fixtures/form_of_works.yml
|
1193
1228
|
- spec/fixtures/frequencies.yml
|
1229
|
+
- spec/fixtures/identifier_types.yml
|
1230
|
+
- spec/fixtures/identifiers.yml
|
1194
1231
|
- spec/fixtures/import_requests.yml
|
1195
1232
|
- spec/fixtures/inventory_files.yml
|
1196
1233
|
- spec/fixtures/item_has_use_restrictions.yml
|
@@ -1231,6 +1268,7 @@ files:
|
|
1231
1268
|
- spec/fixtures/roles.yml
|
1232
1269
|
- spec/fixtures/series_statements.yml
|
1233
1270
|
- spec/fixtures/shelves.yml
|
1271
|
+
- spec/fixtures/subject_heading_types.yml
|
1234
1272
|
- spec/fixtures/subject_types.yml
|
1235
1273
|
- spec/fixtures/use_restrictions.yml
|
1236
1274
|
- spec/fixtures/user_checkout_stats.yml
|
@@ -1249,6 +1287,8 @@ files:
|
|
1249
1287
|
- spec/models/extent_spec.rb
|
1250
1288
|
- spec/models/form_of_work_spec.rb
|
1251
1289
|
- spec/models/frequency_spec.rb
|
1290
|
+
- spec/models/identifier_spec.rb
|
1291
|
+
- spec/models/identifier_type_spec.rb
|
1252
1292
|
- spec/models/import_request_spec.rb
|
1253
1293
|
- spec/models/item_spec.rb
|
1254
1294
|
- spec/models/language_spec.rb
|
@@ -1369,6 +1409,8 @@ test_files:
|
|
1369
1409
|
- spec/controllers/extents_controller_spec.rb
|
1370
1410
|
- spec/controllers/form_of_works_controller_spec.rb
|
1371
1411
|
- spec/controllers/frequencies_controller_spec.rb
|
1412
|
+
- spec/controllers/identifier_types_controller_spec.rb
|
1413
|
+
- spec/controllers/identifiers_controller_spec.rb
|
1372
1414
|
- spec/controllers/import_requests_controller_spec.rb
|
1373
1415
|
- spec/controllers/items_controller_spec.rb
|
1374
1416
|
- spec/controllers/languages_controller_spec.rb
|
@@ -1524,6 +1566,7 @@ test_files:
|
|
1524
1566
|
- spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
|
1525
1567
|
- spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
|
1526
1568
|
- spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
|
1569
|
+
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1527
1570
|
- spec/dummy/db/schema.rb
|
1528
1571
|
- spec/dummy/db/test.sqlite3
|
1529
1572
|
- spec/dummy/lib/plugins/ext/event-calendar.rb
|
@@ -1568,7 +1611,7 @@ test_files:
|
|
1568
1611
|
- spec/dummy/solr/conf/stopwords.txt
|
1569
1612
|
- spec/dummy/solr/conf/synonyms.txt
|
1570
1613
|
- spec/dummy/solr/data/test/index/segments.gen
|
1571
|
-
- spec/dummy/solr/data/test/index/
|
1614
|
+
- spec/dummy/solr/data/test/index/segments_myc
|
1572
1615
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1573
1616
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1574
1617
|
- spec/dummy/tmp/cache/4AD/470/country_all
|
@@ -1585,6 +1628,8 @@ test_files:
|
|
1585
1628
|
- spec/factories/extent.rb
|
1586
1629
|
- spec/factories/form_of_work.rb
|
1587
1630
|
- spec/factories/frequency.rb
|
1631
|
+
- spec/factories/identifier.rb
|
1632
|
+
- spec/factories/identifier_type.rb
|
1588
1633
|
- spec/factories/import_request.rb
|
1589
1634
|
- spec/factories/item.rb
|
1590
1635
|
- spec/factories/language.rb
|
@@ -1629,6 +1674,8 @@ test_files:
|
|
1629
1674
|
- spec/fixtures/extents.yml
|
1630
1675
|
- spec/fixtures/form_of_works.yml
|
1631
1676
|
- spec/fixtures/frequencies.yml
|
1677
|
+
- spec/fixtures/identifier_types.yml
|
1678
|
+
- spec/fixtures/identifiers.yml
|
1632
1679
|
- spec/fixtures/import_requests.yml
|
1633
1680
|
- spec/fixtures/inventory_files.yml
|
1634
1681
|
- spec/fixtures/item_has_use_restrictions.yml
|
@@ -1669,6 +1716,7 @@ test_files:
|
|
1669
1716
|
- spec/fixtures/roles.yml
|
1670
1717
|
- spec/fixtures/series_statements.yml
|
1671
1718
|
- spec/fixtures/shelves.yml
|
1719
|
+
- spec/fixtures/subject_heading_types.yml
|
1672
1720
|
- spec/fixtures/subject_types.yml
|
1673
1721
|
- spec/fixtures/use_restrictions.yml
|
1674
1722
|
- spec/fixtures/user_checkout_stats.yml
|
@@ -1687,6 +1735,8 @@ test_files:
|
|
1687
1735
|
- spec/models/extent_spec.rb
|
1688
1736
|
- spec/models/form_of_work_spec.rb
|
1689
1737
|
- spec/models/frequency_spec.rb
|
1738
|
+
- spec/models/identifier_spec.rb
|
1739
|
+
- spec/models/identifier_type_spec.rb
|
1690
1740
|
- spec/models/import_request_spec.rb
|
1691
1741
|
- spec/models/item_spec.rb
|
1692
1742
|
- spec/models/language_spec.rb
|