enju_biblio 0.1.0.pre13 → 0.1.0.pre14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/app/models/manifestation.rb +1 -1
  2. data/app/models/patron.rb +3 -3
  3. data/app/models/resource_import_file.rb +2 -2
  4. data/app/views/items/_tooltip.html.erb +20 -0
  5. data/app/views/items/show.html.erb +1 -1
  6. data/app/views/manifestations/_show_holding.html.erb +9 -11
  7. data/app/views/series_statements/_periodical_facet.html.erb +2 -2
  8. data/lib/enju_biblio/version.rb +1 -1
  9. data/spec/controllers/patron_import_files_controller_spec.rb +321 -0
  10. data/spec/controllers/patron_import_results_controller_spec.rb +93 -0
  11. data/spec/dummy/db/test.sqlite3 +0 -0
  12. data/spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv +8 -0
  13. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  14. data/spec/dummy/solr/data/test/index/segments_hoi +0 -0
  15. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  16. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  17. data/spec/spec_helper.rb +3 -0
  18. metadata +65 -52
  19. data/app/views/items/_qtip.html.erb +0 -25
  20. data/spec/dummy/db/development.sqlite3 +0 -0
  21. data/spec/dummy/db/production.sqlite3 +0 -0
  22. data/spec/dummy/private/system/resource_imports/4/original/isbn_sample.txt +0 -3
  23. data/spec/dummy/private/system/resource_imports/4/original/item_delete_file.tsv +0 -11
  24. data/spec/dummy/private/system/resource_imports/4/original/item_update_file.tsv +0 -4
  25. data/spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample1.tsv +0 -19
  26. data/spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample2.tsv +0 -19
  27. data/spec/dummy/private/system/resource_imports/4/original/update_series_statement.tsv +0 -2
  28. data/spec/dummy/solr/data/test/index/segments_bf9 +0 -0
@@ -206,7 +206,7 @@ class Manifestation < ActiveRecord::Base
206
206
  validates :isbn, :uniqueness => true, :allow_blank => true, :unless => proc{|manifestation| manifestation.series_statement}
207
207
  validates :nbn, :uniqueness => true, :allow_blank => true
208
208
  validates :manifestation_identifier, :uniqueness => true, :allow_blank => true
209
- validates :pub_date, :format => {:with => /^\[{0,1}\d+([\/-]\d{0,2}){0,2}\]{0,1}$/}, :allow_blank => true
209
+ validates :pub_date, :format => {:with => /\A\[{0,1}\d+([\/-]\d{0,2}){0,2}\]{0,1}\z/}, :allow_blank => true
210
210
  validates :access_address, :url => true, :allow_blank => true, :length => {:maximum => 255}
211
211
  validate :check_isbn, :check_issn, :check_lccn, :unless => :during_import
212
212
  validates :issue_number, :numericality => {:greater_than => 0}, :allow_blank => true
@@ -42,9 +42,9 @@ class Patron < ActiveRecord::Base
42
42
  validates_associated :language, :patron_type, :country
43
43
  validates :full_name, :presence => true, :length => {:maximum => 255}
44
44
  #validates :user_id, :uniqueness => true, :allow_nil => true
45
- validates :birth_date, :format => {:with => /^\d+(-\d{0,2}){0,2}$/}, :allow_blank => true
46
- validates :death_date, :format => {:with => /^\d+(-\d{0,2}){0,2}$/}, :allow_blank => true
47
- validates :email, :format => {:with => /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i}, :allow_blank => true
45
+ validates :birth_date, :format => {:with => /\A\d+(-\d{0,2}){0,2}\z/}, :allow_blank => true
46
+ validates :death_date, :format => {:with => /\A\d+(-\d{0,2}){0,2}\z/}, :allow_blank => true
47
+ validates :email, :format => {:with => /\A([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})\z/i}, :allow_blank => true
48
48
  validate :check_birth_date
49
49
  before_validation :set_role_and_name, :on => :create
50
50
  before_save :set_date_of_birth, :set_date_of_death
@@ -70,7 +70,7 @@ class ResourceImportFile < ActiveRecord::Base
70
70
 
71
71
  field = rows.first
72
72
  if [field['isbn'], field['original_title']].reject{|field| field.to_s.strip == ""}.empty?
73
- raise "You should specify isbn or original_tile in the first line"
73
+ raise "You should specify isbn or original_title in the first line"
74
74
  end
75
75
 
76
76
  rows.each do |row|
@@ -361,7 +361,7 @@ class ResourceImportFile < ActiveRecord::Base
361
361
 
362
362
  private
363
363
  def open_import_file
364
- tempfile = Tempfile.new('patron_import_file')
364
+ tempfile = Tempfile.new('resource_import_file')
365
365
  if Setting.uploaded_file.storage == :s3
366
366
  uploaded_file_path = resource_import.expiring_url(10)
367
367
  else
@@ -0,0 +1,20 @@
1
+ <script>
2
+ $(function(){
3
+ $('a#shelf_item_<%=item.id%>').data(
4
+ 'powertip',
5
+ 'shelf:<%=item.shelf.name%>'
6
+ );
7
+ $('a#library_item_<%=item.id%>').data(
8
+ 'powertip',
9
+ 'library:<%=item.shelf.library.name%>'
10
+ );
11
+ $('a#shelf_item_<%=item.id%>').powerTip({
12
+ placement:'e',
13
+ mouseOnToPopup:true
14
+ });
15
+ $('a#library_item_<%=item.id%>').powerTip({
16
+ placement:'e',
17
+ mouseOnToPopup:true
18
+ });
19
+ });
20
+ </script>
@@ -157,5 +157,5 @@
157
157
  </div>
158
158
 
159
159
  <% if can? :update, @item %>
160
- <%= render 'qtip', :item => @item %>
160
+ <%= render 'tooltip', :item => @item %>
161
161
  <% end %>
@@ -42,20 +42,18 @@
42
42
  </tr>
43
43
  <% if can? :update, item %>
44
44
  <script>
45
- $(document).ready(function(){
46
- $('a#item_identifier_item_<%= item.id %>').qtip({
47
- position: {
48
- my: 'bottom left',
49
- at: 'top center'
50
- },
51
- content: 'item_identifier: <%= item.item_identifier %>',
52
- hide: {
53
- fixed: true
54
- }
45
+ $(function(){
46
+ $('a#item_identifier_item_<%= item.id %>').data(
47
+ 'powertip',
48
+ 'item_identifier: <%= item.item_identifier %>'
49
+ );
50
+ $('a#item_identifier_item_<%= item.id %>').powerTip({
51
+ placement: 'e',
52
+ mouseOnToPopup: true
55
53
  });
56
54
  });
57
55
  </script>
58
- <%= render 'items/qtip', :item => item %>
56
+ <%= render 'items/tooltip', :item => item %>
59
57
  <% end %>
60
58
  <%- end -%>
61
59
  </table>
@@ -4,12 +4,12 @@
4
4
  <% facet.value ? facet_periodical = true : facet_periodical = false %>
5
5
  <li>
6
6
  <%- if @periodical == facet_periodical -%><strong><%- end -%>
7
- <%= link_to localized_boolean(facet.value), url_for(params.merge(:page => nil, :periodical => facet.value.to_s, :view => nil)) -%>
7
+ <%= link_to localized_boolean(facet.value), url_for(params.merge(:page => nil, :periodical => facet.value.to_s, :view => nil, :only_path => true)) -%>
8
8
  (<%= facet.count -%>)
9
9
  <%- if @periodical == facet_periodical -%></strong><%- end -%>
10
10
  </li>
11
11
  <%- end -%>
12
12
  <%- unless @periodical.nil? -%>
13
- <li><%= link_to t('page.remove_this_facet'), params.merge(:periodical => nil, :page => nil, :view => nil) -%></li>
13
+ <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:periodical => nil, :page => nil, :view => nil, :only_path => true)) -%></li>
14
14
  <%- end -%>
15
15
  </ul>
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre13"
2
+ VERSION = "0.1.0.pre14"
3
3
  end
@@ -0,0 +1,321 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'spec_helper'
3
+
4
+ describe PatronImportFilesController do
5
+ fixtures :all
6
+
7
+ describe "GET index" do
8
+ describe "When logged in as Administrator" do
9
+ before(:each) do
10
+ sign_in FactoryGirl.create(:admin)
11
+ end
12
+
13
+ it "assigns all patron_import_files as @patron_import_files" do
14
+ get :index
15
+ assigns(:patron_import_files).should eq(PatronImportFile.page(1))
16
+ end
17
+ end
18
+
19
+ describe "When logged in as Librarian" do
20
+ before(:each) do
21
+ sign_in FactoryGirl.create(:librarian)
22
+ end
23
+
24
+ it "assigns all patron_import_files as @patron_import_files" do
25
+ get :index
26
+ assigns(:patron_import_files).should eq(PatronImportFile.page(1))
27
+ end
28
+ end
29
+
30
+ describe "When logged in as User" do
31
+ before(:each) do
32
+ sign_in FactoryGirl.create(:user)
33
+ end
34
+
35
+ it "assigns empty as @patron_import_files" do
36
+ get :index
37
+ assigns(:patron_import_files).should be_empty
38
+ response.should be_forbidden
39
+ end
40
+ end
41
+
42
+ describe "When not logged in" do
43
+ it "assigns empty as @patron_import_files" do
44
+ get :index
45
+ assigns(:patron_import_files).should be_empty
46
+ response.should redirect_to(new_user_session_url)
47
+ end
48
+ end
49
+ end
50
+
51
+ describe "GET show" do
52
+ describe "When logged in as Administrator" do
53
+ before(:each) do
54
+ sign_in FactoryGirl.create(:admin)
55
+ end
56
+
57
+ it "assigns the requested patron_import_file as @patron_import_file" do
58
+ get :show, :id => 1
59
+ assigns(:patron_import_file).should eq(PatronImportFile.find(1))
60
+ end
61
+ end
62
+
63
+ describe "When logged in as Librarian" do
64
+ before(:each) do
65
+ sign_in FactoryGirl.create(:librarian)
66
+ end
67
+
68
+ it "assigns the requested patron_import_file as @patron_import_file" do
69
+ get :show, :id => 1
70
+ assigns(:patron_import_file).should eq(PatronImportFile.find(1))
71
+ end
72
+ end
73
+
74
+ describe "When logged in as User" do
75
+ before(:each) do
76
+ sign_in FactoryGirl.create(:user)
77
+ end
78
+
79
+ it "assigns the requested patron_import_file as @patron_import_file" do
80
+ get :show, :id => 1
81
+ assigns(:patron_import_file).should eq(PatronImportFile.find(1))
82
+ end
83
+ end
84
+
85
+ describe "When not logged in" do
86
+ it "assigns the requested patron_import_file as @patron_import_file" do
87
+ get :show, :id => 1
88
+ assigns(:patron_import_file).should eq(PatronImportFile.find(1))
89
+ response.should redirect_to(new_user_session_url)
90
+ end
91
+ end
92
+ end
93
+
94
+ describe "GET new" do
95
+ describe "When logged in as Administrator" do
96
+ before(:each) do
97
+ sign_in FactoryGirl.create(:admin)
98
+ end
99
+
100
+ it "assigns the requested patron_import_file as @patron_import_file" do
101
+ get :new
102
+ assigns(:patron_import_file).should_not be_valid
103
+ response.should be_success
104
+ end
105
+ end
106
+
107
+ describe "When logged in as Librarian" do
108
+ before(:each) do
109
+ sign_in FactoryGirl.create(:librarian)
110
+ end
111
+
112
+ it "should not assign the requested patron_import_file as @patron_import_file" do
113
+ get :new
114
+ assigns(:patron_import_file).should_not be_valid
115
+ response.should be_success
116
+ end
117
+ end
118
+
119
+ describe "When logged in as User" do
120
+ before(:each) do
121
+ sign_in FactoryGirl.create(:user)
122
+ end
123
+
124
+ it "should not assign the requested patron_import_file as @patron_import_file" do
125
+ get :new
126
+ assigns(:patron_import_file).should_not be_valid
127
+ response.should be_forbidden
128
+ end
129
+ end
130
+
131
+ describe "When not logged in" do
132
+ it "should not assign the requested patron_import_file as @patron_import_file" do
133
+ get :new
134
+ assigns(:patron_import_file).should_not be_valid
135
+ response.should redirect_to(new_user_session_url)
136
+ end
137
+ end
138
+ end
139
+
140
+ describe "POST create" do
141
+ describe "When logged in as Librarian" do
142
+ before(:each) do
143
+ @user = FactoryGirl.create(:librarian)
144
+ sign_in @user
145
+ end
146
+
147
+ it "should create patron_import_file" do
148
+ post :create, :patron_import_file => {:patron_import => fixture_file_upload("/../../examples/patron_import_file_sample1.tsv", 'text/csv') }
149
+ assigns(:patron_import_file).should be_valid
150
+ assigns(:patron_import_file).user.username.should eq @user.username
151
+ response.should redirect_to patron_import_file_url(assigns(:patron_import_file))
152
+ end
153
+
154
+ it "should import user" do
155
+ old_patrons_count = Patron.count
156
+ post :create, :patron_import_file => {:patron_import => fixture_file_upload("/../../examples/patron_import_file_sample2.tsv", 'text/csv') }
157
+ assigns(:patron_import_file).import_start
158
+ Patron.count.should eq old_patrons_count + 7
159
+ response.should redirect_to patron_import_file_url(assigns(:patron_import_file))
160
+ end
161
+ end
162
+
163
+ describe "When logged in as User" do
164
+ before(:each) do
165
+ @user = FactoryGirl.create(:user)
166
+ sign_in @user
167
+ end
168
+
169
+ it "should be forbidden" do
170
+ post :create, :patron_import_file => {:patron_import => fixture_file_upload("/../..//examples/patron_import_file_sample1.tsv", 'text/csv') }
171
+ response.should be_forbidden
172
+ end
173
+ end
174
+
175
+ describe "When not logged in" do
176
+ it "should be redirect to new session url" do
177
+ post :create, :patron_import_file => {:patron_import => fixture_file_upload("/../../examples/patron_import_file_sample1.tsv", 'text/csv') }
178
+ response.should redirect_to new_user_session_url
179
+ end
180
+ end
181
+ end
182
+
183
+ describe "GET edit" do
184
+ describe "When logged in as Administrator" do
185
+ before(:each) do
186
+ sign_in FactoryGirl.create(:admin)
187
+ end
188
+
189
+ it "assigns the requested patron_import_file as @patron_import_file" do
190
+ patron_import_file = patron_import_files(:patron_import_file_00001)
191
+ get :edit, :id => patron_import_file.id
192
+ assigns(:patron_import_file).should eq(patron_import_file)
193
+ end
194
+ end
195
+
196
+ describe "When logged in as Librarian" do
197
+ before(:each) do
198
+ sign_in FactoryGirl.create(:librarian)
199
+ end
200
+
201
+ it "assigns the requested patron_import_file as @patron_import_file" do
202
+ patron_import_file = patron_import_files(:patron_import_file_00001)
203
+ get :edit, :id => patron_import_file.id
204
+ assigns(:patron_import_file).should eq(patron_import_file)
205
+ end
206
+ end
207
+
208
+ describe "When logged in as User" do
209
+ before(:each) do
210
+ sign_in FactoryGirl.create(:user)
211
+ end
212
+
213
+ it "assigns the requested patron_import_file as @patron_import_file" do
214
+ patron_import_file = patron_import_files(:patron_import_file_00001)
215
+ get :edit, :id => patron_import_file.id
216
+ response.should be_forbidden
217
+ end
218
+ end
219
+
220
+ describe "When not logged in" do
221
+ it "should not assign the requested patron_import_file as @patron_import_file" do
222
+ patron_import_file = patron_import_files(:patron_import_file_00001)
223
+ get :edit, :id => patron_import_file.id
224
+ response.should redirect_to(new_user_session_url)
225
+ end
226
+ end
227
+ end
228
+
229
+ describe "PUT update" do
230
+ describe "When logged in as Librarian" do
231
+ before(:each) do
232
+ sign_in FactoryGirl.create(:librarian)
233
+ end
234
+
235
+ it "should update patron_import_file" do
236
+ put :update, :id => patron_import_files(:patron_import_file_00003).id, :patron_import_file => { }
237
+ response.should redirect_to patron_import_file_url(assigns(:patron_import_file))
238
+ end
239
+ end
240
+
241
+ describe "When logged in as User" do
242
+ before(:each) do
243
+ sign_in FactoryGirl.create(:user)
244
+ end
245
+
246
+ it "should not update patron_import_file" do
247
+ put :update, :id => patron_import_files(:patron_import_file_00003).id, :patron_import_file => { }
248
+ response.should be_forbidden
249
+ end
250
+ end
251
+
252
+ describe "When not logged in" do
253
+ it "should not update patron_import_file" do
254
+ put :update, :id => patron_import_files(:patron_import_file_00003).id, :patron_import_file => { }
255
+ response.should redirect_to new_user_session_url
256
+ end
257
+ end
258
+ end
259
+
260
+ describe "DELETE destroy" do
261
+ before(:each) do
262
+ @patron_import_file = patron_import_files(:patron_import_file_00001)
263
+ end
264
+
265
+ describe "When logged in as Administrator" do
266
+ before(:each) do
267
+ sign_in FactoryGirl.create(:admin)
268
+ end
269
+
270
+ it "destroys the requested patron_import_file" do
271
+ delete :destroy, :id => @patron_import_file.id
272
+ end
273
+
274
+ it "redirects to the patron_import_files list" do
275
+ delete :destroy, :id => @patron_import_file.id
276
+ response.should redirect_to(patron_import_files_url)
277
+ end
278
+ end
279
+
280
+ describe "When logged in as Librarian" do
281
+ before(:each) do
282
+ sign_in FactoryGirl.create(:librarian)
283
+ end
284
+
285
+ it "destroys the requested patron_import_file" do
286
+ delete :destroy, :id => @patron_import_file.id
287
+ end
288
+
289
+ it "redirects to the patron_import_files list" do
290
+ delete :destroy, :id => @patron_import_file.id
291
+ response.should redirect_to(patron_import_files_url)
292
+ end
293
+ end
294
+
295
+ describe "When logged in as User" do
296
+ before(:each) do
297
+ sign_in FactoryGirl.create(:user)
298
+ end
299
+
300
+ it "destroys the requested patron_import_file" do
301
+ delete :destroy, :id => @patron_import_file.id
302
+ end
303
+
304
+ it "should be forbidden" do
305
+ delete :destroy, :id => @patron_import_file.id
306
+ response.should be_forbidden
307
+ end
308
+ end
309
+
310
+ describe "When not logged in" do
311
+ it "destroys the requested patron_import_file" do
312
+ delete :destroy, :id => @patron_import_file.id
313
+ end
314
+
315
+ it "should be forbidden" do
316
+ delete :destroy, :id => @patron_import_file.id
317
+ response.should redirect_to(new_user_session_url)
318
+ end
319
+ end
320
+ end
321
+ end
@@ -0,0 +1,93 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'spec_helper'
3
+
4
+ describe PatronImportResultsController do
5
+ fixtures :all
6
+
7
+ describe "GET index" do
8
+ describe "When logged in as Administrator" do
9
+ before(:each) do
10
+ sign_in FactoryGirl.create(:admin)
11
+ end
12
+
13
+ it "assigns all patron_import_results as @patron_import_results" do
14
+ get :index
15
+ assigns(:patron_import_results).should eq(PatronImportResult.page(1))
16
+ end
17
+ end
18
+
19
+ describe "When logged in as Librarian" do
20
+ before(:each) do
21
+ sign_in FactoryGirl.create(:librarian)
22
+ end
23
+
24
+ it "assigns all patron_import_results as @patron_import_results" do
25
+ get :index
26
+ assigns(:patron_import_results).should eq(PatronImportResult.page(1))
27
+ end
28
+ end
29
+
30
+ describe "When logged in as User" do
31
+ before(:each) do
32
+ sign_in FactoryGirl.create(:user)
33
+ end
34
+
35
+ it "assigns empty as @patron_import_results" do
36
+ get :index
37
+ assigns(:patron_import_results).should be_empty
38
+ response.should be_forbidden
39
+ end
40
+ end
41
+
42
+ describe "When not logged in" do
43
+ it "assigns empty as @patron_import_results" do
44
+ get :index
45
+ assigns(:patron_import_results).should be_empty
46
+ response.should redirect_to(new_user_session_url)
47
+ end
48
+ end
49
+ end
50
+
51
+ describe "GET show" do
52
+ describe "When logged in as Administrator" do
53
+ before(:each) do
54
+ sign_in FactoryGirl.create(:admin)
55
+ end
56
+
57
+ it "assigns the requested patron_import_result as @patron_import_result" do
58
+ get :show, :id => 1
59
+ assigns(:patron_import_result).should eq(PatronImportResult.find(1))
60
+ end
61
+ end
62
+
63
+ describe "When logged in as Librarian" do
64
+ before(:each) do
65
+ sign_in FactoryGirl.create(:librarian)
66
+ end
67
+
68
+ it "assigns the requested patron_import_result as @patron_import_result" do
69
+ get :show, :id => 1
70
+ assigns(:patron_import_result).should eq(PatronImportResult.find(1))
71
+ end
72
+ end
73
+
74
+ describe "When logged in as User" do
75
+ before(:each) do
76
+ sign_in FactoryGirl.create(:user)
77
+ end
78
+
79
+ it "assigns the requested patron_import_result as @patron_import_result" do
80
+ get :show, :id => 1
81
+ assigns(:patron_import_result).should eq(PatronImportResult.find(1))
82
+ end
83
+ end
84
+
85
+ describe "When not logged in" do
86
+ it "assigns the requested patron_import_result as @patron_import_result" do
87
+ get :show, :id => 1
88
+ assigns(:patron_import_result).should eq(PatronImportResult.find(1))
89
+ response.should redirect_to(new_user_session_url)
90
+ end
91
+ end
92
+ end
93
+ end
Binary file
@@ -0,0 +1,8 @@
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,3 +1,6 @@
1
+ require 'simplecov'
2
+ SimpleCov.start 'rails'
3
+
1
4
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
5
  ENV["RAILS_ENV"] ||= 'test'
3
6
  require File.expand_path("../../spec/dummy/config/environment", __FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre13
4
+ version: 0.1.0.pre14
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-10 00:00:00.000000000 Z
12
+ date: 2013-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: '3.4'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: '3.4'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: paperclip-meta
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -210,7 +210,7 @@ dependencies:
210
210
  requirements:
211
211
  - - ~>
212
212
  - !ruby/object:Gem::Version
213
- version: 0.1.1.pre
213
+ version: 0.1.1.pre2
214
214
  type: :runtime
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ dependencies:
218
218
  requirements:
219
219
  - - ~>
220
220
  - !ruby/object:Gem::Version
221
- version: 0.1.1.pre
221
+ version: 0.1.1.pre2
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: library_stdnums
224
224
  requirement: !ruby/object:Gem::Requirement
@@ -354,7 +354,7 @@ dependencies:
354
354
  requirements:
355
355
  - - ~>
356
356
  - !ruby/object:Gem::Version
357
- version: 2.0.0.pre.120925
357
+ version: 2.0.0.pre.130115
358
358
  type: :development
359
359
  prerelease: false
360
360
  version_requirements: !ruby/object:Gem::Requirement
@@ -362,7 +362,7 @@ dependencies:
362
362
  requirements:
363
363
  - - ~>
364
364
  - !ruby/object:Gem::Version
365
- version: 2.0.0.pre.120925
365
+ version: 2.0.0.pre.130115
366
366
  - !ruby/object:Gem::Dependency
367
367
  name: enju_library
368
368
  requirement: !ruby/object:Gem::Requirement
@@ -370,7 +370,7 @@ dependencies:
370
370
  requirements:
371
371
  - - ~>
372
372
  - !ruby/object:Gem::Version
373
- version: 0.1.0.pre5
373
+ version: 0.1.0.pre6
374
374
  type: :development
375
375
  prerelease: false
376
376
  version_requirements: !ruby/object:Gem::Requirement
@@ -378,7 +378,7 @@ dependencies:
378
378
  requirements:
379
379
  - - ~>
380
380
  - !ruby/object:Gem::Version
381
- version: 0.1.0.pre5
381
+ version: 0.1.0.pre6
382
382
  - !ruby/object:Gem::Dependency
383
383
  name: enju_inventory
384
384
  requirement: !ruby/object:Gem::Requirement
@@ -386,7 +386,7 @@ dependencies:
386
386
  requirements:
387
387
  - - ~>
388
388
  - !ruby/object:Gem::Version
389
- version: 0.1.11.pre4
389
+ version: 0.1.11.pre5
390
390
  type: :development
391
391
  prerelease: false
392
392
  version_requirements: !ruby/object:Gem::Requirement
@@ -394,7 +394,7 @@ dependencies:
394
394
  requirements:
395
395
  - - ~>
396
396
  - !ruby/object:Gem::Version
397
- version: 0.1.11.pre4
397
+ version: 0.1.11.pre5
398
398
  - !ruby/object:Gem::Dependency
399
399
  name: enju_bookmark
400
400
  requirement: !ruby/object:Gem::Requirement
@@ -402,7 +402,7 @@ dependencies:
402
402
  requirements:
403
403
  - - ~>
404
404
  - !ruby/object:Gem::Version
405
- version: 0.1.2.pre4
405
+ version: 0.1.2.pre7
406
406
  type: :development
407
407
  prerelease: false
408
408
  version_requirements: !ruby/object:Gem::Requirement
@@ -410,7 +410,7 @@ dependencies:
410
410
  requirements:
411
411
  - - ~>
412
412
  - !ruby/object:Gem::Version
413
- version: 0.1.2.pre4
413
+ version: 0.1.2.pre7
414
414
  - !ruby/object:Gem::Dependency
415
415
  name: enju_event
416
416
  requirement: !ruby/object:Gem::Requirement
@@ -418,7 +418,7 @@ dependencies:
418
418
  requirements:
419
419
  - - ~>
420
420
  - !ruby/object:Gem::Version
421
- version: 0.1.17.pre4
421
+ version: 0.1.17.pre6
422
422
  type: :development
423
423
  prerelease: false
424
424
  version_requirements: !ruby/object:Gem::Requirement
@@ -426,23 +426,23 @@ dependencies:
426
426
  requirements:
427
427
  - - ~>
428
428
  - !ruby/object:Gem::Version
429
- version: 0.1.17.pre4
429
+ version: 0.1.17.pre6
430
430
  - !ruby/object:Gem::Dependency
431
431
  name: enju_manifestation_viewer
432
432
  requirement: !ruby/object:Gem::Requirement
433
433
  none: false
434
434
  requirements:
435
- - - ! '>='
435
+ - - ~>
436
436
  - !ruby/object:Gem::Version
437
- version: '0'
437
+ version: 0.1.0.pre3
438
438
  type: :development
439
439
  prerelease: false
440
440
  version_requirements: !ruby/object:Gem::Requirement
441
441
  none: false
442
442
  requirements:
443
- - - ! '>='
443
+ - - ~>
444
444
  - !ruby/object:Gem::Version
445
- version: '0'
445
+ version: 0.1.0.pre3
446
446
  - !ruby/object:Gem::Dependency
447
447
  name: enju_book_jacket
448
448
  requirement: !ruby/object:Gem::Requirement
@@ -450,7 +450,7 @@ dependencies:
450
450
  requirements:
451
451
  - - ~>
452
452
  - !ruby/object:Gem::Version
453
- version: 0.1.0.pre2
453
+ version: 0.1.0.pre3
454
454
  type: :development
455
455
  prerelease: false
456
456
  version_requirements: !ruby/object:Gem::Requirement
@@ -458,7 +458,7 @@ dependencies:
458
458
  requirements:
459
459
  - - ~>
460
460
  - !ruby/object:Gem::Version
461
- version: 0.1.0.pre2
461
+ version: 0.1.0.pre3
462
462
  - !ruby/object:Gem::Dependency
463
463
  name: enju_export
464
464
  requirement: !ruby/object:Gem::Requirement
@@ -466,7 +466,7 @@ dependencies:
466
466
  requirements:
467
467
  - - ~>
468
468
  - !ruby/object:Gem::Version
469
- version: 0.1.1.pre
469
+ version: 0.1.1.pre2
470
470
  type: :development
471
471
  prerelease: false
472
472
  version_requirements: !ruby/object:Gem::Requirement
@@ -474,7 +474,7 @@ dependencies:
474
474
  requirements:
475
475
  - - ~>
476
476
  - !ruby/object:Gem::Version
477
- version: 0.1.1.pre
477
+ version: 0.1.1.pre2
478
478
  - !ruby/object:Gem::Dependency
479
479
  name: enju_circulation
480
480
  requirement: !ruby/object:Gem::Requirement
@@ -482,7 +482,7 @@ dependencies:
482
482
  requirements:
483
483
  - - ~>
484
484
  - !ruby/object:Gem::Version
485
- version: 0.1.0.pre8
485
+ version: 0.1.0.pre10
486
486
  type: :development
487
487
  prerelease: false
488
488
  version_requirements: !ruby/object:Gem::Requirement
@@ -490,7 +490,7 @@ dependencies:
490
490
  requirements:
491
491
  - - ~>
492
492
  - !ruby/object:Gem::Version
493
- version: 0.1.0.pre8
493
+ version: 0.1.0.pre10
494
494
  - !ruby/object:Gem::Dependency
495
495
  name: enju_oai
496
496
  requirement: !ruby/object:Gem::Requirement
@@ -498,7 +498,7 @@ dependencies:
498
498
  requirements:
499
499
  - - ~>
500
500
  - !ruby/object:Gem::Version
501
- version: 0.1.0.pre4
501
+ version: 0.1.0.pre6
502
502
  type: :development
503
503
  prerelease: false
504
504
  version_requirements: !ruby/object:Gem::Requirement
@@ -506,7 +506,7 @@ dependencies:
506
506
  requirements:
507
507
  - - ~>
508
508
  - !ruby/object:Gem::Version
509
- version: 0.1.0.pre4
509
+ version: 0.1.0.pre6
510
510
  - !ruby/object:Gem::Dependency
511
511
  name: enju_ndl
512
512
  requirement: !ruby/object:Gem::Requirement
@@ -514,7 +514,7 @@ dependencies:
514
514
  requirements:
515
515
  - - ~>
516
516
  - !ruby/object:Gem::Version
517
- version: 0.1.0.pre5
517
+ version: 0.1.0.pre8
518
518
  type: :development
519
519
  prerelease: false
520
520
  version_requirements: !ruby/object:Gem::Requirement
@@ -522,7 +522,23 @@ dependencies:
522
522
  requirements:
523
523
  - - ~>
524
524
  - !ruby/object:Gem::Version
525
- version: 0.1.0.pre5
525
+ version: 0.1.0.pre8
526
+ - !ruby/object:Gem::Dependency
527
+ name: simplecov
528
+ requirement: !ruby/object:Gem::Requirement
529
+ none: false
530
+ requirements:
531
+ - - ! '>='
532
+ - !ruby/object:Gem::Version
533
+ version: '0'
534
+ type: :development
535
+ prerelease: false
536
+ version_requirements: !ruby/object:Gem::Requirement
537
+ none: false
538
+ requirements:
539
+ - - ! '>='
540
+ - !ruby/object:Gem::Version
541
+ version: '0'
526
542
  description: Bibliographic record module for Next-L Enju
527
543
  email:
528
544
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -678,9 +694,9 @@ files:
678
694
  - app/views/import_requests/show.html.erb
679
695
  - app/views/items/_form.html.erb
680
696
  - app/views/items/_observe_field.html.erb
681
- - app/views/items/_qtip.html.erb
682
697
  - app/views/items/_shelf_picture.html.erb
683
698
  - app/views/items/_shelf_picture.mobile.erb
699
+ - app/views/items/_tooltip.html.erb
684
700
  - app/views/items/edit.html.erb
685
701
  - app/views/items/index.csv.erb
686
702
  - app/views/items/index.html.erb
@@ -1016,6 +1032,8 @@ files:
1016
1032
  - spec/controllers/manifestations_controller_spec.rb
1017
1033
  - spec/controllers/medium_of_performances_controller_spec.rb
1018
1034
  - spec/controllers/owns_controller_spec.rb
1035
+ - spec/controllers/patron_import_files_controller_spec.rb
1036
+ - spec/controllers/patron_import_results_controller_spec.rb
1019
1037
  - spec/controllers/patron_relationship_types_controller_spec.rb
1020
1038
  - spec/controllers/patron_relationships_controller_spec.rb
1021
1039
  - spec/controllers/patron_types_controller_spec.rb
@@ -1070,7 +1088,6 @@ files:
1070
1088
  - spec/dummy/config/locales/ja.yml
1071
1089
  - spec/dummy/config/routes.rb
1072
1090
  - spec/dummy/config.ru
1073
- - spec/dummy/db/development.sqlite3
1074
1091
  - spec/dummy/db/migrate/032_create_checkins.rb
1075
1092
  - spec/dummy/db/migrate/033_create_checkouts.rb
1076
1093
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1141,7 +1158,6 @@ files:
1141
1158
  - spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
1142
1159
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
1143
1160
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
1144
- - spec/dummy/db/production.sqlite3
1145
1161
  - spec/dummy/db/schema.rb
1146
1162
  - spec/dummy/db/test.sqlite3
1147
1163
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1153,6 +1169,7 @@ files:
1153
1169
  - spec/dummy/lib/plugins.rb
1154
1170
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
1155
1171
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
1172
+ - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
1156
1173
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample3.tsv
1157
1174
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_update_file.tsv
1158
1175
  - spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif
@@ -1164,12 +1181,6 @@ files:
1164
1181
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample1.tsv
1165
1182
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample2.tsv
1166
1183
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/update_series_statement.tsv
1167
- - spec/dummy/private/system/resource_imports/4/original/isbn_sample.txt
1168
- - spec/dummy/private/system/resource_imports/4/original/item_delete_file.tsv
1169
- - spec/dummy/private/system/resource_imports/4/original/item_update_file.tsv
1170
- - spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample1.tsv
1171
- - spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample2.tsv
1172
- - spec/dummy/private/system/resource_imports/4/original/update_series_statement.tsv
1173
1184
  - spec/dummy/public/404.html
1174
1185
  - spec/dummy/public/422.html
1175
1186
  - spec/dummy/public/500.html
@@ -1191,9 +1202,11 @@ files:
1191
1202
  - spec/dummy/solr/conf/stopwords.txt
1192
1203
  - spec/dummy/solr/conf/synonyms.txt
1193
1204
  - spec/dummy/solr/data/test/index/segments.gen
1194
- - spec/dummy/solr/data/test/index/segments_bf9
1205
+ - spec/dummy/solr/data/test/index/segments_hoi
1195
1206
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1196
1207
  - spec/dummy/solr/data/test/spellchecker/segments_1
1208
+ - spec/dummy/tmp/cache/4F7/F90/default_role
1209
+ - spec/dummy/tmp/cache/6E4/420/search_engine_all
1197
1210
  - spec/factories/accepts.rb
1198
1211
  - spec/factories/basket.rb
1199
1212
  - spec/factories/carrier_type.rb
@@ -1408,7 +1421,7 @@ files:
1408
1421
  - spec/views/series_statement_relationships/index.html.erb_spec.rb
1409
1422
  - spec/views/series_statement_relationships/new.html.erb_spec.rb
1410
1423
  - spec/views/series_statement_relationships/show.html.erb_spec.rb
1411
- homepage: https://github.com/nabeta/enju_biblio
1424
+ homepage: https://github.com/next-l/enju_biblio
1412
1425
  licenses: []
1413
1426
  post_install_message:
1414
1427
  rdoc_options: []
@@ -1420,6 +1433,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1420
1433
  - - ! '>='
1421
1434
  - !ruby/object:Gem::Version
1422
1435
  version: '0'
1436
+ segments:
1437
+ - 0
1438
+ hash: 4212379406218920042
1423
1439
  required_rubygems_version: !ruby/object:Gem::Requirement
1424
1440
  none: false
1425
1441
  requirements:
@@ -1455,6 +1471,8 @@ test_files:
1455
1471
  - spec/controllers/manifestations_controller_spec.rb
1456
1472
  - spec/controllers/medium_of_performances_controller_spec.rb
1457
1473
  - spec/controllers/owns_controller_spec.rb
1474
+ - spec/controllers/patron_import_files_controller_spec.rb
1475
+ - spec/controllers/patron_import_results_controller_spec.rb
1458
1476
  - spec/controllers/patron_relationship_types_controller_spec.rb
1459
1477
  - spec/controllers/patron_relationships_controller_spec.rb
1460
1478
  - spec/controllers/patron_types_controller_spec.rb
@@ -1509,7 +1527,6 @@ test_files:
1509
1527
  - spec/dummy/config/locales/ja.yml
1510
1528
  - spec/dummy/config/routes.rb
1511
1529
  - spec/dummy/config.ru
1512
- - spec/dummy/db/development.sqlite3
1513
1530
  - spec/dummy/db/migrate/032_create_checkins.rb
1514
1531
  - spec/dummy/db/migrate/033_create_checkouts.rb
1515
1532
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1580,7 +1597,6 @@ test_files:
1580
1597
  - spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
1581
1598
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
1582
1599
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
1583
- - spec/dummy/db/production.sqlite3
1584
1600
  - spec/dummy/db/schema.rb
1585
1601
  - spec/dummy/db/test.sqlite3
1586
1602
  - spec/dummy/lib/plugins/ext/event-calendar.rb
@@ -1592,6 +1608,7 @@ test_files:
1592
1608
  - spec/dummy/lib/plugins.rb
1593
1609
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_delete_file.tsv
1594
1610
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample1.tsv
1611
+ - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample2.tsv
1595
1612
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_import_file_sample3.tsv
1596
1613
  - spec/dummy/private/system/patron_import_files/patron_imports/000/000/004/original/patron_update_file.tsv
1597
1614
  - spec/dummy/private/system/picture_files/pictures/000/000/005/medium/spinner.gif
@@ -1603,12 +1620,6 @@ test_files:
1603
1620
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample1.tsv
1604
1621
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample2.tsv
1605
1622
  - spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/update_series_statement.tsv
1606
- - spec/dummy/private/system/resource_imports/4/original/isbn_sample.txt
1607
- - spec/dummy/private/system/resource_imports/4/original/item_delete_file.tsv
1608
- - spec/dummy/private/system/resource_imports/4/original/item_update_file.tsv
1609
- - spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample1.tsv
1610
- - spec/dummy/private/system/resource_imports/4/original/resource_import_file_sample2.tsv
1611
- - spec/dummy/private/system/resource_imports/4/original/update_series_statement.tsv
1612
1623
  - spec/dummy/public/404.html
1613
1624
  - spec/dummy/public/422.html
1614
1625
  - spec/dummy/public/500.html
@@ -1630,9 +1641,11 @@ test_files:
1630
1641
  - spec/dummy/solr/conf/stopwords.txt
1631
1642
  - spec/dummy/solr/conf/synonyms.txt
1632
1643
  - spec/dummy/solr/data/test/index/segments.gen
1633
- - spec/dummy/solr/data/test/index/segments_bf9
1644
+ - spec/dummy/solr/data/test/index/segments_hoi
1634
1645
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1635
1646
  - spec/dummy/solr/data/test/spellchecker/segments_1
1647
+ - spec/dummy/tmp/cache/4F7/F90/default_role
1648
+ - spec/dummy/tmp/cache/6E4/420/search_engine_all
1636
1649
  - spec/factories/accepts.rb
1637
1650
  - spec/factories/basket.rb
1638
1651
  - spec/factories/carrier_type.rb
@@ -1,25 +0,0 @@
1
- <script>
2
- $(document).ready(function(){
3
- $('a#shelf_item_<%= item.id %>').qtip({
4
- position: {
5
- my: 'bottom left',
6
- at: 'top center'
7
- },
8
- content: 'shelf: <%= item.shelf.name %>',
9
- hide: {
10
- fixed: true
11
- }
12
- });
13
- $('a#library_item_<%= item.id %>').qtip({
14
- position: {
15
- my: 'bottom left',
16
- at: 'top center'
17
- },
18
- content: 'library: <%= item.shelf.library.name %>',
19
- hide: {
20
- fixed: true
21
- }
22
- });
23
- });
24
- </script>
25
-
File without changes
@@ -1,3 +0,0 @@
1
- isbn library_short_name
2
- invalid
3
- 9784873113647
@@ -1,11 +0,0 @@
1
- "item_identifier"
2
- "00001"
3
- "00002"
4
- "00003"
5
- "00004"
6
- "00005"
7
- "00006"
8
- "00007"
9
- "00008"
10
- "00009"
11
- "00010"
@@ -1,4 +0,0 @@
1
- item_identifier original_title creator publisher subject acquired_at
2
- "00001" たなべ// こうすけ test1 test1// test2
3
- "00002" test2
4
- "00003" テスト3 2012-01-01
@@ -1,19 +0,0 @@
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
- 資料ID タイトル 注記 タイトルよみ 代替タイトル 定期刊行物フラグ シリーズ番号 シリーズタイトル シリーズタイトルよみ 著者 著者よみ 出版者 出版者よみ 出版日 巻 版 isbn issn 販売価格 受入価格 高さ 書架名 個別資料ID nbn lccn 件名 インポート省略
3
- test1 ○ identifierなし、item_identifierなし test てすと test2 invalid
4
- test2 ○ identifierなし、item_identifierあり test||author//test1||illustrator 2001 10101 Public fund Example store
5
- 101 test3 × ダミー test test2 Public fund Example store 適当な値
6
- 101 test3 ○ identifierあり、item_identifierなし 主シリーズ//副シリーズ//1 しゅしりーず//ふくしりーず//いち test test2
7
- 102 test4 ○ identifierあり、item_identifierあり test1 test 2001-1 10102
8
- 101 “test 5” △ identifier重複、item_identifier非重複 test1||author//test2||illustrator てすと1//てすと2 test 10103 Example store
9
- 102 test6 × identifier重複、item_identifier重複 test test3 10101
10
- test7 ○ ISBN不正、タイトルあり、所蔵情報あり 2001-1-1 9000000000000 first_shelf 10104 Public fund
11
- × ISBN不正、タイトルなし 22222222 10105
12
- test8 ○ ISBNなし、所蔵情報あり test test4//test5 てすと4//てすと5 1000 0 first_shelf 11111
13
- test9 × item_identifier重複 11111
14
- ○ ISBN重複(シリーズ情報あり)、item_identifierなし 4798002062
15
- △ ISBN重複(シリーズ情報なし)、item_identifier非重複 4798002062 11112
16
- × ISBN重複、item_identifier重複 4798002062 11111
17
- × ISBN重複(13桁)、item_identifierなし 978-4798002064
18
- 103 "ダブル""クォート""を含む資料" ○ ダブルクォートを含む資料
19
- 104 test10 ○ TSV中にタイトルがあれば他の項目もTSVファイル優先 test3 test4 4797327030
@@ -1,19 +0,0 @@
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
- ����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
- test1 �� identifier�Ȃ��Aitem_identifier�Ȃ� test �Ă��� test2 invalid
4
- test2 �� identifier�Ȃ��Aitem_identifier���� test||author//test1||illustrator 2001 10101 Public fund Example store
5
- 101 test3 �~ �_�~�[ test test2 Public fund Example store �K���Ȓl
6
- 101 test3 �� identifier����Aitem_identifier�Ȃ� ��V���[�Y//���V���[�Y//1 ���サ��[��//�ӂ�����[��//���� test test2
7
- 102 test4 �� identifier����Aitem_identifier���� test1 test 2001-1 10102
8
- 101 �gtest 5�h �� identifier�d���Aitem_identifier��d�� test1||author//test2||illustrator ����1//����2 test 10103 Example store
9
- 102 test6 �~ identifier�d���Aitem_identifier�d�� test test3 10101
10
- test7 �� ISBN�s���A�^�C�g������A������񂠂� 2001-1-1 9000000000000 first_shelf 10104 Public fund
11
- �~ ISBN�s���A�^�C�g���Ȃ� 22222222 10105
12
- test8 �� ISBN�Ȃ��A������񂠂� test test4//test5 �Ă���4//�Ă���5 1000 0 first_shelf 11111
13
- test9 �~ item_identifier�d�� 11111
14
- �� ISBN�d���i�V���[�Y��񂠂�j�Aitem_identifier�Ȃ� 4798002062
15
- �� ISBN�d���i�V���[�Y���Ȃ��j�Aitem_identifier��d�� 4798002062 11112
16
- �~ ISBN�d���Aitem_identifier�d�� 4798002062 11111
17
- �~ ISBN�d���i13���j�Aitem_identifier�Ȃ� 978-4798002064
18
- 103 "�_�u��""�N�H�[�g""���܂ގ���" �� �_�u���N�H�[�g���܂ގ���
19
- 104 test10 �� TSV���Ƀ^�C�g��������Α��̍��ڂ�TSV�t�@�C���D�� test3 test4 4797327030
@@ -1,2 +0,0 @@
1
- manifestation_id series_statement_id
2
- 10 2