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,25 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- one:
4
- isbn: '978-4774142043'
5
- manifestation_id: 1
6
- user_id: 1
7
-
8
- two:
9
- isbn: '978-4774141640'
10
- manifestation_id: 2
11
- user_id: 1
12
-
13
- # == Schema Information
14
- #
15
- # Table name: import_requests
16
- #
17
- # id :integer not null, primary key
18
- # isbn :string(255)
19
- # state :string(255)
20
- # manifestation_id :integer
21
- # user_id :integer
22
- # created_at :datetime
23
- # updated_at :datetime
24
- #
25
-
@@ -1,60 +0,0 @@
1
- ---
2
- item_has_use_restriction_00001:
3
- item_id: 1
4
- updated_at: 2008-02-13 12:29:36.013448 +09:00
5
- id: 1
6
- use_restriction_id: 10
7
- created_at: 2008-02-13 12:29:36.013448 +09:00
8
- item_has_use_restriction_00002:
9
- item_id: 2
10
- updated_at: 2008-02-13 17:58:37.527556 +09:00
11
- id: 2
12
- use_restriction_id: 2
13
- created_at: 2008-02-13 17:58:37.527556 +09:00
14
- item_has_use_restriction_00003:
15
- item_id: 3
16
- updated_at: 2008-02-13 17:58:49.490086 +09:00
17
- id: 3
18
- use_restriction_id: 3
19
- created_at: 2008-02-13 17:58:49.490086 +09:00
20
- item_has_use_restriction_00004:
21
- item_id: 17
22
- updated_at: 2008-02-13 12:29:36.013448 +09:00
23
- id: 4
24
- use_restriction_id: 4
25
- created_at: 2008-02-13 12:29:36.013448 +09:00
26
- item_has_use_restriction_00005:
27
- item_id: 21
28
- updated_at: 2008-02-13 12:29:36.013448 +09:00
29
- id: 5
30
- use_restriction_id: 4
31
- created_at: 2008-02-13 12:29:36.013448 +09:00
32
- item_has_use_restriction_00006:
33
- item_id: 11
34
- updated_at: 2008-02-13 12:29:36.013448 +09:00
35
- id: 6
36
- use_restriction_id: 4
37
- created_at: 2008-02-13 12:29:36.013448 +09:00
38
- item_has_use_restriction_00007:
39
- item_id: 6
40
- updated_at: 2008-02-13 12:29:36.013448 +09:00
41
- id: 7
42
- use_restriction_id: 4
43
- created_at: 2008-02-13 12:29:36.013448 +09:00
44
- item_has_use_restriction_00008:
45
- item_id: 24
46
- updated_at: 2008-02-13 12:29:36.013448 +09:00
47
- id: 8
48
- use_restriction_id: 4
49
- created_at: 2008-02-13 12:29:36.013448 +09:00
50
-
51
- # == Schema Information
52
- #
53
- # Table name: item_has_use_restrictions
54
- #
55
- # id :integer not null, primary key
56
- # item_id :integer not null
57
- # use_restriction_id :integer not null
58
- # created_at :datetime
59
- # updated_at :datetime
60
- #
@@ -1,303 +0,0 @@
1
- ---
2
- item_00001:
3
- updated_at: 2007-08-24 23:46:00.484813 +09:00
4
- item_identifier: '00001'
5
- circulation_status_id: 2
6
- checkout_type_id: 1
7
- shelf_id: 1
8
- call_number:
9
- manifestation_id: 1
10
- id: 1
11
- include_supplements: false
12
- created_at: 2007-08-24 23:46:00.484813 +09:00
13
- item_00002:
14
- updated_at: 2007-08-24 23:46:01.641413 +09:00
15
- item_identifier: '00002'
16
- circulation_status_id: 2
17
- checkout_type_id: 1
18
- shelf_id: 1
19
- call_number:
20
- manifestation_id: 2
21
- id: 2
22
- include_supplements: false
23
- created_at: 2007-08-24 23:46:01.641413 +09:00
24
- item_00003:
25
- updated_at: 2007-08-24 23:46:02.502569 +09:00
26
- item_identifier: '00003'
27
- circulation_status_id: 2
28
- checkout_type_id: 2
29
- shelf_id: 1
30
- call_number:
31
- manifestation_id: 3
32
- id: 3
33
- include_supplements: false
34
- created_at: 2007-08-24 23:46:02.502569 +09:00
35
- item_00004:
36
- updated_at: 2007-08-24 23:46:03.520781 +09:00
37
- item_identifier: '00004'
38
- circulation_status_id: 2
39
- checkout_type_id: 1
40
- shelf_id: 1
41
- call_number:
42
- manifestation_id: 1
43
- id: 4
44
- include_supplements: true
45
- created_at: 2007-08-24 23:46:03.520781 +09:00
46
- item_00005:
47
- updated_at: 2007-08-24 23:46:04.538073 +09:00
48
- item_identifier: '00005'
49
- circulation_status_id: 2
50
- checkout_type_id: 2
51
- shelf_id: 1
52
- call_number:
53
- manifestation_id: 2
54
- id: 5
55
- include_supplements: false
56
- created_at: 2007-08-24 23:46:04.538073 +09:00
57
- item_00006:
58
- updated_at: 2007-08-24 23:46:05.555353 +09:00
59
- item_identifier: '00006'
60
- circulation_status_id: 2
61
- checkout_type_id: 2
62
- shelf_id: 1
63
- call_number:
64
- manifestation_id: 3
65
- id: 6
66
- include_supplements: true
67
- created_at: 2007-08-24 23:46:05.555353 +09:00
68
- item_00007:
69
- updated_at: 2007-08-24 23:46:06.572631 +09:00
70
- item_identifier: '00007'
71
- circulation_status_id: 2
72
- checkout_type_id: 1
73
- shelf_id: 1
74
- call_number:
75
- manifestation_id: 1
76
- id: 7
77
- include_supplements: false
78
- created_at: 2007-08-24 23:46:06.572631 +09:00
79
- item_00008:
80
- updated_at: 2007-08-24 23:46:07.589909 +09:00
81
- item_identifier: '00008'
82
- circulation_status_id: 2
83
- checkout_type_id: 2
84
- shelf_id: 1
85
- call_number:
86
- manifestation_id: 2
87
- id: 8
88
- include_supplements: true
89
- created_at: 2007-08-24 23:46:07.589909 +09:00
90
- item_00009:
91
- updated_at: 2007-08-24 23:46:08.607081 +09:00
92
- item_identifier: '00009'
93
- circulation_status_id: 2
94
- checkout_type_id: 1
95
- shelf_id: 4
96
- call_number:
97
- manifestation_id: 3
98
- id: 9
99
- include_supplements: false
100
- created_at: 2007-08-24 23:46:08.607081 +09:00
101
- item_00010:
102
- updated_at: 2007-08-24 23:46:09.624281 +09:00
103
- item_identifier: '00010'
104
- circulation_status_id: 2
105
- checkout_type_id: 2
106
- shelf_id: 1
107
- call_number:
108
- manifestation_id: 1
109
- id: 10
110
- include_supplements: false
111
- created_at: 2007-08-24 23:46:09.624281 +09:00
112
- item_00011:
113
- updated_at: 2007-08-24 23:46:10.484813 +09:00
114
- item_identifier: '00011'
115
- circulation_status_id: 2
116
- checkout_type_id: 1
117
- shelf_id: 1
118
- call_number:
119
- manifestation_id: 1
120
- id: 11
121
- include_supplements: false
122
- created_at: 2007-08-24 23:46:10.484813 +09:00
123
- item_00012:
124
- updated_at: 2007-08-24 23:46:11.484813 +09:00
125
- item_identifier: '00012'
126
- circulation_status_id: 3
127
- checkout_type_id: 2
128
- shelf_id: 1
129
- call_number:
130
- manifestation_id: 2
131
- id: 12
132
- include_supplements: false
133
- created_at: 2007-08-24 23:46:11.484813 +09:00
134
- item_00013:
135
- updated_at: 2007-08-24 23:46:12.484813 +09:00
136
- item_identifier: '00013'
137
- circulation_status_id: 10
138
- checkout_type_id: 1
139
- shelf_id: 1
140
- call_number:
141
- manifestation_id: 2
142
- id: 13
143
- include_supplements: false
144
- created_at: 2007-08-24 23:46:12.484813 +09:00
145
- item_00014:
146
- updated_at: 2007-08-24 23:46:13.484813 +09:00
147
- item_identifier: '00014'
148
- circulation_status_id: 10
149
- checkout_type_id: 2
150
- shelf_id: 1
151
- call_number:
152
- manifestation_id: 2
153
- id: 14
154
- include_supplements: false
155
- created_at: 2007-08-24 23:46:13.484813 +09:00
156
- item_00015:
157
- updated_at: 2007-08-24 23:46:14.484813 +09:00
158
- item_identifier: '00015'
159
- circulation_status_id: 10
160
- checkout_type_id: 3
161
- shelf_id: 1
162
- call_number:
163
- manifestation_id: 2
164
- id: 15
165
- include_supplements: false
166
- created_at: 2007-08-24 23:46:14.484813 +09:00
167
- item_00016:
168
- updated_at: 2007-08-24 23:46:15.484813 +09:00
169
- item_identifier: '00016'
170
- circulation_status_id: 10
171
- checkout_type_id: 2
172
- shelf_id: 1
173
- call_number:
174
- manifestation_id: 3
175
- id: 16
176
- include_supplements: true
177
- created_at: 2007-08-24 23:46:15.484813 +09:00
178
- item_00017:
179
- updated_at: 2007-08-24 23:46:16.484813 +09:00
180
- item_identifier: '00017'
181
- circulation_status_id: 10
182
- checkout_type_id: 3
183
- shelf_id: 1
184
- call_number:
185
- manifestation_id: 3
186
- id: 17
187
- include_supplements: false
188
- created_at: 2007-08-24 23:46:16.484813 +09:00
189
- item_00018:
190
- updated_at: 2007-08-24 23:46:17.484813 +09:00
191
- item_identifier: '00018'
192
- circulation_status_id: 10
193
- checkout_type_id: 3
194
- shelf_id: 1
195
- call_number:
196
- manifestation_id: 1
197
- id: 18
198
- include_supplements: false
199
- created_at: 2007-08-24 23:46:17.484813 +09:00
200
- item_00019:
201
- updated_at: 2007-08-24 23:46:18.484813 +09:00
202
- item_identifier: '00019'
203
- circulation_status_id: 2
204
- checkout_type_id: 3
205
- shelf_id: 1
206
- call_number:
207
- manifestation_id: 1
208
- id: 19
209
- include_supplements: false
210
- created_at: 2007-08-24 23:46:18.484813 +09:00
211
- item_00020:
212
- updated_at: 2007-08-24 23:46:19.484813 +09:00
213
- item_identifier: '00020'
214
- circulation_status_id: 13
215
- checkout_type_id: 3
216
- shelf_id: 1
217
- call_number:
218
- manifestation_id: 1
219
- id: 20
220
- include_supplements: false
221
- created_at: 2007-08-24 23:46:19.484813 +09:00
222
- item_00021:
223
- updated_at: 2007-08-24 23:46:20.484813 +09:00
224
- item_identifier: '00021'
225
- circulation_status_id: 2
226
- checkout_type_id: 3
227
- shelf_id: 1
228
- call_number:
229
- manifestation_id: 11
230
- id: 21
231
- include_supplements: false
232
- created_at: 2007-08-24 23:46:20.484813 +09:00
233
- item_00022:
234
- updated_at: 2007-08-24 23:46:20.484813 +09:00
235
- item_identifier: '00022'
236
- circulation_status_id: 2
237
- checkout_type_id: 3
238
- shelf_id: 1
239
- call_number:
240
- manifestation_id: 11
241
- id: 22
242
- include_supplements: false
243
- created_at: 2007-08-24 23:46:20.484813 +09:00
244
- item_00023:
245
- updated_at: 2007-08-24 23:46:20.484813 +09:00
246
- item_identifier: '00023'
247
- circulation_status_id: 15
248
- checkout_type_id: 3
249
- shelf_id: 2
250
- call_number:
251
- manifestation_id: 11
252
- id: 23
253
- include_supplements: false
254
- created_at: 2007-08-24 23:46:20.484813 +09:00
255
- item_00024:
256
- updated_at: 2007-08-24 23:46:20.484813 +09:00
257
- item_identifier: '00024'
258
- circulation_status_id: 8
259
- checkout_type_id: 3
260
- shelf_id: 2
261
- call_number:
262
- manifestation_id: 3
263
- id: 24
264
- include_supplements: false
265
- created_at: 2007-08-24 23:46:20.484813 +09:00
266
- item_00025:
267
- updated_at: 2007-08-24 23:46:20.484813 +09:00
268
- item_identifier: '00025'
269
- circulation_status_id: 8
270
- checkout_type_id: 3
271
- shelf_id: 2
272
- call_number:
273
- manifestation_id: 8
274
- id: 25
275
- include_supplements: false
276
- created_at: 2007-08-24 23:46:20.484813 +09:00
277
-
278
- # == Schema Information
279
- #
280
- # Table name: items
281
- #
282
- # id :integer not null, primary key
283
- # call_number :string(255)
284
- # item_identifier :string(255)
285
- # created_at :datetime not null
286
- # updated_at :datetime not null
287
- # deleted_at :datetime
288
- # shelf_id :integer default(1), not null
289
- # include_supplements :boolean default(FALSE), not null
290
- # note :text
291
- # url :string(255)
292
- # price :integer
293
- # lock_version :integer default(0), not null
294
- # required_role_id :integer default(1), not null
295
- # state :string(255)
296
- # required_score :integer default(0), not null
297
- # acquired_at :datetime
298
- # bookstore_id :integer
299
- # budget_type_id :integer
300
- # circulation_status_id :integer default(5), not null
301
- # checkout_type_id :integer default(1), not null
302
- #
303
-
@@ -1,98 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- lending_policy_00001:
4
- item_id: 1
5
- user_group_id: 1
6
- loan_period: 1
7
- fixed_due_date:
8
- renewal: 1
9
- fine: 10
10
- note: MyText
11
- position: 1
12
- lending_policy_00002:
13
- item_id: 1
14
- user_group_id: 2
15
- loan_period: 1
16
- fixed_due_date:
17
- renewal: 1
18
- fine: 10
19
- note: MyText
20
- position: 2
21
- lending_policy_00003:
22
- item_id: 10
23
- user_group_id: 2
24
- loan_period: 1
25
- fixed_due_date:
26
- renewal: 1
27
- fine: 10
28
- note: MyText
29
- position: 1
30
- lending_policy_00004:
31
- item_id: 6
32
- user_group_id: 1
33
- loan_period: 1
34
- fixed_due_date:
35
- renewal: 1
36
- fine: 10
37
- note: MyText
38
- position: 1
39
- lending_policy_00005:
40
- item_id: 6
41
- user_group_id: 2
42
- loan_period: 1
43
- fixed_due_date:
44
- renewal: 1
45
- fine: 10
46
- note: MyText
47
- position: 1
48
- lending_policy_00006:
49
- item_id: 11
50
- user_group_id: 1
51
- loan_period: 1
52
- fixed_due_date:
53
- renewal: 1
54
- fine: 10
55
- note: MyText
56
- position: 1
57
- note: MyText
58
- position: 1
59
- lending_policy_00007:
60
- item_id: 21
61
- user_group_id: 1
62
- loan_period: 1
63
- fixed_due_date:
64
- renewal: 1
65
- fine: 10
66
- note: MyText
67
- position: 1
68
- lending_policy_00008:
69
- item_id: 11
70
- user_group_id: 2
71
- loan_period: 1
72
- fixed_due_date:
73
- renewal: 1
74
- fine: 10
75
- lending_policy_00009:
76
- item_id: 24
77
- user_group_id: 2
78
- loan_period: 1
79
- fixed_due_date:
80
- renewal: 1
81
- fine: 10
82
-
83
- # == Schema Information
84
- #
85
- # Table name: lending_policies
86
- #
87
- # id :integer not null, primary key
88
- # item_id :integer not null
89
- # user_group_id :integer not null
90
- # loan_period :integer default(0), not null
91
- # fixed_due_date :datetime
92
- # renewal :integer default(0), not null
93
- # fine :integer default(0), not null
94
- # note :text
95
- # position :integer
96
- # created_at :datetime
97
- # updated_at :datetime
98
- #