enju_circulation 0.1.0.pre42 → 0.1.0.pre43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/checkouts/_index_user.html.erb +2 -2
- data/app/views/my_accounts/_feed_token.html.erb +4 -4
- data/app/views/{users → profiles}/_feed_token.html.erb +4 -4
- data/lib/enju_circulation/version.rb +1 -1
- data/spec/dummy/config/application.yml +4 -0
- data/spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb +5 -0
- data/spec/dummy/db/schema.rb +118 -105
- data/spec/views/checkouts/edit.html.erb_spec.rb +22 -0
- data/spec/views/checkouts/index.html.erb_spec.rb +21 -0
- data/spec/views/checkouts/show.html.erb_spec.rb +22 -0
- metadata +13 -7
- data/spec/dummy/app/models/setting.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd67e533865caf062b4396baf60d67d64f9f133
|
4
|
+
data.tar.gz: ca369f0c8c15284522d53e5d1cc4686b4bd662f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6d93c4ae87ceed122f09ad53499cb704ec96e7d20f27a76016323d064637afb2cff21809c2d7296486f76c7e8e8f4f5f45b36de26778e42580dd522617e8fe9
|
7
|
+
data.tar.gz: 7ed5126b94034df8862a78083b9c17d00be4c9afbf54d69602ea5a35eaadb80838c706748c8d0966771f107bb47be9c93c4416d45c5798cb19f022072c5abf45
|
@@ -26,9 +26,9 @@
|
|
26
26
|
<%- if current_user.has_role?('Librarian') -%>
|
27
27
|
<li><%= link_to t('checkout.all_checkout'), checkouts_path -%></li>
|
28
28
|
<%- end -%>
|
29
|
-
<% if current_user.checkout_icalendar_token? %>
|
29
|
+
<% if current_user.profile.checkout_icalendar_token? %>
|
30
30
|
<li>
|
31
|
-
<%= link_to 'iCalendar', checkouts_path(icalendar_token: user.checkout_icalendar_token, format: :ics) -%>
|
31
|
+
<%= link_to 'iCalendar', checkouts_path(icalendar_token: user.profile.checkout_icalendar_token, format: :ics) -%>
|
32
32
|
<%= link_to (image_tag 'icons/date.png', size: '16x16', alt: 'iCalendar', class: 'icon'), checkouts_path(user_id: user.username, format: :ics) -%>
|
33
33
|
</li>
|
34
34
|
<% end %>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%- if @user.checkout_icalendar_token? -%>
|
2
|
-
<%= checkouts_url(icalendar_token: @user.checkout_icalendar_token, format: :ics) -%>
|
3
|
-
<%= hidden_field_tag 'user
|
1
|
+
<%- if @user.profile.try(:checkout_icalendar_token?) -%>
|
2
|
+
<%= checkouts_url(icalendar_token: @user.profile.checkout_icalendar_token, format: :ics) -%>
|
3
|
+
<%= hidden_field_tag 'user.profile.checkout_icalendar_token]', @user.profile.checkout_icalendar_token -%>
|
4
4
|
<%- end -%>
|
5
5
|
<br />
|
6
|
-
<%- if @user.checkout_icalendar_token? -%>
|
6
|
+
<%- if @user.profile.try(:checkout_icalendar_token?) -%>
|
7
7
|
<input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_my_account_path(@user, disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" />
|
8
8
|
<br />
|
9
9
|
<%= t('user.you_have_to_save_profile_to_activate_feed_url') -%>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%- if @user.checkout_icalendar_token? -%>
|
2
|
-
<%= checkouts_url(icalendar_token: @user.checkout_icalendar_token, format: :ics) -%>
|
3
|
-
<%= hidden_field_tag 'user
|
1
|
+
<%- if @user.profile.try(:checkout_icalendar_token?) -%>
|
2
|
+
<%= checkouts_url(icalendar_token: @user.profile.checkout_icalendar_token, format: :ics) -%>
|
3
|
+
<%= hidden_field_tag 'user.profile.checkout_icalendar_token]', @user.profile.checkout_icalendar_token -%>
|
4
4
|
<%- end -%>
|
5
5
|
<br />
|
6
|
-
<%- if @user.checkout_icalendar_token? -%>
|
6
|
+
<%- if @user.profile.try(:checkout_icalendar_token?) -%>
|
7
7
|
<input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_user_path(@user, disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" />
|
8
8
|
<br />
|
9
9
|
<%= t('user.you_have_to_save_profile_to_activate_feed_url') -%>
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,9 +11,9 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150221063719) do
|
15
15
|
|
16
|
-
create_table "accepts", force:
|
16
|
+
create_table "accepts", force: :cascade do |t|
|
17
17
|
t.integer "basket_id"
|
18
18
|
t.integer "item_id"
|
19
19
|
t.integer "librarian_id"
|
@@ -24,7 +24,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
24
24
|
add_index "accepts", ["basket_id"], name: "index_accepts_on_basket_id"
|
25
25
|
add_index "accepts", ["item_id"], name: "index_accepts_on_item_id"
|
26
26
|
|
27
|
-
create_table "agent_import_file_transitions", force:
|
27
|
+
create_table "agent_import_file_transitions", force: :cascade do |t|
|
28
28
|
t.string "to_state"
|
29
29
|
t.text "metadata", default: "{}"
|
30
30
|
t.integer "sort_key"
|
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
36
36
|
add_index "agent_import_file_transitions", ["agent_import_file_id"], name: "index_agent_import_file_transitions_on_agent_import_file_id"
|
37
37
|
add_index "agent_import_file_transitions", ["sort_key", "agent_import_file_id"], name: "index_agent_import_file_transitions_on_sort_key_and_file_id", unique: true
|
38
38
|
|
39
|
-
create_table "agent_import_files", force:
|
39
|
+
create_table "agent_import_files", force: :cascade do |t|
|
40
40
|
t.integer "parent_id"
|
41
41
|
t.string "content_type"
|
42
42
|
t.integer "size"
|
@@ -58,7 +58,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
58
58
|
add_index "agent_import_files", ["parent_id"], name: "index_agent_import_files_on_parent_id"
|
59
59
|
add_index "agent_import_files", ["user_id"], name: "index_agent_import_files_on_user_id"
|
60
60
|
|
61
|
-
create_table "agent_import_results", force:
|
61
|
+
create_table "agent_import_results", force: :cascade do |t|
|
62
62
|
t.integer "agent_import_file_id"
|
63
63
|
t.integer "agent_id"
|
64
64
|
t.text "body"
|
@@ -66,13 +66,13 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
66
66
|
t.datetime "updated_at"
|
67
67
|
end
|
68
68
|
|
69
|
-
create_table "agent_merge_lists", force:
|
69
|
+
create_table "agent_merge_lists", force: :cascade do |t|
|
70
70
|
t.string "title"
|
71
71
|
t.datetime "created_at"
|
72
72
|
t.datetime "updated_at"
|
73
73
|
end
|
74
74
|
|
75
|
-
create_table "agent_merges", force:
|
75
|
+
create_table "agent_merges", force: :cascade do |t|
|
76
76
|
t.integer "agent_id", null: false
|
77
77
|
t.integer "agent_merge_list_id", null: false
|
78
78
|
t.datetime "created_at"
|
@@ -82,7 +82,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
82
82
|
add_index "agent_merges", ["agent_id"], name: "index_agent_merges_on_agent_id"
|
83
83
|
add_index "agent_merges", ["agent_merge_list_id"], name: "index_agent_merges_on_agent_merge_list_id"
|
84
84
|
|
85
|
-
create_table "agent_relationship_types", force:
|
85
|
+
create_table "agent_relationship_types", force: :cascade do |t|
|
86
86
|
t.string "name", null: false
|
87
87
|
t.text "display_name"
|
88
88
|
t.text "note"
|
@@ -91,7 +91,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
91
91
|
t.datetime "updated_at"
|
92
92
|
end
|
93
93
|
|
94
|
-
create_table "agent_relationships", force:
|
94
|
+
create_table "agent_relationships", force: :cascade do |t|
|
95
95
|
t.integer "parent_id"
|
96
96
|
t.integer "child_id"
|
97
97
|
t.integer "agent_relationship_type_id"
|
@@ -103,7 +103,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
103
103
|
add_index "agent_relationships", ["child_id"], name: "index_agent_relationships_on_child_id"
|
104
104
|
add_index "agent_relationships", ["parent_id"], name: "index_agent_relationships_on_parent_id"
|
105
105
|
|
106
|
-
create_table "agent_types", force:
|
106
|
+
create_table "agent_types", force: :cascade do |t|
|
107
107
|
t.string "name", null: false
|
108
108
|
t.text "display_name"
|
109
109
|
t.text "note"
|
@@ -112,7 +112,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
112
112
|
t.datetime "updated_at"
|
113
113
|
end
|
114
114
|
|
115
|
-
create_table "agents", force:
|
115
|
+
create_table "agents", force: :cascade do |t|
|
116
116
|
t.string "last_name"
|
117
117
|
t.string "middle_name"
|
118
118
|
t.string "first_name"
|
@@ -166,7 +166,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
166
166
|
add_index "agents", ["language_id"], name: "index_agents_on_language_id"
|
167
167
|
add_index "agents", ["required_role_id"], name: "index_agents_on_required_role_id"
|
168
168
|
|
169
|
-
create_table "baskets", force:
|
169
|
+
create_table "baskets", force: :cascade do |t|
|
170
170
|
t.integer "user_id"
|
171
171
|
t.text "note"
|
172
172
|
t.integer "lock_version", default: 0, null: false
|
@@ -176,7 +176,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
176
176
|
|
177
177
|
add_index "baskets", ["user_id"], name: "index_baskets_on_user_id"
|
178
178
|
|
179
|
-
create_table "bookstores", force:
|
179
|
+
create_table "bookstores", force: :cascade do |t|
|
180
180
|
t.text "name", null: false
|
181
181
|
t.string "zip_code"
|
182
182
|
t.text "address"
|
@@ -190,7 +190,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
190
190
|
t.datetime "updated_at"
|
191
191
|
end
|
192
192
|
|
193
|
-
create_table "budget_types", force:
|
193
|
+
create_table "budget_types", force: :cascade do |t|
|
194
194
|
t.string "name"
|
195
195
|
t.text "display_name"
|
196
196
|
t.text "note"
|
@@ -199,7 +199,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
199
199
|
t.datetime "updated_at"
|
200
200
|
end
|
201
201
|
|
202
|
-
create_table "carrier_type_has_checkout_types", force:
|
202
|
+
create_table "carrier_type_has_checkout_types", force: :cascade do |t|
|
203
203
|
t.integer "carrier_type_id", null: false
|
204
204
|
t.integer "checkout_type_id", null: false
|
205
205
|
t.text "note"
|
@@ -211,7 +211,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
211
211
|
add_index "carrier_type_has_checkout_types", ["carrier_type_id"], name: "index_carrier_type_has_checkout_types_on_m_form_id"
|
212
212
|
add_index "carrier_type_has_checkout_types", ["checkout_type_id"], name: "index_carrier_type_has_checkout_types_on_checkout_type_id"
|
213
213
|
|
214
|
-
create_table "carrier_types", force:
|
214
|
+
create_table "carrier_types", force: :cascade do |t|
|
215
215
|
t.string "name", null: false
|
216
216
|
t.text "display_name"
|
217
217
|
t.text "note"
|
@@ -220,7 +220,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
220
220
|
t.datetime "updated_at"
|
221
221
|
end
|
222
222
|
|
223
|
-
create_table "checked_items", force:
|
223
|
+
create_table "checked_items", force: :cascade do |t|
|
224
224
|
t.integer "item_id", null: false
|
225
225
|
t.integer "basket_id", null: false
|
226
226
|
t.datetime "due_date", null: false
|
@@ -232,7 +232,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
232
232
|
add_index "checked_items", ["basket_id"], name: "index_checked_items_on_basket_id"
|
233
233
|
add_index "checked_items", ["item_id"], name: "index_checked_items_on_item_id"
|
234
234
|
|
235
|
-
create_table "checkins", force:
|
235
|
+
create_table "checkins", force: :cascade do |t|
|
236
236
|
t.integer "item_id", null: false
|
237
237
|
t.integer "librarian_id"
|
238
238
|
t.integer "basket_id"
|
@@ -245,7 +245,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
245
245
|
add_index "checkins", ["item_id"], name: "index_checkins_on_item_id"
|
246
246
|
add_index "checkins", ["librarian_id"], name: "index_checkins_on_librarian_id"
|
247
247
|
|
248
|
-
create_table "checkout_stat_has_manifestations", force:
|
248
|
+
create_table "checkout_stat_has_manifestations", force: :cascade do |t|
|
249
249
|
t.integer "manifestation_checkout_stat_id", null: false
|
250
250
|
t.integer "manifestation_id", null: false
|
251
251
|
t.integer "checkouts_count"
|
@@ -256,7 +256,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
256
256
|
add_index "checkout_stat_has_manifestations", ["manifestation_checkout_stat_id"], name: "index_checkout_stat_has_manifestations_on_checkout_stat_id"
|
257
257
|
add_index "checkout_stat_has_manifestations", ["manifestation_id"], name: "index_checkout_stat_has_manifestations_on_manifestation_id"
|
258
258
|
|
259
|
-
create_table "checkout_stat_has_users", force:
|
259
|
+
create_table "checkout_stat_has_users", force: :cascade do |t|
|
260
260
|
t.integer "user_checkout_stat_id", null: false
|
261
261
|
t.integer "user_id", null: false
|
262
262
|
t.integer "checkouts_count", default: 0, null: false
|
@@ -267,7 +267,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
267
267
|
add_index "checkout_stat_has_users", ["user_checkout_stat_id"], name: "index_checkout_stat_has_users_on_user_checkout_stat_id"
|
268
268
|
add_index "checkout_stat_has_users", ["user_id"], name: "index_checkout_stat_has_users_on_user_id"
|
269
269
|
|
270
|
-
create_table "checkout_types", force:
|
270
|
+
create_table "checkout_types", force: :cascade do |t|
|
271
271
|
t.string "name", null: false
|
272
272
|
t.text "display_name"
|
273
273
|
t.text "note"
|
@@ -278,7 +278,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
278
278
|
|
279
279
|
add_index "checkout_types", ["name"], name: "index_checkout_types_on_name"
|
280
280
|
|
281
|
-
create_table "checkouts", force:
|
281
|
+
create_table "checkouts", force: :cascade do |t|
|
282
282
|
t.integer "user_id"
|
283
283
|
t.integer "item_id", null: false
|
284
284
|
t.integer "checkin_id"
|
@@ -302,7 +302,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
302
302
|
add_index "checkouts", ["shelf_id"], name: "index_checkouts_on_shelf_id"
|
303
303
|
add_index "checkouts", ["user_id"], name: "index_checkouts_on_user_id"
|
304
304
|
|
305
|
-
create_table "circulation_statuses", force:
|
305
|
+
create_table "circulation_statuses", force: :cascade do |t|
|
306
306
|
t.string "name", null: false
|
307
307
|
t.text "display_name"
|
308
308
|
t.text "note"
|
@@ -311,7 +311,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
311
311
|
t.datetime "updated_at"
|
312
312
|
end
|
313
313
|
|
314
|
-
create_table "colors", force:
|
314
|
+
create_table "colors", force: :cascade do |t|
|
315
315
|
t.integer "library_group_id"
|
316
316
|
t.string "property"
|
317
317
|
t.string "code"
|
@@ -322,7 +322,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
322
322
|
|
323
323
|
add_index "colors", ["library_group_id"], name: "index_colors_on_library_group_id"
|
324
324
|
|
325
|
-
create_table "content_types", force:
|
325
|
+
create_table "content_types", force: :cascade do |t|
|
326
326
|
t.string "name", null: false
|
327
327
|
t.text "display_name"
|
328
328
|
t.text "note"
|
@@ -331,7 +331,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
331
331
|
t.datetime "updated_at"
|
332
332
|
end
|
333
333
|
|
334
|
-
create_table "countries", force:
|
334
|
+
create_table "countries", force: :cascade do |t|
|
335
335
|
t.string "name", null: false
|
336
336
|
t.text "display_name"
|
337
337
|
t.string "alpha_2"
|
@@ -346,7 +346,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
346
346
|
add_index "countries", ["name"], name: "index_countries_on_name"
|
347
347
|
add_index "countries", ["numeric_3"], name: "index_countries_on_numeric_3"
|
348
348
|
|
349
|
-
create_table "create_types", force:
|
349
|
+
create_table "create_types", force: :cascade do |t|
|
350
350
|
t.string "name"
|
351
351
|
t.text "display_name"
|
352
352
|
t.text "note"
|
@@ -355,7 +355,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
355
355
|
t.datetime "updated_at"
|
356
356
|
end
|
357
357
|
|
358
|
-
create_table "creates", force:
|
358
|
+
create_table "creates", force: :cascade do |t|
|
359
359
|
t.integer "agent_id", null: false
|
360
360
|
t.integer "work_id", null: false
|
361
361
|
t.integer "position"
|
@@ -367,7 +367,19 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
367
367
|
add_index "creates", ["agent_id"], name: "index_creates_on_agent_id"
|
368
368
|
add_index "creates", ["work_id"], name: "index_creates_on_work_id"
|
369
369
|
|
370
|
-
create_table "
|
370
|
+
create_table "demands", force: :cascade do |t|
|
371
|
+
t.integer "user_id"
|
372
|
+
t.integer "item_id"
|
373
|
+
t.integer "message_id"
|
374
|
+
t.datetime "created_at", null: false
|
375
|
+
t.datetime "updated_at", null: false
|
376
|
+
end
|
377
|
+
|
378
|
+
add_index "demands", ["item_id"], name: "index_demands_on_item_id"
|
379
|
+
add_index "demands", ["message_id"], name: "index_demands_on_message_id"
|
380
|
+
add_index "demands", ["user_id"], name: "index_demands_on_user_id"
|
381
|
+
|
382
|
+
create_table "donates", force: :cascade do |t|
|
371
383
|
t.integer "agent_id", null: false
|
372
384
|
t.integer "item_id", null: false
|
373
385
|
t.datetime "created_at"
|
@@ -377,7 +389,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
377
389
|
add_index "donates", ["agent_id"], name: "index_donates_on_agent_id"
|
378
390
|
add_index "donates", ["item_id"], name: "index_donates_on_item_id"
|
379
391
|
|
380
|
-
create_table "event_categories", force:
|
392
|
+
create_table "event_categories", force: :cascade do |t|
|
381
393
|
t.string "name", null: false
|
382
394
|
t.text "display_name"
|
383
395
|
t.text "note"
|
@@ -386,7 +398,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
386
398
|
t.datetime "updated_at"
|
387
399
|
end
|
388
400
|
|
389
|
-
create_table "event_export_file_transitions", force:
|
401
|
+
create_table "event_export_file_transitions", force: :cascade do |t|
|
390
402
|
t.string "to_state"
|
391
403
|
t.text "metadata", default: "{}"
|
392
404
|
t.integer "sort_key"
|
@@ -398,7 +410,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
398
410
|
add_index "event_export_file_transitions", ["event_export_file_id"], name: "index_event_export_file_transitions_on_file_id"
|
399
411
|
add_index "event_export_file_transitions", ["sort_key", "event_export_file_id"], name: "index_event_export_file_transitions_on_sort_key_and_file_id", unique: true
|
400
412
|
|
401
|
-
create_table "event_export_files", force:
|
413
|
+
create_table "event_export_files", force: :cascade do |t|
|
402
414
|
t.integer "user_id"
|
403
415
|
t.string "event_export_file_name"
|
404
416
|
t.string "event_export_content_type"
|
@@ -409,7 +421,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
409
421
|
t.datetime "updated_at"
|
410
422
|
end
|
411
423
|
|
412
|
-
create_table "event_import_file_transitions", force:
|
424
|
+
create_table "event_import_file_transitions", force: :cascade do |t|
|
413
425
|
t.string "to_state"
|
414
426
|
t.text "metadata", default: "{}"
|
415
427
|
t.integer "sort_key"
|
@@ -421,7 +433,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
421
433
|
add_index "event_import_file_transitions", ["event_import_file_id"], name: "index_event_import_file_transitions_on_event_import_file_id"
|
422
434
|
add_index "event_import_file_transitions", ["sort_key", "event_import_file_id"], name: "index_event_import_file_transitions_on_sort_key_and_file_id", unique: true
|
423
435
|
|
424
|
-
create_table "event_import_files", force:
|
436
|
+
create_table "event_import_files", force: :cascade do |t|
|
425
437
|
t.integer "parent_id"
|
426
438
|
t.string "content_type"
|
427
439
|
t.integer "size"
|
@@ -445,7 +457,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
445
457
|
add_index "event_import_files", ["parent_id"], name: "index_event_import_files_on_parent_id"
|
446
458
|
add_index "event_import_files", ["user_id"], name: "index_event_import_files_on_user_id"
|
447
459
|
|
448
|
-
create_table "event_import_results", force:
|
460
|
+
create_table "event_import_results", force: :cascade do |t|
|
449
461
|
t.integer "event_import_file_id"
|
450
462
|
t.integer "event_id"
|
451
463
|
t.text "body"
|
@@ -453,7 +465,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
453
465
|
t.datetime "updated_at"
|
454
466
|
end
|
455
467
|
|
456
|
-
create_table "events", force:
|
468
|
+
create_table "events", force: :cascade do |t|
|
457
469
|
t.integer "library_id", null: false
|
458
470
|
t.integer "event_category_id", null: false
|
459
471
|
t.string "name"
|
@@ -470,7 +482,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
470
482
|
add_index "events", ["event_category_id"], name: "index_events_on_event_category_id"
|
471
483
|
add_index "events", ["library_id"], name: "index_events_on_library_id"
|
472
484
|
|
473
|
-
create_table "exemplifies", force:
|
485
|
+
create_table "exemplifies", force: :cascade do |t|
|
474
486
|
t.integer "manifestation_id", null: false
|
475
487
|
t.integer "item_id", null: false
|
476
488
|
t.integer "position"
|
@@ -481,7 +493,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
481
493
|
add_index "exemplifies", ["item_id"], name: "index_exemplifies_on_item_id", unique: true
|
482
494
|
add_index "exemplifies", ["manifestation_id"], name: "index_exemplifies_on_manifestation_id"
|
483
495
|
|
484
|
-
create_table "form_of_works", force:
|
496
|
+
create_table "form_of_works", force: :cascade do |t|
|
485
497
|
t.string "name", null: false
|
486
498
|
t.text "display_name"
|
487
499
|
t.text "note"
|
@@ -490,7 +502,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
490
502
|
t.datetime "updated_at"
|
491
503
|
end
|
492
504
|
|
493
|
-
create_table "frequencies", force:
|
505
|
+
create_table "frequencies", force: :cascade do |t|
|
494
506
|
t.string "name", null: false
|
495
507
|
t.text "display_name"
|
496
508
|
t.text "note"
|
@@ -499,7 +511,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
499
511
|
t.datetime "updated_at"
|
500
512
|
end
|
501
513
|
|
502
|
-
create_table "identifier_types", force:
|
514
|
+
create_table "identifier_types", force: :cascade do |t|
|
503
515
|
t.string "name"
|
504
516
|
t.text "display_name"
|
505
517
|
t.text "note"
|
@@ -508,7 +520,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
508
520
|
t.datetime "updated_at"
|
509
521
|
end
|
510
522
|
|
511
|
-
create_table "identifiers", force:
|
523
|
+
create_table "identifiers", force: :cascade do |t|
|
512
524
|
t.string "body", null: false
|
513
525
|
t.integer "identifier_type_id", null: false
|
514
526
|
t.integer "manifestation_id"
|
@@ -521,7 +533,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
521
533
|
add_index "identifiers", ["body", "identifier_type_id"], name: "index_identifiers_on_body_and_identifier_type_id"
|
522
534
|
add_index "identifiers", ["manifestation_id"], name: "index_identifiers_on_manifestation_id"
|
523
535
|
|
524
|
-
create_table "import_request_transitions", force:
|
536
|
+
create_table "import_request_transitions", force: :cascade do |t|
|
525
537
|
t.string "to_state"
|
526
538
|
t.text "metadata", default: "{}"
|
527
539
|
t.integer "sort_key"
|
@@ -533,7 +545,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
533
545
|
add_index "import_request_transitions", ["import_request_id"], name: "index_import_request_transitions_on_import_request_id"
|
534
546
|
add_index "import_request_transitions", ["sort_key", "import_request_id"], name: "index_import_request_transitions_on_sort_key_and_request_id", unique: true
|
535
547
|
|
536
|
-
create_table "import_requests", force:
|
548
|
+
create_table "import_requests", force: :cascade do |t|
|
537
549
|
t.string "isbn"
|
538
550
|
t.integer "manifestation_id"
|
539
551
|
t.integer "user_id"
|
@@ -545,7 +557,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
545
557
|
add_index "import_requests", ["manifestation_id"], name: "index_import_requests_on_manifestation_id"
|
546
558
|
add_index "import_requests", ["user_id"], name: "index_import_requests_on_user_id"
|
547
559
|
|
548
|
-
create_table "item_has_use_restrictions", force:
|
560
|
+
create_table "item_has_use_restrictions", force: :cascade do |t|
|
549
561
|
t.integer "item_id", null: false
|
550
562
|
t.integer "use_restriction_id", null: false
|
551
563
|
t.datetime "created_at"
|
@@ -555,7 +567,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
555
567
|
add_index "item_has_use_restrictions", ["item_id"], name: "index_item_has_use_restrictions_on_item_id"
|
556
568
|
add_index "item_has_use_restrictions", ["use_restriction_id"], name: "index_item_has_use_restrictions_on_use_restriction_id"
|
557
569
|
|
558
|
-
create_table "items", force:
|
570
|
+
create_table "items", force: :cascade do |t|
|
559
571
|
t.string "call_number"
|
560
572
|
t.string "item_identifier"
|
561
573
|
t.datetime "created_at"
|
@@ -589,7 +601,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
589
601
|
add_index "items", ["required_role_id"], name: "index_items_on_required_role_id"
|
590
602
|
add_index "items", ["shelf_id"], name: "index_items_on_shelf_id"
|
591
603
|
|
592
|
-
create_table "languages", force:
|
604
|
+
create_table "languages", force: :cascade do |t|
|
593
605
|
t.string "name", null: false
|
594
606
|
t.string "native_name"
|
595
607
|
t.text "display_name"
|
@@ -605,7 +617,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
605
617
|
add_index "languages", ["iso_639_3"], name: "index_languages_on_iso_639_3"
|
606
618
|
add_index "languages", ["name"], name: "index_languages_on_name", unique: true
|
607
619
|
|
608
|
-
create_table "lending_policies", force:
|
620
|
+
create_table "lending_policies", force: :cascade do |t|
|
609
621
|
t.integer "item_id", null: false
|
610
622
|
t.integer "user_group_id", null: false
|
611
623
|
t.integer "loan_period", default: 0, null: false
|
@@ -620,7 +632,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
620
632
|
|
621
633
|
add_index "lending_policies", ["item_id", "user_group_id"], name: "index_lending_policies_on_item_id_and_user_group_id", unique: true
|
622
634
|
|
623
|
-
create_table "libraries", force:
|
635
|
+
create_table "libraries", force: :cascade do |t|
|
624
636
|
t.string "name", null: false
|
625
637
|
t.text "display_name"
|
626
638
|
t.string "short_display_name", null: false
|
@@ -650,7 +662,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
650
662
|
add_index "libraries", ["library_group_id"], name: "index_libraries_on_library_group_id"
|
651
663
|
add_index "libraries", ["name"], name: "index_libraries_on_name", unique: true
|
652
664
|
|
653
|
-
create_table "library_groups", force:
|
665
|
+
create_table "library_groups", force: :cascade do |t|
|
654
666
|
t.string "name", null: false
|
655
667
|
t.text "display_name"
|
656
668
|
t.string "short_name", null: false
|
@@ -663,11 +675,12 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
663
675
|
t.datetime "updated_at"
|
664
676
|
t.text "admin_networks"
|
665
677
|
t.string "url", default: "http://localhost:3000/"
|
678
|
+
t.text "settings"
|
666
679
|
end
|
667
680
|
|
668
681
|
add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
|
669
682
|
|
670
|
-
create_table "licenses", force:
|
683
|
+
create_table "licenses", force: :cascade do |t|
|
671
684
|
t.string "name", null: false
|
672
685
|
t.string "display_name"
|
673
686
|
t.text "note"
|
@@ -676,7 +689,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
676
689
|
t.datetime "updated_at"
|
677
690
|
end
|
678
691
|
|
679
|
-
create_table "manifestation_checkout_stat_transitions", force:
|
692
|
+
create_table "manifestation_checkout_stat_transitions", force: :cascade do |t|
|
680
693
|
t.string "to_state"
|
681
694
|
t.text "metadata", default: "{}"
|
682
695
|
t.integer "sort_key"
|
@@ -688,7 +701,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
688
701
|
add_index "manifestation_checkout_stat_transitions", ["manifestation_checkout_stat_id"], name: "index_manifestation_checkout_stat_transitions_on_stat_id"
|
689
702
|
add_index "manifestation_checkout_stat_transitions", ["sort_key", "manifestation_checkout_stat_id"], name: "index_manifestation_checkout_stat_transitions_on_transition", unique: true
|
690
703
|
|
691
|
-
create_table "manifestation_checkout_stats", force:
|
704
|
+
create_table "manifestation_checkout_stats", force: :cascade do |t|
|
692
705
|
t.datetime "start_date"
|
693
706
|
t.datetime "end_date"
|
694
707
|
t.text "note"
|
@@ -701,7 +714,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
701
714
|
|
702
715
|
add_index "manifestation_checkout_stats", ["user_id"], name: "index_manifestation_checkout_stats_on_user_id"
|
703
716
|
|
704
|
-
create_table "manifestation_relationship_types", force:
|
717
|
+
create_table "manifestation_relationship_types", force: :cascade do |t|
|
705
718
|
t.string "name", null: false
|
706
719
|
t.text "display_name"
|
707
720
|
t.text "note"
|
@@ -710,7 +723,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
710
723
|
t.datetime "updated_at"
|
711
724
|
end
|
712
725
|
|
713
|
-
create_table "manifestation_relationships", force:
|
726
|
+
create_table "manifestation_relationships", force: :cascade do |t|
|
714
727
|
t.integer "parent_id"
|
715
728
|
t.integer "child_id"
|
716
729
|
t.integer "manifestation_relationship_type_id"
|
@@ -722,7 +735,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
722
735
|
add_index "manifestation_relationships", ["child_id"], name: "index_manifestation_relationships_on_child_id"
|
723
736
|
add_index "manifestation_relationships", ["parent_id"], name: "index_manifestation_relationships_on_parent_id"
|
724
737
|
|
725
|
-
create_table "manifestation_reserve_stat_transitions", force:
|
738
|
+
create_table "manifestation_reserve_stat_transitions", force: :cascade do |t|
|
726
739
|
t.string "to_state"
|
727
740
|
t.text "metadata", default: "{}"
|
728
741
|
t.integer "sort_key"
|
@@ -734,7 +747,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
734
747
|
add_index "manifestation_reserve_stat_transitions", ["manifestation_reserve_stat_id"], name: "index_manifestation_reserve_stat_transitions_on_stat_id"
|
735
748
|
add_index "manifestation_reserve_stat_transitions", ["sort_key", "manifestation_reserve_stat_id"], name: "index_manifestation_reserve_stat_transitions_on_transition", unique: true
|
736
749
|
|
737
|
-
create_table "manifestation_reserve_stats", force:
|
750
|
+
create_table "manifestation_reserve_stats", force: :cascade do |t|
|
738
751
|
t.datetime "start_date"
|
739
752
|
t.datetime "end_date"
|
740
753
|
t.text "note"
|
@@ -747,7 +760,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
747
760
|
|
748
761
|
add_index "manifestation_reserve_stats", ["user_id"], name: "index_manifestation_reserve_stats_on_user_id"
|
749
762
|
|
750
|
-
create_table "manifestations", force:
|
763
|
+
create_table "manifestations", force: :cascade do |t|
|
751
764
|
t.text "original_title", null: false
|
752
765
|
t.text "title_alternative"
|
753
766
|
t.text "title_transcription"
|
@@ -813,7 +826,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
813
826
|
add_index "manifestations", ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
|
814
827
|
add_index "manifestations", ["updated_at"], name: "index_manifestations_on_updated_at"
|
815
828
|
|
816
|
-
create_table "medium_of_performances", force:
|
829
|
+
create_table "medium_of_performances", force: :cascade do |t|
|
817
830
|
t.string "name", null: false
|
818
831
|
t.text "display_name"
|
819
832
|
t.text "note"
|
@@ -822,7 +835,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
822
835
|
t.datetime "updated_at"
|
823
836
|
end
|
824
837
|
|
825
|
-
create_table "message_request_transitions", force:
|
838
|
+
create_table "message_request_transitions", force: :cascade do |t|
|
826
839
|
t.string "to_state"
|
827
840
|
t.text "metadata", default: "{}"
|
828
841
|
t.integer "sort_key"
|
@@ -834,7 +847,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
834
847
|
add_index "message_request_transitions", ["message_request_id"], name: "index_message_request_transitions_on_message_request_id"
|
835
848
|
add_index "message_request_transitions", ["sort_key", "message_request_id"], name: "index_message_request_transitions_on_sort_key_and_request_id", unique: true
|
836
849
|
|
837
|
-
create_table "message_requests", force:
|
850
|
+
create_table "message_requests", force: :cascade do |t|
|
838
851
|
t.integer "sender_id"
|
839
852
|
t.integer "receiver_id"
|
840
853
|
t.integer "message_template_id"
|
@@ -845,7 +858,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
845
858
|
t.datetime "updated_at"
|
846
859
|
end
|
847
860
|
|
848
|
-
create_table "message_templates", force:
|
861
|
+
create_table "message_templates", force: :cascade do |t|
|
849
862
|
t.string "status", null: false
|
850
863
|
t.text "title", null: false
|
851
864
|
t.text "body", null: false
|
@@ -857,7 +870,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
857
870
|
|
858
871
|
add_index "message_templates", ["status"], name: "index_message_templates_on_status", unique: true
|
859
872
|
|
860
|
-
create_table "message_transitions", force:
|
873
|
+
create_table "message_transitions", force: :cascade do |t|
|
861
874
|
t.string "to_state"
|
862
875
|
t.text "metadata", default: "{}"
|
863
876
|
t.integer "sort_key"
|
@@ -869,7 +882,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
869
882
|
add_index "message_transitions", ["message_id"], name: "index_message_transitions_on_message_id"
|
870
883
|
add_index "message_transitions", ["sort_key", "message_id"], name: "index_message_transitions_on_sort_key_and_message_id", unique: true
|
871
884
|
|
872
|
-
create_table "messages", force:
|
885
|
+
create_table "messages", force: :cascade do |t|
|
873
886
|
t.datetime "read_at"
|
874
887
|
t.integer "receiver_id"
|
875
888
|
t.integer "sender_id"
|
@@ -889,7 +902,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
889
902
|
add_index "messages", ["receiver_id"], name: "index_messages_on_receiver_id"
|
890
903
|
add_index "messages", ["sender_id"], name: "index_messages_on_sender_id"
|
891
904
|
|
892
|
-
create_table "owns", force:
|
905
|
+
create_table "owns", force: :cascade do |t|
|
893
906
|
t.integer "agent_id", null: false
|
894
907
|
t.integer "item_id", null: false
|
895
908
|
t.integer "position"
|
@@ -900,7 +913,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
900
913
|
add_index "owns", ["agent_id"], name: "index_owns_on_agent_id"
|
901
914
|
add_index "owns", ["item_id"], name: "index_owns_on_item_id"
|
902
915
|
|
903
|
-
create_table "participates", force:
|
916
|
+
create_table "participates", force: :cascade do |t|
|
904
917
|
t.integer "agent_id", null: false
|
905
918
|
t.integer "event_id", null: false
|
906
919
|
t.integer "position"
|
@@ -911,7 +924,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
911
924
|
add_index "participates", ["agent_id"], name: "index_participates_on_agent_id"
|
912
925
|
add_index "participates", ["event_id"], name: "index_participates_on_event_id"
|
913
926
|
|
914
|
-
create_table "picture_files", force:
|
927
|
+
create_table "picture_files", force: :cascade do |t|
|
915
928
|
t.integer "picture_attachable_id"
|
916
929
|
t.string "picture_attachable_type"
|
917
930
|
t.string "content_type"
|
@@ -930,7 +943,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
930
943
|
|
931
944
|
add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], name: "index_picture_files_on_picture_attachable_id_and_type"
|
932
945
|
|
933
|
-
create_table "produce_types", force:
|
946
|
+
create_table "produce_types", force: :cascade do |t|
|
934
947
|
t.string "name"
|
935
948
|
t.text "display_name"
|
936
949
|
t.text "note"
|
@@ -939,7 +952,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
939
952
|
t.datetime "updated_at"
|
940
953
|
end
|
941
954
|
|
942
|
-
create_table "produces", force:
|
955
|
+
create_table "produces", force: :cascade do |t|
|
943
956
|
t.integer "agent_id", null: false
|
944
957
|
t.integer "manifestation_id", null: false
|
945
958
|
t.integer "position"
|
@@ -951,7 +964,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
951
964
|
add_index "produces", ["agent_id"], name: "index_produces_on_agent_id"
|
952
965
|
add_index "produces", ["manifestation_id"], name: "index_produces_on_manifestation_id"
|
953
966
|
|
954
|
-
create_table "profiles", force:
|
967
|
+
create_table "profiles", force: :cascade do |t|
|
955
968
|
t.integer "user_id"
|
956
969
|
t.integer "user_group_id"
|
957
970
|
t.integer "library_id"
|
@@ -974,7 +987,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
974
987
|
add_index "profiles", ["user_id"], name: "index_profiles_on_user_id"
|
975
988
|
add_index "profiles", ["user_number"], name: "index_profiles_on_user_number", unique: true
|
976
989
|
|
977
|
-
create_table "realize_types", force:
|
990
|
+
create_table "realize_types", force: :cascade do |t|
|
978
991
|
t.string "name"
|
979
992
|
t.text "display_name"
|
980
993
|
t.text "note"
|
@@ -983,7 +996,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
983
996
|
t.datetime "updated_at"
|
984
997
|
end
|
985
998
|
|
986
|
-
create_table "realizes", force:
|
999
|
+
create_table "realizes", force: :cascade do |t|
|
987
1000
|
t.integer "agent_id", null: false
|
988
1001
|
t.integer "expression_id", null: false
|
989
1002
|
t.integer "position"
|
@@ -995,7 +1008,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
995
1008
|
add_index "realizes", ["agent_id"], name: "index_realizes_on_agent_id"
|
996
1009
|
add_index "realizes", ["expression_id"], name: "index_realizes_on_expression_id"
|
997
1010
|
|
998
|
-
create_table "request_status_types", force:
|
1011
|
+
create_table "request_status_types", force: :cascade do |t|
|
999
1012
|
t.string "name", null: false
|
1000
1013
|
t.text "display_name"
|
1001
1014
|
t.text "note"
|
@@ -1004,7 +1017,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1004
1017
|
t.datetime "updated_at"
|
1005
1018
|
end
|
1006
1019
|
|
1007
|
-
create_table "request_types", force:
|
1020
|
+
create_table "request_types", force: :cascade do |t|
|
1008
1021
|
t.string "name", null: false
|
1009
1022
|
t.text "display_name"
|
1010
1023
|
t.text "note"
|
@@ -1013,7 +1026,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1013
1026
|
t.datetime "updated_at"
|
1014
1027
|
end
|
1015
1028
|
|
1016
|
-
create_table "reserve_stat_has_manifestations", force:
|
1029
|
+
create_table "reserve_stat_has_manifestations", force: :cascade do |t|
|
1017
1030
|
t.integer "manifestation_reserve_stat_id", null: false
|
1018
1031
|
t.integer "manifestation_id", null: false
|
1019
1032
|
t.integer "reserves_count"
|
@@ -1024,7 +1037,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1024
1037
|
add_index "reserve_stat_has_manifestations", ["manifestation_id"], name: "index_reserve_stat_has_manifestations_on_manifestation_id"
|
1025
1038
|
add_index "reserve_stat_has_manifestations", ["manifestation_reserve_stat_id"], name: "index_reserve_stat_has_manifestations_on_m_reserve_stat_id"
|
1026
1039
|
|
1027
|
-
create_table "reserve_stat_has_users", force:
|
1040
|
+
create_table "reserve_stat_has_users", force: :cascade do |t|
|
1028
1041
|
t.integer "user_reserve_stat_id", null: false
|
1029
1042
|
t.integer "user_id", null: false
|
1030
1043
|
t.integer "reserves_count"
|
@@ -1035,7 +1048,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1035
1048
|
add_index "reserve_stat_has_users", ["user_id"], name: "index_reserve_stat_has_users_on_user_id"
|
1036
1049
|
add_index "reserve_stat_has_users", ["user_reserve_stat_id"], name: "index_reserve_stat_has_users_on_user_reserve_stat_id"
|
1037
1050
|
|
1038
|
-
create_table "reserve_transitions", force:
|
1051
|
+
create_table "reserve_transitions", force: :cascade do |t|
|
1039
1052
|
t.string "to_state"
|
1040
1053
|
t.text "metadata", default: "{}"
|
1041
1054
|
t.integer "sort_key"
|
@@ -1047,7 +1060,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1047
1060
|
add_index "reserve_transitions", ["reserve_id"], name: "index_reserve_transitions_on_reserve_id"
|
1048
1061
|
add_index "reserve_transitions", ["sort_key", "reserve_id"], name: "index_reserve_transitions_on_sort_key_and_reserve_id", unique: true
|
1049
1062
|
|
1050
|
-
create_table "reserves", force:
|
1063
|
+
create_table "reserves", force: :cascade do |t|
|
1051
1064
|
t.integer "user_id", null: false
|
1052
1065
|
t.integer "manifestation_id", null: false
|
1053
1066
|
t.integer "item_id"
|
@@ -1072,7 +1085,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1072
1085
|
add_index "reserves", ["request_status_type_id"], name: "index_reserves_on_request_status_type_id"
|
1073
1086
|
add_index "reserves", ["user_id"], name: "index_reserves_on_user_id"
|
1074
1087
|
|
1075
|
-
create_table "resource_export_file_transitions", force:
|
1088
|
+
create_table "resource_export_file_transitions", force: :cascade do |t|
|
1076
1089
|
t.string "to_state"
|
1077
1090
|
t.text "metadata", default: "{}"
|
1078
1091
|
t.integer "sort_key"
|
@@ -1084,7 +1097,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1084
1097
|
add_index "resource_export_file_transitions", ["resource_export_file_id"], name: "index_resource_export_file_transitions_on_file_id"
|
1085
1098
|
add_index "resource_export_file_transitions", ["sort_key", "resource_export_file_id"], name: "index_resource_export_file_transitions_on_sort_key_and_file_id", unique: true
|
1086
1099
|
|
1087
|
-
create_table "resource_export_files", force:
|
1100
|
+
create_table "resource_export_files", force: :cascade do |t|
|
1088
1101
|
t.integer "user_id"
|
1089
1102
|
t.string "resource_export_file_name"
|
1090
1103
|
t.string "resource_export_content_type"
|
@@ -1095,7 +1108,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1095
1108
|
t.datetime "updated_at"
|
1096
1109
|
end
|
1097
1110
|
|
1098
|
-
create_table "resource_import_file_transitions", force:
|
1111
|
+
create_table "resource_import_file_transitions", force: :cascade do |t|
|
1099
1112
|
t.string "to_state"
|
1100
1113
|
t.text "metadata", default: "{}"
|
1101
1114
|
t.integer "sort_key"
|
@@ -1107,7 +1120,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1107
1120
|
add_index "resource_import_file_transitions", ["resource_import_file_id"], name: "index_resource_import_file_transitions_on_file_id"
|
1108
1121
|
add_index "resource_import_file_transitions", ["sort_key", "resource_import_file_id"], name: "index_resource_import_file_transitions_on_sort_key_and_file_id", unique: true
|
1109
1122
|
|
1110
|
-
create_table "resource_import_files", force:
|
1123
|
+
create_table "resource_import_files", force: :cascade do |t|
|
1111
1124
|
t.integer "parent_id"
|
1112
1125
|
t.string "content_type"
|
1113
1126
|
t.integer "size"
|
@@ -1130,7 +1143,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1130
1143
|
add_index "resource_import_files", ["parent_id"], name: "index_resource_import_files_on_parent_id"
|
1131
1144
|
add_index "resource_import_files", ["user_id"], name: "index_resource_import_files_on_user_id"
|
1132
1145
|
|
1133
|
-
create_table "resource_import_results", force:
|
1146
|
+
create_table "resource_import_results", force: :cascade do |t|
|
1134
1147
|
t.integer "resource_import_file_id"
|
1135
1148
|
t.integer "manifestation_id"
|
1136
1149
|
t.integer "item_id"
|
@@ -1144,7 +1157,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1144
1157
|
add_index "resource_import_results", ["manifestation_id"], name: "index_resource_import_results_on_manifestation_id"
|
1145
1158
|
add_index "resource_import_results", ["resource_import_file_id"], name: "index_resource_import_results_on_resource_import_file_id"
|
1146
1159
|
|
1147
|
-
create_table "roles", force:
|
1160
|
+
create_table "roles", force: :cascade do |t|
|
1148
1161
|
t.string "name", null: false
|
1149
1162
|
t.string "display_name"
|
1150
1163
|
t.text "note"
|
@@ -1154,7 +1167,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1154
1167
|
t.integer "position"
|
1155
1168
|
end
|
1156
1169
|
|
1157
|
-
create_table "search_engines", force:
|
1170
|
+
create_table "search_engines", force: :cascade do |t|
|
1158
1171
|
t.string "name", null: false
|
1159
1172
|
t.text "display_name"
|
1160
1173
|
t.string "url", null: false
|
@@ -1168,13 +1181,13 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1168
1181
|
t.datetime "updated_at"
|
1169
1182
|
end
|
1170
1183
|
|
1171
|
-
create_table "series_statement_merge_lists", force:
|
1184
|
+
create_table "series_statement_merge_lists", force: :cascade do |t|
|
1172
1185
|
t.string "title"
|
1173
1186
|
t.datetime "created_at"
|
1174
1187
|
t.datetime "updated_at"
|
1175
1188
|
end
|
1176
1189
|
|
1177
|
-
create_table "series_statement_merges", force:
|
1190
|
+
create_table "series_statement_merges", force: :cascade do |t|
|
1178
1191
|
t.integer "series_statement_id", null: false
|
1179
1192
|
t.integer "series_statement_merge_list_id", null: false
|
1180
1193
|
t.datetime "created_at"
|
@@ -1184,7 +1197,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1184
1197
|
add_index "series_statement_merges", ["series_statement_id"], name: "index_series_statement_merges_on_series_statement_id"
|
1185
1198
|
add_index "series_statement_merges", ["series_statement_merge_list_id"], name: "index_series_statement_merges_on_list_id"
|
1186
1199
|
|
1187
|
-
create_table "series_statements", force:
|
1200
|
+
create_table "series_statements", force: :cascade do |t|
|
1188
1201
|
t.text "original_title"
|
1189
1202
|
t.text "numbering"
|
1190
1203
|
t.text "title_subseries"
|
@@ -1209,7 +1222,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1209
1222
|
add_index "series_statements", ["root_manifestation_id"], name: "index_series_statements_on_root_manifestation_id"
|
1210
1223
|
add_index "series_statements", ["series_statement_identifier"], name: "index_series_statements_on_series_statement_identifier"
|
1211
1224
|
|
1212
|
-
create_table "shelves", force:
|
1225
|
+
create_table "shelves", force: :cascade do |t|
|
1213
1226
|
t.string "name", null: false
|
1214
1227
|
t.text "display_name"
|
1215
1228
|
t.text "note"
|
@@ -1224,7 +1237,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1224
1237
|
|
1225
1238
|
add_index "shelves", ["library_id"], name: "index_shelves_on_library_id"
|
1226
1239
|
|
1227
|
-
create_table "subscribes", force:
|
1240
|
+
create_table "subscribes", force: :cascade do |t|
|
1228
1241
|
t.integer "subscription_id", null: false
|
1229
1242
|
t.integer "work_id", null: false
|
1230
1243
|
t.datetime "start_at", null: false
|
@@ -1236,7 +1249,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1236
1249
|
add_index "subscribes", ["subscription_id"], name: "index_subscribes_on_subscription_id"
|
1237
1250
|
add_index "subscribes", ["work_id"], name: "index_subscribes_on_work_id"
|
1238
1251
|
|
1239
|
-
create_table "subscriptions", force:
|
1252
|
+
create_table "subscriptions", force: :cascade do |t|
|
1240
1253
|
t.text "title", null: false
|
1241
1254
|
t.text "note"
|
1242
1255
|
t.integer "user_id"
|
@@ -1250,7 +1263,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1250
1263
|
add_index "subscriptions", ["order_list_id"], name: "index_subscriptions_on_order_list_id"
|
1251
1264
|
add_index "subscriptions", ["user_id"], name: "index_subscriptions_on_user_id"
|
1252
1265
|
|
1253
|
-
create_table "use_restrictions", force:
|
1266
|
+
create_table "use_restrictions", force: :cascade do |t|
|
1254
1267
|
t.string "name", null: false
|
1255
1268
|
t.text "display_name"
|
1256
1269
|
t.text "note"
|
@@ -1259,7 +1272,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1259
1272
|
t.datetime "updated_at"
|
1260
1273
|
end
|
1261
1274
|
|
1262
|
-
create_table "user_checkout_stat_transitions", force:
|
1275
|
+
create_table "user_checkout_stat_transitions", force: :cascade do |t|
|
1263
1276
|
t.string "to_state"
|
1264
1277
|
t.text "metadata", default: "{}"
|
1265
1278
|
t.integer "sort_key"
|
@@ -1271,7 +1284,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1271
1284
|
add_index "user_checkout_stat_transitions", ["sort_key", "user_checkout_stat_id"], name: "index_user_checkout_stat_transitions_on_sort_key_and_stat_id", unique: true
|
1272
1285
|
add_index "user_checkout_stat_transitions", ["user_checkout_stat_id"], name: "index_user_checkout_stat_transitions_on_user_checkout_stat_id"
|
1273
1286
|
|
1274
|
-
create_table "user_checkout_stats", force:
|
1287
|
+
create_table "user_checkout_stats", force: :cascade do |t|
|
1275
1288
|
t.datetime "start_date"
|
1276
1289
|
t.datetime "end_date"
|
1277
1290
|
t.text "note"
|
@@ -1284,7 +1297,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1284
1297
|
|
1285
1298
|
add_index "user_checkout_stats", ["user_id"], name: "index_user_checkout_stats_on_user_id"
|
1286
1299
|
|
1287
|
-
create_table "user_export_file_transitions", force:
|
1300
|
+
create_table "user_export_file_transitions", force: :cascade do |t|
|
1288
1301
|
t.string "to_state"
|
1289
1302
|
t.text "metadata", default: "{}"
|
1290
1303
|
t.integer "sort_key"
|
@@ -1296,7 +1309,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1296
1309
|
add_index "user_export_file_transitions", ["sort_key", "user_export_file_id"], name: "index_user_export_file_transitions_on_sort_key_and_file_id", unique: true
|
1297
1310
|
add_index "user_export_file_transitions", ["user_export_file_id"], name: "index_user_export_file_transitions_on_file_id"
|
1298
1311
|
|
1299
|
-
create_table "user_export_files", force:
|
1312
|
+
create_table "user_export_files", force: :cascade do |t|
|
1300
1313
|
t.integer "user_id"
|
1301
1314
|
t.string "user_export_file_name"
|
1302
1315
|
t.string "user_export_content_type"
|
@@ -1307,7 +1320,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1307
1320
|
t.datetime "updated_at"
|
1308
1321
|
end
|
1309
1322
|
|
1310
|
-
create_table "user_group_has_checkout_types", force:
|
1323
|
+
create_table "user_group_has_checkout_types", force: :cascade do |t|
|
1311
1324
|
t.integer "user_group_id", null: false
|
1312
1325
|
t.integer "checkout_type_id", null: false
|
1313
1326
|
t.integer "checkout_limit", default: 0, null: false
|
@@ -1327,7 +1340,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1327
1340
|
add_index "user_group_has_checkout_types", ["checkout_type_id"], name: "index_user_group_has_checkout_types_on_checkout_type_id"
|
1328
1341
|
add_index "user_group_has_checkout_types", ["user_group_id"], name: "index_user_group_has_checkout_types_on_user_group_id"
|
1329
1342
|
|
1330
|
-
create_table "user_groups", force:
|
1343
|
+
create_table "user_groups", force: :cascade do |t|
|
1331
1344
|
t.string "name"
|
1332
1345
|
t.text "display_name"
|
1333
1346
|
t.text "note"
|
@@ -1342,7 +1355,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1342
1355
|
t.integer "number_of_time_to_notify_overdue", default: 3, null: false
|
1343
1356
|
end
|
1344
1357
|
|
1345
|
-
create_table "user_has_roles", force:
|
1358
|
+
create_table "user_has_roles", force: :cascade do |t|
|
1346
1359
|
t.integer "user_id"
|
1347
1360
|
t.integer "role_id"
|
1348
1361
|
t.datetime "created_at"
|
@@ -1352,7 +1365,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1352
1365
|
add_index "user_has_roles", ["role_id"], name: "index_user_has_roles_on_role_id"
|
1353
1366
|
add_index "user_has_roles", ["user_id"], name: "index_user_has_roles_on_user_id"
|
1354
1367
|
|
1355
|
-
create_table "user_import_file_transitions", force:
|
1368
|
+
create_table "user_import_file_transitions", force: :cascade do |t|
|
1356
1369
|
t.string "to_state"
|
1357
1370
|
t.text "metadata", default: "{}"
|
1358
1371
|
t.integer "sort_key"
|
@@ -1364,7 +1377,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1364
1377
|
add_index "user_import_file_transitions", ["sort_key", "user_import_file_id"], name: "index_user_import_file_transitions_on_sort_key_and_file_id", unique: true
|
1365
1378
|
add_index "user_import_file_transitions", ["user_import_file_id"], name: "index_user_import_file_transitions_on_user_import_file_id"
|
1366
1379
|
|
1367
|
-
create_table "user_import_files", force:
|
1380
|
+
create_table "user_import_files", force: :cascade do |t|
|
1368
1381
|
t.integer "user_id"
|
1369
1382
|
t.text "note"
|
1370
1383
|
t.datetime "executed_at"
|
@@ -1382,7 +1395,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1382
1395
|
t.integer "default_user_group_id"
|
1383
1396
|
end
|
1384
1397
|
|
1385
|
-
create_table "user_import_results", force:
|
1398
|
+
create_table "user_import_results", force: :cascade do |t|
|
1386
1399
|
t.integer "user_import_file_id"
|
1387
1400
|
t.integer "user_id"
|
1388
1401
|
t.text "body"
|
@@ -1390,7 +1403,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1390
1403
|
t.datetime "updated_at"
|
1391
1404
|
end
|
1392
1405
|
|
1393
|
-
create_table "user_reserve_stat_transitions", force:
|
1406
|
+
create_table "user_reserve_stat_transitions", force: :cascade do |t|
|
1394
1407
|
t.string "to_state"
|
1395
1408
|
t.text "metadata", default: "{}"
|
1396
1409
|
t.integer "sort_key"
|
@@ -1402,7 +1415,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1402
1415
|
add_index "user_reserve_stat_transitions", ["sort_key", "user_reserve_stat_id"], name: "index_user_reserve_stat_transitions_on_sort_key_and_stat_id", unique: true
|
1403
1416
|
add_index "user_reserve_stat_transitions", ["user_reserve_stat_id"], name: "index_user_reserve_stat_transitions_on_user_reserve_stat_id"
|
1404
1417
|
|
1405
|
-
create_table "user_reserve_stats", force:
|
1418
|
+
create_table "user_reserve_stats", force: :cascade do |t|
|
1406
1419
|
t.datetime "start_date"
|
1407
1420
|
t.datetime "end_date"
|
1408
1421
|
t.text "note"
|
@@ -1415,7 +1428,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1415
1428
|
|
1416
1429
|
add_index "user_reserve_stats", ["user_id"], name: "index_user_reserve_stats_on_user_id"
|
1417
1430
|
|
1418
|
-
create_table "users", force:
|
1431
|
+
create_table "users", force: :cascade do |t|
|
1419
1432
|
t.string "email", default: "", null: false
|
1420
1433
|
t.string "encrypted_password", default: "", null: false
|
1421
1434
|
t.string "reset_password_token"
|
@@ -1442,7 +1455,7 @@ ActiveRecord::Schema.define(version: 20141020120523) do
|
|
1442
1455
|
add_index "users", ["unlock_token"], name: "index_users_on_unlock_token", unique: true
|
1443
1456
|
add_index "users", ["username"], name: "index_users_on_username", unique: true
|
1444
1457
|
|
1445
|
-
create_table "versions", force:
|
1458
|
+
create_table "versions", force: :cascade do |t|
|
1446
1459
|
t.string "item_type", null: false
|
1447
1460
|
t.integer "item_id", null: false
|
1448
1461
|
t.string "event", null: false
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "checkouts/edit" do
|
4
|
+
fixtures :checkouts, :users, :user_has_roles, :roles
|
5
|
+
|
6
|
+
before(:each) do
|
7
|
+
@checkout = assign(:checkout, checkouts(:checkout_00001))
|
8
|
+
assign(:new_due_date, 1.day.from_now)
|
9
|
+
view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first)
|
10
|
+
end
|
11
|
+
|
12
|
+
it "renders the edit checkout form" do
|
13
|
+
render
|
14
|
+
|
15
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
16
|
+
assert_select "form", action: checkouts_path(@checkout), method: "post" do
|
17
|
+
assert_select "input#checkout_user_id", name: "checkout[user_id]"
|
18
|
+
assert_select "input#checkout_item_id", name: "checkout[item_id]"
|
19
|
+
assert_select "input#checkout_due_date", name: "checkout[due_date]"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe "checkouts/index" do
|
5
|
+
fixtures :users, :roles, :user_has_roles
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
view.extend EnjuLeaf::EnjuLeafHelper
|
9
|
+
view.extend EnjuBiblio::BiblioHelper
|
10
|
+
|
11
|
+
assign(:checkouts, Checkout.page(1))
|
12
|
+
assign(:checkouts_facet, [])
|
13
|
+
view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first)
|
14
|
+
end
|
15
|
+
|
16
|
+
it "renders a list of checkouts" do
|
17
|
+
render
|
18
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
19
|
+
rendered.should match(/これからの生命科学研究者のためのバイオ特許入門講座/)
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe "checkouts/show" do
|
5
|
+
fixtures :checkouts, :users, :user_has_roles, :roles
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
@checkout = assign(:checkout, stub_model(Checkout,
|
9
|
+
user_id: 2,
|
10
|
+
item_id: 1
|
11
|
+
))
|
12
|
+
view.stub(:current_user).and_return(User.where(username: 'enjuadmin').first)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "renders attributes in <p>" do
|
16
|
+
render
|
17
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
18
|
+
rendered.should match(/返却期限/)
|
19
|
+
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
20
|
+
rendered.should match(/所蔵情報ID/)
|
21
|
+
end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_circulation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_biblio
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.0.
|
19
|
+
version: 0.1.0.pre65
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.0.
|
26
|
+
version: 0.1.0.pre65
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: enju_library
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -371,6 +371,7 @@ files:
|
|
371
371
|
- app/views/manifestation_reserve_stats/show.html.erb
|
372
372
|
- app/views/manifestation_reserve_stats/show.txt.erb
|
373
373
|
- app/views/my_accounts/_feed_token.html.erb
|
374
|
+
- app/views/profiles/_feed_token.html.erb
|
374
375
|
- app/views/reserves/_form.html.erb
|
375
376
|
- app/views/reserves/_new.html.erb
|
376
377
|
- app/views/reserves/_new_user.html.erb
|
@@ -405,7 +406,6 @@ files:
|
|
405
406
|
- app/views/user_reserve_stats/new.html.erb
|
406
407
|
- app/views/user_reserve_stats/show.html.erb
|
407
408
|
- app/views/user_reserve_stats/show.txt.erb
|
408
|
-
- app/views/users/_feed_token.html.erb
|
409
409
|
- app/workers/manifestation_checkout_stat_queue.rb
|
410
410
|
- app/workers/manifestation_reserve_stat_queue.rb
|
411
411
|
- app/workers/user_checkout_stat_queue.rb
|
@@ -506,7 +506,6 @@ files:
|
|
506
506
|
- spec/dummy/app/helpers/application_helper.rb
|
507
507
|
- spec/dummy/app/models/ability.rb
|
508
508
|
- spec/dummy/app/models/local_agent.rb
|
509
|
-
- spec/dummy/app/models/setting.rb
|
510
509
|
- spec/dummy/app/models/user.rb
|
511
510
|
- spec/dummy/app/views/layouts/application.html.erb
|
512
511
|
- spec/dummy/bin/bundle
|
@@ -686,6 +685,7 @@ files:
|
|
686
685
|
- spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
|
687
686
|
- spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
|
688
687
|
- spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
|
688
|
+
- spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
|
689
689
|
- spec/dummy/db/schema.rb
|
690
690
|
- spec/dummy/public/404.html
|
691
691
|
- spec/dummy/public/422.html
|
@@ -787,6 +787,9 @@ files:
|
|
787
787
|
- spec/views/checkout_types/index.html.erb_spec.rb
|
788
788
|
- spec/views/checkout_types/new.html.erb_spec.rb
|
789
789
|
- spec/views/checkout_types/show.html.erb_spec.rb
|
790
|
+
- spec/views/checkouts/edit.html.erb_spec.rb
|
791
|
+
- spec/views/checkouts/index.html.erb_spec.rb
|
792
|
+
- spec/views/checkouts/show.html.erb_spec.rb
|
790
793
|
- spec/views/reserves/index.html.erb_spec.rb
|
791
794
|
- spec/views/use_restrictions/edit.html.erb_spec.rb
|
792
795
|
- spec/views/use_restrictions/index.html.erb_spec.rb
|
@@ -837,7 +840,6 @@ test_files:
|
|
837
840
|
- spec/dummy/app/helpers/application_helper.rb
|
838
841
|
- spec/dummy/app/models/ability.rb
|
839
842
|
- spec/dummy/app/models/local_agent.rb
|
840
|
-
- spec/dummy/app/models/setting.rb
|
841
843
|
- spec/dummy/app/models/user.rb
|
842
844
|
- spec/dummy/app/views/layouts/application.html.erb
|
843
845
|
- spec/dummy/bin/bundle
|
@@ -1017,6 +1019,7 @@ test_files:
|
|
1017
1019
|
- spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
|
1018
1020
|
- spec/dummy/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb
|
1019
1021
|
- spec/dummy/db/migrate/20141003182825_add_date_of_birth_to_profile.rb
|
1022
|
+
- spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
|
1020
1023
|
- spec/dummy/db/schema.rb
|
1021
1024
|
- spec/dummy/public/404.html
|
1022
1025
|
- spec/dummy/public/422.html
|
@@ -1120,6 +1123,9 @@ test_files:
|
|
1120
1123
|
- spec/views/checkout_types/index.html.erb_spec.rb
|
1121
1124
|
- spec/views/checkout_types/new.html.erb_spec.rb
|
1122
1125
|
- spec/views/checkout_types/show.html.erb_spec.rb
|
1126
|
+
- spec/views/checkouts/edit.html.erb_spec.rb
|
1127
|
+
- spec/views/checkouts/index.html.erb_spec.rb
|
1128
|
+
- spec/views/checkouts/show.html.erb_spec.rb
|
1123
1129
|
- spec/views/reserves/index.html.erb_spec.rb
|
1124
1130
|
- spec/views/use_restrictions/edit.html.erb_spec.rb
|
1125
1131
|
- spec/views/use_restrictions/index.html.erb_spec.rb
|