enju_flower 0.1.0.pre16 → 0.1.0.pre17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/manifestations_helper.rb +17 -17
- data/app/views/manifestations/_attachment_file.html.erb +1 -1
- data/app/views/manifestations/_carrier_type_facet.html.erb +1 -1
- data/app/views/manifestations/_classification_facet.html.erb +2 -2
- data/app/views/manifestations/_holding.html.erb +1 -1
- data/app/views/manifestations/_index_form.html.erb +2 -2
- data/app/views/manifestations/_index_form_contributor.html.erb +2 -2
- data/app/views/manifestations/_index_form_creator.html.erb +2 -2
- data/app/views/manifestations/_index_form_item.html.erb +2 -2
- data/app/views/manifestations/_index_form_manifestation.html.erb +2 -2
- data/app/views/manifestations/_index_form_parent.html.erb +9 -3
- data/app/views/manifestations/_index_form_publisher.html.erb +2 -2
- data/app/views/manifestations/_index_form_series_statement.html.erb +3 -3
- data/app/views/manifestations/_language_facet.html.erb +2 -2
- data/app/views/manifestations/_library_facet.html.erb +1 -1
- data/app/views/manifestations/_list.html.erb +2 -2
- data/app/views/manifestations/_manifestation.html.erb +53 -51
- data/app/views/manifestations/_manifestation_list.html.erb +2 -2
- data/app/views/manifestations/_paginate_id_link.html.erb +2 -2
- data/app/views/manifestations/_pickup.html.erb +5 -5
- data/app/views/manifestations/_pub_year_facet.html.erb +1 -1
- data/app/views/manifestations/_question_list.html.erb +1 -1
- data/app/views/manifestations/_reservable_facet.html.erb +2 -2
- data/app/views/manifestations/_search_engine.html.erb +1 -1
- data/app/views/manifestations/_show_creators.html.erb +2 -2
- data/app/views/manifestations/_show_creators.mobile.erb +2 -2
- data/app/views/manifestations/_show_detail_librarian.html.erb +14 -10
- data/app/views/manifestations/_show_detail_user.html.erb +14 -10
- data/app/views/manifestations/_show_holding.html.erb +12 -10
- data/app/views/manifestations/_show_holding.mobile.erb +1 -1
- data/app/views/manifestations/_show_index.html.erb +7 -5
- data/app/views/manifestations/_show_index.mobile.erb +3 -3
- data/app/views/manifestations/_show_reservation.html.erb +5 -5
- data/app/views/manifestations/_show_series_index.html.erb +6 -3
- data/app/views/manifestations/_submenu_parent.html.erb +1 -1
- data/app/views/manifestations/_tab_list.html.erb +3 -3
- data/app/views/manifestations/_tab_menu.html.erb +1 -1
- data/app/views/manifestations/_title.html.erb +9 -6
- data/app/views/manifestations/_title.mobile.erb +6 -6
- data/app/views/manifestations/index.atom.builder +3 -3
- data/app/views/manifestations/index.html.erb +15 -14
- data/app/views/manifestations/index.mobile.erb +3 -3
- data/app/views/manifestations/index.mods.builder +1 -1
- data/app/views/manifestations/index.opds.builder +5 -5
- data/app/views/manifestations/index.rdf.builder +4 -4
- data/app/views/manifestations/index.rss.builder +6 -6
- data/app/views/manifestations/index.sru.builder +1 -1
- data/app/views/manifestations/show.html.erb +14 -14
- data/app/views/manifestations/show.mobile.erb +3 -3
- data/app/views/manifestations/show.mods.builder +1 -1
- data/app/views/manifestations/show.rdf.builder +1 -1
- data/app/views/page/_footer.html.erb +3 -2
- data/lib/enju_flower/version.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +22 -22
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/001_create_agents.rb +0 -1
- data/spec/dummy/db/migrate/{20111201155513_add_devise_to_users.rb → 002_devise_create_users.rb} +18 -16
- data/spec/dummy/db/migrate/005_create_manifestations.rb +4 -16
- data/spec/dummy/db/migrate/006_create_items.rb +0 -3
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -1
- data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
- data/spec/dummy/db/migrate/077_create_user_groups.rb +3 -7
- data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
- data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
- data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +0 -2
- data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -3
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -4
- data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +0 -1
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
- data/spec/dummy/db/migrate/{20111201163718_create_user_has_roles.rb → 20100606065209_create_user_has_roles.rb} +2 -0
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -2
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -11
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
- data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
- data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524142813_add_taggings_count_to_tag.rb +5 -0
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
- data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
- data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +12 -0
- data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +6 -0
- data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +5 -0
- data/spec/dummy/db/schema.rb +250 -252
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/default/data/index/_1x.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1x.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1x.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cx.si → _1x.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.tim → _1x_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/_1x_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_1y.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1y.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1y.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cy.si → _1y.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.tim → _1y_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.tip → _1y_Lucene41_0.tip} +0 -0
- data/spec/dummy/solr/default/data/index/_1z.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_1z.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_1z.nvm +0 -0
- data/spec/dummy/solr/default/data/index/{_cz.si → _1z.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.tim → _1z_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.tip → _1z_Lucene41_0.tip} +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_2p +0 -0
- data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000591 → tlog.0000000000000000093} +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000094 +0 -0
- data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000593 → tlog.0000000000000000095} +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
- data/spec/factories/profile.rb +10 -0
- data/spec/factories/user.rb +0 -13
- data/spec/fixtures/import_requests.yml +0 -3
- data/spec/fixtures/items.yml +46 -21
- data/spec/fixtures/library_groups.yml +0 -2
- data/spec/fixtures/manifestations.yml +0 -2
- data/spec/fixtures/profiles.yml +98 -0
- data/spec/fixtures/reserve_transitions.yml +88 -0
- data/spec/fixtures/resource_import_files.yml +0 -4
- data/spec/fixtures/users.yml +0 -55
- metadata +158 -140
- data/spec/dummy/db/migrate/113_create_events.rb +0 -23
- data/spec/dummy/db/migrate/114_create_event_categories.rb +0 -16
- data/spec/dummy/db/migrate/149_create_message_templates.rb +0 -18
- data/spec/dummy/db/migrate/154_create_messages.rb +0 -24
- data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +0 -20
- data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +0 -27
- data/spec/dummy/db/migrate/20081117143156_create_inventory_files.rb +0 -18
- data/spec/dummy/db/migrate/20081117143455_create_inventories.rb +0 -17
- data/spec/dummy/db/migrate/20090519203307_create_participates.rb +0 -17
- data/spec/dummy/db/migrate/20090706125521_add_attachments_inventory_to_inventory_file.rb +0 -15
- data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +0 -21
- data/spec/dummy/db/migrate/20100925074639_create_event_import_results.rb +0 -15
- data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb +0 -13
- data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +0 -11
- data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +0 -13
- data/spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb +0 -9
- data/spec/dummy/db/migrate/20111201121844_create_roles.rb +0 -12
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -8
- data/spec/dummy/db/migrate/20120105101944_add_queue_to_delayed_jobs.rb +0 -9
- data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +0 -6
- data/spec/dummy/db/migrate/20120413051535_add_event_import_fingerprint_to_event_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120413100431_add_fingerprint_to_inventory_file.rb +0 -5
- data/spec/dummy/db/migrate/20120413170734_add_error_message_to_event_import_file.rb +0 -5
- data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +0 -9
- data/spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb +0 -9
- data/spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb +0 -11
- data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -14
- data/spec/dummy/solr/default/data/index/_cx.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cx.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cx.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_cx_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_cy.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cy.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cy.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_cz.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_cz.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_cz.nvm +0 -0
- data/spec/dummy/solr/default/data/index/segments_gj +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000592 +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx.fdx → _1x.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx.nvd → _1x.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.doc → _1x_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cx_Lucene41_0.pos → _1x_Lucene41_0.pos} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy.fdx → _1y.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy.nvd → _1y.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.doc → _1y_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cy_Lucene41_0.pos → _1y_Lucene41_0.pos} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz.fdx → _1z.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz.nvd → _1z.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.doc → _1z_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_cz_Lucene41_0.pos → _1z_Lucene41_0.pos} +0 -0
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000591 → tlog.0000000000000000093}
RENAMED
Binary file
|
Binary file
|
data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000593 → tlog.0000000000000000095}
RENAMED
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :profile, :class => Profile do |f|
|
3
|
+
f.user_group_id {UserGroup.first.id}
|
4
|
+
f.required_role_id {Role.where(name: 'User').first.id}
|
5
|
+
f.sequence(:user_number){|n| "user_number_#{n}"}
|
6
|
+
f.library_id 2
|
7
|
+
f.locale "ja"
|
8
|
+
f.user_id {FactoryGirl.create(:user).id}
|
9
|
+
end
|
10
|
+
end
|
data/spec/factories/user.rb
CHANGED
@@ -3,12 +3,8 @@ FactoryGirl.define do
|
|
3
3
|
f.sequence(:username){|n| "admin_#{n}"}
|
4
4
|
f.sequence(:email){|n| "admin_#{n}@example.jp"}
|
5
5
|
f.email_confirmation{|u| u.email}
|
6
|
-
f.library_id{FactoryGirl.create(:library).id}
|
7
6
|
f.password 'adminpassword'
|
8
7
|
f.password_confirmation 'adminpassword'
|
9
|
-
f.user_group_id{UserGroup.where(:name => 'User').first.id}
|
10
|
-
f.required_role_id{Role.find_by_name('User').id}
|
11
|
-
f.locale 'ja'
|
12
8
|
f.after(:create) do |user|
|
13
9
|
user_has_role = UserHasRole.new
|
14
10
|
user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('Administrator').id})
|
@@ -21,12 +17,8 @@ FactoryGirl.define do
|
|
21
17
|
f.sequence(:username){|n| "librarian_#{n}"}
|
22
18
|
f.sequence(:email){|n| "librarian_#{n}@example.jp"}
|
23
19
|
f.email_confirmation{|u| u.email}
|
24
|
-
f.library_id{FactoryGirl.create(:library).id}
|
25
20
|
f.password 'librarianpassword'
|
26
21
|
f.password_confirmation 'librarianpassword'
|
27
|
-
f.user_group_id{UserGroup.where(:name => 'User').first.id}
|
28
|
-
f.required_role_id{Role.find_by_name('User').id}
|
29
|
-
f.locale 'ja'
|
30
22
|
f.after(:create) do |user|
|
31
23
|
user_has_role = UserHasRole.new
|
32
24
|
user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('Librarian').id})
|
@@ -39,13 +31,8 @@ FactoryGirl.define do
|
|
39
31
|
f.sequence(:username){|n| "user_#{n}"}
|
40
32
|
f.sequence(:email){|n| "user_#{n}@example.jp"}
|
41
33
|
f.email_confirmation{|u| u.email}
|
42
|
-
f.library_id{FactoryGirl.create(:library).id}
|
43
34
|
f.password 'userpassword'
|
44
35
|
f.password_confirmation 'userpassword'
|
45
|
-
f.user_group_id{UserGroup.where(:name => 'not_specified').first.id}
|
46
|
-
f.required_role_id{Role.find_by_name('User').id}
|
47
|
-
f.locale 'ja'
|
48
|
-
f.sequence(:user_number){|n| "user_number_#{n}"}
|
49
36
|
f.after(:create) do |user|
|
50
37
|
user_has_role = UserHasRole.new
|
51
38
|
user_has_role.assign_attributes({:user_id => user.id, :role_id => Role.find_by_name('User').id})
|
@@ -2,13 +2,11 @@
|
|
2
2
|
|
3
3
|
one:
|
4
4
|
isbn: '978-4774142043'
|
5
|
-
state: pending
|
6
5
|
manifestation_id: 1
|
7
6
|
user_id: 1
|
8
7
|
|
9
8
|
two:
|
10
9
|
isbn: '978-4774141640'
|
11
|
-
state: pending
|
12
10
|
manifestation_id: 2
|
13
11
|
user_id: 1
|
14
12
|
|
@@ -18,7 +16,6 @@ two:
|
|
18
16
|
#
|
19
17
|
# id :integer not null, primary key
|
20
18
|
# isbn :string(255)
|
21
|
-
# state :string(255)
|
22
19
|
# manifestation_id :integer
|
23
20
|
# user_id :integer
|
24
21
|
# created_at :datetime not null
|
data/spec/fixtures/items.yml
CHANGED
@@ -6,6 +6,7 @@ item_00001:
|
|
6
6
|
checkout_type_id: 1
|
7
7
|
shelf_id: 1
|
8
8
|
call_number:
|
9
|
+
manifestation_id: 1
|
9
10
|
id: 1
|
10
11
|
include_supplements: false
|
11
12
|
created_at: 2007-08-24 23:46:00.484813 +09:00
|
@@ -16,6 +17,7 @@ item_00002:
|
|
16
17
|
checkout_type_id: 1
|
17
18
|
shelf_id: 1
|
18
19
|
call_number:
|
20
|
+
manifestation_id: 2
|
19
21
|
id: 2
|
20
22
|
include_supplements: false
|
21
23
|
created_at: 2007-08-24 23:46:01.641413 +09:00
|
@@ -26,6 +28,7 @@ item_00003:
|
|
26
28
|
checkout_type_id: 2
|
27
29
|
shelf_id: 1
|
28
30
|
call_number:
|
31
|
+
manifestation_id: 3
|
29
32
|
id: 3
|
30
33
|
include_supplements: false
|
31
34
|
created_at: 2007-08-24 23:46:02.502569 +09:00
|
@@ -36,6 +39,7 @@ item_00004:
|
|
36
39
|
checkout_type_id: 1
|
37
40
|
shelf_id: 1
|
38
41
|
call_number:
|
42
|
+
manifestation_id: 1
|
39
43
|
id: 4
|
40
44
|
include_supplements: true
|
41
45
|
created_at: 2007-08-24 23:46:03.520781 +09:00
|
@@ -46,6 +50,7 @@ item_00005:
|
|
46
50
|
checkout_type_id: 2
|
47
51
|
shelf_id: 1
|
48
52
|
call_number:
|
53
|
+
manifestation_id: 2
|
49
54
|
id: 5
|
50
55
|
include_supplements: false
|
51
56
|
created_at: 2007-08-24 23:46:04.538073 +09:00
|
@@ -56,6 +61,7 @@ item_00006:
|
|
56
61
|
checkout_type_id: 2
|
57
62
|
shelf_id: 1
|
58
63
|
call_number:
|
64
|
+
manifestation_id: 3
|
59
65
|
id: 6
|
60
66
|
include_supplements: true
|
61
67
|
created_at: 2007-08-24 23:46:05.555353 +09:00
|
@@ -66,6 +72,7 @@ item_00007:
|
|
66
72
|
checkout_type_id: 1
|
67
73
|
shelf_id: 1
|
68
74
|
call_number:
|
75
|
+
manifestation_id: 1
|
69
76
|
id: 7
|
70
77
|
include_supplements: false
|
71
78
|
created_at: 2007-08-24 23:46:06.572631 +09:00
|
@@ -76,6 +83,7 @@ item_00008:
|
|
76
83
|
checkout_type_id: 2
|
77
84
|
shelf_id: 1
|
78
85
|
call_number:
|
86
|
+
manifestation_id: 2
|
79
87
|
id: 8
|
80
88
|
include_supplements: true
|
81
89
|
created_at: 2007-08-24 23:46:07.589909 +09:00
|
@@ -86,6 +94,7 @@ item_00009:
|
|
86
94
|
checkout_type_id: 1
|
87
95
|
shelf_id: 4
|
88
96
|
call_number:
|
97
|
+
manifestation_id: 3
|
89
98
|
id: 9
|
90
99
|
include_supplements: false
|
91
100
|
created_at: 2007-08-24 23:46:08.607081 +09:00
|
@@ -96,6 +105,7 @@ item_00010:
|
|
96
105
|
checkout_type_id: 2
|
97
106
|
shelf_id: 1
|
98
107
|
call_number:
|
108
|
+
manifestation_id: 1
|
99
109
|
id: 10
|
100
110
|
include_supplements: false
|
101
111
|
created_at: 2007-08-24 23:46:09.624281 +09:00
|
@@ -106,6 +116,7 @@ item_00011:
|
|
106
116
|
checkout_type_id: 1
|
107
117
|
shelf_id: 1
|
108
118
|
call_number:
|
119
|
+
manifestation_id: 1
|
109
120
|
id: 11
|
110
121
|
include_supplements: false
|
111
122
|
created_at: 2007-08-24 23:46:10.484813 +09:00
|
@@ -116,6 +127,7 @@ item_00012:
|
|
116
127
|
checkout_type_id: 2
|
117
128
|
shelf_id: 1
|
118
129
|
call_number:
|
130
|
+
manifestation_id: 2
|
119
131
|
id: 12
|
120
132
|
include_supplements: false
|
121
133
|
created_at: 2007-08-24 23:46:11.484813 +09:00
|
@@ -126,6 +138,7 @@ item_00013:
|
|
126
138
|
checkout_type_id: 1
|
127
139
|
shelf_id: 1
|
128
140
|
call_number:
|
141
|
+
manifestation_id: 2
|
129
142
|
id: 13
|
130
143
|
include_supplements: false
|
131
144
|
created_at: 2007-08-24 23:46:12.484813 +09:00
|
@@ -136,6 +149,7 @@ item_00014:
|
|
136
149
|
checkout_type_id: 2
|
137
150
|
shelf_id: 1
|
138
151
|
call_number:
|
152
|
+
manifestation_id: 2
|
139
153
|
id: 14
|
140
154
|
include_supplements: false
|
141
155
|
created_at: 2007-08-24 23:46:13.484813 +09:00
|
@@ -146,6 +160,7 @@ item_00015:
|
|
146
160
|
checkout_type_id: 3
|
147
161
|
shelf_id: 1
|
148
162
|
call_number:
|
163
|
+
manifestation_id: 2
|
149
164
|
id: 15
|
150
165
|
include_supplements: false
|
151
166
|
created_at: 2007-08-24 23:46:14.484813 +09:00
|
@@ -156,6 +171,7 @@ item_00016:
|
|
156
171
|
checkout_type_id: 2
|
157
172
|
shelf_id: 1
|
158
173
|
call_number:
|
174
|
+
manifestation_id: 3
|
159
175
|
id: 16
|
160
176
|
include_supplements: true
|
161
177
|
created_at: 2007-08-24 23:46:15.484813 +09:00
|
@@ -166,6 +182,7 @@ item_00017:
|
|
166
182
|
checkout_type_id: 3
|
167
183
|
shelf_id: 1
|
168
184
|
call_number:
|
185
|
+
manifestation_id: 3
|
169
186
|
id: 17
|
170
187
|
include_supplements: false
|
171
188
|
created_at: 2007-08-24 23:46:16.484813 +09:00
|
@@ -176,6 +193,7 @@ item_00018:
|
|
176
193
|
checkout_type_id: 3
|
177
194
|
shelf_id: 1
|
178
195
|
call_number:
|
196
|
+
manifestation_id: 1
|
179
197
|
id: 18
|
180
198
|
include_supplements: false
|
181
199
|
created_at: 2007-08-24 23:46:17.484813 +09:00
|
@@ -186,6 +204,7 @@ item_00019:
|
|
186
204
|
checkout_type_id: 3
|
187
205
|
shelf_id: 1
|
188
206
|
call_number:
|
207
|
+
manifestation_id: 1
|
189
208
|
id: 19
|
190
209
|
include_supplements: false
|
191
210
|
created_at: 2007-08-24 23:46:18.484813 +09:00
|
@@ -196,6 +215,7 @@ item_00020:
|
|
196
215
|
checkout_type_id: 3
|
197
216
|
shelf_id: 1
|
198
217
|
call_number:
|
218
|
+
manifestation_id: 1
|
199
219
|
id: 20
|
200
220
|
include_supplements: false
|
201
221
|
created_at: 2007-08-24 23:46:19.484813 +09:00
|
@@ -206,6 +226,7 @@ item_00021:
|
|
206
226
|
checkout_type_id: 3
|
207
227
|
shelf_id: 1
|
208
228
|
call_number:
|
229
|
+
manifestation_id: 11
|
209
230
|
id: 21
|
210
231
|
include_supplements: false
|
211
232
|
created_at: 2007-08-24 23:46:20.484813 +09:00
|
@@ -216,6 +237,7 @@ item_00022:
|
|
216
237
|
checkout_type_id: 3
|
217
238
|
shelf_id: 1
|
218
239
|
call_number:
|
240
|
+
manifestation_id: 11
|
219
241
|
id: 22
|
220
242
|
include_supplements: false
|
221
243
|
created_at: 2007-08-24 23:46:20.484813 +09:00
|
@@ -226,6 +248,7 @@ item_00023:
|
|
226
248
|
checkout_type_id: 3
|
227
249
|
shelf_id: 2
|
228
250
|
call_number:
|
251
|
+
manifestation_id: 11
|
229
252
|
id: 23
|
230
253
|
include_supplements: false
|
231
254
|
created_at: 2007-08-24 23:46:20.484813 +09:00
|
@@ -234,25 +257,27 @@ item_00023:
|
|
234
257
|
#
|
235
258
|
# Table name: items
|
236
259
|
#
|
237
|
-
# id
|
238
|
-
# call_number
|
239
|
-
# item_identifier
|
240
|
-
# created_at
|
241
|
-
# updated_at
|
242
|
-
# deleted_at
|
243
|
-
# shelf_id
|
244
|
-
# include_supplements
|
245
|
-
# note
|
246
|
-
# url
|
247
|
-
# price
|
248
|
-
# lock_version
|
249
|
-
# required_role_id
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
260
|
+
# id :integer not null, primary key
|
261
|
+
# call_number :string(255)
|
262
|
+
# item_identifier :string(255)
|
263
|
+
# created_at :datetime not null
|
264
|
+
# updated_at :datetime not null
|
265
|
+
# deleted_at :datetime
|
266
|
+
# shelf_id :integer default(1), not null
|
267
|
+
# include_supplements :boolean default(FALSE), not null
|
268
|
+
# note :text
|
269
|
+
# url :string(255)
|
270
|
+
# price :integer
|
271
|
+
# lock_version :integer default(0), not null
|
272
|
+
# required_role_id :integer default(1), not null
|
273
|
+
# required_score :integer default(0), not null
|
274
|
+
# acquired_at :datetime
|
275
|
+
# bookstore_id :integer
|
276
|
+
# budget_type_id :integer
|
277
|
+
# circulation_status_id :integer default(5), not null
|
278
|
+
# checkout_type_id :integer default(1), not null
|
279
|
+
# binding_item_identifier :string(255)
|
280
|
+
# binding_call_number :string(255)
|
281
|
+
# binded_at :datetime
|
282
|
+
# manifestation_id :integer
|
257
283
|
#
|
258
|
-
|
@@ -4,7 +4,6 @@ one:
|
|
4
4
|
name: enju_library
|
5
5
|
display_name: "<%= I18n.locale %>: Enju Library"
|
6
6
|
short_name: enju
|
7
|
-
email: next-l@library.example.jp
|
8
7
|
note:
|
9
8
|
my_networks: 0.0.0.0/0
|
10
9
|
url: "http://localhost:3000/"
|
@@ -18,7 +17,6 @@ one:
|
|
18
17
|
# name :string(255) not null
|
19
18
|
# display_name :text
|
20
19
|
# short_name :string(255) not null
|
21
|
-
# email :string(255)
|
22
20
|
# my_networks :text
|
23
21
|
# login_banner :text
|
24
22
|
# note :text
|
@@ -1850,7 +1850,6 @@ manifestation_00216:
|
|
1850
1850
|
# repository_content :boolean default(FALSE), not null
|
1851
1851
|
# lock_version :integer default(0), not null
|
1852
1852
|
# required_role_id :integer default(1), not null
|
1853
|
-
# state :string(255)
|
1854
1853
|
# required_score :integer default(0), not null
|
1855
1854
|
# frequency_id :integer default(1), not null
|
1856
1855
|
# subscription_master :boolean default(FALSE), not null
|
@@ -1880,4 +1879,3 @@ manifestation_00216:
|
|
1880
1879
|
# periodical :boolean
|
1881
1880
|
# statement_of_responsibility :text
|
1882
1881
|
#
|
1883
|
-
|
@@ -0,0 +1,98 @@
|
|
1
|
+
---
|
2
|
+
admin:
|
3
|
+
updated_at: 2008-05-31 13:16:30.163731 +09:00
|
4
|
+
user_group_id: 2
|
5
|
+
id: 1
|
6
|
+
user_id: 1
|
7
|
+
note:
|
8
|
+
library_id: 2
|
9
|
+
created_at: 2007-11-19 16:58:32.111941 +09:00
|
10
|
+
required_role_id: 4
|
11
|
+
user_number: "00001"
|
12
|
+
locale: "ja"
|
13
|
+
librarian1:
|
14
|
+
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
15
|
+
user_group_id: 1
|
16
|
+
id: 2
|
17
|
+
user_id: 2
|
18
|
+
note:
|
19
|
+
library_id: 1
|
20
|
+
created_at: 2007-11-19 16:58:33.172441 +09:00
|
21
|
+
required_role_id: 1
|
22
|
+
user_number: "00002"
|
23
|
+
locale: "ja"
|
24
|
+
user1:
|
25
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
26
|
+
user_group_id: 1
|
27
|
+
id: 3
|
28
|
+
user_id: 3
|
29
|
+
note:
|
30
|
+
library_id: 2
|
31
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
32
|
+
required_role_id: 3
|
33
|
+
user_number: "00003"
|
34
|
+
locale: "ja"
|
35
|
+
librarian2:
|
36
|
+
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
37
|
+
user_group_id: 1
|
38
|
+
id: 4
|
39
|
+
user_id: 4
|
40
|
+
note:
|
41
|
+
library_id: 2
|
42
|
+
created_at: 2008-01-18 12:24:04.222344 +09:00
|
43
|
+
required_role_id: 1
|
44
|
+
user_number: "00004"
|
45
|
+
locale: "ja"
|
46
|
+
user2:
|
47
|
+
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
48
|
+
user_group_id: 1
|
49
|
+
id: 5
|
50
|
+
user_id: 5
|
51
|
+
note:
|
52
|
+
library_id: 1
|
53
|
+
created_at: 2008-01-18 13:29:06.922728 +09:00
|
54
|
+
required_role_id: 2
|
55
|
+
# user_number: '00005'
|
56
|
+
locale: "ja"
|
57
|
+
user3:
|
58
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
59
|
+
user_group_id: 1
|
60
|
+
id: 6
|
61
|
+
user_id: 6
|
62
|
+
note:
|
63
|
+
library_id: 2
|
64
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
65
|
+
required_role_id: 3
|
66
|
+
user_number: "00006"
|
67
|
+
locale: "ja"
|
68
|
+
user4:
|
69
|
+
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
70
|
+
user_group_id: 1
|
71
|
+
id: 7
|
72
|
+
user_id: 7
|
73
|
+
note:
|
74
|
+
library_id: 2
|
75
|
+
created_at: 2007-11-19 16:58:34.637413 +09:00
|
76
|
+
required_role_id: 3
|
77
|
+
user_number: "00007"
|
78
|
+
locale: "ja"
|
79
|
+
|
80
|
+
# == Schema Information
|
81
|
+
#
|
82
|
+
# Table name: profiles
|
83
|
+
#
|
84
|
+
# id :integer not null, primary key
|
85
|
+
# user_id :integer
|
86
|
+
# user_group_id :integer
|
87
|
+
# library_id :integer
|
88
|
+
# locale :string(255)
|
89
|
+
# user_number :string(255)
|
90
|
+
# full_name :text
|
91
|
+
# note :text
|
92
|
+
# keyword_list :text
|
93
|
+
# required_role_id :integer
|
94
|
+
# created_at :datetime not null
|
95
|
+
# updated_at :datetime not null
|
96
|
+
# checkout_icalendar_token :string(255)
|
97
|
+
# save_checkout_history :boolean default(FALSE), not null
|
98
|
+
#
|
@@ -0,0 +1,88 @@
|
|
1
|
+
reserve_transition_00001:
|
2
|
+
id: 1
|
3
|
+
to_state: requested
|
4
|
+
reserve_id: 1
|
5
|
+
sort_key: 0
|
6
|
+
reserve_transition_00002:
|
7
|
+
id: 2
|
8
|
+
to_state: requested
|
9
|
+
reserve_id: 2
|
10
|
+
sort_key: 0
|
11
|
+
reserve_transition_00003:
|
12
|
+
id: 3
|
13
|
+
to_state: requested
|
14
|
+
reserve_id: 3
|
15
|
+
sort_key: 0
|
16
|
+
reserve_transition_00004:
|
17
|
+
id: 4
|
18
|
+
to_state: requested
|
19
|
+
reserve_id: 4
|
20
|
+
sort_key: 0
|
21
|
+
reserve_transition_00005:
|
22
|
+
id: 5
|
23
|
+
to_state: requested
|
24
|
+
reserve_id: 5
|
25
|
+
sort_key: 0
|
26
|
+
reserve_transition_00006:
|
27
|
+
id: 6
|
28
|
+
to_state: requested
|
29
|
+
reserve_id: 6
|
30
|
+
sort_key: 0
|
31
|
+
reserve_transition_00007:
|
32
|
+
id: 7
|
33
|
+
to_state: requested
|
34
|
+
reserve_id: 7
|
35
|
+
sort_key: 0
|
36
|
+
reserve_transition_00008:
|
37
|
+
id: 8
|
38
|
+
to_state: expired
|
39
|
+
reserve_id: 8
|
40
|
+
sort_key: 0
|
41
|
+
reserve_transition_00009:
|
42
|
+
id: 9
|
43
|
+
to_state: requested
|
44
|
+
reserve_id: 9
|
45
|
+
sort_key: 0
|
46
|
+
reserve_transition_00010:
|
47
|
+
id: 10
|
48
|
+
to_state: completed
|
49
|
+
reserve_id: 10
|
50
|
+
sort_key: 0
|
51
|
+
reserve_transition_00011:
|
52
|
+
id: 11
|
53
|
+
to_state: expired
|
54
|
+
reserve_id: 11
|
55
|
+
sort_key: 0
|
56
|
+
reserve_transition_00012:
|
57
|
+
id: 12
|
58
|
+
to_state: retained
|
59
|
+
reserve_id: 12
|
60
|
+
sort_key: 0
|
61
|
+
reserve_transition_00013:
|
62
|
+
id: 13
|
63
|
+
to_state: requested
|
64
|
+
reserve_id: 13
|
65
|
+
sort_key: 0
|
66
|
+
reserve_transition_00014:
|
67
|
+
id: 14
|
68
|
+
to_state: retained
|
69
|
+
reserve_id: 14
|
70
|
+
sort_key: 0
|
71
|
+
reserve_transition_00015:
|
72
|
+
id: 15
|
73
|
+
to_state: requested
|
74
|
+
reserve_id: 15
|
75
|
+
sort_key: 0
|
76
|
+
|
77
|
+
# == Schema Information
|
78
|
+
#
|
79
|
+
# Table name: reserve_transitions
|
80
|
+
#
|
81
|
+
# id :integer not null, primary key
|
82
|
+
# to_state :string(255)
|
83
|
+
# metadata :text default("{}")
|
84
|
+
# sort_key :integer
|
85
|
+
# reserve_id :integer
|
86
|
+
# created_at :datetime not null
|
87
|
+
# updated_at :datetime not null
|
88
|
+
#
|
@@ -6,21 +6,18 @@ resource_import_file_00001:
|
|
6
6
|
resource_import_file_size: 1
|
7
7
|
user_id: 1
|
8
8
|
resource_import_content_type: text/csv
|
9
|
-
state: completed
|
10
9
|
resource_import_file_00002:
|
11
10
|
id: 2
|
12
11
|
resource_import_file_name: MyString
|
13
12
|
resource_import_file_size: 1
|
14
13
|
user_id: 1
|
15
14
|
resource_import_content_type: text/csv
|
16
|
-
state: pending
|
17
15
|
resource_import_file_00003:
|
18
16
|
id: 3
|
19
17
|
resource_import_file_name: MyString
|
20
18
|
resource_import_file_size: 1
|
21
19
|
user_id: 1
|
22
20
|
resource_import_content_type: text/csv
|
23
|
-
state: pending
|
24
21
|
|
25
22
|
# == Schema Information
|
26
23
|
#
|
@@ -33,7 +30,6 @@ resource_import_file_00003:
|
|
33
30
|
# user_id :integer
|
34
31
|
# note :text
|
35
32
|
# executed_at :datetime
|
36
|
-
# state :string(255)
|
37
33
|
# resource_import_file_name :string(255)
|
38
34
|
# resource_import_content_type :string(255)
|
39
35
|
# resource_import_file_size :integer
|