enju_leaf 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -0
  3. data/Rakefile +9 -1
  4. data/app/assets/javascripts/enju_leaf.js +1 -1
  5. data/app/assets/javascripts/{enju.menu.js → menu.js} +0 -0
  6. data/app/assets/javascripts/mobile.js +2 -2
  7. data/app/assets/stylesheets/enju.css +2 -0
  8. data/app/views/page/opensearch.xml.builder +1 -0
  9. data/app/views/page/system_information.html.erb +7 -1
  10. data/lib/enju_leaf.rb +0 -1
  11. data/lib/enju_leaf/version.rb +1 -1
  12. data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +2 -19
  13. data/lib/generators/enju_leaf/seed/seed_generator.rb +29 -0
  14. data/lib/generators/enju_leaf/setup/setup_generator.rb +0 -1
  15. data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +9 -12
  16. data/lib/tasks/enju_leaf_tasks.rake +2 -1
  17. data/spec/dummy/app/models/application_record.rb +3 -0
  18. data/spec/dummy/app/models/user.rb +1 -1
  19. data/spec/dummy/config/application.rb +1 -1
  20. data/spec/dummy/db/schema.rb +0 -390
  21. metadata +323 -516
  22. data/README.rdoc +0 -30
  23. data/config/locales/en.yml +0 -214
  24. data/config/locales/ja.yml +0 -204
  25. data/lib/generators/enju_leaf/setup/templates/db/fixtures/roles.yml +0 -29
  26. data/lib/generators/enju_leaf/setup/templates/db/fixtures/user_groups.yml +0 -7
  27. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  28. data/spec/dummy/db/migrate/032_create_checkins.rb +0 -17
  29. data/spec/dummy/db/migrate/033_create_checkouts.rb +0 -25
  30. data/spec/dummy/db/migrate/035_create_reserves.rb +0 -26
  31. data/spec/dummy/db/migrate/055_create_bookmarks.rb +0 -22
  32. data/spec/dummy/db/migrate/121_create_checked_items.rb +0 -17
  33. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +0 -16
  34. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +0 -17
  35. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +0 -25
  36. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +0 -18
  37. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +0 -17
  38. data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -15
  39. data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -13
  40. data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +0 -13
  41. data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -15
  42. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +0 -17
  43. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +0 -17
  44. data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -15
  45. data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -15
  46. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +0 -17
  47. data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -23
  48. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +0 -15
  49. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +0 -21
  50. data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
  51. data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +0 -9
  52. data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +0 -9
  53. data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
  54. data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +0 -9
  55. data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +0 -6
  56. data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +0 -5
  57. data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +0 -6
  58. data/spec/dummy/db/migrate/20111231145823_add_share_bookmarks_to_user.rb +0 -5
  59. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +0 -5
  60. data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +0 -5
  61. data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +0 -6
  62. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
  63. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
  64. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +0 -8
  65. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
  66. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
  67. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +0 -18
  68. data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +0 -18
  69. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +0 -18
  70. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +0 -18
  71. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +0 -18
  72. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +0 -18
  73. data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -18
  74. data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +0 -12
  75. data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +0 -6
  76. data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +0 -5
  77. data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +0 -5
  78. data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +0 -6
  79. data/spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb +0 -6
  80. data/spec/dummy/db/migrate/20150106001709_create_demands.rb +0 -14
  81. data/spec/dummy/db/migrate/20150421023923_create_identities.rb +0 -15
  82. data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +0 -5
  83. data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +0 -9
  84. data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +0 -9
  85. data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +0 -9
  86. data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +0 -9
  87. data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +0 -9
  88. data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +0 -5
  89. data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +0 -11
  90. data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +0 -5
  91. data/spec/fixtures/agent_import_files.yml +0 -44
  92. data/spec/fixtures/agent_import_results.yml +0 -26
  93. data/spec/fixtures/agent_relationship_types.yml +0 -34
  94. data/spec/fixtures/agent_relationships.yml +0 -25
  95. data/spec/fixtures/agent_types.yml +0 -35
  96. data/spec/fixtures/agents.yml +0 -326
  97. data/spec/fixtures/baskets.yml +0 -80
  98. data/spec/fixtures/carrier_type_has_checkout_types.yml +0 -30
  99. data/spec/fixtures/checked_items.yml +0 -34
  100. data/spec/fixtures/checkins.yml +0 -54
  101. data/spec/fixtures/checkout_stat_has_manifestations.yml +0 -23
  102. data/spec/fixtures/checkout_stat_has_users.yml +0 -23
  103. data/spec/fixtures/checkout_types.yml +0 -33
  104. data/spec/fixtures/checkouts.yml +0 -162
  105. data/spec/fixtures/circulation_statuses.yml +0 -119
  106. data/spec/fixtures/create_types.yml +0 -47
  107. data/spec/fixtures/creates.yml +0 -66
  108. data/spec/fixtures/donates.yml +0 -31
  109. data/spec/fixtures/event_categories.yml +0 -55
  110. data/spec/fixtures/events.yml +0 -116
  111. data/spec/fixtures/exemplifies.yml +0 -168
  112. data/spec/fixtures/import_requests.yml +0 -25
  113. data/spec/fixtures/item_has_use_restrictions.yml +0 -60
  114. data/spec/fixtures/items.yml +0 -303
  115. data/spec/fixtures/lending_policies.yml +0 -98
  116. data/spec/fixtures/licenses.yml +0 -29
  117. data/spec/fixtures/manifestation_checkout_stats.yml +0 -27
  118. data/spec/fixtures/manifestation_relationship_types.yml +0 -29
  119. data/spec/fixtures/manifestation_relationships.yml +0 -30
  120. data/spec/fixtures/manifestation_reserve_stats.yml +0 -27
  121. data/spec/fixtures/medium_of_performances.yml +0 -29
  122. data/spec/fixtures/message_requests.yml +0 -27
  123. data/spec/fixtures/message_templates.yml +0 -105
  124. data/spec/fixtures/owns.yml +0 -27
  125. data/spec/fixtures/picture_files.yml +0 -64
  126. data/spec/fixtures/produce_types.yml +0 -31
  127. data/spec/fixtures/produces.yml +0 -150
  128. data/spec/fixtures/realize_types.yml +0 -39
  129. data/spec/fixtures/realizes.yml +0 -87
  130. data/spec/fixtures/request_status_types.yml +0 -63
  131. data/spec/fixtures/request_types.yml +0 -55
  132. data/spec/fixtures/reserve_stat_has_manifestations.yml +0 -23
  133. data/spec/fixtures/reserve_stat_has_users.yml +0 -23
  134. data/spec/fixtures/reserve_transitions.yml +0 -88
  135. data/spec/fixtures/reserves.yml +0 -162
  136. data/spec/fixtures/resource_import_files.yml +0 -44
  137. data/spec/fixtures/resource_import_results.yml +0 -29
  138. data/spec/fixtures/series_statements.yml +0 -45
  139. data/spec/fixtures/subscribes.yml +0 -45
  140. data/spec/fixtures/subscriptions.yml +0 -27
  141. data/spec/fixtures/use_restrictions.yml +0 -92
  142. data/spec/fixtures/user_checkout_stats.yml +0 -27
  143. data/spec/fixtures/user_group_has_checkout_types.yml +0 -110
@@ -1,80 +0,0 @@
1
- ---
2
- basket_00001:
3
- updated_at: 2008-01-21 17:21:58.554146 +09:00
4
- id: 1
5
- note:
6
- user_id: 1
7
- created_at: 2008-01-21 17:21:58.554146 +09:00
8
- basket_00002:
9
- updated_at: 2008-01-21 17:26:14.585596 +09:00
10
- id: 2
11
- note:
12
- user_id: 2
13
- created_at: 2008-01-21 17:26:14.585596 +09:00
14
- basket_00003:
15
- updated_at: 2008-01-21 17:26:14.585596 +09:00
16
- id: 3
17
- note:
18
- user_id: 3
19
- created_at: 2008-01-21 17:26:14.585596 +09:00
20
- basket_00004:
21
- updated_at: 2008-01-21 17:26:14.585596 +09:00
22
- id: 4
23
- note:
24
- user_id: 2
25
- created_at: 2008-01-21 17:26:14.585596 +09:00
26
- basket_00005:
27
- updated_at: 2008-01-21 17:26:14.585596 +09:00
28
- id: 5
29
- note:
30
- user_id: 1
31
- created_at: 2008-01-21 17:26:14.585596 +09:00
32
- basket_00006:
33
- updated_at: 2008-01-21 17:26:14.585596 +09:00
34
- id: 6
35
- note:
36
- user_id: 2
37
- created_at: 2008-01-21 17:26:14.585596 +09:00
38
- basket_00007:
39
- updated_at: 2008-01-21 17:26:14.585596 +09:00
40
- id: 7
41
- note:
42
- user_id: 3
43
- created_at: 2008-01-21 17:26:14.585596 +09:00
44
- basket_00008:
45
- updated_at: 2008-01-21 17:26:14.585596 +09:00
46
- id: 8
47
- note:
48
- user_id: 3
49
- created_at: 2008-01-21 17:26:14.585596 +09:00
50
- basket_00009:
51
- updated_at: 2008-01-21 17:26:14.585596 +09:00
52
- id: 9
53
- note:
54
- user_id: 2
55
- created_at: 2008-01-21 17:26:14.585596 +09:00
56
- basket_00010:
57
- updated_at: 2008-01-21 17:26:14.585596 +09:00
58
- id: 10
59
- note:
60
- user_id: 3
61
- created_at: 2008-01-21 17:26:14.585596 +09:00
62
- basket_00011:
63
- updated_at: 2008-01-21 17:26:14.585596 +09:00
64
- id: 11
65
- note:
66
- user_id: 4
67
- created_at: 2008-01-21 17:26:14.585596 +09:00
68
-
69
- # == Schema Information
70
- #
71
- # Table name: baskets
72
- #
73
- # id :integer not null, primary key
74
- # user_id :integer
75
- # note :text
76
- # lock_version :integer default(0), not null
77
- # created_at :datetime not null
78
- # updated_at :datetime not null
79
- #
80
-
@@ -1,30 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- carrier_type_has_checkout_type_00001:
4
- id: 1
5
- carrier_type_id: 1
6
- checkout_type_id: 1
7
- note: MyText
8
- carrier_type_has_checkout_type_00002:
9
- id: 2
10
- carrier_type_id: 1
11
- checkout_type_id: 2
12
- note: MyText
13
- carrier_type_has_checkout_type_00003:
14
- id: 3
15
- carrier_type_id: 2
16
- checkout_type_id: 1
17
- note: MyText
18
-
19
- # == Schema Information
20
- #
21
- # Table name: carrier_type_has_checkout_types
22
- #
23
- # id :integer not null, primary key
24
- # carrier_type_id :integer not null
25
- # checkout_type_id :integer not null
26
- # note :text
27
- # position :integer
28
- # created_at :datetime
29
- # updated_at :datetime
30
- #
@@ -1,34 +0,0 @@
1
- ---
2
- checked_item_00001:
3
- id: 1
4
- item_id: 10
5
- basket_id: 1
6
- due_date: <%= 1.week.from_now.to_s(:db) %>
7
- checked_item_00002:
8
- id: 2
9
- item_id: 6
10
- basket_id: 2
11
- due_date: <%= 1.week.from_now.to_s(:db) %>
12
- checked_item_00003:
13
- id: 3
14
- item_id: 6
15
- basket_id: 9
16
- due_date: <%= 1.week.from_now.to_s(:db) %>
17
- checked_item_00004:
18
- id: 4
19
- item_id: 12
20
- basket_id: 8
21
- due_date: <%= 1.week.from_now.to_s(:db) %>
22
-
23
- # == Schema Information
24
- #
25
- # Table name: checked_items
26
- #
27
- # id :integer not null, primary key
28
- # item_id :integer not null
29
- # basket_id :integer not null
30
- # due_date :datetime not null
31
- # created_at :datetime
32
- # updated_at :datetime
33
- # librarian_id :integer
34
- #
@@ -1,54 +0,0 @@
1
- ---
2
- checkin_00001:
3
- item_id: 10
4
- updated_at: 2008-01-22 12:58:54.347742 +09:00
5
- id: 1
6
- librarian_id: 1
7
- created_at: 2008-01-22 12:58:54.347742 +09:00
8
- basket_id: 9
9
- lock_version: 0
10
- checkin_00002:
11
- item_id: 9
12
- updated_at: 2007-12-14 00:28:41.854022 +09:00
13
- id: 2
14
- librarian_id: 2
15
- created_at: 2007-12-14 00:28:41.854022 +09:00
16
- basket_id: 10
17
- lock_version: 0
18
- checkin_00003:
19
- item_id: 8
20
- updated_at: 2007-12-20 21:24:18.729192 +09:00
21
- id: 3
22
- librarian_id: 1
23
- created_at: 2007-12-20 21:24:18.729192 +09:00
24
- basket_id: 10
25
- lock_version: 0
26
- checkin_00004:
27
- item_id: 7
28
- updated_at: 2008-01-23 00:39:27.785676 +09:00
29
- id: 4
30
- librarian_id: 2
31
- created_at: 2008-01-23 00:39:27.785676 +09:00
32
- basket_id: 10
33
- lock_version: 0
34
- checkin_00005:
35
- item_id: 6
36
- updated_at: 2007-12-20 21:25:04.619479 +09:00
37
- id: 5
38
- librarian_id: 1
39
- created_at: 2007-12-20 21:25:04.619479 +09:00
40
- basket_id: 10
41
- lock_version: 0
42
-
43
- # == Schema Information
44
- #
45
- # Table name: checkins
46
- #
47
- # id :integer not null, primary key
48
- # item_id :integer not null
49
- # librarian_id :integer
50
- # basket_id :integer
51
- # created_at :datetime
52
- # updated_at :datetime
53
- # lock_version :integer default(0), not null
54
- #
@@ -1,23 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- one:
4
- manifestation_checkout_stat_id: 1
5
- manifestation_id: 1
6
- checkouts_count: 1
7
-
8
- two:
9
- manifestation_checkout_stat_id: 2
10
- manifestation_id: 1
11
- checkouts_count: 1
12
-
13
- # == Schema Information
14
- #
15
- # Table name: checkout_stat_has_manifestations
16
- #
17
- # id :integer not null, primary key
18
- # manifestation_checkout_stat_id :integer not null
19
- # manifestation_id :integer not null
20
- # checkouts_count :integer
21
- # created_at :datetime
22
- # updated_at :datetime
23
- #
@@ -1,23 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- one:
4
- user_checkout_stat_id: 1
5
- user_id: 1
6
- checkouts_count: 1
7
-
8
- two:
9
- user_checkout_stat_id: 2
10
- user_id: 1
11
- checkouts_count: 1
12
-
13
- # == Schema Information
14
- #
15
- # Table name: checkout_stat_has_users
16
- #
17
- # id :integer not null, primary key
18
- # user_checkout_stat_id :integer not null
19
- # user_id :integer not null
20
- # checkouts_count :integer default(0), not null
21
- # created_at :datetime
22
- # updated_at :datetime
23
- #
@@ -1,33 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- checkout_type_00001:
4
- id: 1
5
- name: book
6
- display_name: book
7
- note:
8
- position: 1
9
- checkout_type_00002:
10
- id: 2
11
- name: serial
12
- display_name: serial
13
- note:
14
- position: 2
15
- checkout_type_00003:
16
- id: 3
17
- name: cd
18
- display_name: cd
19
- note:
20
- position: 3
21
-
22
- # == Schema Information
23
- #
24
- # Table name: checkout_types
25
- #
26
- # id :integer not null, primary key
27
- # name :string(255) not null
28
- # display_name :text
29
- # note :text
30
- # position :integer
31
- # created_at :datetime
32
- # updated_at :datetime
33
- #
@@ -1,162 +0,0 @@
1
- ---
2
- checkout_00001:
3
- item_id: 1
4
- updated_at: 2007-09-08 01:20:22.000026 +09:00
5
- lock_version: 0
6
- user_id: 1
7
- id: 1
8
- librarian_id: 1
9
- checkout_renewal_count: 0
10
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
11
- created_at: 2007-09-08 01:19:02.285850 +09:00
12
- basket_id: 1
13
- checkout_00002:
14
- item_id: 2
15
- updated_at: 2007-09-08 01:34:25.103403 +09:00
16
- lock_version: 0
17
- user_id: 1
18
- id: 2
19
- librarian_id: 1
20
- checkout_renewal_count: 0
21
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
22
- created_at: 2007-09-08 01:34:07.363023 +09:00
23
- basket_id: 1
24
- checkout_00003:
25
- item_id: 3
26
- updated_at: 2007-09-09 21:15:11.648996 +09:00
27
- lock_version: 0
28
- user_id: 3
29
- id: 3
30
- librarian_id: 1
31
- checkout_renewal_count: 0
32
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
33
- created_at: 2007-09-08 01:39:03.210081 +09:00
34
- basket_id: 2
35
- checkout_00004:
36
- item_id: 4
37
- updated_at: 2007-09-09 21:15:11.648996 +09:00
38
- lock_version: 0
39
- user_id: 1
40
- id: 4
41
- librarian_id: 1
42
- checkout_renewal_count: 0
43
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
44
- created_at: 2007-09-08 01:39:04.210081 +09:00
45
- basket_id: 3
46
- checkout_00005:
47
- item_id: 5
48
- updated_at: 2007-09-09 21:15:11.648996 +09:00
49
- lock_version: 0
50
- user_id: 2
51
- id: 5
52
- librarian_id: 1
53
- checkout_renewal_count: 0
54
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
55
- created_at: 2007-09-08 01:39:05.210081 +09:00
56
- basket_id: 4
57
- checkout_00006:
58
- item_id: 7
59
- updated_at: 2007-09-09 21:15:11.648996 +09:00
60
- lock_version: 0
61
- user_id: 2
62
- id: 6
63
- librarian_id: 2
64
- checkout_renewal_count: 0
65
- due_date: 2010-09-15 00:00:00 +09:00
66
- created_at: 2007-09-08 01:39:06.210081 +09:00
67
- checkout_00007:
68
- item_id: 7
69
- updated_at: 2007-09-09 21:15:11.648996 +09:00
70
- lock_version: 0
71
- user_id: 1
72
- id: 7
73
- librarian_id: 1
74
- checkout_renewal_count: 0
75
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
76
- created_at: 2007-09-08 01:39:07.210081 +09:00
77
- basket_id: 5
78
- checkout_00008:
79
- item_id: 8
80
- updated_at: 2007-09-09 21:15:11.648996 +09:00
81
- lock_version: 0
82
- user_id: 2
83
- id: 8
84
- librarian_id: 1
85
- checkout_renewal_count: 0
86
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
87
- created_at: 2007-09-08 01:39:08.210081 +09:00
88
- basket_id: 6
89
- checkout_00009:
90
- item_id: 9
91
- updated_at: 2007-09-09 21:15:11.648996 +09:00
92
- lock_version: 0
93
- user_id: 3
94
- id: 9
95
- librarian_id: 1
96
- checkout_renewal_count: 1
97
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
98
- created_at: 2007-09-08 01:39:09.210081 +09:00
99
- basket_id: 7
100
- checkout_00010:
101
- item_id: 13
102
- updated_at: 2007-09-09 21:15:11.648996 +09:00
103
- lock_version: 0
104
- user_id: 3
105
- id: 10
106
- librarian_id: 1
107
- checkout_renewal_count: 1
108
- due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
109
- created_at: 2007-09-08 01:39:10.210081 +09:00
110
- basket_id: 7
111
- checkout_00011:
112
- item_id: 14
113
- updated_at: 2007-09-09 21:15:11.648996 +09:00
114
- lock_version: 0
115
- user_id: 1
116
- id: 11
117
- librarian_id: 1
118
- checkout_renewal_count: 1
119
- due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
120
- created_at: 2007-09-08 01:39:11.210081 +09:00
121
- basket_id: 7
122
- checkout_00012:
123
- item_id: 6
124
- updated_at: 2007-09-09 21:15:11.648996 +09:00
125
- lock_version: 0
126
- user_id: 3
127
- id: 12
128
- librarian_id: 1
129
- checkout_renewal_count: 1
130
- due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
131
- created_at: 2007-09-08 01:39:12.210081 +09:00
132
- basket_id: 8
133
- checkin_id: 5
134
- checkout_00013:
135
- item_id: 7
136
- updated_at: 2007-09-09 21:15:11.648996 +09:00
137
- lock_version: 0
138
- user_id: 3
139
- id: 13
140
- librarian_id: 1
141
- checkout_renewal_count: 1
142
- due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
143
- created_at: 2007-09-08 01:39:13.210081 +09:00
144
- basket_id: 8
145
- checkin_id: 4
146
-
147
- # == Schema Information
148
- #
149
- # Table name: checkouts
150
- #
151
- # id :integer not null, primary key
152
- # user_id :integer
153
- # item_id :integer not null
154
- # checkin_id :integer
155
- # librarian_id :integer
156
- # basket_id :integer
157
- # due_date :datetime
158
- # checkout_renewal_count :integer default(0), not null
159
- # lock_version :integer default(0), not null
160
- # created_at :datetime
161
- # updated_at :datetime
162
- #