enju_library 0.3.9 → 0.4.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/app/controllers/concerns/enju_library/controller.rb +5 -5
- data/app/controllers/libraries_controller.rb +4 -1
- data/app/controllers/library_groups_controller.rb +7 -1
- data/app/controllers/request_status_types_controller.rb +6 -1
- data/app/controllers/request_types_controller.rb +6 -1
- data/app/controllers/shelves_controller.rb +4 -1
- data/app/controllers/user_groups_controller.rb +3 -0
- data/app/helpers/enju_library/application_helper.rb +18 -0
- data/app/models/budget_type.rb +9 -7
- data/app/models/concerns/enju_library/enju_user.rb +10 -0
- data/app/models/library.rb +29 -43
- data/app/models/library_group.rb +10 -11
- data/app/models/request_status_type.rb +9 -7
- data/app/models/request_type.rb +9 -7
- data/app/models/search_engine.rb +14 -18
- data/app/models/shelf.rb +13 -11
- data/app/models/user_export_file.rb +1 -1
- data/app/models/user_export_file_state_machine.rb +1 -1
- data/app/models/user_group.rb +2 -0
- data/app/models/user_import_file.rb +28 -27
- data/app/models/user_import_file_state_machine.rb +1 -1
- data/app/models/withdraw.rb +6 -0
- data/app/policies/shelf_policy.rb +1 -1
- data/app/views/accepts/_list.html.erb +2 -2
- data/app/views/accepts/index.html.erb +2 -2
- data/app/views/budget_types/_form.html.erb +1 -1
- data/app/views/budget_types/index.html.erb +1 -1
- data/app/views/budget_types/show.html.erb +1 -1
- data/app/views/libraries/_calendar.html.erb +1 -1
- data/app/views/libraries/_form.html.erb +2 -12
- data/app/views/libraries/_map.html+phone.erb +2 -2
- data/app/views/libraries/_map.html.erb +23 -10
- data/app/views/libraries/index.html.erb +1 -1
- data/app/views/libraries/show.html+phone.erb +1 -1
- data/app/views/libraries/show.html+phone.slim +1 -1
- data/app/views/libraries/show.html.erb +2 -2
- data/app/views/library_groups/_form.html.erb +14 -13
- data/app/views/library_groups/index.html.erb +1 -1
- data/app/views/library_groups/show.html.erb +2 -2
- data/app/views/picture_files/_index_shelf.html.erb +1 -1
- data/app/views/request_status_types/_form.html.erb +1 -1
- data/app/views/request_status_types/index.html.erb +1 -1
- data/app/views/request_status_types/show.html.erb +1 -1
- data/app/views/request_types/_form.html.erb +1 -1
- data/app/views/request_types/index.html.erb +1 -1
- data/app/views/request_types/show.html.erb +1 -1
- data/app/views/shelves/_form.html.erb +1 -1
- data/app/views/shelves/_select_form.html.erb +1 -1
- data/app/views/shelves/index.html.erb +3 -3
- data/app/views/shelves/show.html+phone.erb +1 -1
- data/app/views/shelves/show.html+phone.slim +1 -1
- data/app/views/shelves/show.html.erb +2 -2
- data/app/views/user_groups/_form.html.erb +1 -1
- data/app/views/user_groups/index.html.erb +1 -1
- data/app/views/user_groups/show.html.erb +2 -2
- data/app/views/user_import_files/_results.html.erb +0 -5
- data/app/views/user_import_files/new.html.erb +2 -2
- data/app/views/user_import_files/show.html.erb +2 -2
- data/app/views/user_import_results/index.html.erb +11 -0
- data/app/views/withdraws/_list.html.erb +2 -2
- data/app/views/withdraws/index.html.erb +3 -3
- data/app/views/withdraws/new.html.erb +1 -1
- data/config/locales/translation_en.yml +2 -4
- data/config/locales/translation_ja.yml +2 -4
- data/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +1 -1
- data/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb +12 -0
- data/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb +6 -0
- data/lib/enju_library/version.rb +1 -1
- data/lib/generators/enju_library/setup/setup_generator.rb +2 -7
- data/lib/generators/enju_library/setup/templates/db/fixtures/budget_types.yml +4 -0
- data/lib/generators/enju_library/setup/templates/db/fixtures/libraries.yml +2 -2
- data/lib/generators/enju_library/setup/templates/db/fixtures/library_groups.yml +11 -5
- data/lib/generators/enju_library/setup/templates/db/fixtures/user_groups.yml +1 -2
- data/spec/controllers/budget_types_controller_spec.rb +1 -1
- data/spec/controllers/items_controller_spec.rb +35 -0
- data/spec/dummy/app/helpers/application_helper.rb +1 -0
- data/spec/dummy/app/models/user.rb +1 -2
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/setup +1 -3
- data/spec/dummy/bin/update +4 -2
- data/spec/dummy/bin/yarn +3 -3
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/config/database.yml +70 -9
- data/spec/dummy/config/initializers/assets.rb +1 -1
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/113_create_events.rb +2 -4
- data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +2 -4
- data/spec/dummy/db/migrate/20090519203307_create_participates.rb +2 -4
- data/spec/dummy/db/migrate/20100925074639_create_event_import_results.rb +2 -2
- data/spec/dummy/db/migrate/20140720192418_add_default_library_id_to_event_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140812152348_create_event_export_files.rb +1 -1
- data/spec/dummy/db/migrate/20140814070854_add_default_event_category_id_to_event_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20151128142913_create_places.rb +14 -0
- data/spec/dummy/db/migrate/20151201163718_add_place_id_to_event.rb +5 -0
- data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +11 -0
- data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +11 -0
- data/spec/dummy/db/migrate/20160703184258_add_most_recent_to_event_import_file_transitions.rb +9 -0
- data/spec/dummy/db/migrate/20160703184311_add_most_recent_to_event_export_file_transitions.rb +9 -0
- data/spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb +11 -0
- data/spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb +11 -0
- data/spec/dummy/db/migrate/20170116150432_create_jpno_records.rb +10 -0
- data/spec/dummy/db/migrate/20171126072934_create_ndla_records.rb +10 -0
- data/spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107164558_add_constraints_to_most_recent_for_event_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107164617_add_constraints_to_most_recent_for_event_export_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb +14 -0
- data/spec/dummy/db/migrate/20181119170645_add_foreign_key_to_events_referencing_event_categories.rb +5 -0
- data/spec/dummy/db/migrate/20190102034126_create_doi_records.rb +13 -0
- data/spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20190311154610_create_periodicals.rb +10 -0
- data/spec/dummy/db/migrate/20190312033839_create_periodical_and_manifestations.rb +11 -0
- data/spec/dummy/db/migrate/20190314151124_add_full_name_translations_to_create.rb +7 -0
- data/spec/dummy/db/migrate/20190501043418_create_ndl_bib_id_records.rb +10 -0
- data/spec/dummy/db/migrate/20190508160525_create_retains.rb +10 -0
- data/spec/dummy/db/migrate/20190512133459_upgrade_enju_event_to_enju_leaf20.rb +115 -0
- data/spec/dummy/db/migrate/20190629134017_rename_user_group_has_checkout_type_due_date_before_to_due_date_after.rb +5 -0
- data/spec/dummy/db/migrate/20190630151446_add_display_name_translations_to_role.rb +5 -0
- data/spec/dummy/db/migrate/20190630153136_add_display_name_translations_to_event.rb +6 -0
- data/spec/dummy/db/migrate/20190706052525_add_display_name_translations_to_circulation_status.rb +5 -0
- data/spec/dummy/db/migrate/20190712163038_add_display_name_translations_to_carrier_type.rb +21 -0
- data/spec/dummy/db/migrate/20190713114724_add_checkout_id_to_checkin.rb +6 -0
- data/spec/dummy/db/migrate/20190713114940_add_profile_id_to_user.rb +5 -0
- data/spec/dummy/db/migrate/20190713115451_add_full_name_translations_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20190814120827_add_display_name_translations_to_checkout_type.rb +5 -0
- data/spec/dummy/db/schema.rb +402 -204
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/factories/budget_types.rb +8 -7
- data/spec/factories/profile.rb +9 -2
- data/spec/factories/user.rb +25 -31
- data/spec/factories/user_export_file.rb +5 -0
- data/spec/factories/user_import_file.rb +7 -0
- data/spec/factories/user_import_result.rb +6 -0
- data/spec/fixtures/agent_relationship_types.yml +34 -0
- data/spec/fixtures/agent_types.yml +11 -11
- data/spec/fixtures/agents.yml +27 -27
- data/spec/fixtures/baskets.yml +1 -0
- data/spec/fixtures/bookstores.yml +1 -0
- data/spec/fixtures/budget_types.yml +9 -7
- data/spec/fixtures/carrier_type_has_checkout_types.yml +5 -5
- data/spec/fixtures/carrier_types.yml +28 -24
- data/spec/fixtures/checked_items.yml +6 -6
- data/spec/fixtures/checkins.yml +4 -11
- data/spec/fixtures/checkout_stat_has_manifestations.yml +5 -5
- data/spec/fixtures/checkout_stat_has_users.yml +6 -6
- data/spec/fixtures/checkout_types.yml +11 -11
- data/spec/fixtures/checkouts.yml +16 -17
- data/spec/fixtures/circulation_statuses.yml +29 -38
- data/spec/fixtures/classification_types.yml +63 -0
- data/spec/fixtures/content_types.yml +20 -31
- data/spec/fixtures/create_types.yml +43 -0
- data/spec/fixtures/event_categories.yml +23 -23
- data/spec/fixtures/frequencies.yml +17 -25
- data/spec/fixtures/identifier_types.yml +42 -0
- data/spec/fixtures/item_has_use_restrictions.yml +11 -11
- data/spec/fixtures/items.yml +28 -17
- data/spec/fixtures/languages.yml +12 -13
- data/spec/fixtures/lending_policies.yml +8 -15
- data/spec/fixtures/libraries.yml +30 -29
- data/spec/fixtures/library_groups.yml +12 -9
- data/spec/fixtures/manifestation_checkout_stats.yml +4 -3
- data/spec/fixtures/manifestation_relationship_types.yml +29 -0
- data/spec/fixtures/manifestation_reserve_stats.yml +4 -3
- data/spec/fixtures/manifestations.yml +60 -50
- data/spec/fixtures/message_requests.yml +3 -3
- data/spec/fixtures/produce_types.yml +29 -0
- data/spec/fixtures/profiles.yml +11 -6
- data/spec/fixtures/realize_types.yml +36 -0
- data/spec/fixtures/request_status_types.yml +14 -13
- data/spec/fixtures/request_types.yml +13 -12
- data/spec/fixtures/reserve_stat_has_manifestations.yml +5 -5
- data/spec/fixtures/reserve_stat_has_users.yml +5 -5
- data/spec/fixtures/reserve_transitions.yml +8 -7
- data/spec/fixtures/reserves.yml +44 -64
- data/spec/fixtures/roles.yml +22 -5
- data/spec/fixtures/search_engines.yml +13 -12
- data/spec/fixtures/shelves.yml +16 -15
- data/spec/fixtures/subject_heading_types.yml +39 -0
- data/spec/fixtures/subject_types.yml +28 -0
- data/spec/fixtures/use_restrictions.yml +4 -4
- data/spec/fixtures/user_checkout_stats.yml +4 -4
- data/spec/fixtures/user_export_files.yml +1 -1
- data/spec/fixtures/user_group_has_checkout_types.yml +19 -19
- data/spec/fixtures/user_groups.yml +4 -3
- data/spec/fixtures/user_has_roles.yml +3 -4
- data/spec/fixtures/user_reserve_stats.yml +5 -4
- data/spec/models/budget_type_spec.rb +8 -7
- data/spec/models/library_group_spec.rb +5 -14
- data/spec/models/library_spec.rb +26 -25
- data/spec/models/request_status_type_spec.rb +8 -7
- data/spec/models/request_type_spec.rb +8 -7
- data/spec/models/search_engine_spec.rb +13 -12
- data/spec/models/shelf_spec.rb +12 -11
- data/spec/models/user_export_file_spec.rb +2 -2
- data/spec/models/user_group_spec.rb +1 -6
- data/spec/models/user_import_file_spec.rb +23 -23
- data/spec/rails_helper.rb +10 -2
- data/spec/system/libraries_spec.rb +5 -5
- metadata +476 -493
- data/app/helpers/shelves_helper.rb +0 -16
- data/app/views/layouts/libraries.html.erb +0 -31
- data/app/views/libraries/_map_header.html.erb +0 -6
- data/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -18
- data/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +0 -22
- data/lib/generators/enju_library/setup/templates/db/fixtures/library_group/translations.yml +0 -12
- data/spec/dummy/app/assets/config/manifest.js +0 -5
- data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +0 -5
- data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +0 -5
- data/spec/dummy/db/migrate/20200425072340_create_manifestation_custom_properties.rb +0 -12
- data/spec/dummy/db/migrate/20200425072349_create_item_custom_properties.rb +0 -12
- data/spec/dummy/db/migrate/20200425074758_create_manifestation_custom_values.rb +0 -12
- data/spec/dummy/db/migrate/20200425074822_create_item_custom_values.rb +0 -12
- data/spec/dummy/yarn.lock +0 -7535
data/spec/fixtures/languages.yml
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
language_00001:
|
3
3
|
position: 1
|
4
4
|
name: unknown
|
5
|
-
display_name: "
|
6
|
-
ja: 不明"
|
5
|
+
display_name: "unknown"
|
7
6
|
iso_639_1: unknown
|
8
7
|
iso_639_2: unknown
|
9
8
|
iso_639_3: unknown
|
@@ -1882,20 +1881,20 @@ language_00140:
|
|
1882
1881
|
iso_639_3: srd
|
1883
1882
|
id: 140
|
1884
1883
|
note:
|
1885
|
-
native_name:
|
1884
|
+
native_name:
|
1886
1885
|
|
1887
1886
|
# == Schema Information
|
1888
1887
|
#
|
1889
1888
|
# Table name: languages
|
1890
1889
|
#
|
1891
|
-
# id
|
1892
|
-
# name
|
1893
|
-
# native_name
|
1894
|
-
# display_name
|
1895
|
-
# iso_639_1
|
1896
|
-
# iso_639_2
|
1897
|
-
# iso_639_3
|
1898
|
-
# note
|
1899
|
-
# position
|
1890
|
+
# id :integer not null, primary key
|
1891
|
+
# name :string not null
|
1892
|
+
# native_name :string
|
1893
|
+
# display_name :text
|
1894
|
+
# iso_639_1 :string
|
1895
|
+
# iso_639_2 :string
|
1896
|
+
# iso_639_3 :string
|
1897
|
+
# note :text
|
1898
|
+
# position :integer
|
1899
|
+
# display_name_translations :jsonb not null
|
1900
1900
|
#
|
1901
|
-
|
@@ -72,28 +72,21 @@ lending_policy_00008:
|
|
72
72
|
fixed_due_date:
|
73
73
|
renewal: 1
|
74
74
|
fine: 10
|
75
|
-
lending_policy_00009:
|
76
|
-
item_id: 24
|
77
|
-
user_group_id: 2
|
78
|
-
loan_period: 1
|
79
|
-
fixed_due_date:
|
80
|
-
renewal: 1
|
81
|
-
fine: 10
|
82
75
|
|
83
76
|
# == Schema Information
|
84
77
|
#
|
85
78
|
# Table name: lending_policies
|
86
79
|
#
|
87
|
-
# id :integer
|
88
|
-
# item_id :integer
|
89
|
-
# user_group_id :integer
|
90
|
-
# loan_period :integer
|
80
|
+
# id :integer not null, primary key
|
81
|
+
# item_id :integer not null
|
82
|
+
# user_group_id :integer not null
|
83
|
+
# loan_period :integer default(0), not null
|
91
84
|
# fixed_due_date :datetime
|
92
|
-
# renewal :integer
|
93
|
-
# fine :
|
85
|
+
# renewal :integer default(0), not null
|
86
|
+
# fine :decimal(, ) default(0.0), not null
|
94
87
|
# note :text
|
95
88
|
# position :integer
|
96
|
-
# created_at :datetime
|
97
|
-
# updated_at :datetime
|
89
|
+
# created_at :datetime not null
|
90
|
+
# updated_at :datetime not null
|
98
91
|
#
|
99
92
|
|
data/spec/fixtures/libraries.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
library_00001:
|
3
3
|
name: web
|
4
4
|
short_display_name: Web
|
5
|
-
|
5
|
+
display_name_translations: {"en": "World Wide Web", "ja": "ウェブ"}
|
6
6
|
fax_number:
|
7
7
|
updated_at: 2007-08-31 00:18:06.662349 +09:00
|
8
8
|
telephone_number_1:
|
@@ -19,7 +19,7 @@ library_00001:
|
|
19
19
|
library_00002:
|
20
20
|
name: kamata
|
21
21
|
short_display_name: 蒲田
|
22
|
-
|
22
|
+
display_name_translations: {"en": "Kamata Library", "ja": "蒲田図書館"}
|
23
23
|
fax_number: ""
|
24
24
|
updated_at: 2007-08-31 00:18:06.662349 +09:00
|
25
25
|
telephone_number_1: 81-3-3732-5111
|
@@ -37,7 +37,7 @@ library_00002:
|
|
37
37
|
library_00003:
|
38
38
|
name: hachioji
|
39
39
|
short_display_name: 八王子
|
40
|
-
|
40
|
+
display_name_translations: {"en": "Hachioji Library", "ja": "八王子図書館"}
|
41
41
|
fax_number: 042-637-2116
|
42
42
|
updated_at: 2007-08-31 00:18:16.188285 +09:00
|
43
43
|
telephone_number_1: 042-637-2033
|
@@ -54,7 +54,7 @@ library_00003:
|
|
54
54
|
library_00004:
|
55
55
|
name: mita
|
56
56
|
short_display_name: 三田
|
57
|
-
|
57
|
+
display_name_translations: {"en": "Mita Library", "ja": "三田図書館"}
|
58
58
|
fax_number: ""
|
59
59
|
updated_at: 2007-08-31 00:18:20.043951 +09:00
|
60
60
|
telephone_number_1: ""
|
@@ -73,29 +73,30 @@ library_00004:
|
|
73
73
|
#
|
74
74
|
# Table name: libraries
|
75
75
|
#
|
76
|
-
# id
|
77
|
-
# name
|
78
|
-
# display_name
|
79
|
-
# short_display_name
|
80
|
-
# zip_code
|
81
|
-
# street
|
82
|
-
# locality
|
83
|
-
# region
|
84
|
-
# telephone_number_1
|
85
|
-
# telephone_number_2
|
86
|
-
# fax_number
|
87
|
-
# note
|
88
|
-
# call_number_rows
|
89
|
-
# call_number_delimiter
|
90
|
-
# library_group_id
|
91
|
-
# users_count
|
92
|
-
# position
|
93
|
-
# country_id
|
94
|
-
# created_at
|
95
|
-
# updated_at
|
96
|
-
# deleted_at
|
97
|
-
# opening_hour
|
98
|
-
# isil
|
99
|
-
# latitude
|
100
|
-
# longitude
|
76
|
+
# id :integer not null, primary key
|
77
|
+
# name :string not null
|
78
|
+
# display_name :text
|
79
|
+
# short_display_name :string not null
|
80
|
+
# zip_code :string
|
81
|
+
# street :text
|
82
|
+
# locality :text
|
83
|
+
# region :text
|
84
|
+
# telephone_number_1 :string
|
85
|
+
# telephone_number_2 :string
|
86
|
+
# fax_number :string
|
87
|
+
# note :text
|
88
|
+
# call_number_rows :integer default(1), not null
|
89
|
+
# call_number_delimiter :string default("|"), not null
|
90
|
+
# library_group_id :integer not null
|
91
|
+
# users_count :integer default(0), not null
|
92
|
+
# position :integer
|
93
|
+
# country_id :integer
|
94
|
+
# created_at :datetime
|
95
|
+
# updated_at :datetime
|
96
|
+
# deleted_at :datetime
|
97
|
+
# opening_hour :text
|
98
|
+
# isil :string
|
99
|
+
# latitude :float
|
100
|
+
# longitude :float
|
101
|
+
# display_name_translations :jsonb not null
|
101
102
|
#
|
@@ -1,15 +1,18 @@
|
|
1
1
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
2
|
one:
|
3
3
|
id: 1
|
4
|
-
name:
|
5
|
-
|
6
|
-
short_name:
|
4
|
+
name: enju_library
|
5
|
+
display_name_translations: {"en": "Enju Library", "ja": "えんじゅ図書館"}
|
6
|
+
short_name: enju_library
|
7
7
|
note:
|
8
8
|
my_networks: "0.0.0.0/0\r\n\
|
9
9
|
::/0"
|
10
10
|
url: "http://localhost:3000/"
|
11
11
|
position: 1
|
12
|
-
|
12
|
+
login_banner_translations: {"ja": "オープンソース図書館システム Next-L Enju です。このメッセージは管理者としてログインした後に変更することができます。",
|
13
|
+
"en": "Next-L Enju, an open-source integrated library system. You can edit this message after logging in as Administrator."}
|
14
|
+
footer_banner_translations: {"en":"[Next-L Enju Leaf __VERSION__](https://github.com/next-l/enju_leaf), an open source integrated library system | [About this system](/page/about) | [Report bugs](https://github.com/next-l/enju_leaf/issues) | [Manual](https://next-l.github.io/manual/1.3/)",
|
15
|
+
"ja":"[Next-L Enju Leaf __VERSION__](https://github.com/next-l/enju_leaf), オープンソース統合図書館システム | [このシステムについて](/page/about) | [不具合を報告する](https://github.com/next-l/enju_leaf/issues) | [マニュアル](https://next-l.github.io/manual/1.3/)"}
|
13
16
|
admin_networks: "0.0.0.0/0\r\n\
|
14
17
|
::/0"
|
15
18
|
user_id: 1
|
@@ -36,7 +39,7 @@ one:
|
|
36
39
|
# settings :text
|
37
40
|
# html_snippet :text
|
38
41
|
# book_jacket_source :string
|
39
|
-
# max_number_of_results :integer default(
|
42
|
+
# max_number_of_results :integer default(500)
|
40
43
|
# family_name_first :boolean default(TRUE)
|
41
44
|
# screenshot_generator :string
|
42
45
|
# pub_year_facet_range_interval :integer default(10)
|
@@ -44,10 +47,10 @@ one:
|
|
44
47
|
# csv_charset_conversion :boolean default(FALSE), not null
|
45
48
|
# header_logo_file_name :string
|
46
49
|
# header_logo_content_type :string
|
47
|
-
# header_logo_file_size :
|
50
|
+
# header_logo_file_size :bigint
|
48
51
|
# header_logo_updated_at :datetime
|
49
52
|
# header_logo_meta :text
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
+
# display_name_translations :jsonb not null
|
54
|
+
# login_banner_translations :jsonb not null
|
55
|
+
# footer_banner_translations :jsonb not null
|
53
56
|
#
|
@@ -16,12 +16,13 @@ two:
|
|
16
16
|
#
|
17
17
|
# Table name: manifestation_checkout_stats
|
18
18
|
#
|
19
|
-
# id :integer
|
19
|
+
# id :integer not null, primary key
|
20
20
|
# start_date :datetime
|
21
21
|
# end_date :datetime
|
22
22
|
# note :text
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# state :string(255)
|
24
|
+
# created_at :datetime
|
25
|
+
# updated_at :datetime
|
25
26
|
# started_at :datetime
|
26
27
|
# completed_at :datetime
|
27
28
|
#
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
+
|
3
|
+
one:
|
4
|
+
name: successor
|
5
|
+
display_name: successor
|
6
|
+
note:
|
7
|
+
position: 1
|
8
|
+
id: 1
|
9
|
+
|
10
|
+
two:
|
11
|
+
name: copy
|
12
|
+
display_name: copy
|
13
|
+
note:
|
14
|
+
position: 2
|
15
|
+
id: 2
|
16
|
+
|
17
|
+
# == Schema Information
|
18
|
+
#
|
19
|
+
# Table name: manifestation_relationship_types
|
20
|
+
#
|
21
|
+
# id :integer not null, primary key
|
22
|
+
# name :string not null
|
23
|
+
# display_name :text
|
24
|
+
# note :text
|
25
|
+
# position :integer
|
26
|
+
# created_at :datetime
|
27
|
+
# updated_at :datetime
|
28
|
+
# display_name_translations :jsonb not null
|
29
|
+
#
|
@@ -16,12 +16,13 @@ two:
|
|
16
16
|
#
|
17
17
|
# Table name: manifestation_reserve_stats
|
18
18
|
#
|
19
|
-
# id :integer
|
19
|
+
# id :integer not null, primary key
|
20
20
|
# start_date :datetime
|
21
21
|
# end_date :datetime
|
22
22
|
# note :text
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# state :string(255)
|
24
|
+
# created_at :datetime
|
25
|
+
# updated_at :datetime
|
25
26
|
# started_at :datetime
|
26
27
|
# completed_at :datetime
|
27
28
|
#
|
@@ -3,9 +3,9 @@ manifestation_00001:
|
|
3
3
|
carrier_type_id: 1
|
4
4
|
language_id: 1
|
5
5
|
updated_at: 2007-11-19 16:59:00.293393 +09:00
|
6
|
-
original_title: "
|
6
|
+
original_title: "よくわかる最新Webサービス技術の基本と仕組み : 標準Webシステム技術とeコマース基盤技術入門"
|
7
7
|
price:
|
8
|
-
manifestation_identifier:
|
8
|
+
manifestation_identifier: 00001
|
9
9
|
depth:
|
10
10
|
date_of_publication:
|
11
11
|
access_address:
|
@@ -16,11 +16,13 @@ manifestation_00001:
|
|
16
16
|
start_page: 1
|
17
17
|
end_page: 100
|
18
18
|
repository_content: true
|
19
|
+
extent: "123p"
|
20
|
+
dimensions: "25cm"
|
19
21
|
manifestation_00002:
|
20
22
|
carrier_type_id: 1
|
21
23
|
language_id: 1
|
22
24
|
updated_at: 2007-11-19 16:59:01.991512 +09:00
|
23
|
-
original_title: "
|
25
|
+
original_title: "情報通信ハンドブック : 情報通信の最新データがわかる 2005年版"
|
24
26
|
price:
|
25
27
|
manifestation_identifier:
|
26
28
|
depth:
|
@@ -112,7 +114,7 @@ manifestation_00008:
|
|
112
114
|
carrier_type_id: 1
|
113
115
|
language_id: 1
|
114
116
|
updated_at: 2007-11-19 16:59:07.463333 +09:00
|
115
|
-
original_title: "Web
|
117
|
+
original_title: "Webサービス完全解説 : 基礎からわかる次世代インターネット・テクノロジー"
|
116
118
|
price:
|
117
119
|
manifestation_identifier:
|
118
120
|
depth:
|
@@ -384,7 +386,7 @@ manifestation_00114:
|
|
384
386
|
price:
|
385
387
|
manifestation_identifier:
|
386
388
|
depth:
|
387
|
-
|
389
|
+
pub_date: 2001-03-20
|
388
390
|
access_address:
|
389
391
|
id: 114
|
390
392
|
height:
|
@@ -412,7 +414,7 @@ manifestation_00116:
|
|
412
414
|
price:
|
413
415
|
manifestation_identifier:
|
414
416
|
depth:
|
415
|
-
|
417
|
+
pub_date: 1991-12-24
|
416
418
|
access_address:
|
417
419
|
id: 116
|
418
420
|
height:
|
@@ -468,7 +470,7 @@ manifestation_00120:
|
|
468
470
|
price:
|
469
471
|
manifestation_identifier:
|
470
472
|
depth:
|
471
|
-
|
473
|
+
pub_date: 2000-10-01
|
472
474
|
access_address:
|
473
475
|
id: 120
|
474
476
|
height:
|
@@ -1476,7 +1478,7 @@ manifestation_00192:
|
|
1476
1478
|
price:
|
1477
1479
|
manifestation_identifier:
|
1478
1480
|
depth:
|
1479
|
-
|
1481
|
+
pub_date: 2007-04-27
|
1480
1482
|
access_address:
|
1481
1483
|
id: 192
|
1482
1484
|
height:
|
@@ -1490,7 +1492,7 @@ manifestation_00193:
|
|
1490
1492
|
price:
|
1491
1493
|
manifestation_identifier:
|
1492
1494
|
depth:
|
1493
|
-
|
1495
|
+
pub_date: 2007-02-01
|
1494
1496
|
access_address:
|
1495
1497
|
id: 193
|
1496
1498
|
height:
|
@@ -1532,7 +1534,7 @@ manifestation_00196:
|
|
1532
1534
|
price:
|
1533
1535
|
manifestation_identifier:
|
1534
1536
|
depth:
|
1535
|
-
|
1537
|
+
pub_date: 2006-08-05
|
1536
1538
|
access_address:
|
1537
1539
|
id: 196
|
1538
1540
|
height:
|
@@ -1570,7 +1572,7 @@ manifestation_00201:
|
|
1570
1572
|
carrier_type_id: 1
|
1571
1573
|
language_id: 1
|
1572
1574
|
updated_at: 2010-03-01 16:14:18 +09:00
|
1573
|
-
original_title: "
|
1575
|
+
original_title: "テスト雑誌2005年1月号"
|
1574
1576
|
price:
|
1575
1577
|
manifestation_identifier:
|
1576
1578
|
depth:
|
@@ -1581,6 +1583,7 @@ manifestation_00201:
|
|
1581
1583
|
width:
|
1582
1584
|
created_at: 2007-11-19 17:55:41 +9:00
|
1583
1585
|
frequency_id: 3
|
1586
|
+
serial: true
|
1584
1587
|
manifestation_00202:
|
1585
1588
|
carrier_type_id: 1
|
1586
1589
|
language_id: 1
|
@@ -1599,11 +1602,12 @@ manifestation_00202:
|
|
1599
1602
|
serial_number: 2
|
1600
1603
|
volume_number: 1
|
1601
1604
|
issue_number: 2
|
1605
|
+
serial: true
|
1602
1606
|
manifestation_00203:
|
1603
1607
|
carrier_type_id: 1
|
1604
1608
|
language_id: 1
|
1605
1609
|
updated_at: 2010-03-01 16:14:18 +09:00
|
1606
|
-
original_title: "テスト単行本記事"
|
1610
|
+
original_title: "テスト単行本記事2005"
|
1607
1611
|
price:
|
1608
1612
|
manifestation_identifier:
|
1609
1613
|
depth:
|
@@ -1614,11 +1618,12 @@ manifestation_00203:
|
|
1614
1618
|
width:
|
1615
1619
|
created_at: 2010-03-03 17:00:00 +9:00
|
1616
1620
|
frequency_id: 1
|
1621
|
+
serial: false
|
1617
1622
|
manifestation_00204:
|
1618
1623
|
carrier_type_id: 1
|
1619
1624
|
language_id: 1
|
1620
1625
|
updated_at: 2010-03-03 20:00:00 +09:00
|
1621
|
-
original_title: "テスト雑誌1月号の記事1"
|
1626
|
+
original_title: "テスト雑誌1月号の記事1 2005"
|
1622
1627
|
price:
|
1623
1628
|
manifestation_identifier:
|
1624
1629
|
depth:
|
@@ -1628,6 +1633,7 @@ manifestation_00204:
|
|
1628
1633
|
height:
|
1629
1634
|
width:
|
1630
1635
|
created_at: 2010-03-03 20:00:00 +9:00
|
1636
|
+
serial: true
|
1631
1637
|
manifestation_00205:
|
1632
1638
|
carrier_type_id: 1
|
1633
1639
|
language_id: 1
|
@@ -1636,7 +1642,7 @@ manifestation_00205:
|
|
1636
1642
|
price:
|
1637
1643
|
manifestation_identifier:
|
1638
1644
|
depth:
|
1639
|
-
date_of_publication:
|
1645
|
+
date_of_publication: 2000-01-01 00:00:00 +09:00
|
1640
1646
|
access_address:
|
1641
1647
|
id: 205
|
1642
1648
|
height:
|
@@ -1650,7 +1656,7 @@ manifestation_00206:
|
|
1650
1656
|
price:
|
1651
1657
|
manifestation_identifier:
|
1652
1658
|
depth:
|
1653
|
-
date_of_publication:
|
1659
|
+
date_of_publication: 2010-01-01 00:00:00 +09:00
|
1654
1660
|
access_address:
|
1655
1661
|
id: 206
|
1656
1662
|
height:
|
@@ -1811,52 +1817,54 @@ manifestation_00216:
|
|
1811
1817
|
created_at: 2010-03-19 13:00:00 +9:00
|
1812
1818
|
required_role_id: 1
|
1813
1819
|
repository_content: false
|
1814
|
-
|
1820
|
+
manifestation_00217:
|
1821
|
+
carrier_type_id: 1
|
1822
|
+
language_id: 77
|
1823
|
+
updated_at: 2014-12-20 16:44:00 +09:00
|
1824
|
+
original_title: "VRML2.0 : 3Dサイバースペース構築言語"
|
1825
|
+
content_type_id: 1
|
1826
|
+
year_of_publication: 1996
|
1827
|
+
statement_of_responsibility: "三浦憲二郎著"
|
1828
|
+
id: 217
|
1815
1829
|
|
1816
1830
|
# == Schema Information
|
1817
1831
|
#
|
1818
1832
|
# Table name: manifestations
|
1819
1833
|
#
|
1820
|
-
# id :integer
|
1821
|
-
# original_title :text
|
1834
|
+
# id :integer not null, primary key
|
1835
|
+
# original_title :text not null
|
1822
1836
|
# title_alternative :text
|
1823
1837
|
# title_transcription :text
|
1824
|
-
# classification_number :string
|
1825
|
-
# manifestation_identifier :string
|
1838
|
+
# classification_number :string
|
1839
|
+
# manifestation_identifier :string
|
1826
1840
|
# date_of_publication :datetime
|
1827
1841
|
# date_copyrighted :datetime
|
1828
|
-
# created_at :datetime
|
1829
|
-
# updated_at :datetime
|
1842
|
+
# created_at :datetime
|
1843
|
+
# updated_at :datetime
|
1830
1844
|
# deleted_at :datetime
|
1831
|
-
# access_address :string
|
1832
|
-
# language_id :integer
|
1833
|
-
# carrier_type_id :integer
|
1845
|
+
# access_address :string
|
1846
|
+
# language_id :integer default(1), not null
|
1847
|
+
# carrier_type_id :integer default(1), not null
|
1834
1848
|
# start_page :integer
|
1835
1849
|
# end_page :integer
|
1836
1850
|
# height :integer
|
1837
1851
|
# width :integer
|
1838
1852
|
# depth :integer
|
1839
|
-
# nbn :string(255)
|
1840
|
-
# lccn :string(255)
|
1841
|
-
# oclc_number :string(255)
|
1842
1853
|
# price :integer
|
1843
1854
|
# fulltext :text
|
1844
|
-
# volume_number_string :string
|
1845
|
-
# issue_number_string :string
|
1846
|
-
# serial_number_string :string
|
1855
|
+
# volume_number_string :string
|
1856
|
+
# issue_number_string :string
|
1857
|
+
# serial_number_string :string
|
1847
1858
|
# edition :integer
|
1848
1859
|
# note :text
|
1849
|
-
# repository_content :boolean
|
1850
|
-
# lock_version :integer
|
1851
|
-
# required_role_id :integer
|
1852
|
-
#
|
1853
|
-
#
|
1854
|
-
#
|
1855
|
-
#
|
1856
|
-
#
|
1857
|
-
# ipaper_access_key :string(255)
|
1858
|
-
# attachment_file_name :string(255)
|
1859
|
-
# attachment_content_type :string(255)
|
1860
|
+
# repository_content :boolean default(FALSE), not null
|
1861
|
+
# lock_version :integer default(0), not null
|
1862
|
+
# required_role_id :integer default(1), not null
|
1863
|
+
# required_score :integer default(0), not null
|
1864
|
+
# frequency_id :integer default(1), not null
|
1865
|
+
# subscription_master :boolean default(FALSE), not null
|
1866
|
+
# attachment_file_name :string
|
1867
|
+
# attachment_content_type :string
|
1860
1868
|
# attachment_file_size :integer
|
1861
1869
|
# attachment_updated_at :datetime
|
1862
1870
|
# title_alternative_transcription :text
|
@@ -1866,18 +1874,20 @@ manifestation_00216:
|
|
1866
1874
|
# valid_until :datetime
|
1867
1875
|
# date_submitted :datetime
|
1868
1876
|
# date_accepted :datetime
|
1869
|
-
#
|
1870
|
-
#
|
1871
|
-
#
|
1872
|
-
# edition_string :string(255)
|
1877
|
+
# date_captured :datetime
|
1878
|
+
# pub_date :string
|
1879
|
+
# edition_string :string
|
1873
1880
|
# volume_number :integer
|
1874
1881
|
# issue_number :integer
|
1875
1882
|
# serial_number :integer
|
1876
|
-
#
|
1877
|
-
# content_type_id :integer default(1)
|
1883
|
+
# content_type_id :integer default(1)
|
1878
1884
|
# year_of_publication :integer
|
1879
|
-
# attachment_fingerprint :string(255)
|
1880
1885
|
# attachment_meta :text
|
1881
1886
|
# month_of_publication :integer
|
1887
|
+
# fulltext_content :boolean
|
1888
|
+
# serial :boolean
|
1889
|
+
# statement_of_responsibility :text
|
1890
|
+
# publication_place :text
|
1891
|
+
# extent :text
|
1892
|
+
# dimensions :text
|
1882
1893
|
#
|
1883
|
-
|