enju_biblio 0.1.0.pre46 → 0.1.0.pre47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/resource_import_file.rb +21 -1
- data/app/views/agents/show.html.erb +1 -1
- data/app/views/import_requests/new.html.erb +1 -1
- data/app/views/manifestations/_show.mods.builder +3 -3
- data/app/views/manifestations/_show.rdf.builder +3 -3
- data/app/views/manifestations/_show_holding.html.erb +7 -2
- data/lib/enju_biblio/version.rb +1 -1
- data/spec/cassette_library/enju_ndl/manifestation.yml +964 -0
- data/spec/cassette_library/enju_ndl/ndl_search.yml +2142 -0
- data/spec/dummy/config/application.rb +0 -1
- data/spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif +0 -0
- data/spec/dummy/private/system/picture_files/pictures/000/000/005/thumb/spinner.gif +0 -0
- data/spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample1.tsv +1 -1
- data/spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample2.tsv +1 -1
- data/spec/dummy/solr/conf/schema.xml +14 -2
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_gf +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/fixtures/classification_types.yml +63 -0
- data/spec/fixtures/classifications.yml +118 -0
- data/spec/models/resource_import_file_spec.rb +11 -8
- metadata +12 -37
- data/app/assets/javascripts/identifier_types.js +0 -2
- data/app/assets/javascripts/identifiers.js +0 -2
- data/app/assets/stylesheets/identifier_types.css +0 -4
- data/app/assets/stylesheets/identifiers.css +0 -4
- data/app/assets/stylesheets/scaffold.css +0 -56
- data/app/helpers/identifier_types_helper.rb +0 -2
- data/app/helpers/identifiers_helper.rb +0 -2
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv +0 -8
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv +0 -5
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv +0 -8
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv +0 -5
- data/spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv +0 -3
- data/spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv +0 -8
- data/spec/dummy/public/system/picture_files/pictures/000/000/005/medium/spinner.gif +0 -0
- data/spec/dummy/public/system/picture_files/pictures/000/000/005/original/spinner.gif +0 -0
- data/spec/dummy/public/system/picture_files/pictures/000/000/005/thumb/spinner.gif +0 -0
- data/spec/dummy/solr/data/test/index/segments_qn2 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier
|
1
|
+
manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore dummy
|
2
2
|
資料ID タイトル 注記 タイトルよみ 代替タイトル 定期刊行物フラグ シリーズ番号 シリーズタイトル シリーズタイトルよみ 著者 著者よみ 出版者 出版者よみ 出版日 巻 版 isbn issn 販売価格 受入価格 高さ 書架名 個別資料ID nbn lccn 件名 インポート省略
|
3
3
|
test1 ○ identifierなし、item_identifierなし test てすと test2 invalid
|
4
4
|
test2 ○ identifierなし、item_identifierあり test||author//test1||illustrator 2001 10101 Public fund Example store
|
@@ -1,4 +1,4 @@
|
|
1
|
-
manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier
|
1
|
+
manifestation_identifier original_title note title_transcription title_alternative periodical series_statement_identifier series_title series_title_transcription creator creator_transcription publisher publisher_transcription pub_date volume_number_string edition isbn issn manifestation_price item_price height shelf item_identifier nbn lccn subject budget_type bookstore dummy
|
2
2
|
����ID �^�C�g�� ���L �^�C�g����� ��փ^�C�g�� ������s���t���O �V���[�Y�ԍ� �V���[�Y�^�C�g�� �V���[�Y�^�C�g����� ���� ���҂�� �o�Ŏ� �o�Ŏ҂�� �o�œ� �� �� isbn issn �̔����i ������i ���� ���˖� �ʎ���ID nbn lccn ���� �C���|�[�g�ȗ�
|
3
3
|
test1 �� identifier�Ȃ��Aitem_identifier�Ȃ� test �Ă��� test2 invalid
|
4
4
|
test2 �� identifier�Ȃ��Aitem_identifier���� test||author//test1||illustrator 2001 10101 Public fund Example store
|
@@ -84,11 +84,14 @@
|
|
84
84
|
<fieldType name="tfloat" class="solr.TrieFloatField" omitNorms="true"/>
|
85
85
|
<!-- *** This fieldType is used by Sunspot! *** -->
|
86
86
|
<fieldType name="tdate" class="solr.TrieDateField" omitNorms="true"/>
|
87
|
+
|
88
|
+
<!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
|
89
|
+
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
|
87
90
|
</types>
|
88
91
|
<fields>
|
89
92
|
<!-- Valid attributes for fields:
|
90
93
|
name: mandatory - the name for the field
|
91
|
-
type: mandatory - the name of a previously defined type from the
|
94
|
+
type: mandatory - the name of a previously defined type from the
|
92
95
|
<types> section
|
93
96
|
indexed: true if this field should be indexed (searchable or sortable)
|
94
97
|
stored: true if this field should be retrievable
|
@@ -223,8 +226,17 @@
|
|
223
226
|
<dynamicField name="*_ets" stored="true" termVectors="true" type="tdouble" multiValued="false" indexed="true"/>
|
224
227
|
<!-- *** This dynamicField is used by Sunspot! *** -->
|
225
228
|
<dynamicField name="*_etms" stored="true" termVectors="true" type="tdouble" multiValued="true" indexed="true"/>
|
229
|
+
|
230
|
+
<!-- Type used to index the lat and lon components for the "location" FieldType -->
|
231
|
+
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" multiValued="false"/>
|
232
|
+
<dynamicField name="*_p" type="location" indexed="true" stored="true" multiValued="false"/>
|
233
|
+
|
234
|
+
<dynamicField name="*_ll" stored="false" type="location" multiValued="false" indexed="true"/>
|
235
|
+
<dynamicField name="*_llm" stored="false" type="location" multiValued="true" indexed="true"/>
|
236
|
+
<dynamicField name="*_lls" stored="true" type="location" multiValued="false" indexed="true"/>
|
237
|
+
<dynamicField name="*_llms" stored="true" type="location" multiValued="true" indexed="true"/>
|
226
238
|
</fields>
|
227
|
-
<!-- Field to use to determine and enforce document uniqueness.
|
239
|
+
<!-- Field to use to determine and enforce document uniqueness.
|
228
240
|
Unless this field is marked with required="false", it will be a required field
|
229
241
|
-->
|
230
242
|
<uniqueKey>id</uniqueKey>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
classification_type_00001:
|
3
|
+
name: ndc
|
4
|
+
display_name: NDC
|
5
|
+
updated_at: 2008-03-02 22:53:40.696331 +09:00
|
6
|
+
id: 1
|
7
|
+
note: ""
|
8
|
+
created_at: 2008-03-02 22:53:40.696331 +09:00
|
9
|
+
position: 1
|
10
|
+
classification_type_00002:
|
11
|
+
name: ndlc
|
12
|
+
display_name: NDLC
|
13
|
+
updated_at: 2008-03-02 22:53:51.394954 +09:00
|
14
|
+
id: 2
|
15
|
+
note: ""
|
16
|
+
created_at: 2008-03-02 22:53:51.394954 +09:00
|
17
|
+
position: 2
|
18
|
+
classification_type_00003:
|
19
|
+
name: ddc
|
20
|
+
display_name: DDC
|
21
|
+
updated_at: 2008-03-02 22:53:58.937354 +09:00
|
22
|
+
id: 3
|
23
|
+
note: ""
|
24
|
+
created_at: 2008-03-02 22:53:58.937354 +09:00
|
25
|
+
position: 3
|
26
|
+
classification_type_00004:
|
27
|
+
name: udc
|
28
|
+
display_name: UDC
|
29
|
+
updated_at: 2008-03-02 22:54:20.265696 +09:00
|
30
|
+
id: 4
|
31
|
+
note: ""
|
32
|
+
created_at: 2008-03-02 22:54:20.265696 +09:00
|
33
|
+
position: 4
|
34
|
+
classification_type_00005:
|
35
|
+
name: lcc
|
36
|
+
display_name: LCC
|
37
|
+
updated_at: 2008-03-02 22:54:41.169172 +09:00
|
38
|
+
id: 5
|
39
|
+
note: ""
|
40
|
+
created_at: 2008-03-02 22:54:41.169172 +09:00
|
41
|
+
position: 5
|
42
|
+
classification_type_00006:
|
43
|
+
name: nlmc
|
44
|
+
display_name: NLMC
|
45
|
+
updated_at: 2008-03-02 22:54:56.181793 +09:00
|
46
|
+
id: 6
|
47
|
+
note: ""
|
48
|
+
created_at: 2008-03-02 22:54:56.181793 +09:00
|
49
|
+
position: 6
|
50
|
+
|
51
|
+
# == Schema Information
|
52
|
+
#
|
53
|
+
# Table name: classification_types
|
54
|
+
#
|
55
|
+
# id :integer not null, primary key
|
56
|
+
# name :string(255) not null
|
57
|
+
# display_name :text
|
58
|
+
# note :text
|
59
|
+
# position :integer
|
60
|
+
# created_at :datetime not null
|
61
|
+
# updated_at :datetime not null
|
62
|
+
#
|
63
|
+
|
@@ -0,0 +1,118 @@
|
|
1
|
+
---
|
2
|
+
classification_00006:
|
3
|
+
updated_at: 2008-03-02 19:25:19.555182 +09:00
|
4
|
+
classification_type_id: 2
|
5
|
+
category: "500"
|
6
|
+
id: 6
|
7
|
+
note:
|
8
|
+
parent_id:
|
9
|
+
created_at: 2008-03-02 19:25:19.555182 +09:00
|
10
|
+
lft: 11
|
11
|
+
rgt: 12
|
12
|
+
classification_00007:
|
13
|
+
updated_at: 2008-03-02 19:25:31.846101 +09:00
|
14
|
+
classification_type_id: 2
|
15
|
+
category: "600"
|
16
|
+
id: 7
|
17
|
+
note:
|
18
|
+
parent_id:
|
19
|
+
created_at: 2008-03-02 19:25:31.846101 +09:00
|
20
|
+
lft: 13
|
21
|
+
rgt: 14
|
22
|
+
classification_00008:
|
23
|
+
updated_at: 2008-03-02 19:25:42.485981 +09:00
|
24
|
+
classification_type_id: 2
|
25
|
+
category: "700"
|
26
|
+
id: 8
|
27
|
+
note:
|
28
|
+
parent_id:
|
29
|
+
created_at: 2008-03-02 19:25:42.485981 +09:00
|
30
|
+
lft: 15
|
31
|
+
rgt: 16
|
32
|
+
classification_00009:
|
33
|
+
updated_at: 2008-03-02 19:25:54.879049 +09:00
|
34
|
+
classification_type_id: 2
|
35
|
+
category: "800"
|
36
|
+
id: 9
|
37
|
+
note:
|
38
|
+
parent_id:
|
39
|
+
created_at: 2008-03-02 19:25:54.879049 +09:00
|
40
|
+
lft: 17
|
41
|
+
rgt: 18
|
42
|
+
classification_00010:
|
43
|
+
updated_at: 2008-03-02 19:26:03.099902 +09:00
|
44
|
+
classification_type_id: 2
|
45
|
+
category: "900"
|
46
|
+
id: 10
|
47
|
+
note:
|
48
|
+
parent_id:
|
49
|
+
created_at: 2008-03-02 19:26:03.099902 +09:00
|
50
|
+
lft: 19
|
51
|
+
rgt: 20
|
52
|
+
classification_00001:
|
53
|
+
updated_at: 2008-03-02 19:23:02.050270 +09:00
|
54
|
+
classification_type_id: 1
|
55
|
+
category: "000"
|
56
|
+
id: 1
|
57
|
+
note: ""
|
58
|
+
parent_id:
|
59
|
+
created_at: 2008-03-02 19:21:50.689538 +09:00
|
60
|
+
lft: 1
|
61
|
+
rgt: 2
|
62
|
+
classification_00002:
|
63
|
+
updated_at: 2008-03-02 19:23:55.187964 +09:00
|
64
|
+
classification_type_id: 1
|
65
|
+
category: "100"
|
66
|
+
id: 2
|
67
|
+
note:
|
68
|
+
parent_id:
|
69
|
+
created_at: 2008-03-02 19:23:55.187964 +09:00
|
70
|
+
lft: 3
|
71
|
+
rgt: 4
|
72
|
+
classification_00003:
|
73
|
+
updated_at: 2008-03-02 19:24:44.271616 +09:00
|
74
|
+
classification_type_id: 1
|
75
|
+
category: "200"
|
76
|
+
id: 3
|
77
|
+
note:
|
78
|
+
parent_id:
|
79
|
+
created_at: 2008-03-02 19:24:44.271616 +09:00
|
80
|
+
lft: 5
|
81
|
+
rgt: 6
|
82
|
+
classification_00004:
|
83
|
+
updated_at: 2008-03-02 19:24:56.797259 +09:00
|
84
|
+
classification_type_id: 1
|
85
|
+
category: "300"
|
86
|
+
id: 4
|
87
|
+
note:
|
88
|
+
parent_id:
|
89
|
+
created_at: 2008-03-02 19:24:56.797259 +09:00
|
90
|
+
lft: 7
|
91
|
+
rgt: 8
|
92
|
+
classification_00005:
|
93
|
+
updated_at: 2008-03-02 19:25:08.317117 +09:00
|
94
|
+
classification_type_id: 1
|
95
|
+
category: "400"
|
96
|
+
id: 5
|
97
|
+
note:
|
98
|
+
parent_id:
|
99
|
+
created_at: 2008-03-02 19:25:08.317117 +09:00
|
100
|
+
lft: 9
|
101
|
+
rgt: 10
|
102
|
+
|
103
|
+
# == Schema Information
|
104
|
+
#
|
105
|
+
# Table name: classifications
|
106
|
+
#
|
107
|
+
# id :integer not null, primary key
|
108
|
+
# parent_id :integer
|
109
|
+
# category :string(255) not null
|
110
|
+
# note :text
|
111
|
+
# classification_type_id :integer not null
|
112
|
+
# created_at :datetime not null
|
113
|
+
# updated_at :datetime not null
|
114
|
+
# lft :integer
|
115
|
+
# rgt :integer
|
116
|
+
# manifestation_id :integer
|
117
|
+
#
|
118
|
+
|
@@ -43,11 +43,14 @@ describe ResourceImportFile do
|
|
43
43
|
item_10101.budget_type.name.should eq 'Public fund'
|
44
44
|
item_10101.bookstore.name.should eq 'Example store'
|
45
45
|
item_10101.use_restriction.name.should eq 'Not For Loan'
|
46
|
+
item_10101.manifestation.classifications.count.should eq 1
|
47
|
+
item_10101.manifestation.classifications.first.classification_type.name.should eq 'ndc'
|
48
|
+
item_10101.manifestation.classifications.first.category.should eq '007'
|
46
49
|
Item.where(:item_identifier => '10102').first.manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
47
50
|
Item.where(:item_identifier => '10104').first.manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
48
51
|
Manifestation.where(:manifestation_identifier => '103').first.original_title.should eq 'ダブル"クォート"を含む資料'
|
49
52
|
item = Item.where(:item_identifier => '11111').first
|
50
|
-
Shelf.
|
53
|
+
Shelf.where(:name => 'first_shelf').first.should eq item.shelf
|
51
54
|
item.manifestation.price.should eq 1000
|
52
55
|
item.price.should eq 0
|
53
56
|
item.manifestation.publishers.size.should eq 2
|
@@ -90,13 +93,13 @@ describe ResourceImportFile do
|
|
90
93
|
Item.count.should eq old_items_count + 6
|
91
94
|
Agent.count.should eq old_agents_count + 9
|
92
95
|
ResourceImportResult.count.should eq old_import_results_count + 17
|
93
|
-
Item.
|
94
|
-
Item.
|
95
|
-
Item.
|
96
|
-
Item.
|
97
|
-
Manifestation.
|
98
|
-
item = Item.
|
99
|
-
Shelf.
|
96
|
+
Item.where(:item_identifier => '10101').first.manifestation.creators.size.should eq 2
|
97
|
+
Item.where(:item_identifier => '10101').first.manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
98
|
+
Item.where(:item_identifier => '10102').first.manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
99
|
+
Item.where(:item_identifier => '10104').first.manifestation.date_of_publication.should eq Time.zone.parse('2001-01-01')
|
100
|
+
Manifestation.where(:manifestation_identifier => '103').first.original_title.should eq 'ダブル"クォート"を含む資料'
|
101
|
+
item = Item.where(:item_identifier => '11111').first
|
102
|
+
Shelf.where(:name => 'first_shelf').first.should eq item.shelf
|
100
103
|
item.manifestation.price.should eq 1000
|
101
104
|
item.price.should eq 0
|
102
105
|
item.manifestation.publishers.size.should eq 2
|
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.pre47
|
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-
|
11
|
+
date: 2013-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_core
|
@@ -451,11 +451,6 @@ executables: []
|
|
451
451
|
extensions: []
|
452
452
|
extra_rdoc_files: []
|
453
453
|
files:
|
454
|
-
- app/assets/javascripts/identifier_types.js
|
455
|
-
- app/assets/javascripts/identifiers.js
|
456
|
-
- app/assets/stylesheets/identifier_types.css
|
457
|
-
- app/assets/stylesheets/identifiers.css
|
458
|
-
- app/assets/stylesheets/scaffold.css
|
459
454
|
- app/controllers/agent_import_files_controller.rb
|
460
455
|
- app/controllers/agent_import_results_controller.rb
|
461
456
|
- app/controllers/agent_relationship_types_controller.rb
|
@@ -491,8 +486,6 @@ files:
|
|
491
486
|
- app/controllers/resource_import_results_controller.rb
|
492
487
|
- app/controllers/series_statements_controller.rb
|
493
488
|
- app/helpers/agents_helper.rb
|
494
|
-
- app/helpers/identifier_types_helper.rb
|
495
|
-
- app/helpers/identifiers_helper.rb
|
496
489
|
- app/helpers/manifestations_helper.rb
|
497
490
|
- app/helpers/owns_helper.rb
|
498
491
|
- app/helpers/picture_files_helper.rb
|
@@ -917,6 +910,8 @@ files:
|
|
917
910
|
- MIT-LICENSE
|
918
911
|
- Rakefile
|
919
912
|
- README.rdoc
|
913
|
+
- spec/cassette_library/enju_ndl/manifestation.yml
|
914
|
+
- spec/cassette_library/enju_ndl/ndl_search.yml
|
920
915
|
- spec/cassette_library/ImportRequest/import/should_import_bibliographic_record.yml
|
921
916
|
- spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_isbn_which_is_already_imported/redirects_to_the_created_import_request.yml
|
922
917
|
- spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml
|
@@ -1001,7 +996,6 @@ files:
|
|
1001
996
|
- spec/dummy/config/locales/ja.yml
|
1002
997
|
- spec/dummy/config/routes.rb
|
1003
998
|
- spec/dummy/config.ru
|
1004
|
-
- spec/dummy/db/development.sqlite3
|
1005
999
|
- spec/dummy/db/migrate/029_create_subjects.rb
|
1006
1000
|
- spec/dummy/db/migrate/032_create_checkins.rb
|
1007
1001
|
- spec/dummy/db/migrate/033_create_checkouts.rb
|
@@ -1090,15 +1084,8 @@ files:
|
|
1090
1084
|
- spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
|
1091
1085
|
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1092
1086
|
- spec/dummy/db/schema.rb
|
1093
|
-
- spec/dummy/db/test.sqlite3
|
1094
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv
|
1095
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv
|
1096
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv
|
1097
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv
|
1098
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv
|
1099
1087
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
|
1100
1088
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
|
1101
|
-
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
|
1102
1089
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample3.tsv
|
1103
1090
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_update_file.tsv
|
1104
1091
|
- spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif
|
@@ -1114,9 +1101,6 @@ files:
|
|
1114
1101
|
- spec/dummy/public/422.html
|
1115
1102
|
- spec/dummy/public/500.html
|
1116
1103
|
- spec/dummy/public/favicon.ico
|
1117
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/medium/spinner.gif
|
1118
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/original/spinner.gif
|
1119
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/thumb/spinner.gif
|
1120
1104
|
- spec/dummy/Rakefile
|
1121
1105
|
- spec/dummy/README.rdoc
|
1122
1106
|
- spec/dummy/script/rails
|
@@ -1131,11 +1115,9 @@ files:
|
|
1131
1115
|
- spec/dummy/solr/conf/stopwords.txt
|
1132
1116
|
- spec/dummy/solr/conf/synonyms.txt
|
1133
1117
|
- spec/dummy/solr/data/test/index/segments.gen
|
1134
|
-
- spec/dummy/solr/data/test/index/
|
1118
|
+
- spec/dummy/solr/data/test/index/segments_gf
|
1135
1119
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1136
1120
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1137
|
-
- spec/dummy/tmp/cache/4F7/F90/default_role
|
1138
|
-
- spec/dummy/tmp/cache/6E4/420/search_engine_all
|
1139
1121
|
- spec/factories/agent.rb
|
1140
1122
|
- spec/factories/basket.rb
|
1141
1123
|
- spec/factories/carrier_type.rb
|
@@ -1188,6 +1170,8 @@ files:
|
|
1188
1170
|
- spec/fixtures/checkout_types.yml
|
1189
1171
|
- spec/fixtures/checkouts.yml
|
1190
1172
|
- spec/fixtures/circulation_statuses.yml
|
1173
|
+
- spec/fixtures/classification_types.yml
|
1174
|
+
- spec/fixtures/classifications.yml
|
1191
1175
|
- spec/fixtures/content_types.yml
|
1192
1176
|
- spec/fixtures/countries.yml
|
1193
1177
|
- spec/fixtures/create_types.yml
|
@@ -1359,6 +1343,8 @@ signing_key:
|
|
1359
1343
|
specification_version: 4
|
1360
1344
|
summary: enju_biblio plugin
|
1361
1345
|
test_files:
|
1346
|
+
- spec/cassette_library/enju_ndl/manifestation.yml
|
1347
|
+
- spec/cassette_library/enju_ndl/ndl_search.yml
|
1362
1348
|
- spec/cassette_library/ImportRequest/import/should_import_bibliographic_record.yml
|
1363
1349
|
- spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_isbn_which_is_already_imported/redirects_to_the_created_import_request.yml
|
1364
1350
|
- spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml
|
@@ -1443,7 +1429,6 @@ test_files:
|
|
1443
1429
|
- spec/dummy/config/locales/ja.yml
|
1444
1430
|
- spec/dummy/config/routes.rb
|
1445
1431
|
- spec/dummy/config.ru
|
1446
|
-
- spec/dummy/db/development.sqlite3
|
1447
1432
|
- spec/dummy/db/migrate/029_create_subjects.rb
|
1448
1433
|
- spec/dummy/db/migrate/032_create_checkins.rb
|
1449
1434
|
- spec/dummy/db/migrate/033_create_checkouts.rb
|
@@ -1532,15 +1517,8 @@ test_files:
|
|
1532
1517
|
- spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
|
1533
1518
|
- spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
|
1534
1519
|
- spec/dummy/db/schema.rb
|
1535
|
-
- spec/dummy/db/test.sqlite3
|
1536
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_delete_file.tsv
|
1537
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample1.tsv
|
1538
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample2.tsv
|
1539
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_import_file_sample3.tsv
|
1540
|
-
- spec/dummy/private/system/agent_import_files/agent_imports/000/000/004/original/agent_update_file.tsv
|
1541
1520
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
|
1542
1521
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
|
1543
|
-
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
|
1544
1522
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample3.tsv
|
1545
1523
|
- spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_update_file.tsv
|
1546
1524
|
- spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif
|
@@ -1556,9 +1534,6 @@ test_files:
|
|
1556
1534
|
- spec/dummy/public/422.html
|
1557
1535
|
- spec/dummy/public/500.html
|
1558
1536
|
- spec/dummy/public/favicon.ico
|
1559
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/medium/spinner.gif
|
1560
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/original/spinner.gif
|
1561
|
-
- spec/dummy/public/system/picture_files/pictures/000/000/005/thumb/spinner.gif
|
1562
1537
|
- spec/dummy/Rakefile
|
1563
1538
|
- spec/dummy/README.rdoc
|
1564
1539
|
- spec/dummy/script/rails
|
@@ -1573,11 +1548,9 @@ test_files:
|
|
1573
1548
|
- spec/dummy/solr/conf/stopwords.txt
|
1574
1549
|
- spec/dummy/solr/conf/synonyms.txt
|
1575
1550
|
- spec/dummy/solr/data/test/index/segments.gen
|
1576
|
-
- spec/dummy/solr/data/test/index/
|
1551
|
+
- spec/dummy/solr/data/test/index/segments_gf
|
1577
1552
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
1578
1553
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
1579
|
-
- spec/dummy/tmp/cache/4F7/F90/default_role
|
1580
|
-
- spec/dummy/tmp/cache/6E4/420/search_engine_all
|
1581
1554
|
- spec/factories/agent.rb
|
1582
1555
|
- spec/factories/basket.rb
|
1583
1556
|
- spec/factories/carrier_type.rb
|
@@ -1630,6 +1603,8 @@ test_files:
|
|
1630
1603
|
- spec/fixtures/checkout_types.yml
|
1631
1604
|
- spec/fixtures/checkouts.yml
|
1632
1605
|
- spec/fixtures/circulation_statuses.yml
|
1606
|
+
- spec/fixtures/classification_types.yml
|
1607
|
+
- spec/fixtures/classifications.yml
|
1633
1608
|
- spec/fixtures/content_types.yml
|
1634
1609
|
- spec/fixtures/countries.yml
|
1635
1610
|
- spec/fixtures/create_types.yml
|
@@ -1,56 +0,0 @@
|
|
1
|
-
body { background-color: #fff; color: #333; }
|
2
|
-
|
3
|
-
body, p, ol, ul, td {
|
4
|
-
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
-
font-size: 13px;
|
6
|
-
line-height: 18px;
|
7
|
-
}
|
8
|
-
|
9
|
-
pre {
|
10
|
-
background-color: #eee;
|
11
|
-
padding: 10px;
|
12
|
-
font-size: 11px;
|
13
|
-
}
|
14
|
-
|
15
|
-
a { color: #000; }
|
16
|
-
a:visited { color: #666; }
|
17
|
-
a:hover { color: #fff; background-color:#000; }
|
18
|
-
|
19
|
-
div.field, div.actions {
|
20
|
-
margin-bottom: 10px;
|
21
|
-
}
|
22
|
-
|
23
|
-
#notice {
|
24
|
-
color: green;
|
25
|
-
}
|
26
|
-
|
27
|
-
.field_with_errors {
|
28
|
-
padding: 2px;
|
29
|
-
background-color: red;
|
30
|
-
display: table;
|
31
|
-
}
|
32
|
-
|
33
|
-
#error_explanation {
|
34
|
-
width: 450px;
|
35
|
-
border: 2px solid red;
|
36
|
-
padding: 7px;
|
37
|
-
padding-bottom: 0;
|
38
|
-
margin-bottom: 20px;
|
39
|
-
background-color: #f0f0f0;
|
40
|
-
}
|
41
|
-
|
42
|
-
#error_explanation h2 {
|
43
|
-
text-align: left;
|
44
|
-
font-weight: bold;
|
45
|
-
padding: 5px 5px 5px 15px;
|
46
|
-
font-size: 12px;
|
47
|
-
margin: -7px;
|
48
|
-
margin-bottom: 0px;
|
49
|
-
background-color: #c00;
|
50
|
-
color: #fff;
|
51
|
-
}
|
52
|
-
|
53
|
-
#error_explanation ul li {
|
54
|
-
font-size: 12px;
|
55
|
-
list-style: square;
|
56
|
-
}
|
Binary file
|
data/spec/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"full_name" "first_name" "last_name" "middle_name" "username" "email" "library_short_name" "user_group_name" "role_name" "language" "country" "address_1" "address_2" "zip_code_1" "zip_code_2" "telephone_number_1" "telephone_number_2" "fax_number_1" "fax_number_2" "birth_date" "note" "dummy"
|
2
|
-
"フルネーム" "名" "姓" "ミドルネーム" "ユーザ名" "メールアドレス" "所属館名" "所属グループ名" "権限" "言語名" "国名" "住所1" "住所2" "郵便番号1" "郵便番号2" "電話番号1" "電話番号2" "ファックス番号1" "ファックス番号2" "誕生日" "備考" "インポート省略"
|
3
|
-
"hogehoge" 1978
|
4
|
-
"田辺浩介" "tanabe" "tanabe@library.example.jp" "kamata" "User" "Administrator" "Japanese" "Japan" "東京都港区" "東京都港区" "108-8345" "108-8345" "03-xxxx-xxxx" "03-xxxx-xxxx" "03-xxxx-xxxx" "03-xxxx-xxxx" "1978-4-12" "備考"
|
5
|
-
"隆史" "原田" "ushi" "ushi" "ushi@slis.keio.ac.jp" "kamata" "Faculty" "Librarian" "English" "Japan" "備考"
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"full_name" "username" "email" "library_short_name" "user_group_name" "user_number" "note"
|
2
|
-
"日本語の名前" "tanabe" "tanabe@library.example.jp" "kamata" 100001
|
3
|
-
"kosuke" "kosuke" 100001 "user_number重複"
|
4
|
-
"tanabe" "tanabe" 100002 "username重複"
|
5
|
-
"tanabe2" "tanabe2" "kamata" 100002 "emailなし"
|
6
|
-
"tanabe" "tanabe3" 100003 "full_name重複"
|
7
|
-
"tanabe" "tanabe4" "tanabe@library.example.jp" 100004 "email重複"
|
8
|
-
"tanabe" "tanabe5" "user_numberなし"
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"full_name" "first_name" "last_name" "middle_name" "username" "email" "library_short_name" "user_group_name" "role_name" "language" "country" "address_1" "address_2" "zip_code_1" "zip_code_2" "telephone_number_1" "telephone_number_2" "fax_number_1" "fax_number_2" "birth_date" "required_role_name" "note"
|
2
|
-
"hogehoge"
|
3
|
-
"fugafuga" "fugafuga@example.jp" "Guest"
|
4
|
-
"�c�Ӎ_��" "tanabe" "tanabe@library.example.jp" "kamata" "User" "Administrator" "Japanese" "Japan" "�����s�`��" "�����s�`��" "108-8345" "108-8345" "03-xxxx-xxxx" "03-xxxx-xxxx" "03-xxxx-xxxx" "03-xxxx-xxxx" "1978-4-12" "User" "���l"
|
5
|
-
"���j" "���c" "ushi" "ushi" "ushi@slis.keio.ac.jp" "kamata" "Faculty" "Librarian" "English" "Japan" "Librarian" "���l"
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"full_name" "username" "email" "library_short_name" "user_group_name" "user_number" "note"
|
2
|
-
"日本語の名前" "tanabe" "tanabe@library.example.jp" "kamata" 100001
|
3
|
-
"kosuke" "kosuke" 100001 "user_number重複"
|
4
|
-
"tanabe" "tanabe" 100002 "username重複"
|
5
|
-
"tanabe2" "tanabe2" "kamata" 100002 "emailなし"
|
6
|
-
"tanabe" "tanabe3" 100003 "full_name重複"
|
7
|
-
"tanabe" "tanabe4" "tanabe@library.example.jp" 100004 "email重複"
|
8
|
-
"tanabe" "tanabe5" "user_numberなし"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|