enju_nii 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/cinii_book.rb +1 -1
- data/app/views/cinii_books/index.html.erb +1 -1
- data/lib/enju_nii/cinii_book.rb +14 -6
- data/lib/enju_nii/engine.rb +1 -0
- data/lib/enju_nii/version.rb +1 -1
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record.yml +53 -440
- data/spec/cassette_library/CiniiBook/should_import_a_bibliographic_record_with_dual_languages.yml +53 -341
- data/spec/cassette_library/CiniiBook/should_search_bibliographic_records.yml +12 -129
- data/spec/cassette_library/CiniiBook/should_search_with_ncid.yml +12 -52
- data/spec/cassette_library/CiniiBooksController/GET_index/should_get_index.yml +77 -72
- data/spec/cassette_library/cinii_books/index/cinii_books_search_menu/should_reflect_query_params_for_views.yml +56 -48
- data/spec/dummy/db/schema.rb +12 -2
- data/spec/models/cinii_book_spec.rb +4 -3
- data/spec/views/cinii_books/index.html.erb_spec.rb +1 -1
- metadata +202 -230
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160820004638) do
|
15
15
|
|
16
16
|
create_table "accepts", force: :cascade do |t|
|
17
17
|
t.integer "basket_id"
|
@@ -31,6 +31,7 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
31
31
|
t.integer "agent_import_file_id"
|
32
32
|
t.datetime "created_at"
|
33
33
|
t.datetime "updated_at"
|
34
|
+
t.boolean "most_recent"
|
34
35
|
end
|
35
36
|
|
36
37
|
add_index "agent_import_file_transitions", ["agent_import_file_id"], name: "index_agent_import_file_transitions_on_agent_import_file_id"
|
@@ -200,12 +201,16 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
200
201
|
end
|
201
202
|
|
202
203
|
create_table "carrier_types", force: :cascade do |t|
|
203
|
-
t.string "name",
|
204
|
+
t.string "name", null: false
|
204
205
|
t.text "display_name"
|
205
206
|
t.text "note"
|
206
207
|
t.integer "position"
|
207
208
|
t.datetime "created_at"
|
208
209
|
t.datetime "updated_at"
|
210
|
+
t.string "attachment_file_name"
|
211
|
+
t.string "attachment_content_type"
|
212
|
+
t.integer "attachment_file_size"
|
213
|
+
t.datetime "attachment_updated_at"
|
209
214
|
end
|
210
215
|
|
211
216
|
create_table "classification_types", force: :cascade do |t|
|
@@ -367,6 +372,7 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
367
372
|
t.integer "import_request_id"
|
368
373
|
t.datetime "created_at"
|
369
374
|
t.datetime "updated_at"
|
375
|
+
t.boolean "most_recent"
|
370
376
|
end
|
371
377
|
|
372
378
|
add_index "import_request_transitions", ["import_request_id"], name: "index_import_request_transitions_on_import_request_id"
|
@@ -711,6 +717,8 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
711
717
|
t.datetime "picture_updated_at"
|
712
718
|
t.text "picture_meta"
|
713
719
|
t.string "picture_fingerprint"
|
720
|
+
t.integer "picture_width"
|
721
|
+
t.integer "picture_height"
|
714
722
|
end
|
715
723
|
|
716
724
|
add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], name: "index_picture_files_on_picture_attachable_id_and_type"
|
@@ -802,6 +810,7 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
802
810
|
t.integer "resource_export_file_id"
|
803
811
|
t.datetime "created_at"
|
804
812
|
t.datetime "updated_at"
|
813
|
+
t.boolean "most_recent"
|
805
814
|
end
|
806
815
|
|
807
816
|
add_index "resource_export_file_transitions", ["resource_export_file_id"], name: "index_resource_export_file_transitions_on_file_id"
|
@@ -825,6 +834,7 @@ ActiveRecord::Schema.define(version: 20160814165332) do
|
|
825
834
|
t.integer "resource_import_file_id"
|
826
835
|
t.datetime "created_at"
|
827
836
|
t.datetime "updated_at"
|
837
|
+
t.boolean "most_recent"
|
828
838
|
end
|
829
839
|
|
830
840
|
add_index "resource_import_file_transitions", ["resource_import_file_id"], name: "index_resource_import_file_transitions_on_file_id"
|
@@ -7,7 +7,7 @@ describe CiniiBook do
|
|
7
7
|
Manifestation.enju_nii_cinii_books
|
8
8
|
|
9
9
|
it "should search bibliographic records", vcr: true do
|
10
|
-
CiniiBook.search("library system")[:total_entries].should eq
|
10
|
+
CiniiBook.search("library system")[:total_entries].should eq 3563
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should search with ncid", vcr: true do
|
@@ -21,10 +21,11 @@ describe CiniiBook do
|
|
21
21
|
book = CiniiBook.import_ncid("BA85746967")
|
22
22
|
book.should be_truthy
|
23
23
|
book.should be_valid
|
24
|
-
book.original_title.should eq "固体高分子形燃料電池要素材料・水素貯蔵材料の知的設計"
|
24
|
+
book.original_title.should eq "固体高分子形燃料電池要素材料・水素貯蔵材料の知的設計 = Intelligent/directed materials design for polymer electrolyte fuel cells and hydrogen storage applications"
|
25
25
|
book.title_transcription.should include("コタイ コウブンシケイ ネンリョウ デンチ ヨウソ ザイリョウ スイソ チョゾウ ザイリョウ ノ チテキ セッケイ")
|
26
|
+
book.title_alternative.should include("固体高分子形燃料電池要素材料水素貯蔵材料の知的設計")
|
26
27
|
book.title_alternative.should include("Computational materials design, case study I")
|
27
|
-
book.statement_of_responsibility.should eq "笠井秀明, 津田宗幸著 =
|
28
|
+
book.statement_of_responsibility.should eq "笠井秀明, 津田宗幸著 = Hideaki Kasai, Muneyuki Tsuda"
|
28
29
|
book.publishers.first.full_name.should eq "大阪大学出版会"
|
29
30
|
book.language.iso_639_2.should eq "jpn"
|
30
31
|
book.date_of_publication.year.should eq 2008
|
@@ -8,7 +8,7 @@ describe "cinii_books/index" do
|
|
8
8
|
books = CiniiBook.search(params[:query])
|
9
9
|
assign(:books, Kaminari.paginate_array(books[:items], total_count: books[:total_entries]).page(1).per(10))
|
10
10
|
render
|
11
|
-
expect(rendered).to include "
|
11
|
+
expect(rendered).to include "https://ci.nii.ac.jp/books/search?q=test"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_nii
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_subject
|
@@ -16,56 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
type: :
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: enju_leaf
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.2.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: globalize-accessors
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
54
|
+
version: 1.2.1
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: sqlite3
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +114,14 @@ dependencies:
|
|
128
114
|
requirements:
|
129
115
|
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
117
|
+
version: '4.0'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
122
|
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
124
|
+
version: '4.0'
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: webmock
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,20 +136,6 @@ dependencies:
|
|
150
136
|
- - ">="
|
151
137
|
- !ruby/object:Gem::Version
|
152
138
|
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: annotate
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
139
|
- !ruby/object:Gem::Dependency
|
168
140
|
name: simplecov
|
169
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -495,235 +467,235 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
495
467
|
version: '0'
|
496
468
|
requirements: []
|
497
469
|
rubyforge_project:
|
498
|
-
rubygems_version: 2.
|
470
|
+
rubygems_version: 2.6.13
|
499
471
|
signing_key:
|
500
472
|
specification_version: 4
|
501
473
|
summary: enju_nii plugin
|
502
474
|
test_files:
|
503
|
-
- spec/
|
504
|
-
- spec/
|
505
|
-
- spec/
|
506
|
-
- spec/
|
507
|
-
- spec/cassette_library/CiniiBook/should_search_with_ncid.yml
|
508
|
-
- spec/cassette_library/CiniiBooksController/GET_index/should_get_index.yml
|
509
|
-
- spec/controllers/cinii_books_controller_spec.rb
|
510
|
-
- spec/controllers/nii_types_controller_spec.rb
|
475
|
+
- spec/spec_helper.rb
|
476
|
+
- spec/dummy/app/models/user.rb
|
477
|
+
- spec/dummy/app/controllers/application_controller.rb
|
478
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
511
479
|
- spec/dummy/app/assets/javascripts/application.js
|
512
480
|
- spec/dummy/app/assets/stylesheets/application.css
|
513
|
-
- spec/dummy/app/controllers/application_controller.rb
|
514
481
|
- spec/dummy/app/helpers/application_helper.rb
|
515
|
-
- spec/dummy/app/models/user.rb
|
516
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
517
|
-
- spec/dummy/bin/bundle
|
518
|
-
- spec/dummy/bin/rails
|
519
482
|
- spec/dummy/bin/rake
|
520
483
|
- spec/dummy/bin/setup
|
521
|
-
- spec/dummy/
|
522
|
-
- spec/dummy/
|
523
|
-
- spec/dummy/config/
|
524
|
-
- spec/dummy/config/
|
525
|
-
- spec/dummy/config/environments/development.rb
|
484
|
+
- spec/dummy/bin/bundle
|
485
|
+
- spec/dummy/bin/rails
|
486
|
+
- spec/dummy/config/routes.rb
|
487
|
+
- spec/dummy/config/locales/en.yml
|
526
488
|
- spec/dummy/config/environments/production.rb
|
489
|
+
- spec/dummy/config/environments/development.rb
|
527
490
|
- spec/dummy/config/environments/test.rb
|
491
|
+
- spec/dummy/config/environment.rb
|
492
|
+
- spec/dummy/config/application.rb
|
493
|
+
- spec/dummy/config/database.yml
|
494
|
+
- spec/dummy/config/boot.rb
|
528
495
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
529
|
-
- spec/dummy/config/initializers/devise.rb
|
530
|
-
- spec/dummy/config/initializers/inflections.rb
|
531
496
|
- spec/dummy/config/initializers/mime_types.rb
|
532
|
-
- spec/dummy/config/initializers/secret_token.rb
|
533
497
|
- spec/dummy/config/initializers/session_store.rb
|
534
498
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
535
|
-
- spec/dummy/config/
|
536
|
-
- spec/dummy/config/
|
499
|
+
- spec/dummy/config/initializers/devise.rb
|
500
|
+
- spec/dummy/config/initializers/secret_token.rb
|
501
|
+
- spec/dummy/config/initializers/inflections.rb
|
537
502
|
- spec/dummy/config.ru
|
538
|
-
- spec/dummy/
|
539
|
-
- spec/dummy/
|
540
|
-
- spec/dummy/
|
541
|
-
- spec/dummy/
|
542
|
-
- spec/dummy/
|
543
|
-
- spec/dummy/db/
|
544
|
-
- spec/dummy/db/migrate/
|
545
|
-
- spec/dummy/db/migrate/
|
503
|
+
- spec/dummy/Rakefile
|
504
|
+
- spec/dummy/public/favicon.ico
|
505
|
+
- spec/dummy/public/422.html
|
506
|
+
- spec/dummy/public/500.html
|
507
|
+
- spec/dummy/public/404.html
|
508
|
+
- spec/dummy/db/schema.rb
|
509
|
+
- spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
|
510
|
+
- spec/dummy/db/migrate/20090720091429_create_content_types.rb
|
511
|
+
- spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
|
512
|
+
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
513
|
+
- spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
|
546
514
|
- spec/dummy/db/migrate/047_create_produces.rb
|
547
|
-
- spec/dummy/db/migrate/059_create_libraries.rb
|
548
|
-
- spec/dummy/db/migrate/069_create_shelves.rb
|
549
|
-
- spec/dummy/db/migrate/073_create_carrier_types.rb
|
550
|
-
- spec/dummy/db/migrate/077_create_user_groups.rb
|
551
|
-
- spec/dummy/db/migrate/080_create_library_groups.rb
|
552
|
-
- spec/dummy/db/migrate/112_create_frequencies.rb
|
553
|
-
- spec/dummy/db/migrate/117_create_form_of_works.rb
|
554
|
-
- spec/dummy/db/migrate/120_create_baskets.rb
|
555
|
-
- spec/dummy/db/migrate/124_create_bookstores.rb
|
556
|
-
- spec/dummy/db/migrate/125_create_donates.rb
|
557
|
-
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
558
|
-
- spec/dummy/db/migrate/131_create_request_types.rb
|
559
|
-
- spec/dummy/db/migrate/133_create_agent_merges.rb
|
560
|
-
- spec/dummy/db/migrate/134_create_agent_merge_lists.rb
|
561
|
-
- spec/dummy/db/migrate/142_create_classifications.rb
|
562
|
-
- spec/dummy/db/migrate/144_create_classification_types.rb
|
563
|
-
- spec/dummy/db/migrate/145_create_subject_heading_types.rb
|
564
|
-
- spec/dummy/db/migrate/146_create_subject_types.rb
|
565
|
-
- spec/dummy/db/migrate/149_create_message_templates.rb
|
566
|
-
- spec/dummy/db/migrate/154_create_messages.rb
|
567
|
-
- spec/dummy/db/migrate/20080819181903_create_message_requests.rb
|
568
|
-
- spec/dummy/db/migrate/20080830154109_create_realizes.rb
|
569
|
-
- spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
|
570
|
-
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
571
|
-
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
572
|
-
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
573
|
-
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
574
|
-
- spec/dummy/db/migrate/20081025083323_create_countries.rb
|
575
|
-
- spec/dummy/db/migrate/20081025083905_create_languages.rb
|
576
|
-
- spec/dummy/db/migrate/20081027150907_create_picture_files.rb
|
577
|
-
- spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
|
578
|
-
- spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
|
579
|
-
- spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
|
580
|
-
- spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
|
581
|
-
- spec/dummy/db/migrate/20090719201843_create_extents.rb
|
582
515
|
- spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
|
583
|
-
- spec/dummy/db/migrate/
|
584
|
-
- spec/dummy/db/migrate/
|
585
|
-
- spec/dummy/db/migrate/
|
586
|
-
- spec/dummy/db/migrate/20091025080447_create_licenses.rb
|
587
|
-
- spec/dummy/db/migrate/20091202124834_create_versions.rb
|
588
|
-
- spec/dummy/db/migrate/20091214131723_create_series_statements.rb
|
589
|
-
- spec/dummy/db/migrate/20100129142347_create_import_requests.rb
|
590
|
-
- spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
|
591
|
-
- spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
|
592
|
-
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
593
|
-
- spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
|
594
|
-
- spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
|
595
|
-
- spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
|
596
|
-
- spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
|
597
|
-
- spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
|
598
|
-
- spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
|
599
|
-
- spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
|
600
|
-
- spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
|
601
|
-
- spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
|
602
|
-
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
603
|
-
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
604
|
-
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
605
|
-
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
606
|
-
- spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|
607
|
-
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
608
|
-
- spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
|
609
|
-
- spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
|
610
|
-
- spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
|
611
|
-
- spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
|
612
|
-
- spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
|
613
|
-
- spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
|
614
|
-
- spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
|
615
|
-
- spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
|
616
|
-
- spec/dummy/db/migrate/20111124110059_create_create_types.rb
|
617
|
-
- spec/dummy/db/migrate/20111124110319_create_realize_types.rb
|
516
|
+
- spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
|
517
|
+
- spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
|
518
|
+
- spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
|
618
519
|
- spec/dummy/db/migrate/20111124110355_create_produce_types.rb
|
619
|
-
- spec/dummy/db/migrate/
|
620
|
-
- spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
|
621
|
-
- spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
|
622
|
-
- spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
|
623
|
-
- spec/dummy/db/migrate/20120129014038_create_budget_types.rb
|
624
|
-
- spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
|
625
|
-
- spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
|
626
|
-
- spec/dummy/db/migrate/20120319173203_create_accepts.rb
|
627
|
-
- spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb
|
628
|
-
- spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
|
520
|
+
- spec/dummy/db/migrate/20090719201843_create_extents.rb
|
629
521
|
- spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
|
630
|
-
- spec/dummy/db/migrate/
|
631
|
-
- spec/dummy/db/migrate/
|
632
|
-
- spec/dummy/db/migrate/
|
633
|
-
- spec/dummy/db/migrate/
|
634
|
-
- spec/dummy/db/migrate/
|
635
|
-
- spec/dummy/db/migrate/
|
636
|
-
- spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
|
522
|
+
- spec/dummy/db/migrate/20120319173203_create_accepts.rb
|
523
|
+
- spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
|
524
|
+
- spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
|
525
|
+
- spec/dummy/db/migrate/124_create_bookstores.rb
|
526
|
+
- spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
|
527
|
+
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
637
528
|
- spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
|
638
|
-
- spec/dummy/db/migrate/
|
639
|
-
- spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
|
529
|
+
- spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
|
640
530
|
- spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
|
641
|
-
- spec/dummy/db/migrate/
|
642
|
-
- spec/dummy/db/migrate/
|
643
|
-
- spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
|
531
|
+
- spec/dummy/db/migrate/015_create_creates.rb
|
532
|
+
- spec/dummy/db/migrate/20081025083905_create_languages.rb
|
644
533
|
- spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
|
645
|
-
- spec/dummy/db/migrate/
|
646
|
-
- spec/dummy/db/migrate/
|
647
|
-
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
648
|
-
- spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
|
534
|
+
- spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
|
535
|
+
- spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
|
649
536
|
- spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
|
650
|
-
- spec/dummy/db/migrate/
|
651
|
-
- spec/dummy/db/migrate/
|
652
|
-
- spec/dummy/db/migrate/
|
653
|
-
- spec/dummy/db/migrate/
|
537
|
+
- spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
|
538
|
+
- spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
|
539
|
+
- spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
|
540
|
+
- spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
|
541
|
+
- spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
|
542
|
+
- spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
|
543
|
+
- spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
|
544
|
+
- spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb
|
545
|
+
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
546
|
+
- spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
|
547
|
+
- spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
|
548
|
+
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
549
|
+
- spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
|
550
|
+
- spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
|
551
|
+
- spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
|
552
|
+
- spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb
|
553
|
+
- spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
|
554
|
+
- spec/dummy/db/migrate/20140821151023_create_colors.rb
|
654
555
|
- spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
|
556
|
+
- spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
|
655
557
|
- spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
|
656
|
-
- spec/dummy/db/migrate/
|
657
|
-
- spec/dummy/db/migrate/20140518111006_create_message_transitions.rb
|
558
|
+
- spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
|
658
559
|
- spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb
|
659
|
-
- spec/dummy/db/migrate/
|
560
|
+
- spec/dummy/db/migrate/131_create_request_types.rb
|
561
|
+
- spec/dummy/db/migrate/20160801080637_add_most_recent_to_resource_export_file_transitions.rb
|
562
|
+
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
563
|
+
- spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
|
564
|
+
- spec/dummy/db/migrate/133_create_agent_merges.rb
|
565
|
+
- spec/dummy/db/migrate/059_create_libraries.rb
|
566
|
+
- spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
|
567
|
+
- spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
|
568
|
+
- spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
|
569
|
+
- spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
|
660
570
|
- spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
|
661
|
-
- spec/dummy/db/migrate/
|
571
|
+
- spec/dummy/db/migrate/080_create_library_groups.rb
|
572
|
+
- spec/dummy/db/migrate/20091214131723_create_series_statements.rb
|
573
|
+
- spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
|
574
|
+
- spec/dummy/db/migrate/20081025083323_create_countries.rb
|
575
|
+
- spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
|
576
|
+
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
577
|
+
- spec/dummy/db/migrate/142_create_classifications.rb
|
578
|
+
- spec/dummy/db/migrate/006_create_items.rb
|
579
|
+
- spec/dummy/db/migrate/069_create_shelves.rb
|
580
|
+
- spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
|
581
|
+
- spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
|
582
|
+
- spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
|
583
|
+
- spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
|
584
|
+
- spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
|
585
|
+
- spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
|
586
|
+
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
587
|
+
- spec/dummy/db/migrate/077_create_user_groups.rb
|
588
|
+
- spec/dummy/db/migrate/134_create_agent_merge_lists.rb
|
589
|
+
- spec/dummy/db/migrate/20140122054321_create_profiles.rb
|
662
590
|
- spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
|
591
|
+
- spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
|
592
|
+
- spec/dummy/db/migrate/20100129142347_create_import_requests.rb
|
593
|
+
- spec/dummy/db/migrate/125_create_donates.rb
|
594
|
+
- spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
|
595
|
+
- spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
|
596
|
+
- spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
|
597
|
+
- spec/dummy/db/migrate/154_create_messages.rb
|
598
|
+
- spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb
|
663
599
|
- spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
|
664
|
-
- spec/dummy/db/migrate/
|
665
|
-
- spec/dummy/db/migrate/
|
666
|
-
- spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
|
667
|
-
- spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
|
668
|
-
- spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
|
669
|
-
- spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
|
670
|
-
- spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
|
671
|
-
- spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
|
672
|
-
- spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
|
600
|
+
- spec/dummy/db/migrate/001_create_agents.rb
|
601
|
+
- spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
|
673
602
|
- spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
|
674
|
-
- spec/dummy/db/migrate/
|
675
|
-
- spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
|
603
|
+
- spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
|
676
604
|
- spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
|
677
|
-
- spec/dummy/db/migrate/
|
678
|
-
- spec/dummy/db/migrate/
|
679
|
-
- spec/dummy/db/migrate/
|
680
|
-
- spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
|
681
|
-
- spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
|
682
|
-
- spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
|
683
|
-
- spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
|
684
|
-
- spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
|
605
|
+
- spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
|
606
|
+
- spec/dummy/db/migrate/041_create_roles.rb
|
607
|
+
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
685
608
|
- spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
|
686
|
-
- spec/dummy/db/migrate/
|
687
|
-
- spec/dummy/db/migrate/20150924115059_create_withdraws.rb
|
688
|
-
- spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
|
689
|
-
- spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
|
690
|
-
- spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
|
691
|
-
- spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
|
692
|
-
- spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
|
693
|
-
- spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
|
609
|
+
- spec/dummy/db/migrate/20120129014038_create_budget_types.rb
|
694
610
|
- spec/dummy/db/migrate/20160801080612_add_most_recent_to_import_request_transitions.rb
|
611
|
+
- spec/dummy/db/migrate/112_create_frequencies.rb
|
612
|
+
- spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|
613
|
+
- spec/dummy/db/migrate/20080830154109_create_realizes.rb
|
614
|
+
- spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
|
615
|
+
- spec/dummy/db/migrate/20111124110059_create_create_types.rb
|
616
|
+
- spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
|
695
617
|
- spec/dummy/db/migrate/20160801080619_add_most_recent_to_resource_import_file_transitions.rb
|
696
|
-
- spec/dummy/db/migrate/
|
618
|
+
- spec/dummy/db/migrate/20081027150907_create_picture_files.rb
|
619
|
+
- spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
|
620
|
+
- spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
621
|
+
- spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb
|
622
|
+
- spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
|
623
|
+
- spec/dummy/db/migrate/144_create_classification_types.rb
|
624
|
+
- spec/dummy/db/migrate/005_create_manifestations.rb
|
625
|
+
- spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
|
626
|
+
- spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
|
627
|
+
- spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
|
697
628
|
- spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
|
698
|
-
- spec/dummy/db/migrate/
|
629
|
+
- spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
630
|
+
- spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
|
631
|
+
- spec/dummy/db/migrate/117_create_form_of_works.rb
|
632
|
+
- spec/dummy/db/migrate/20080819181903_create_message_requests.rb
|
633
|
+
- spec/dummy/db/migrate/20130506175834_create_identifiers.rb
|
634
|
+
- spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
|
635
|
+
- spec/dummy/db/migrate/073_create_carrier_types.rb
|
636
|
+
- spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
|
637
|
+
- spec/dummy/db/migrate/20111124110319_create_realize_types.rb
|
638
|
+
- spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
|
639
|
+
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
640
|
+
- spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
|
641
|
+
- spec/dummy/db/migrate/20150924115059_create_withdraws.rb
|
642
|
+
- spec/dummy/db/migrate/149_create_message_templates.rb
|
643
|
+
- spec/dummy/db/migrate/20091202124834_create_versions.rb
|
644
|
+
- spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
|
645
|
+
- spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
|
646
|
+
- spec/dummy/db/migrate/012_create_owns.rb
|
647
|
+
- spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
|
648
|
+
- spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
|
649
|
+
- spec/dummy/db/migrate/146_create_subject_types.rb
|
650
|
+
- spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
|
651
|
+
- spec/dummy/db/migrate/002_devise_create_users.rb
|
652
|
+
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
699
653
|
- spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb
|
654
|
+
- spec/dummy/db/migrate/029_create_subjects.rb
|
655
|
+
- spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
|
656
|
+
- spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
|
657
|
+
- spec/dummy/db/migrate/20091025080447_create_licenses.rb
|
658
|
+
- spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
|
659
|
+
- spec/dummy/db/migrate/20160811102604_add_picture_width_to_picture_file.rb
|
660
|
+
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
661
|
+
- spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
|
662
|
+
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
663
|
+
- spec/dummy/db/migrate/145_create_subject_heading_types.rb
|
664
|
+
- spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
|
665
|
+
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
700
666
|
- spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb
|
701
|
-
- spec/dummy/db/migrate/
|
702
|
-
- spec/dummy/db/migrate/
|
703
|
-
- spec/dummy/db/migrate/
|
704
|
-
- spec/dummy/db/migrate/
|
705
|
-
- spec/dummy/db/
|
706
|
-
- spec/dummy/
|
707
|
-
- spec/dummy/
|
708
|
-
- spec/dummy/
|
709
|
-
- spec/dummy/
|
710
|
-
- spec/
|
711
|
-
- spec/
|
712
|
-
- spec/
|
667
|
+
- spec/dummy/db/migrate/120_create_baskets.rb
|
668
|
+
- spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
|
669
|
+
- spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
|
670
|
+
- spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
|
671
|
+
- spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
|
672
|
+
- spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
|
673
|
+
- spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
|
674
|
+
- spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
|
675
|
+
- spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
|
676
|
+
- spec/cassette_library/CiniiBook/should_search_bibliographic_records.yml
|
677
|
+
- spec/cassette_library/CiniiBook/should_import_a_bibliographic_record.yml
|
678
|
+
- spec/cassette_library/CiniiBook/should_search_with_ncid.yml
|
679
|
+
- spec/cassette_library/CiniiBook/should_import_a_bibliographic_record_with_dual_languages.yml
|
680
|
+
- spec/cassette_library/cinii_books/index/cinii_books_search_menu/should_reflect_query_params_for_views.yml
|
681
|
+
- spec/cassette_library/CiniiBooksController/GET_index/should_get_index.yml
|
682
|
+
- spec/models/cinii_book_spec.rb
|
683
|
+
- spec/support/controller_macros.rb
|
684
|
+
- spec/support/devise.rb
|
713
685
|
- spec/fixtures/content_types.yml
|
714
|
-
- spec/fixtures/countries.yml
|
715
686
|
- spec/fixtures/identifiers.yml
|
716
|
-
- spec/fixtures/
|
717
|
-
- spec/fixtures/
|
687
|
+
- spec/fixtures/countries.yml
|
688
|
+
- spec/fixtures/agent_types.yml
|
689
|
+
- spec/fixtures/users.yml
|
718
690
|
- spec/fixtures/manifestations.yml
|
691
|
+
- spec/fixtures/carrier_types.yml
|
692
|
+
- spec/fixtures/library_groups.yml
|
719
693
|
- spec/fixtures/nii_types.yml
|
720
|
-
- spec/fixtures/roles.yml
|
721
694
|
- spec/fixtures/subject_types.yml
|
722
695
|
- spec/fixtures/user_has_roles.yml
|
723
|
-
- spec/fixtures/
|
724
|
-
- spec/
|
725
|
-
- spec/
|
726
|
-
- spec/
|
727
|
-
- spec/support/controller_macros.rb
|
728
|
-
- spec/support/devise.rb
|
696
|
+
- spec/fixtures/roles.yml
|
697
|
+
- spec/fixtures/languages.yml
|
698
|
+
- spec/controllers/nii_types_controller_spec.rb
|
699
|
+
- spec/controllers/cinii_books_controller_spec.rb
|
729
700
|
- spec/views/cinii_books/index.html.erb_spec.rb
|
701
|
+
- spec/rails_helper.rb
|