enju_leaf 1.3.2 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -0
- data/Rakefile +9 -1
- data/app/assets/javascripts/enju_leaf.js +1 -1
- data/app/assets/javascripts/{enju.menu.js → menu.js} +0 -0
- data/app/assets/javascripts/mobile.js +1 -1
- data/app/assets/stylesheets/enju.css +2 -0
- data/app/views/devise/registrations/edit.html.erb +1 -1
- data/app/views/page/about.en.html.erb +7 -7
- data/app/views/page/about.ja.html.erb +7 -7
- data/app/views/page/configuration.html.erb +2 -0
- data/app/views/page/opensearch.xml.builder +1 -0
- data/app/views/page/system_information.html.erb +7 -1
- data/config/locales/en.yml +7 -203
- data/config/locales/ja.yml +7 -193
- data/lib/enju_leaf.rb +0 -1
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +4 -19
- data/lib/generators/enju_leaf/seed/seed_generator.rb +29 -0
- data/lib/generators/enju_leaf/setup/setup_generator.rb +13 -14
- data/lib/generators/enju_leaf/setup/templates/Procfile +1 -1
- data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +13 -12
- data/lib/tasks/enju_leaf_tasks.rake +2 -1
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/schema.rb +0 -390
- data/spec/views/page/configuration.html.erb_spec.rb +1 -1
- metadata +76 -253
- data/README.rdoc +0 -30
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/roles.yml +0 -29
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/user_groups.yml +0 -7
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/db/migrate/032_create_checkins.rb +0 -17
- data/spec/dummy/db/migrate/033_create_checkouts.rb +0 -25
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -26
- data/spec/dummy/db/migrate/055_create_bookmarks.rb +0 -22
- data/spec/dummy/db/migrate/121_create_checked_items.rb +0 -17
- data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +0 -16
- data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +0 -17
- data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +0 -25
- data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +0 -18
- data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -13
- data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +0 -13
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -23
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +0 -15
- data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +0 -21
- data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
- data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +0 -9
- data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +0 -6
- data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +0 -6
- data/spec/dummy/db/migrate/20111231145823_add_share_bookmarks_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +0 -5
- data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +0 -5
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +0 -6
- data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +0 -8
- data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
- data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +0 -12
- data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +0 -6
- data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20150106001709_create_demands.rb +0 -14
- data/spec/dummy/db/migrate/20150421023923_create_identities.rb +0 -15
- data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +0 -5
- data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +0 -11
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +0 -5
- data/spec/fixtures/agent_import_files.yml +0 -44
- data/spec/fixtures/agent_import_results.yml +0 -26
- data/spec/fixtures/agent_relationship_types.yml +0 -34
- data/spec/fixtures/agent_relationships.yml +0 -25
- data/spec/fixtures/agent_types.yml +0 -35
- data/spec/fixtures/agents.yml +0 -326
- data/spec/fixtures/baskets.yml +0 -80
- data/spec/fixtures/carrier_type_has_checkout_types.yml +0 -30
- data/spec/fixtures/checked_items.yml +0 -34
- data/spec/fixtures/checkins.yml +0 -54
- data/spec/fixtures/checkout_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/checkout_stat_has_users.yml +0 -23
- data/spec/fixtures/checkout_types.yml +0 -33
- data/spec/fixtures/checkouts.yml +0 -162
- data/spec/fixtures/circulation_statuses.yml +0 -119
- data/spec/fixtures/create_types.yml +0 -47
- data/spec/fixtures/creates.yml +0 -66
- data/spec/fixtures/donates.yml +0 -31
- data/spec/fixtures/event_categories.yml +0 -55
- data/spec/fixtures/events.yml +0 -116
- data/spec/fixtures/exemplifies.yml +0 -168
- data/spec/fixtures/import_requests.yml +0 -25
- data/spec/fixtures/item_has_use_restrictions.yml +0 -60
- data/spec/fixtures/items.yml +0 -303
- data/spec/fixtures/lending_policies.yml +0 -98
- data/spec/fixtures/licenses.yml +0 -29
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -27
- data/spec/fixtures/manifestation_relationship_types.yml +0 -29
- data/spec/fixtures/manifestation_relationships.yml +0 -30
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -27
- data/spec/fixtures/medium_of_performances.yml +0 -29
- data/spec/fixtures/message_requests.yml +0 -27
- data/spec/fixtures/message_templates.yml +0 -105
- data/spec/fixtures/owns.yml +0 -27
- data/spec/fixtures/picture_files.yml +0 -64
- data/spec/fixtures/produce_types.yml +0 -31
- data/spec/fixtures/produces.yml +0 -150
- data/spec/fixtures/realize_types.yml +0 -39
- data/spec/fixtures/realizes.yml +0 -87
- data/spec/fixtures/request_status_types.yml +0 -63
- data/spec/fixtures/request_types.yml +0 -55
- data/spec/fixtures/reserve_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/reserve_stat_has_users.yml +0 -23
- data/spec/fixtures/reserve_transitions.yml +0 -88
- data/spec/fixtures/reserves.yml +0 -162
- data/spec/fixtures/resource_import_files.yml +0 -44
- data/spec/fixtures/resource_import_results.yml +0 -29
- data/spec/fixtures/series_statements.yml +0 -45
- data/spec/fixtures/subscribes.yml +0 -45
- data/spec/fixtures/subscriptions.yml +0 -27
- data/spec/fixtures/use_restrictions.yml +0 -92
- data/spec/fixtures/user_checkout_stats.yml +0 -27
- data/spec/fixtures/user_group_has_checkout_types.yml +0 -110
data/spec/fixtures/licenses.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
id: 1
|
5
|
-
name: unknown
|
6
|
-
display_name: unknown
|
7
|
-
note: unknown
|
8
|
-
position: 1
|
9
|
-
|
10
|
-
two:
|
11
|
-
id: 2
|
12
|
-
name: mit
|
13
|
-
display_name: MIT
|
14
|
-
note: MIT
|
15
|
-
position: 2
|
16
|
-
|
17
|
-
# == Schema Information
|
18
|
-
#
|
19
|
-
# Table name: licenses
|
20
|
-
#
|
21
|
-
# id :integer not null, primary key
|
22
|
-
# name :string(255) not null
|
23
|
-
# display_name :string(255)
|
24
|
-
# note :text
|
25
|
-
# position :integer
|
26
|
-
# created_at :datetime
|
27
|
-
# updated_at :datetime
|
28
|
-
#
|
29
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
id: 1
|
5
|
-
start_date: 2008-12-12 17:00:38
|
6
|
-
end_date: 2008-12-13 17:00:38
|
7
|
-
note: MyText
|
8
|
-
|
9
|
-
two:
|
10
|
-
id: 2
|
11
|
-
start_date: 2008-12-12 17:00:38
|
12
|
-
end_date: 2008-12-13 17:00:38
|
13
|
-
note: MyText
|
14
|
-
|
15
|
-
# == Schema Information
|
16
|
-
#
|
17
|
-
# Table name: manifestation_checkout_stats
|
18
|
-
#
|
19
|
-
# id :integer not null, primary key
|
20
|
-
# start_date :datetime
|
21
|
-
# end_date :datetime
|
22
|
-
# note :text
|
23
|
-
# created_at :datetime
|
24
|
-
# updated_at :datetime
|
25
|
-
# started_at :datetime
|
26
|
-
# completed_at :datetime
|
27
|
-
#
|
@@ -1,29 +0,0 @@
|
|
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(255) not null
|
23
|
-
# display_name :text
|
24
|
-
# note :text
|
25
|
-
# position :integer
|
26
|
-
# created_at :datetime
|
27
|
-
# updated_at :datetime
|
28
|
-
#
|
29
|
-
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
parent_id: 1
|
5
|
-
child_id: 2
|
6
|
-
manifestation_relationship_type_id: 1
|
7
|
-
|
8
|
-
two:
|
9
|
-
parent_id: 2
|
10
|
-
child_id: 3
|
11
|
-
manifestation_relationship_type_id: 1
|
12
|
-
|
13
|
-
serial:
|
14
|
-
parent_id: 201
|
15
|
-
child_id: 202
|
16
|
-
manifestation_relationship_type_id: 1
|
17
|
-
|
18
|
-
# == Schema Information
|
19
|
-
#
|
20
|
-
# Table name: manifestation_relationships
|
21
|
-
#
|
22
|
-
# id :integer not null, primary key
|
23
|
-
# parent_id :integer
|
24
|
-
# child_id :integer
|
25
|
-
# manifestation_relationship_type_id :integer
|
26
|
-
# created_at :datetime
|
27
|
-
# updated_at :datetime
|
28
|
-
# position :integer
|
29
|
-
#
|
30
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
id: 1
|
5
|
-
start_date: 2008-12-17 04:07:24
|
6
|
-
end_date: 2008-12-18 04:07:24
|
7
|
-
note: MyText
|
8
|
-
|
9
|
-
two:
|
10
|
-
id: 2
|
11
|
-
start_date: 2008-12-17 04:07:24
|
12
|
-
end_date: 2008-12-18 04:07:24
|
13
|
-
note: MyText
|
14
|
-
|
15
|
-
# == Schema Information
|
16
|
-
#
|
17
|
-
# Table name: manifestation_reserve_stats
|
18
|
-
#
|
19
|
-
# id :integer not null, primary key
|
20
|
-
# start_date :datetime
|
21
|
-
# end_date :datetime
|
22
|
-
# note :text
|
23
|
-
# created_at :datetime
|
24
|
-
# updated_at :datetime
|
25
|
-
# started_at :datetime
|
26
|
-
# completed_at :datetime
|
27
|
-
#
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
id: 1
|
5
|
-
name: Unaccompanied
|
6
|
-
display_name: Unaccompanied
|
7
|
-
note: MyText
|
8
|
-
position: 1
|
9
|
-
|
10
|
-
two:
|
11
|
-
id: 2
|
12
|
-
name: Accompanied
|
13
|
-
display_name: Accompanied
|
14
|
-
note: MyText
|
15
|
-
position: 2
|
16
|
-
|
17
|
-
# == Schema Information
|
18
|
-
#
|
19
|
-
# Table name: medium_of_performances
|
20
|
-
#
|
21
|
-
# id :integer not null, primary key
|
22
|
-
# name :string(255) not null
|
23
|
-
# display_name :text
|
24
|
-
# note :text
|
25
|
-
# position :integer
|
26
|
-
# created_at :datetime
|
27
|
-
# updated_at :datetime
|
28
|
-
#
|
29
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
one:
|
4
|
-
sender_id: 1
|
5
|
-
receiver_id: 1
|
6
|
-
message_template_id: 1
|
7
|
-
|
8
|
-
two:
|
9
|
-
sender_id: 1
|
10
|
-
receiver_id: 1
|
11
|
-
message_template_id: 1
|
12
|
-
|
13
|
-
# == Schema Information
|
14
|
-
#
|
15
|
-
# Table name: message_requests
|
16
|
-
#
|
17
|
-
# id :integer not null, primary key
|
18
|
-
# sender_id :integer
|
19
|
-
# receiver_id :integer
|
20
|
-
# message_template_id :integer
|
21
|
-
# sent_at :datetime
|
22
|
-
# deleted_at :datetime
|
23
|
-
# body :text
|
24
|
-
# created_at :datetime
|
25
|
-
# updated_at :datetime
|
26
|
-
#
|
27
|
-
|
@@ -1,105 +0,0 @@
|
|
1
|
-
message_template_00001:
|
2
|
-
id: 1
|
3
|
-
status: reservation_accepted_for_patron
|
4
|
-
title: 予約を受け付けました
|
5
|
-
body: 予約を受け付けました。
|
6
|
-
position: 1
|
7
|
-
locale: ja
|
8
|
-
message_template_00002:
|
9
|
-
id: 2
|
10
|
-
status: item_received_for_patron
|
11
|
-
title: 資料を確保しました
|
12
|
-
body: 資料を確保しました。
|
13
|
-
position: 2
|
14
|
-
locale: ja
|
15
|
-
message_template_00003:
|
16
|
-
id: 3
|
17
|
-
status: reservation_expired_for_patron
|
18
|
-
title: 予約の期限が切れました
|
19
|
-
body: 予約の期限が切れました。
|
20
|
-
position: 3
|
21
|
-
locale: ja
|
22
|
-
message_template_00004:
|
23
|
-
id: 4
|
24
|
-
status: reservation_expired_for_library
|
25
|
-
title: 予約の期限が切れました
|
26
|
-
body: 予約の期限が切れました。
|
27
|
-
position: 4
|
28
|
-
locale: ja
|
29
|
-
message_template_00005:
|
30
|
-
id: 5
|
31
|
-
status: reservation_canceled_for_patron
|
32
|
-
title: 予約を取り消しました
|
33
|
-
body: 予約を取り消しました。
|
34
|
-
position: 5
|
35
|
-
locale: ja
|
36
|
-
message_template_00006:
|
37
|
-
id: 6
|
38
|
-
status: reservation_canceled_for_library
|
39
|
-
title: 予約を取り消しました
|
40
|
-
body: 予約を取り消しました。
|
41
|
-
position: 6
|
42
|
-
locale: ja
|
43
|
-
message_template_00007:
|
44
|
-
id: 7
|
45
|
-
status: recall_item
|
46
|
-
title: Recall item
|
47
|
-
body: Recall item
|
48
|
-
position: 7
|
49
|
-
locale: ja
|
50
|
-
message_template_00008:
|
51
|
-
id: 8
|
52
|
-
status: recall_overdue_item
|
53
|
-
title: Recall overdue item
|
54
|
-
body: Recall overdue item
|
55
|
-
position: 8
|
56
|
-
locale: ja
|
57
|
-
message_template_00009:
|
58
|
-
id: 9
|
59
|
-
status: reservation_accepted_for_library
|
60
|
-
title: 予約を受け付けました
|
61
|
-
body: 予約を受け付けました。
|
62
|
-
position: 9
|
63
|
-
locale: ja
|
64
|
-
message_template_00010:
|
65
|
-
id: 10
|
66
|
-
status: item_received_for_library
|
67
|
-
title: 資料を確保しました
|
68
|
-
body: 資料を確保しました。
|
69
|
-
position: 10
|
70
|
-
locale: ja
|
71
|
-
message_template_00011:
|
72
|
-
id: 11
|
73
|
-
status: reservation_postponed_for_patron
|
74
|
-
title: 予約を延期しました
|
75
|
-
body: 予約を延期しました。
|
76
|
-
position: 11
|
77
|
-
locale: ja
|
78
|
-
message_template_00012:
|
79
|
-
id: 12
|
80
|
-
status: reservation_postponed_for_library
|
81
|
-
title: 予約を延期しました
|
82
|
-
body: 予約を延期しました。
|
83
|
-
position: 12
|
84
|
-
locale: ja
|
85
|
-
message_template_00013:
|
86
|
-
id: 13
|
87
|
-
status: import_completed
|
88
|
-
title: インポートが完了しました
|
89
|
-
body: インポートが完了しました。
|
90
|
-
position: 13
|
91
|
-
locale: ja
|
92
|
-
message_template_00014:
|
93
|
-
id: 14
|
94
|
-
status: counting_completed
|
95
|
-
title: 集計が完了しました
|
96
|
-
body: 集計が完了しました。
|
97
|
-
position: 14
|
98
|
-
locale: ja
|
99
|
-
message_template_00015:
|
100
|
-
id: 15
|
101
|
-
status: export_completed
|
102
|
-
title: エクスポートが完了しました
|
103
|
-
body: エクスポートが完了しました。
|
104
|
-
position: 15
|
105
|
-
locale: ja
|
data/spec/fixtures/owns.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
own_00001:
|
3
|
-
item_id: 1
|
4
|
-
updated_at: 2007-11-21 21:22:57.654360 +09:00
|
5
|
-
agent_id: 1
|
6
|
-
id: 1
|
7
|
-
created_at: 2007-11-21 21:22:57.654360 +09:00
|
8
|
-
own_00002:
|
9
|
-
item_id: 2
|
10
|
-
updated_at: 2007-11-21 21:22:13.685287 +09:00
|
11
|
-
agent_id: 2
|
12
|
-
id: 2
|
13
|
-
created_at: 2007-11-21 21:22:13.685287 +09:00
|
14
|
-
|
15
|
-
# == Schema Information
|
16
|
-
#
|
17
|
-
# Table name: owns
|
18
|
-
#
|
19
|
-
# id :integer not null, primary key
|
20
|
-
# agent_id :integer not null
|
21
|
-
# item_id :integer not null
|
22
|
-
# position :integer
|
23
|
-
# type :string(255)
|
24
|
-
# created_at :datetime
|
25
|
-
# updated_at :datetime
|
26
|
-
#
|
27
|
-
|
@@ -1,64 +0,0 @@
|
|
1
|
-
---
|
2
|
-
picture_file_00001:
|
3
|
-
picture_content_type: image/x-png
|
4
|
-
updated_at: 2007-12-22 16:53:25.166728 +09:00
|
5
|
-
picture_file_size: 2353
|
6
|
-
id: 1
|
7
|
-
picture_file_name: test_00001.jpg
|
8
|
-
picture_attachable_type: Shelf
|
9
|
-
picture_attachable_id: 2
|
10
|
-
created_at: 2007-12-22 13:47:41.486807 +09:00
|
11
|
-
position: 1
|
12
|
-
picture_file_00002:
|
13
|
-
picture_content_type: image/pjpeg
|
14
|
-
updated_at: 2007-12-22 14:06:40.293209 +09:00
|
15
|
-
picture_file_size: 157914
|
16
|
-
id: 2
|
17
|
-
picture_file_name: test_00001_geometry.jpg
|
18
|
-
picture_attachable_type: Manifestation
|
19
|
-
picture_attachable_id: 1
|
20
|
-
created_at: 2007-12-22 14:06:10.870393 +09:00
|
21
|
-
position: 2
|
22
|
-
picture_file_00003:
|
23
|
-
picture_content_type: image/gif
|
24
|
-
updated_at: 2007-12-22 15:06:30.464930 +09:00
|
25
|
-
picture_file_size: 7028
|
26
|
-
id: 3
|
27
|
-
picture_file_name: overlay_spinner.gif
|
28
|
-
picture_attachable_type: Shelf
|
29
|
-
picture_attachable_id: 2
|
30
|
-
created_at: 2007-12-22 15:06:30.464930 +09:00
|
31
|
-
position: 3
|
32
|
-
picture_file_00004:
|
33
|
-
picture_content_type: image/gif
|
34
|
-
updated_at: 2007-12-22 15:06:30.464930 +09:00
|
35
|
-
picture_file_size: 7028
|
36
|
-
id: 4
|
37
|
-
picture_file_name: overlay_spinner_geometry.gif
|
38
|
-
picture_attachable_type: Patron
|
39
|
-
picture_attachable_id: 1
|
40
|
-
created_at: 2007-12-22 15:06:30.464930 +09:00
|
41
|
-
position: 4
|
42
|
-
|
43
|
-
# == Schema Information
|
44
|
-
#
|
45
|
-
# Table name: picture_files
|
46
|
-
#
|
47
|
-
# id :integer not null, primary key
|
48
|
-
# picture_attachable_id :integer
|
49
|
-
# picture_attachable_type :string(255)
|
50
|
-
# content_type :string(255)
|
51
|
-
# title :text
|
52
|
-
# filename :text
|
53
|
-
# thumbnail :string(255)
|
54
|
-
# position :integer
|
55
|
-
# created_at :datetime not null
|
56
|
-
# updated_at :datetime not null
|
57
|
-
# picture_file_name :string(255)
|
58
|
-
# picture_content_type :string(255)
|
59
|
-
# picture_file_size :integer
|
60
|
-
# picture_updated_at :datetime
|
61
|
-
# picture_fingerprint :string(255)
|
62
|
-
# picture_meta :text
|
63
|
-
#
|
64
|
-
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
publisher:
|
4
|
-
name: publisher
|
5
|
-
display_name: "en: Publisher\r\n\
|
6
|
-
ja: 出版者"
|
7
|
-
note:
|
8
|
-
position: 1
|
9
|
-
id: 1
|
10
|
-
|
11
|
-
seller:
|
12
|
-
name: seller
|
13
|
-
display_name: "en: Seller\r\n\
|
14
|
-
ja: 販売者"
|
15
|
-
note:
|
16
|
-
position: 2
|
17
|
-
id: 2
|
18
|
-
|
19
|
-
# == Schema Information
|
20
|
-
#
|
21
|
-
# Table name: produce_types
|
22
|
-
#
|
23
|
-
# id :integer not null, primary key
|
24
|
-
# name :string(255)
|
25
|
-
# display_name :text
|
26
|
-
# note :text
|
27
|
-
# position :integer
|
28
|
-
# created_at :datetime
|
29
|
-
# updated_at :datetime
|
30
|
-
#
|
31
|
-
|
data/spec/fixtures/produces.yml
DELETED
@@ -1,150 +0,0 @@
|
|
1
|
-
---
|
2
|
-
produce_00001:
|
3
|
-
updated_at: 2008-01-11 23:28:19.277110 +09:00
|
4
|
-
manifestation_id: 1
|
5
|
-
agent_id: 1
|
6
|
-
id: 1
|
7
|
-
position: 1
|
8
|
-
created_at: 2008-01-11 23:28:19.277110 +09:00
|
9
|
-
produce_00002:
|
10
|
-
updated_at: 2008-01-11 23:28:57.068191 +09:00
|
11
|
-
manifestation_id: 2
|
12
|
-
agent_id: 2
|
13
|
-
id: 2
|
14
|
-
position: 1
|
15
|
-
created_at: 2008-01-11 23:28:57.068191 +09:00
|
16
|
-
produce_00003:
|
17
|
-
updated_at: 2008-01-11 23:32:03.701425 +09:00
|
18
|
-
manifestation_id: 3
|
19
|
-
agent_id: 3
|
20
|
-
id: 3
|
21
|
-
position: 1
|
22
|
-
created_at: 2008-01-11 23:32:03.701425 +09:00
|
23
|
-
produce_00004:
|
24
|
-
updated_at: 2008-01-11 02:34:20.183962 +09:00
|
25
|
-
manifestation_id: 4
|
26
|
-
agent_id: 1
|
27
|
-
id: 4
|
28
|
-
position: 1
|
29
|
-
created_at: 2008-01-11 02:34:20.183962 +09:00
|
30
|
-
produce_00005:
|
31
|
-
updated_at: 2008-01-11 02:34:32.352223 +09:00
|
32
|
-
manifestation_id: 5
|
33
|
-
agent_id: 2
|
34
|
-
id: 5
|
35
|
-
position: 2
|
36
|
-
created_at: 2008-01-11 02:34:32.352223 +09:00
|
37
|
-
produce_00006:
|
38
|
-
updated_at: 2008-01-11 23:35:36.467584 +09:00
|
39
|
-
manifestation_id: 1
|
40
|
-
agent_id: 3
|
41
|
-
id: 6
|
42
|
-
position: 2
|
43
|
-
created_at: 2008-01-11 23:35:36.467584 +09:00
|
44
|
-
produce_00007:
|
45
|
-
updated_at: 2008-01-11 02:40:24.038276 +09:00
|
46
|
-
manifestation_id: 2
|
47
|
-
agent_id: 1
|
48
|
-
id: 7
|
49
|
-
position: 1
|
50
|
-
created_at: 2008-01-11 02:40:24.038276 +09:00
|
51
|
-
produce_00008:
|
52
|
-
updated_at: 2008-01-11 02:40:40.316742 +09:00
|
53
|
-
manifestation_id: 3
|
54
|
-
agent_id: 2
|
55
|
-
id: 8
|
56
|
-
position: 2
|
57
|
-
created_at: 2008-01-11 02:40:40.316742 +09:00
|
58
|
-
produce_00009:
|
59
|
-
updated_at: 2008-01-11 02:40:55.664604 +09:00
|
60
|
-
manifestation_id: 4
|
61
|
-
agent_id: 3
|
62
|
-
id: 9
|
63
|
-
position: 3
|
64
|
-
created_at: 2008-01-11 02:40:55.664604 +09:00
|
65
|
-
produce_00010:
|
66
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
67
|
-
manifestation_id: 5
|
68
|
-
agent_id: 1
|
69
|
-
id: 10
|
70
|
-
position: 1
|
71
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
72
|
-
produce_00101:
|
73
|
-
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
74
|
-
manifestation_id: 207
|
75
|
-
agent_id: 102
|
76
|
-
id: 101
|
77
|
-
position: 1
|
78
|
-
created_at: 2010-03-03 20:00:00.135721 +09:00
|
79
|
-
produce_00102:
|
80
|
-
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
81
|
-
manifestation_id: 201
|
82
|
-
agent_id: 102
|
83
|
-
id: 102
|
84
|
-
position: 1
|
85
|
-
created_at: 2010-03-03 20:00:00.135721 +09:00
|
86
|
-
produce_00103:
|
87
|
-
updated_at: 2010-03-03 20:00:00.135721 +09:00
|
88
|
-
manifestation_id: 202
|
89
|
-
agent_id: 102
|
90
|
-
id: 103
|
91
|
-
position: 1
|
92
|
-
created_at: 2010-03-03 20:00:00.135721 +09:00
|
93
|
-
produce_00104:
|
94
|
-
updated_at: 2010-03-16 11:00:00.135721 +09:00
|
95
|
-
manifestation_id: 208
|
96
|
-
agent_id: 101
|
97
|
-
id: 104
|
98
|
-
position: 1
|
99
|
-
created_at: 2010-03-16 11:00:00.135721 +09:00
|
100
|
-
produce_00105:
|
101
|
-
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
102
|
-
manifestation_id: 204
|
103
|
-
agent_id: 104
|
104
|
-
id: 105
|
105
|
-
position: 1
|
106
|
-
created_at: 2010-03-16 19:00:00.135721 +09:00
|
107
|
-
produce_00106:
|
108
|
-
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
109
|
-
manifestation_id: 205
|
110
|
-
agent_id: 104
|
111
|
-
id: 106
|
112
|
-
position: 1
|
113
|
-
created_at: 2010-03-16 19:00:00.135721 +09:00
|
114
|
-
produce_00107:
|
115
|
-
updated_at: 2010-03-16 19:00:00.135721 +09:00
|
116
|
-
manifestation_id: 206
|
117
|
-
agent_id: 104
|
118
|
-
id: 107
|
119
|
-
position: 1
|
120
|
-
created_at: 2010-03-16 19:00:00.135721 +09:00
|
121
|
-
produce_00201:
|
122
|
-
updated_at: 2010-03-15 20:00:00.135721 +09:00
|
123
|
-
manifestation_id: 120
|
124
|
-
agent_id: 201
|
125
|
-
id: 201
|
126
|
-
position: 1
|
127
|
-
created_at: 2010-03-15 20:00:00.135721 +09:00
|
128
|
-
produce_00202:
|
129
|
-
updated_at: 2010-03-15 20:00:00.135721 +09:00
|
130
|
-
manifestation_id: 198
|
131
|
-
agent_id: 202
|
132
|
-
id: 202
|
133
|
-
position: 1
|
134
|
-
created_at: 2010-03-15 20:00:00.135721 +09:00
|
135
|
-
|
136
|
-
|
137
|
-
# == Schema Information
|
138
|
-
#
|
139
|
-
# Table name: produces
|
140
|
-
#
|
141
|
-
# id :integer not null, primary key
|
142
|
-
# agent_id :integer not null
|
143
|
-
# manifestation_id :integer not null
|
144
|
-
# position :integer
|
145
|
-
# type :string(255)
|
146
|
-
# created_at :datetime
|
147
|
-
# updated_at :datetime
|
148
|
-
# produce_type_id :integer
|
149
|
-
#
|
150
|
-
|