enju_inventory 0.1.11.pre9 → 0.1.11.pre10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/inventories_controller.rb +73 -3
- data/app/views/inventories/edit.html.erb +2 -2
- data/app/views/inventories/index.html.erb +2 -2
- data/app/views/inventories/new.html.erb +2 -2
- data/app/views/inventories/show.html.erb +2 -2
- data/app/views/inventory_files/edit.html.erb +2 -2
- data/app/views/inventory_files/index.html.erb +3 -3
- data/app/views/inventory_files/new.html.erb +2 -2
- data/app/views/inventory_files/show.html.erb +3 -3
- data/lib/enju_inventory/engine.rb +1 -2
- data/lib/enju_inventory/version.rb +1 -1
- data/spec/controllers/inventories_controller_spec.rb +40 -37
- data/spec/controllers/inventory_files_controller_spec.rb +56 -62
- data/spec/dummy/app/models/user.rb +5 -25
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/001_create_agents.rb +50 -0
- data/spec/dummy/db/migrate/002_devise_create_users.rb +46 -0
- data/spec/dummy/db/migrate/005_create_manifestations.rb +44 -0
- data/spec/dummy/db/migrate/006_create_items.rb +1 -12
- data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
- data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
- data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
- data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
- data/spec/dummy/db/migrate/059_create_libraries.rb +28 -0
- data/spec/dummy/db/migrate/069_create_shelves.rb +15 -0
- data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
- data/spec/dummy/db/migrate/077_create_user_groups.rb +12 -0
- data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
- data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
- data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
- data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
- data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
- data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
- data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
- data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
- data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
- data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
- data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +12 -0
- 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/20081023092436_create_search_engines.rb +17 -0
- data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
- data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
- data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +20 -0
- data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +20 -0
- data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
- data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
- data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
- data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
- data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +12 -0
- data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
- data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
- data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
- data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
- data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +14 -0
- data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
- data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
- data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -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/20100606073747_create_agent_relationships.rb +13 -0
- data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
- data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
- data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +11 -0
- data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
- data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +11 -0
- data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
- data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
- data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
- 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/20110916091020_add_volume_number_to_manifestation.rb +13 -0
- data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
- data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
- data/spec/dummy/db/migrate/{20111201121844_create_roles.rb → 20111124110059_create_create_types.rb} +2 -2
- data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
- data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
- data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
- data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +5 -0
- data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
- data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
- data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
- data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
- data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +16 -0
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
- data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
- data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
- data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
- data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
- data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
- data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -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/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/20140811031145_add_expired_at_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
- data/spec/dummy/db/schema.rb +860 -28
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/private/system/inventory_files/inventories/000/000/001/original/inventory_file_sample.tsv +7 -0
- data/spec/factories/user.rb +6 -0
- data/spec/fixtures/libraries.yml +102 -0
- data/spec/fixtures/library_groups.yml +15 -18
- data/spec/fixtures/profiles.yml +98 -0
- data/spec/fixtures/users.yml +3 -21
- data/spec/models/inventory_file_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -1
- metadata +297 -36
- data/app/models/setting.rb +0 -4
- data/spec/dummy/app/models/ability.rb +0 -20
- data/spec/dummy/app/views/page/403.html.erb +0 -9
- data/spec/dummy/app/views/page/403.mobile.erb +0 -5
- data/spec/dummy/app/views/page/403.xml.erb +0 -4
- data/spec/dummy/app/views/page/404.html.erb +0 -9
- data/spec/dummy/app/views/page/404.mobile.erb +0 -5
- data/spec/dummy/app/views/page/404.xml.erb +0 -4
- data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -13
- data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +0 -52
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/factories/user.rb
CHANGED
@@ -5,7 +5,9 @@ FactoryGirl.define do
|
|
5
5
|
f.role {Role.find_by_name('Administrator')}
|
6
6
|
f.password 'adminpassword'
|
7
7
|
f.password_confirmation 'adminpassword'
|
8
|
+
f.user_group {UserGroup.first}
|
8
9
|
f.required_role {Role.find_by_name('User')}
|
10
|
+
f.sequence(:user_number){|n| "user_number_#{n}"}
|
9
11
|
end
|
10
12
|
|
11
13
|
factory :librarian, :class => User do |f|
|
@@ -14,7 +16,9 @@ FactoryGirl.define do
|
|
14
16
|
f.role {Role.find_by_name('Librarian')}
|
15
17
|
f.password 'librarianpassword'
|
16
18
|
f.password_confirmation 'librarianpassword'
|
19
|
+
f.user_group {UserGroup.first}
|
17
20
|
f.required_role {Role.find_by_name('User')}
|
21
|
+
f.sequence(:user_number){|n| "user_number_#{n}"}
|
18
22
|
end
|
19
23
|
|
20
24
|
factory :user, :class => User do |f|
|
@@ -23,7 +27,9 @@ FactoryGirl.define do
|
|
23
27
|
f.role {Role.find_by_name('User')}
|
24
28
|
f.password 'userpassword'
|
25
29
|
f.password_confirmation 'userpassword'
|
30
|
+
f.user_group {UserGroup.first}
|
26
31
|
f.required_role {Role.find_by_name('User')}
|
32
|
+
f.sequence(:user_number){|n| "user_number_#{n}"}
|
27
33
|
end
|
28
34
|
|
29
35
|
factory :invalid_user, :class => User do |f|
|
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
library_00001:
|
3
|
+
name: web
|
4
|
+
short_display_name: Web
|
5
|
+
display_name: World Wide Web
|
6
|
+
fax_number:
|
7
|
+
updated_at: 2007-08-31 00:18:06.662349 +09:00
|
8
|
+
telephone_number_1:
|
9
|
+
telephone_number_2:
|
10
|
+
id: 1
|
11
|
+
zip_code:
|
12
|
+
region:
|
13
|
+
locality:
|
14
|
+
street:
|
15
|
+
created_at: 2007-08-13 18:10:00 +09:00
|
16
|
+
library_group_id: 1
|
17
|
+
call_number_delimiter: "|"
|
18
|
+
position: 1
|
19
|
+
library_00002:
|
20
|
+
name: kamata
|
21
|
+
short_display_name: 蒲田
|
22
|
+
display_name: Kamata Library
|
23
|
+
fax_number: ""
|
24
|
+
updated_at: 2007-08-31 00:18:06.662349 +09:00
|
25
|
+
telephone_number_1: 81-3-3732-5111
|
26
|
+
telephone_number_2: ""
|
27
|
+
id: 2
|
28
|
+
zip_code: 144-8535
|
29
|
+
region: Tokyo
|
30
|
+
locality:
|
31
|
+
street:
|
32
|
+
created_at: 2007-08-13 18:10:00 +09:00
|
33
|
+
library_group_id: 1
|
34
|
+
call_number_delimiter: "|"
|
35
|
+
position: 2
|
36
|
+
isil: "JP-0000000"
|
37
|
+
library_00003:
|
38
|
+
name: hachioji
|
39
|
+
short_display_name: 八王子
|
40
|
+
display_name: Hachioji Library
|
41
|
+
fax_number: 042-637-2116
|
42
|
+
updated_at: 2007-08-31 00:18:16.188285 +09:00
|
43
|
+
telephone_number_1: 042-637-2033
|
44
|
+
telephone_number_2: ""
|
45
|
+
id: 3
|
46
|
+
zip_code: 192-0982
|
47
|
+
region: Tokyo
|
48
|
+
locality: Hachioji
|
49
|
+
street:
|
50
|
+
created_at: 2007-08-14 16:37:00 +09:00
|
51
|
+
library_group_id: 1
|
52
|
+
call_number_delimiter: "|"
|
53
|
+
position: 3
|
54
|
+
library_00004:
|
55
|
+
name: mita
|
56
|
+
short_display_name: 三田
|
57
|
+
display_name: Mita Library
|
58
|
+
fax_number: ""
|
59
|
+
updated_at: 2007-08-31 00:18:20.043951 +09:00
|
60
|
+
telephone_number_1: ""
|
61
|
+
telephone_number_2: ""
|
62
|
+
id: 4
|
63
|
+
zip_code: 108-8345
|
64
|
+
region: Tokyo
|
65
|
+
locality: Minato
|
66
|
+
street:
|
67
|
+
created_at: 2007-08-23 19:51:00 +09:00
|
68
|
+
library_group_id: 1
|
69
|
+
call_number_delimiter: "|"
|
70
|
+
position: 4
|
71
|
+
|
72
|
+
# == Schema Information
|
73
|
+
#
|
74
|
+
# Table name: libraries
|
75
|
+
#
|
76
|
+
# id :integer not null, primary key
|
77
|
+
# name :string(255) not null
|
78
|
+
# display_name :text
|
79
|
+
# short_display_name :string(255) not null
|
80
|
+
# zip_code :string(255)
|
81
|
+
# street :text
|
82
|
+
# locality :text
|
83
|
+
# region :text
|
84
|
+
# telephone_number_1 :string(255)
|
85
|
+
# telephone_number_2 :string(255)
|
86
|
+
# fax_number :string(255)
|
87
|
+
# note :text
|
88
|
+
# call_number_rows :integer default(1), not null
|
89
|
+
# call_number_delimiter :string(255) default("|"), not null
|
90
|
+
# library_group_id :integer default(1), not null
|
91
|
+
# users_count :integer default(0), not null
|
92
|
+
# position :integer
|
93
|
+
# country_id :integer
|
94
|
+
# created_at :datetime not null
|
95
|
+
# updated_at :datetime not null
|
96
|
+
# deleted_at :datetime
|
97
|
+
# opening_hour :text
|
98
|
+
# latitude :float
|
99
|
+
# longitude :float
|
100
|
+
# isil :string(255)
|
101
|
+
#
|
102
|
+
|
@@ -4,31 +4,28 @@ 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/"
|
11
|
-
|
12
|
-
login_banner: "*Next-L Enju*"
|
13
|
-
admin_networks: 0.0.0.0/0
|
10
|
+
|
14
11
|
|
15
12
|
# == Schema Information
|
16
13
|
#
|
17
14
|
# Table name: library_groups
|
18
15
|
#
|
19
|
-
# id
|
20
|
-
# name
|
21
|
-
# display_name
|
22
|
-
# short_name
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# url
|
16
|
+
# id :integer not null, primary key
|
17
|
+
# name :string(255) not null
|
18
|
+
# display_name :text
|
19
|
+
# short_name :string(255) not null
|
20
|
+
# my_networks :text
|
21
|
+
# login_banner :text
|
22
|
+
# note :text
|
23
|
+
# country_id :integer
|
24
|
+
# created_at :datetime not null
|
25
|
+
# updated_at :datetime not null
|
26
|
+
# admin_networks :text
|
27
|
+
# allow_bookmark_external_url :boolean default(FALSE), not null
|
28
|
+
# position :integer
|
29
|
+
# url :string(255) default("http://localhost:3000/")
|
33
30
|
#
|
34
31
|
|
@@ -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: "en"
|
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
|
+
#
|
data/spec/fixtures/users.yml
CHANGED
@@ -2,68 +2,50 @@
|
|
2
2
|
admin:
|
3
3
|
updated_at: 2008-05-31 13:16:30.163731 +09:00
|
4
4
|
encrypted_password: $2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi
|
5
|
-
user_group_id: 2
|
6
5
|
id: 1
|
7
|
-
note:
|
8
6
|
username: admin
|
9
7
|
email: tanabe@kamata.lib.teu.ac.jp
|
10
8
|
created_at: 2007-11-19 16:58:32.111941 +09:00
|
11
|
-
required_role_id: 4
|
12
9
|
librarian1:
|
13
10
|
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
14
11
|
encrypted_password: $2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS
|
15
|
-
user_group_id: 1
|
16
12
|
id: 2
|
17
|
-
note:
|
18
13
|
username: librarian1
|
19
14
|
email: librarian1@kamata.lib.teu.ac.jp
|
20
15
|
created_at: 2007-11-19 16:58:33.172441 +09:00
|
21
|
-
required_role_id: 1
|
22
16
|
user1:
|
23
17
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
24
18
|
encrypted_password: $2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW
|
25
|
-
user_group_id: 1
|
26
19
|
id: 3
|
27
|
-
note:
|
28
20
|
username: user1
|
29
21
|
email: user1@kamata.lib.teu.ac.jp
|
30
22
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
31
|
-
required_role_id: 3
|
32
23
|
librarian2:
|
33
24
|
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
34
25
|
encrypted_password: $2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS
|
35
|
-
user_group_id: 1
|
36
26
|
id: 4
|
37
|
-
note:
|
38
27
|
username: librarian2
|
28
|
+
email: librarian2@library.example.jp
|
39
29
|
created_at: 2008-01-18 12:24:04.222344 +09:00
|
40
|
-
required_role_id: 1
|
41
30
|
user2:
|
42
31
|
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
43
32
|
encrypted_password: $2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca
|
44
|
-
user_group_id: 1
|
45
33
|
id: 5
|
46
|
-
note:
|
47
34
|
username: user2
|
35
|
+
email: user2@library.example.jp
|
48
36
|
created_at: 2008-01-18 13:29:06.922728 +09:00
|
49
|
-
required_role_id: 2
|
50
37
|
user3:
|
51
38
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
52
39
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
53
|
-
user_group_id: 1
|
54
40
|
id: 6
|
55
|
-
note:
|
56
41
|
username: user3
|
57
42
|
email: user3@kamata.lib.teu.ac.jp
|
58
43
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
59
|
-
required_role_id: 3
|
60
44
|
user4:
|
61
45
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
62
46
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
63
|
-
user_group_id: 1
|
64
47
|
id: 7
|
65
|
-
note:
|
66
48
|
username: user4
|
67
49
|
email: user4@kamata.lib.teu.ac.jp
|
68
50
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
69
|
-
|
51
|
+
locked_at: <%= 1.day.ago %>
|
data/spec/spec_helper.rb
CHANGED
@@ -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("../dummy/config/environment", __FILE__)
|
@@ -25,8 +28,9 @@ RSpec.configure do |config|
|
|
25
28
|
# examples within a transaction, remove the following line or assign false
|
26
29
|
# instead of true.
|
27
30
|
config.use_transactional_fixtures = true
|
28
|
-
|
29
31
|
config.extend ControllerMacros, :type => :controller
|
32
|
+
|
33
|
+
config.infer_spec_type_from_file_location!
|
30
34
|
end
|
31
35
|
|
32
36
|
FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.11.
|
4
|
+
version: 0.1.11.pre10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: enju_library
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.0.pre36
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.0.pre36
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: paperclip
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,6 +54,20 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: factory_girl_rails
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
@@ -67,7 +81,35 @@ dependencies:
|
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: enju_leaf
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.0.rc14
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.1.0.rc14
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: annotate
|
71
113
|
requirement: !ruby/object:Gem::Requirement
|
72
114
|
requirements:
|
73
115
|
- - ">="
|
@@ -82,7 +124,7 @@ dependencies:
|
|
82
124
|
version: '0'
|
83
125
|
description: Inventory management for Next-L Enju
|
84
126
|
email:
|
85
|
-
-
|
127
|
+
- nabeta@fastmail.fm
|
86
128
|
executables: []
|
87
129
|
extensions: []
|
88
130
|
extra_rdoc_files: []
|
@@ -95,7 +137,6 @@ files:
|
|
95
137
|
- app/models/enju_inventory/ability.rb
|
96
138
|
- app/models/inventory.rb
|
97
139
|
- app/models/inventory_file.rb
|
98
|
-
- app/models/setting.rb
|
99
140
|
- app/views/inventories/edit.html.erb
|
100
141
|
- app/views/inventories/index.html.erb
|
101
142
|
- app/views/inventories/new.html.erb
|
@@ -123,15 +164,8 @@ files:
|
|
123
164
|
- spec/dummy/app/assets/stylesheets/application.css
|
124
165
|
- spec/dummy/app/controllers/application_controller.rb
|
125
166
|
- spec/dummy/app/helpers/application_helper.rb
|
126
|
-
- spec/dummy/app/models/ability.rb
|
127
167
|
- spec/dummy/app/models/user.rb
|
128
168
|
- spec/dummy/app/views/layouts/application.html.erb
|
129
|
-
- spec/dummy/app/views/page/403.html.erb
|
130
|
-
- spec/dummy/app/views/page/403.mobile.erb
|
131
|
-
- spec/dummy/app/views/page/403.xml.erb
|
132
|
-
- spec/dummy/app/views/page/404.html.erb
|
133
|
-
- spec/dummy/app/views/page/404.mobile.erb
|
134
|
-
- spec/dummy/app/views/page/404.xml.erb
|
135
169
|
- spec/dummy/config.ru
|
136
170
|
- spec/dummy/config/application.rb
|
137
171
|
- spec/dummy/config/application.yml
|
@@ -150,17 +184,132 @@ files:
|
|
150
184
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
151
185
|
- spec/dummy/config/locales/en.yml
|
152
186
|
- spec/dummy/config/routes.rb
|
187
|
+
- spec/dummy/db/development.sqlite3
|
188
|
+
- spec/dummy/db/migrate/001_create_agents.rb
|
189
|
+
- spec/dummy/db/migrate/002_devise_create_users.rb
|
190
|
+
- spec/dummy/db/migrate/005_create_manifestations.rb
|
153
191
|
- spec/dummy/db/migrate/006_create_items.rb
|
192
|
+
- spec/dummy/db/migrate/012_create_owns.rb
|
193
|
+
- spec/dummy/db/migrate/015_create_creates.rb
|
194
|
+
- spec/dummy/db/migrate/041_create_roles.rb
|
195
|
+
- spec/dummy/db/migrate/047_create_produces.rb
|
196
|
+
- spec/dummy/db/migrate/059_create_libraries.rb
|
197
|
+
- spec/dummy/db/migrate/069_create_shelves.rb
|
198
|
+
- spec/dummy/db/migrate/073_create_carrier_types.rb
|
199
|
+
- spec/dummy/db/migrate/077_create_user_groups.rb
|
154
200
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
201
|
+
- spec/dummy/db/migrate/112_create_frequencies.rb
|
202
|
+
- spec/dummy/db/migrate/117_create_form_of_works.rb
|
203
|
+
- spec/dummy/db/migrate/120_create_baskets.rb
|
204
|
+
- spec/dummy/db/migrate/124_create_bookstores.rb
|
205
|
+
- spec/dummy/db/migrate/125_create_donates.rb
|
206
|
+
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
207
|
+
- spec/dummy/db/migrate/131_create_request_types.rb
|
208
|
+
- spec/dummy/db/migrate/20080830154109_create_realizes.rb
|
209
|
+
- spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
|
210
|
+
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
211
|
+
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
212
|
+
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
213
|
+
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
214
|
+
- spec/dummy/db/migrate/20081025083323_create_countries.rb
|
215
|
+
- spec/dummy/db/migrate/20081025083905_create_languages.rb
|
216
|
+
- spec/dummy/db/migrate/20081027150907_create_picture_files.rb
|
217
|
+
- spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
|
218
|
+
- spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
|
219
|
+
- spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
|
220
|
+
- spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
|
221
|
+
- spec/dummy/db/migrate/20090719201843_create_extents.rb
|
222
|
+
- spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
|
223
|
+
- spec/dummy/db/migrate/20090720091429_create_content_types.rb
|
224
|
+
- spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
|
225
|
+
- spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
|
226
|
+
- spec/dummy/db/migrate/20091025080447_create_licenses.rb
|
227
|
+
- spec/dummy/db/migrate/20091202124834_create_versions.rb
|
228
|
+
- spec/dummy/db/migrate/20091214131723_create_series_statements.rb
|
229
|
+
- spec/dummy/db/migrate/20100129142347_create_import_requests.rb
|
155
230
|
- spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
|
231
|
+
- spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
|
232
|
+
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
233
|
+
- spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
|
234
|
+
- spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
|
235
|
+
- spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
|
236
|
+
- spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
|
237
|
+
- spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
|
238
|
+
- spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
|
239
|
+
- spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
|
240
|
+
- spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
|
241
|
+
- spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
|
156
242
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
157
|
-
- spec/dummy/db/migrate/
|
158
|
-
- spec/dummy/db/migrate/
|
159
|
-
- spec/dummy/db/migrate/
|
160
|
-
- spec/dummy/db/migrate/
|
243
|
+
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
244
|
+
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
245
|
+
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
246
|
+
- spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|
247
|
+
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
248
|
+
- spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
|
249
|
+
- spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
|
250
|
+
- spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
|
251
|
+
- spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
|
252
|
+
- spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
|
253
|
+
- spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
|
254
|
+
- spec/dummy/db/migrate/20111124110059_create_create_types.rb
|
255
|
+
- spec/dummy/db/migrate/20111124110319_create_realize_types.rb
|
256
|
+
- spec/dummy/db/migrate/20111124110355_create_produce_types.rb
|
257
|
+
- spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
|
258
|
+
- spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
|
259
|
+
- spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
|
260
|
+
- spec/dummy/db/migrate/20120129014038_create_budget_types.rb
|
261
|
+
- spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
|
262
|
+
- spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
|
263
|
+
- spec/dummy/db/migrate/20120319173203_create_accepts.rb
|
264
|
+
- spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
|
265
|
+
- spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
|
266
|
+
- spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
|
267
|
+
- spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
|
268
|
+
- spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
|
269
|
+
- spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
|
270
|
+
- spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
|
271
|
+
- spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
|
272
|
+
- spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
|
273
|
+
- spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
|
274
|
+
- spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
|
275
|
+
- spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
|
276
|
+
- spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
|
277
|
+
- spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
|
278
|
+
- spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
|
279
|
+
- spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
|
280
|
+
- spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
|
281
|
+
- spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
282
|
+
- spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
283
|
+
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
284
|
+
- spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
|
285
|
+
- spec/dummy/db/migrate/20130506175834_create_identifiers.rb
|
286
|
+
- spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
|
287
|
+
- spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
|
288
|
+
- spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
|
289
|
+
- spec/dummy/db/migrate/20140122054321_create_profiles.rb
|
290
|
+
- spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
|
291
|
+
- spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
|
292
|
+
- spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
|
293
|
+
- spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
|
294
|
+
- spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
|
295
|
+
- spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
|
296
|
+
- spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
|
297
|
+
- spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
|
298
|
+
- spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
|
299
|
+
- spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
|
300
|
+
- spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
|
301
|
+
- spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
|
302
|
+
- spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
|
303
|
+
- spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
|
304
|
+
- spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
|
305
|
+
- spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
|
306
|
+
- spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
|
307
|
+
- spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
|
308
|
+
- spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
|
161
309
|
- spec/dummy/db/schema.rb
|
162
310
|
- spec/dummy/db/test.sqlite3
|
163
311
|
- spec/dummy/private/system/inventories/4/original/inventory_file_sample.tsv
|
312
|
+
- spec/dummy/private/system/inventory_files/inventories/000/000/001/original/inventory_file_sample.tsv
|
164
313
|
- spec/dummy/private/system/inventory_files/inventories/000/000/004/original/inventory_file_sample.tsv
|
165
314
|
- spec/dummy/public/404.html
|
166
315
|
- spec/dummy/public/422.html
|
@@ -170,7 +319,9 @@ files:
|
|
170
319
|
- spec/factories/user.rb
|
171
320
|
- spec/fixtures/inventories.yml
|
172
321
|
- spec/fixtures/inventory_files.yml
|
322
|
+
- spec/fixtures/libraries.yml
|
173
323
|
- spec/fixtures/library_groups.yml
|
324
|
+
- spec/fixtures/profiles.yml
|
174
325
|
- spec/fixtures/roles.yml
|
175
326
|
- spec/fixtures/user_has_roles.yml
|
176
327
|
- spec/fixtures/users.yml
|
@@ -198,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
349
|
version: 1.3.1
|
199
350
|
requirements: []
|
200
351
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.2.
|
352
|
+
rubygems_version: 2.2.2
|
202
353
|
signing_key:
|
203
354
|
specification_version: 4
|
204
355
|
summary: enju_inventory plugin
|
@@ -209,15 +360,8 @@ test_files:
|
|
209
360
|
- spec/dummy/app/assets/stylesheets/application.css
|
210
361
|
- spec/dummy/app/controllers/application_controller.rb
|
211
362
|
- spec/dummy/app/helpers/application_helper.rb
|
212
|
-
- spec/dummy/app/models/ability.rb
|
213
363
|
- spec/dummy/app/models/user.rb
|
214
364
|
- spec/dummy/app/views/layouts/application.html.erb
|
215
|
-
- spec/dummy/app/views/page/403.html.erb
|
216
|
-
- spec/dummy/app/views/page/403.mobile.erb
|
217
|
-
- spec/dummy/app/views/page/403.xml.erb
|
218
|
-
- spec/dummy/app/views/page/404.html.erb
|
219
|
-
- spec/dummy/app/views/page/404.mobile.erb
|
220
|
-
- spec/dummy/app/views/page/404.xml.erb
|
221
365
|
- spec/dummy/config/application.rb
|
222
366
|
- spec/dummy/config/application.yml
|
223
367
|
- spec/dummy/config/boot.rb
|
@@ -236,17 +380,132 @@ test_files:
|
|
236
380
|
- spec/dummy/config/locales/en.yml
|
237
381
|
- spec/dummy/config/routes.rb
|
238
382
|
- spec/dummy/config.ru
|
383
|
+
- spec/dummy/db/development.sqlite3
|
384
|
+
- spec/dummy/db/migrate/001_create_agents.rb
|
385
|
+
- spec/dummy/db/migrate/002_devise_create_users.rb
|
386
|
+
- spec/dummy/db/migrate/005_create_manifestations.rb
|
239
387
|
- spec/dummy/db/migrate/006_create_items.rb
|
388
|
+
- spec/dummy/db/migrate/012_create_owns.rb
|
389
|
+
- spec/dummy/db/migrate/015_create_creates.rb
|
390
|
+
- spec/dummy/db/migrate/041_create_roles.rb
|
391
|
+
- spec/dummy/db/migrate/047_create_produces.rb
|
392
|
+
- spec/dummy/db/migrate/059_create_libraries.rb
|
393
|
+
- spec/dummy/db/migrate/069_create_shelves.rb
|
394
|
+
- spec/dummy/db/migrate/073_create_carrier_types.rb
|
395
|
+
- spec/dummy/db/migrate/077_create_user_groups.rb
|
240
396
|
- spec/dummy/db/migrate/080_create_library_groups.rb
|
397
|
+
- spec/dummy/db/migrate/112_create_frequencies.rb
|
398
|
+
- spec/dummy/db/migrate/117_create_form_of_works.rb
|
399
|
+
- spec/dummy/db/migrate/120_create_baskets.rb
|
400
|
+
- spec/dummy/db/migrate/124_create_bookstores.rb
|
401
|
+
- spec/dummy/db/migrate/125_create_donates.rb
|
402
|
+
- spec/dummy/db/migrate/130_create_request_status_types.rb
|
403
|
+
- spec/dummy/db/migrate/131_create_request_types.rb
|
404
|
+
- spec/dummy/db/migrate/20080830154109_create_realizes.rb
|
405
|
+
- spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
|
406
|
+
- spec/dummy/db/migrate/20080905191442_create_agent_types.rb
|
407
|
+
- spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
|
408
|
+
- spec/dummy/db/migrate/20081006093246_create_subscribes.rb
|
409
|
+
- spec/dummy/db/migrate/20081023092436_create_search_engines.rb
|
410
|
+
- spec/dummy/db/migrate/20081025083323_create_countries.rb
|
411
|
+
- spec/dummy/db/migrate/20081025083905_create_languages.rb
|
412
|
+
- spec/dummy/db/migrate/20081027150907_create_picture_files.rb
|
413
|
+
- spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
|
414
|
+
- spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
|
415
|
+
- spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
|
416
|
+
- spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
|
417
|
+
- spec/dummy/db/migrate/20090719201843_create_extents.rb
|
418
|
+
- spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
|
419
|
+
- spec/dummy/db/migrate/20090720091429_create_content_types.rb
|
420
|
+
- spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
|
421
|
+
- spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
|
422
|
+
- spec/dummy/db/migrate/20091025080447_create_licenses.rb
|
423
|
+
- spec/dummy/db/migrate/20091202124834_create_versions.rb
|
424
|
+
- spec/dummy/db/migrate/20091214131723_create_series_statements.rb
|
425
|
+
- spec/dummy/db/migrate/20100129142347_create_import_requests.rb
|
241
426
|
- spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
|
427
|
+
- spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
|
428
|
+
- spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
|
429
|
+
- spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
|
430
|
+
- spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
|
431
|
+
- spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
|
432
|
+
- spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
|
433
|
+
- spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
|
434
|
+
- spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
|
435
|
+
- spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
|
436
|
+
- spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
|
437
|
+
- spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
|
242
438
|
- spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
|
243
|
-
- spec/dummy/db/migrate/
|
244
|
-
- spec/dummy/db/migrate/
|
245
|
-
- spec/dummy/db/migrate/
|
246
|
-
- spec/dummy/db/migrate/
|
439
|
+
- spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
|
440
|
+
- spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
|
441
|
+
- spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
|
442
|
+
- spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|
443
|
+
- spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
|
444
|
+
- spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
|
445
|
+
- spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
|
446
|
+
- spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
|
447
|
+
- spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
|
448
|
+
- spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
|
449
|
+
- spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
|
450
|
+
- spec/dummy/db/migrate/20111124110059_create_create_types.rb
|
451
|
+
- spec/dummy/db/migrate/20111124110319_create_realize_types.rb
|
452
|
+
- spec/dummy/db/migrate/20111124110355_create_produce_types.rb
|
453
|
+
- spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
|
454
|
+
- spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
|
455
|
+
- spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
|
456
|
+
- spec/dummy/db/migrate/20120129014038_create_budget_types.rb
|
457
|
+
- spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
|
458
|
+
- spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
|
459
|
+
- spec/dummy/db/migrate/20120319173203_create_accepts.rb
|
460
|
+
- spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
|
461
|
+
- spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
|
462
|
+
- spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
|
463
|
+
- spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
|
464
|
+
- spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
|
465
|
+
- spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
|
466
|
+
- spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
|
467
|
+
- spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
|
468
|
+
- spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
|
469
|
+
- spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
|
470
|
+
- spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
|
471
|
+
- spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
|
472
|
+
- spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
|
473
|
+
- spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
|
474
|
+
- spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
|
475
|
+
- spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
|
476
|
+
- spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
|
477
|
+
- spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
478
|
+
- spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
479
|
+
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
480
|
+
- spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
|
481
|
+
- spec/dummy/db/migrate/20130506175834_create_identifiers.rb
|
482
|
+
- spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
|
483
|
+
- spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
|
484
|
+
- spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
|
485
|
+
- spec/dummy/db/migrate/20140122054321_create_profiles.rb
|
486
|
+
- spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
|
487
|
+
- spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
|
488
|
+
- spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
|
489
|
+
- spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
|
490
|
+
- spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
|
491
|
+
- spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
|
492
|
+
- spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
|
493
|
+
- spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
|
494
|
+
- spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
|
495
|
+
- spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
|
496
|
+
- spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
|
497
|
+
- spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
|
498
|
+
- spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
|
499
|
+
- spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
|
500
|
+
- spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
|
501
|
+
- spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
|
502
|
+
- spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
|
503
|
+
- spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
|
504
|
+
- spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
|
247
505
|
- spec/dummy/db/schema.rb
|
248
506
|
- spec/dummy/db/test.sqlite3
|
249
507
|
- spec/dummy/private/system/inventories/4/original/inventory_file_sample.tsv
|
508
|
+
- spec/dummy/private/system/inventory_files/inventories/000/000/001/original/inventory_file_sample.tsv
|
250
509
|
- spec/dummy/private/system/inventory_files/inventories/000/000/004/original/inventory_file_sample.tsv
|
251
510
|
- spec/dummy/public/404.html
|
252
511
|
- spec/dummy/public/422.html
|
@@ -257,7 +516,9 @@ test_files:
|
|
257
516
|
- spec/factories/user.rb
|
258
517
|
- spec/fixtures/inventories.yml
|
259
518
|
- spec/fixtures/inventory_files.yml
|
519
|
+
- spec/fixtures/libraries.yml
|
260
520
|
- spec/fixtures/library_groups.yml
|
521
|
+
- spec/fixtures/profiles.yml
|
261
522
|
- spec/fixtures/roles.yml
|
262
523
|
- spec/fixtures/user_has_roles.yml
|
263
524
|
- spec/fixtures/users.yml
|