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
@@ -1,119 +0,0 @@
|
|
1
|
-
---
|
2
|
-
circulation_status_00001:
|
3
|
-
name: Available For Pickup
|
4
|
-
display_name: "en: Available For Pickup\r\n\
|
5
|
-
ja: 持ち出し可能"
|
6
|
-
id: 1
|
7
|
-
note: ""
|
8
|
-
position: 1
|
9
|
-
circulation_status_00002:
|
10
|
-
name: Available On Shelf
|
11
|
-
display_name: "en: Available on Shelf\r\n\
|
12
|
-
ja: 在架(利用可能)"
|
13
|
-
id: 2
|
14
|
-
note: ""
|
15
|
-
position: 2
|
16
|
-
circulation_status_00003:
|
17
|
-
name: Circulation Status Undefined
|
18
|
-
display_name: Circulation Status Undefined
|
19
|
-
id: 3
|
20
|
-
note: ""
|
21
|
-
position: 3
|
22
|
-
circulation_status_00004:
|
23
|
-
name: Claimed Returned Or Never Borrowed
|
24
|
-
display_name: Claimed Returned Or Never Borrowed
|
25
|
-
id: 4
|
26
|
-
note: ""
|
27
|
-
position: 4
|
28
|
-
circulation_status_00005:
|
29
|
-
name: In Process
|
30
|
-
display_name: "en: In Process\r\n\
|
31
|
-
ja: 作業中"
|
32
|
-
id: 5
|
33
|
-
note: ""
|
34
|
-
position: 5
|
35
|
-
circulation_status_00006:
|
36
|
-
name: In Transit Between Library Locations
|
37
|
-
display_name: In Transit Between Library Locations
|
38
|
-
id: 6
|
39
|
-
note: ""
|
40
|
-
position: 6
|
41
|
-
circulation_status_00007:
|
42
|
-
name: Lost
|
43
|
-
display_name: "en: Lost\r\n\
|
44
|
-
ja: 紛失"
|
45
|
-
id: 7
|
46
|
-
note: ""
|
47
|
-
position: 7
|
48
|
-
circulation_status_00008:
|
49
|
-
name: Missing
|
50
|
-
display_name: "en: Missing\r\n\
|
51
|
-
ja: 行方不明"
|
52
|
-
id: 8
|
53
|
-
note: ""
|
54
|
-
position: 8
|
55
|
-
circulation_status_00009:
|
56
|
-
name: Not Available
|
57
|
-
display_name: "en: Not Available\r\n\
|
58
|
-
ja: 利用不可"
|
59
|
-
id: 9
|
60
|
-
note: ""
|
61
|
-
position: 9
|
62
|
-
circulation_status_00010:
|
63
|
-
name: On Loan
|
64
|
-
display_name: "en: On Loan\r\n\
|
65
|
-
ja: 貸出中"
|
66
|
-
id: 10
|
67
|
-
note: ""
|
68
|
-
position: 10
|
69
|
-
circulation_status_00011:
|
70
|
-
name: On Order
|
71
|
-
display_name: On Order
|
72
|
-
id: 11
|
73
|
-
note: ""
|
74
|
-
position: 11
|
75
|
-
circulation_status_00012:
|
76
|
-
name: Pending Transfer
|
77
|
-
display_name: Pending Transfer
|
78
|
-
id: 12
|
79
|
-
note: ""
|
80
|
-
position: 12
|
81
|
-
circulation_status_00013:
|
82
|
-
name: Recalled
|
83
|
-
display_name: Recalled
|
84
|
-
id: 13
|
85
|
-
note: ""
|
86
|
-
position: 13
|
87
|
-
circulation_status_00014:
|
88
|
-
name: Waiting To Be Reshelved
|
89
|
-
display_name: Waiting To Be Reshelved
|
90
|
-
id: 14
|
91
|
-
note: ""
|
92
|
-
position: 14
|
93
|
-
circulation_status_00015:
|
94
|
-
name: Not arrived
|
95
|
-
display_name: "en: Not arrived\r\n\
|
96
|
-
ja: 未着"
|
97
|
-
id: 15
|
98
|
-
note: ""
|
99
|
-
position: 15
|
100
|
-
circulation_status_00016:
|
101
|
-
name: Removed
|
102
|
-
display_name: "en: Removed\r\n\
|
103
|
-
ja: 除籍済み"
|
104
|
-
id: 16
|
105
|
-
note: ""
|
106
|
-
position: 16
|
107
|
-
|
108
|
-
# == Schema Information
|
109
|
-
#
|
110
|
-
# Table name: circulation_statuses
|
111
|
-
#
|
112
|
-
# id :integer not null, primary key
|
113
|
-
# name :string(255) not null
|
114
|
-
# display_name :text
|
115
|
-
# note :text
|
116
|
-
# position :integer
|
117
|
-
# created_at :datetime
|
118
|
-
# updated_at :datetime
|
119
|
-
#
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2
|
-
|
3
|
-
author:
|
4
|
-
name: author
|
5
|
-
display_name: "en: Author\r\n\
|
6
|
-
ja: 著者"
|
7
|
-
note:
|
8
|
-
position: 1
|
9
|
-
id: 1
|
10
|
-
|
11
|
-
editor:
|
12
|
-
name: editor
|
13
|
-
display_name: "en: Editor\r\n\
|
14
|
-
ja: 編者"
|
15
|
-
note:
|
16
|
-
position: 2
|
17
|
-
id: 2
|
18
|
-
|
19
|
-
translator:
|
20
|
-
name: translator
|
21
|
-
display_name: "en: Translator\r\n\
|
22
|
-
ja: 訳者"
|
23
|
-
note:
|
24
|
-
position: 3
|
25
|
-
id: 3
|
26
|
-
|
27
|
-
illustrator:
|
28
|
-
name: illustrator
|
29
|
-
display_name: "en: Illustrator\r\n\
|
30
|
-
ja: 作画者"
|
31
|
-
note:
|
32
|
-
position: 4
|
33
|
-
id: 4
|
34
|
-
|
35
|
-
# == Schema Information
|
36
|
-
#
|
37
|
-
# Table name: create_types
|
38
|
-
#
|
39
|
-
# id :integer not null, primary key
|
40
|
-
# name :string(255)
|
41
|
-
# display_name :text
|
42
|
-
# note :text
|
43
|
-
# position :integer
|
44
|
-
# created_at :datetime
|
45
|
-
# updated_at :datetime
|
46
|
-
#
|
47
|
-
|
data/spec/fixtures/creates.yml
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
create_00001:
|
3
|
-
updated_at: 2007-12-13 19:56:07.002082 +09:00
|
4
|
-
agent_id: 1
|
5
|
-
id: 1
|
6
|
-
work_id: 1
|
7
|
-
position: 1
|
8
|
-
created_at: 2007-12-13 19:56:07.002082 +09:00
|
9
|
-
create_00002:
|
10
|
-
updated_at: 2007-12-13 19:56:48.538796 +09:00
|
11
|
-
agent_id: 1
|
12
|
-
id: 2
|
13
|
-
work_id: 2
|
14
|
-
position: 1
|
15
|
-
created_at: 2007-12-13 19:56:48.538796 +09:00
|
16
|
-
create_00003:
|
17
|
-
updated_at: 2007-12-13 19:56:48.538796 +09:00
|
18
|
-
agent_id: 2
|
19
|
-
id: 3
|
20
|
-
work_id: 1
|
21
|
-
position: 2
|
22
|
-
created_at: 2007-12-13 19:56:48.538796 +09:00
|
23
|
-
create_00101:
|
24
|
-
updated_at: 2010-03-03 17:00:00.538796 +09:00
|
25
|
-
agent_id: 101
|
26
|
-
id: 101
|
27
|
-
work_id: 101
|
28
|
-
position: 2
|
29
|
-
created_at: 2010-03-03 17:00:00.538796 +09:00
|
30
|
-
create_00102:
|
31
|
-
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
32
|
-
agent_id: 103
|
33
|
-
id: 102
|
34
|
-
work_id: 102
|
35
|
-
position: 2
|
36
|
-
created_at: 2010-03-16 19:00:00.538796 +09:00
|
37
|
-
create_00103:
|
38
|
-
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
39
|
-
agent_id: 103
|
40
|
-
id: 103
|
41
|
-
work_id: 103
|
42
|
-
position: 2
|
43
|
-
created_at: 2010-03-16 19:00:00.538796 +09:00
|
44
|
-
create_00104:
|
45
|
-
updated_at: 2010-03-16 19:00:00.538796 +09:00
|
46
|
-
agent_id: 103
|
47
|
-
id: 104
|
48
|
-
work_id: 104
|
49
|
-
position: 2
|
50
|
-
created_at: 2010-03-16 19:00:00.538796 +09:00
|
51
|
-
|
52
|
-
|
53
|
-
# == Schema Information
|
54
|
-
#
|
55
|
-
# Table name: creates
|
56
|
-
#
|
57
|
-
# id :integer not null, primary key
|
58
|
-
# agent_id :integer not null
|
59
|
-
# work_id :integer not null
|
60
|
-
# position :integer
|
61
|
-
# type :string(255)
|
62
|
-
# created_at :datetime
|
63
|
-
# updated_at :datetime
|
64
|
-
# create_type_id :integer
|
65
|
-
#
|
66
|
-
|
data/spec/fixtures/donates.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
---
|
2
|
-
donate_00001:
|
3
|
-
item_id: 5
|
4
|
-
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
5
|
-
agent_id: 1
|
6
|
-
id: 1
|
7
|
-
created_at: 2008-02-10 13:24:14.793431 +09:00
|
8
|
-
donate_00002:
|
9
|
-
item_id: 6
|
10
|
-
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
11
|
-
agent_id: 1
|
12
|
-
id: 2
|
13
|
-
created_at: 2008-02-10 13:24:14.793431 +09:00
|
14
|
-
donate_00003:
|
15
|
-
item_id: 7
|
16
|
-
updated_at: 2008-02-10 13:24:14.793431 +09:00
|
17
|
-
agent_id: 2
|
18
|
-
id: 3
|
19
|
-
created_at: 2008-02-10 13:24:14.793431 +09:00
|
20
|
-
|
21
|
-
# == Schema Information
|
22
|
-
#
|
23
|
-
# Table name: donates
|
24
|
-
#
|
25
|
-
# id :integer not null, primary key
|
26
|
-
# agent_id :integer not null
|
27
|
-
# item_id :integer not null
|
28
|
-
# created_at :datetime
|
29
|
-
# updated_at :datetime
|
30
|
-
#
|
31
|
-
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
event_category_00002:
|
3
|
-
name: closed
|
4
|
-
display_name: 休館日
|
5
|
-
updated_at: 2008-01-01 16:24:32.561469 +09:00
|
6
|
-
id: 2
|
7
|
-
note: ""
|
8
|
-
created_at: 2008-01-01 16:17:34.642433 +09:00
|
9
|
-
position: 2
|
10
|
-
event_category_00003:
|
11
|
-
name: おはなし会
|
12
|
-
display_name: おはなし会
|
13
|
-
updated_at: 2008-01-01 16:24:45.267241 +09:00
|
14
|
-
id: 3
|
15
|
-
note: ""
|
16
|
-
created_at: 2008-01-01 16:17:45.415487 +09:00
|
17
|
-
position: 3
|
18
|
-
event_category_00004:
|
19
|
-
name: 上映会
|
20
|
-
display_name: 上映会
|
21
|
-
updated_at: 2008-01-01 16:24:55.261682 +09:00
|
22
|
-
id: 4
|
23
|
-
note: ""
|
24
|
-
created_at: 2008-01-01 16:18:08.868680 +09:00
|
25
|
-
position: 4
|
26
|
-
event_category_00005:
|
27
|
-
name: 講演会
|
28
|
-
display_name: 講演会
|
29
|
-
updated_at: 2008-01-01 16:25:04.251141 +09:00
|
30
|
-
id: 5
|
31
|
-
note: ""
|
32
|
-
created_at: 2008-01-01 16:25:04.251141 +09:00
|
33
|
-
position: 5
|
34
|
-
event_category_00001:
|
35
|
-
name: unknown
|
36
|
-
display_name: (not specified)
|
37
|
-
updated_at: 2008-01-01 16:24:17.869192 +09:00
|
38
|
-
id: 1
|
39
|
-
note: ""
|
40
|
-
created_at: 2008-01-01 16:17:12.549565 +09:00
|
41
|
-
position: 1
|
42
|
-
|
43
|
-
# == Schema Information
|
44
|
-
#
|
45
|
-
# Table name: event_categories
|
46
|
-
#
|
47
|
-
# id :integer not null, primary key
|
48
|
-
# name :string(255) not null
|
49
|
-
# display_name :text
|
50
|
-
# note :text
|
51
|
-
# position :integer
|
52
|
-
# created_at :datetime
|
53
|
-
# updated_at :datetime
|
54
|
-
#
|
55
|
-
|
data/spec/fixtures/events.yml
DELETED
@@ -1,116 +0,0 @@
|
|
1
|
-
---
|
2
|
-
event_00001:
|
3
|
-
updated_at: 2008-01-13 02:54:43.764011 +09:00
|
4
|
-
event_category_id: 1
|
5
|
-
end_at: 2008-01-14 02:54:00 +09:00
|
6
|
-
name: 仕事始め
|
7
|
-
display_name: 仕事始め
|
8
|
-
deleted_at:
|
9
|
-
start_at: 2008-01-13 02:54:00 +09:00
|
10
|
-
id: 1
|
11
|
-
note: なんとかかんとか
|
12
|
-
library_id: 2
|
13
|
-
created_at: 2008-01-01 16:20:54.372729 +09:00
|
14
|
-
event_00002:
|
15
|
-
updated_at: 2008-01-13 02:54:21.134175 +09:00
|
16
|
-
event_category_id: 2
|
17
|
-
end_at: 2008-01-14 02:54:00 +09:00
|
18
|
-
name: テスト
|
19
|
-
display_name: テスト
|
20
|
-
deleted_at:
|
21
|
-
start_at: 2008-01-13 02:54:00 +09:00
|
22
|
-
id: 2
|
23
|
-
note: テスト用のイベントです。
|
24
|
-
library_id: 2
|
25
|
-
created_at: 2008-01-01 20:54:25.803201 +09:00
|
26
|
-
event_00003:
|
27
|
-
updated_at: 2008-02-05 20:00:35.319131 +09:00
|
28
|
-
event_category_id: 1
|
29
|
-
end_at: 2008-02-05 00:00:00 +09:00
|
30
|
-
name: ミーティング
|
31
|
-
display_name: ミーティング
|
32
|
-
deleted_at:
|
33
|
-
start_at: 2008-01-13 00:00:00 +09:00
|
34
|
-
id: 3
|
35
|
-
note: ""
|
36
|
-
library_id: 2
|
37
|
-
created_at: 2008-01-13 02:51:10.642395 +09:00
|
38
|
-
event_00004:
|
39
|
-
updated_at: 2008-02-05 15:43:42.617670 +09:00
|
40
|
-
event_category_id: 4
|
41
|
-
end_at: 2008-02-06 00:00:00 +09:00
|
42
|
-
name: テスト
|
43
|
-
display_name: テスト
|
44
|
-
deleted_at:
|
45
|
-
start_at: 2008-02-05 00:00:00 +09:00
|
46
|
-
id: 4
|
47
|
-
note: なんとかかんとか
|
48
|
-
library_id: 3
|
49
|
-
created_at: 2008-02-05 15:43:42.617670 +09:00
|
50
|
-
event_00005:
|
51
|
-
updated_at: 2008-02-05 20:41:50.533164 +09:00
|
52
|
-
event_category_id: 1
|
53
|
-
end_at: 2008-02-08 00:00:00 +09:00
|
54
|
-
name: test
|
55
|
-
display_name: test
|
56
|
-
deleted_at:
|
57
|
-
start_at: 2008-02-05 00:00:00 +09:00
|
58
|
-
id: 5
|
59
|
-
note: ""
|
60
|
-
library_id: 2
|
61
|
-
created_at: 2008-02-05 20:41:50.533164 +09:00
|
62
|
-
event_00006:
|
63
|
-
updated_at: 2008-02-05 23:52:06.315285 +09:00
|
64
|
-
event_category_id: 2
|
65
|
-
end_at: 2008-02-08 00:00:00 +09:00
|
66
|
-
name: なんとかかんとか
|
67
|
-
display_name: なんとかかんとか
|
68
|
-
deleted_at:
|
69
|
-
start_at: 2008-02-05 00:00:00 +09:00
|
70
|
-
id: 6
|
71
|
-
note: ""
|
72
|
-
library_id: 2
|
73
|
-
created_at: 2008-02-05 20:50:26.651371 +09:00
|
74
|
-
event_00007:
|
75
|
-
updated_at: 2008-02-05 21:00:53.926050 +09:00
|
76
|
-
event_category_id: 1
|
77
|
-
end_at: 2008-02-08 00:00:00 +09:00
|
78
|
-
name: test
|
79
|
-
display_name: test
|
80
|
-
deleted_at:
|
81
|
-
start_at: 2008-02-05 00:00:00 +09:00
|
82
|
-
id: 7
|
83
|
-
note: test
|
84
|
-
library_id: 2
|
85
|
-
created_at: 2008-02-05 21:00:53.926050 +09:00
|
86
|
-
event_00008:
|
87
|
-
updated_at: 2008-02-05 21:00:53.926050 +09:00
|
88
|
-
event_category_id: 1
|
89
|
-
end_at: 2008-02-05 15:00:00 +09:00
|
90
|
-
name: test
|
91
|
-
display_name: test
|
92
|
-
deleted_at:
|
93
|
-
start_at: 2008-02-05 15:00:00 +09:00
|
94
|
-
id: 8
|
95
|
-
note: test
|
96
|
-
library_id: 2
|
97
|
-
created_at: 2008-02-05 21:00:53.926050 +09:00
|
98
|
-
|
99
|
-
# == Schema Information
|
100
|
-
#
|
101
|
-
# Table name: events
|
102
|
-
#
|
103
|
-
# id :integer not null, primary key
|
104
|
-
# library_id :integer default(1), not null
|
105
|
-
# event_category_id :integer default(1), not null
|
106
|
-
# name :string(255)
|
107
|
-
# note :text
|
108
|
-
# start_at :datetime
|
109
|
-
# end_at :datetime
|
110
|
-
# all_day :boolean default(FALSE), not null
|
111
|
-
# deleted_at :datetime
|
112
|
-
# created_at :datetime
|
113
|
-
# updated_at :datetime
|
114
|
-
# display_name :text
|
115
|
-
#
|
116
|
-
|
@@ -1,168 +0,0 @@
|
|
1
|
-
---
|
2
|
-
exemplify_00001:
|
3
|
-
updated_at: 2008-01-11 23:28:19.277110 +09:00
|
4
|
-
item_id: 1
|
5
|
-
manifestation_id: 1
|
6
|
-
id: 1
|
7
|
-
created_at: 2008-01-11 23:28:19.277110 +09:00
|
8
|
-
position: 1
|
9
|
-
exemplify_00002:
|
10
|
-
updated_at: 2008-01-11 23:28:57.068191 +09:00
|
11
|
-
item_id: 2
|
12
|
-
manifestation_id: 2
|
13
|
-
id: 2
|
14
|
-
created_at: 2008-01-11 23:28:57.068191 +09:00
|
15
|
-
exemplify_00003:
|
16
|
-
updated_at: 2008-01-11 23:32:03.701425 +09:00
|
17
|
-
item_id: 3
|
18
|
-
manifestation_id: 3
|
19
|
-
id: 3
|
20
|
-
created_at: 2008-01-11 23:32:03.701425 +09:00
|
21
|
-
exemplify_00004:
|
22
|
-
updated_at: 2008-01-11 02:34:20.183962 +09:00
|
23
|
-
item_id: 4
|
24
|
-
manifestation_id: 1
|
25
|
-
id: 4
|
26
|
-
created_at: 2008-01-11 02:34:20.183962 +09:00
|
27
|
-
position: 2
|
28
|
-
exemplify_00005:
|
29
|
-
updated_at: 2008-01-11 02:34:32.352223 +09:00
|
30
|
-
item_id: 5
|
31
|
-
manifestation_id: 2
|
32
|
-
id: 5
|
33
|
-
created_at: 2008-01-11 02:34:32.352223 +09:00
|
34
|
-
exemplify_00006:
|
35
|
-
updated_at: 2008-01-11 23:35:36.467584 +09:00
|
36
|
-
item_id: 6
|
37
|
-
manifestation_id: 3
|
38
|
-
id: 6
|
39
|
-
created_at: 2008-01-11 23:35:36.467584 +09:00
|
40
|
-
exemplify_00007:
|
41
|
-
updated_at: 2008-01-11 02:40:24.038276 +09:00
|
42
|
-
item_id: 7
|
43
|
-
manifestation_id: 1
|
44
|
-
id: 7
|
45
|
-
created_at: 2008-01-11 02:40:24.038276 +09:00
|
46
|
-
exemplify_00008:
|
47
|
-
updated_at: 2008-01-11 02:40:40.316742 +09:00
|
48
|
-
item_id: 8
|
49
|
-
manifestation_id: 2
|
50
|
-
id: 8
|
51
|
-
created_at: 2008-01-11 02:40:40.316742 +09:00
|
52
|
-
exemplify_00009:
|
53
|
-
updated_at: 2008-01-11 02:40:55.664604 +09:00
|
54
|
-
item_id: 9
|
55
|
-
manifestation_id: 3
|
56
|
-
id: 9
|
57
|
-
created_at: 2008-01-11 02:40:55.664604 +09:00
|
58
|
-
exemplify_00010:
|
59
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
60
|
-
item_id: 10
|
61
|
-
manifestation_id: 1
|
62
|
-
id: 10
|
63
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
64
|
-
exemplify_00011:
|
65
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
66
|
-
item_id: 11
|
67
|
-
manifestation_id: 1
|
68
|
-
id: 11
|
69
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
70
|
-
exemplify_00012:
|
71
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
72
|
-
item_id: 12
|
73
|
-
manifestation_id: 2
|
74
|
-
id: 12
|
75
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
76
|
-
exemplify_00013:
|
77
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
78
|
-
item_id: 13
|
79
|
-
manifestation_id: 2
|
80
|
-
id: 13
|
81
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
82
|
-
exemplify_00014:
|
83
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
84
|
-
item_id: 14
|
85
|
-
manifestation_id: 2
|
86
|
-
id: 14
|
87
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
88
|
-
exemplify_00015:
|
89
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
90
|
-
item_id: 15
|
91
|
-
manifestation_id: 2
|
92
|
-
id: 15
|
93
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
94
|
-
exemplify_00016:
|
95
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
96
|
-
item_id: 16
|
97
|
-
manifestation_id: 3
|
98
|
-
id: 16
|
99
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
100
|
-
exemplify_00017:
|
101
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
102
|
-
item_id: 17
|
103
|
-
manifestation_id: 3
|
104
|
-
id: 17
|
105
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
106
|
-
exemplify_00018:
|
107
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
108
|
-
item_id: 18
|
109
|
-
manifestation_id: 1
|
110
|
-
id: 18
|
111
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
112
|
-
exemplify_00019:
|
113
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
114
|
-
item_id: 19
|
115
|
-
manifestation_id: 1
|
116
|
-
id: 19
|
117
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
118
|
-
exemplify_00020:
|
119
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
120
|
-
item_id: 20
|
121
|
-
manifestation_id: 1
|
122
|
-
id: 20
|
123
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
124
|
-
exemplify_00021:
|
125
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
126
|
-
item_id: 21
|
127
|
-
manifestation_id: 11
|
128
|
-
id: 21
|
129
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
130
|
-
exemplify_00022:
|
131
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
132
|
-
item_id: 22
|
133
|
-
manifestation_id: 11
|
134
|
-
id: 22
|
135
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
136
|
-
exemplify_00023:
|
137
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
138
|
-
item_id: 23
|
139
|
-
manifestation_id: 11
|
140
|
-
id: 23
|
141
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
142
|
-
exemplify_00024:
|
143
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
144
|
-
item_id: 24
|
145
|
-
manifestation_id: 3
|
146
|
-
id: 24
|
147
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
148
|
-
exemplify_00025:
|
149
|
-
updated_at: 2008-01-11 02:44:37.135721 +09:00
|
150
|
-
item_id: 25
|
151
|
-
manifestation_id: 8
|
152
|
-
id: 25
|
153
|
-
created_at: 2008-01-11 02:44:37.135721 +09:00
|
154
|
-
|
155
|
-
|
156
|
-
# == Schema Information
|
157
|
-
#
|
158
|
-
# Table name: exemplifies
|
159
|
-
#
|
160
|
-
# id :integer not null, primary key
|
161
|
-
# manifestation_id :integer not null
|
162
|
-
# item_id :integer not null
|
163
|
-
# type :string(255)
|
164
|
-
# position :integer
|
165
|
-
# created_at :datetime
|
166
|
-
# updated_at :datetime
|
167
|
-
#
|
168
|
-
|