enju_library 0.4.0.beta.1 → 0.4.0.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/baskets_controller.rb +37 -12
- data/app/views/withdraws/index.html.erb +3 -1
- data/app/views/withdraws/new.html.erb +3 -1
- data/lib/enju_library/version.rb +1 -1
- data/lib/generators/enju_library/setup/templates/db/fixtures/budget_types.yml +1 -1
- data/spec/controllers/accepts_controller_spec.rb +0 -8
- data/spec/controllers/baskets_controller_spec.rb +6 -7
- data/spec/dummy/app/models/user.rb +0 -7
- data/spec/dummy/config/application.rb +1 -2
- data/spec/dummy/db/schema.rb +1 -1
- data/spec/fixtures/budget_types.yml +2 -2
- data/spec/models/accept_spec.rb +0 -2
- data/spec/models/user_import_file_spec.rb +2 -19
- data/spec/models/withdraw_spec.rb +0 -8
- metadata +5 -59
- data/spec/factories/checkout.rb +0 -11
- data/spec/fixtures/carrier_type_has_checkout_types.yml +0 -31
- data/spec/fixtures/checked_items.yml +0 -35
- data/spec/fixtures/checkins.yml +0 -48
- data/spec/fixtures/checkout_stat_has_manifestations.yml +0 -24
- data/spec/fixtures/checkout_stat_has_users.yml +0 -24
- data/spec/fixtures/checkout_types.yml +0 -34
- data/spec/fixtures/checkouts.yml +0 -162
- data/spec/fixtures/classification_types.yml +0 -63
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -29
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -29
- data/spec/fixtures/reserve_stat_has_manifestations.yml +0 -24
- data/spec/fixtures/reserve_stat_has_users.yml +0 -24
- data/spec/fixtures/reserve_transitions.yml +0 -104
- data/spec/fixtures/reserves.yml +0 -143
- data/spec/fixtures/subject_heading_types.yml +0 -39
- data/spec/fixtures/subject_types.yml +0 -28
- data/spec/fixtures/user_checkout_stats.yml +0 -28
- data/spec/fixtures/user_group_has_checkout_types.yml +0 -111
- data/spec/fixtures/user_reserve_stats.yml +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1c75319a25ae87f9ea02f08f1162def1502216acb8c4b8f9287f25e1e210b6a
|
4
|
+
data.tar.gz: ec1be62fc92d1a8ec899cf5e14ad5fe20afcc05a37b2338df7e139eebd831a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 836f596b0f34970787d4ae1c36d95a584b00b4c13a1d5cc7a1908396e125546fd6b60c5f52b6373823b998e3f030a469b6269d90f0962557fb91430195d505ae
|
7
|
+
data.tar.gz: 3a291af12182dc72a64b24da112bbde2931902f85c0ea575ee4da498199d6dd5376aba2a72129c4602c04717924bc5f4f6cf025779aa8cf9bdb306738c025391
|
@@ -54,7 +54,13 @@ class BasketsController < ApplicationController
|
|
54
54
|
|
55
55
|
respond_to do |format|
|
56
56
|
if @basket.save
|
57
|
-
format.html {
|
57
|
+
format.html {
|
58
|
+
if defined?(EnjuCirculation)
|
59
|
+
redirect_to new_checked_item_url(basket_id: @basket.id), notice: t('controller.successfully_created', model: t('activerecord.models.basket'))
|
60
|
+
else
|
61
|
+
redirect_to basket_url(@basket), notice: t('controller.successfully_created', model: t('activerecord.models.basket'))
|
62
|
+
end
|
63
|
+
}
|
58
64
|
format.json { render json: @basket, status: :created, location: @basket }
|
59
65
|
else
|
60
66
|
format.html { render action: "new" }
|
@@ -67,30 +73,43 @@ class BasketsController < ApplicationController
|
|
67
73
|
# PUT /baskets/1.json
|
68
74
|
def update
|
69
75
|
librarian = current_user
|
70
|
-
|
71
|
-
|
76
|
+
if defined?(EnjuCirculation)
|
77
|
+
begin
|
78
|
+
unless @basket.basket_checkout(librarian)
|
79
|
+
redirect_to new_checked_item_url(basket_id: @basket.id)
|
80
|
+
return
|
81
|
+
end
|
82
|
+
rescue ActiveRecord::RecordInvalid
|
83
|
+
flash[:message] = t('checked_item.already_checked_out_try_again')
|
84
|
+
@basket.checked_items.delete_all
|
72
85
|
redirect_to new_checked_item_url(basket_id: @basket.id)
|
73
86
|
return
|
74
87
|
end
|
75
|
-
rescue ActiveRecord::RecordInvalid
|
76
|
-
flash[:message] = t('checked_item.already_checked_out_try_again')
|
77
|
-
@basket.checked_items.delete_all
|
78
|
-
redirect_to new_checked_item_url(basket_id: @basket.id)
|
79
|
-
return
|
80
88
|
end
|
81
89
|
|
82
90
|
respond_to do |format|
|
83
91
|
# if @basket.update_attributes({})
|
84
92
|
if @basket.save(validate: false)
|
85
93
|
# 貸出完了時
|
86
|
-
format.html {
|
94
|
+
format.html {
|
95
|
+
if defined?(EnjuCirculation)
|
96
|
+
redirect_to checkouts_url(user_id: @basket.user.username), notice: t('basket.checkout_completed')
|
97
|
+
else
|
98
|
+
redirect_to basket_url(@basket), notice: t('basket.checkout_completed')
|
99
|
+
end
|
100
|
+
}
|
87
101
|
format.json { head :no_content }
|
88
102
|
else
|
89
|
-
format.html {
|
103
|
+
format.html {
|
104
|
+
if defined?(EnjuCirculation)
|
105
|
+
redirect_to checked_items_url(basket_id: @basket.id)
|
106
|
+
else
|
107
|
+
render action: "edit"
|
108
|
+
end
|
109
|
+
}
|
90
110
|
format.json { render json: @basket.errors, status: :unprocessable_entity }
|
91
111
|
end
|
92
112
|
end
|
93
|
-
|
94
113
|
end
|
95
114
|
|
96
115
|
# DELETE /baskets/1
|
@@ -99,7 +118,13 @@ class BasketsController < ApplicationController
|
|
99
118
|
@basket.destroy
|
100
119
|
|
101
120
|
respond_to do |format|
|
102
|
-
format.html {
|
121
|
+
format.html {
|
122
|
+
if defined?(EnjuCirculation)
|
123
|
+
redirect_to checkouts_url(user_id: @basket.user.username)
|
124
|
+
else
|
125
|
+
redirect_to baskets_url
|
126
|
+
end
|
127
|
+
}
|
103
128
|
format.json { head :no_content }
|
104
129
|
end
|
105
130
|
end
|
@@ -45,6 +45,8 @@
|
|
45
45
|
<div id="submenu" class="ui-corner-all ui-widget-content">
|
46
46
|
<ul>
|
47
47
|
<li><%= link_to t('page.new', model: t('activerecord.models.withdraw')), new_withdraw_path -%></li>
|
48
|
-
|
48
|
+
<% if defined?(EnjuCirculation) %>
|
49
|
+
<li><%= link_to t('page.listing', model: t('activerecord.attributes.withdraw.removed_items', status: CirculationStatus.where(name: 'Removed').first.display_name) + t('activerecord.models.item')), items_path(circulation_status: 'Removed') -%></li>
|
50
|
+
<% end %>
|
49
51
|
</ul>
|
50
52
|
</div>
|
@@ -10,6 +10,8 @@
|
|
10
10
|
<div id="submenu" class="ui-corner-all ui-widget-content">
|
11
11
|
<ul>
|
12
12
|
<li><%= link_to t('page.listing', model: t('activerecord.models.withdraw')), withdraws_path -%></li>
|
13
|
-
|
13
|
+
<% if defined?(EnjuCirculation) %>
|
14
|
+
<li><%= link_to t('page.listing', model: t('activerecord.attributes.withdraw.removed_items', status: CirculationStatus.where(name: 'Removed').first.display_name) + t('activerecord.models.item')), items_path(circulation_status: 'Removed') -%></li>
|
15
|
+
<% end %>
|
14
16
|
</ul>
|
15
17
|
</div>
|
data/lib/enju_library/version.rb
CHANGED
@@ -156,14 +156,6 @@ describe AcceptsController do
|
|
156
156
|
post :create, params: { accept: @attrs }
|
157
157
|
response.should be_forbidden
|
158
158
|
end
|
159
|
-
|
160
|
-
describe 'When basket_id is specified' do
|
161
|
-
it 'redirects to the created accept' do
|
162
|
-
post :create, params: { accept: @attrs, basket_id: 9 }
|
163
|
-
response.should redirect_to(accepts_url(basket_id: assigns(:accept).basket.id))
|
164
|
-
assigns(:accept).item.circulation_status.name.should eq 'Available On Shelf'
|
165
|
-
end
|
166
|
-
end
|
167
159
|
end
|
168
160
|
|
169
161
|
describe 'with invalid params' do
|
@@ -253,7 +253,7 @@ describe BasketsController do
|
|
253
253
|
it 'should create basket' do
|
254
254
|
post :create, params: { basket: { user_number: users(:user1).profile.user_number } }
|
255
255
|
assigns(:basket).should be_valid
|
256
|
-
response.should redirect_to
|
256
|
+
response.should redirect_to basket_url(assigns(:basket))
|
257
257
|
end
|
258
258
|
|
259
259
|
it 'should not create basket without user_number' do
|
@@ -316,8 +316,7 @@ describe BasketsController do
|
|
316
316
|
|
317
317
|
it 'assigns the requested basket as @basket' do
|
318
318
|
put :update, params: { id: 8, basket: @attrs }
|
319
|
-
assigns(:basket)
|
320
|
-
response.should redirect_to(checkouts_url(user_id: assigns(:basket).user.username))
|
319
|
+
response.should redirect_to(basket_url(assigns(:basket)))
|
321
320
|
end
|
322
321
|
end
|
323
322
|
end
|
@@ -333,12 +332,12 @@ describe BasketsController do
|
|
333
332
|
|
334
333
|
it 'should destroy basket without user_id' do
|
335
334
|
delete :destroy, params: { id: 1, basket: { user_id: nil }, user_id: users(:user1).username }
|
336
|
-
response.should redirect_to(
|
335
|
+
response.should redirect_to(baskets_url)
|
337
336
|
end
|
338
337
|
|
339
338
|
it 'should destroy basket' do
|
340
339
|
delete :destroy, params: { id: 1, basket: {}, user_id: users(:user1).username }
|
341
|
-
response.should redirect_to(
|
340
|
+
response.should redirect_to(baskets_url)
|
342
341
|
end
|
343
342
|
end
|
344
343
|
|
@@ -347,12 +346,12 @@ describe BasketsController do
|
|
347
346
|
|
348
347
|
it 'should destroy basket without user_id' do
|
349
348
|
delete :destroy, params: { id: 1, basket: { user_id: nil }, user_id: users(:user1).username }
|
350
|
-
response.should redirect_to(
|
349
|
+
response.should redirect_to(baskets_url)
|
351
350
|
end
|
352
351
|
|
353
352
|
it 'should destroy basket' do
|
354
353
|
delete :destroy, params: { id: 1, basket: {}, user_id: users(:user1).username }
|
355
|
-
response.should redirect_to(
|
354
|
+
response.should redirect_to(baskets_url)
|
356
355
|
end
|
357
356
|
end
|
358
357
|
|
@@ -4,13 +4,6 @@ class User < ApplicationRecord
|
|
4
4
|
:lockable, lock_strategy: :none, unlock_strategy: :none
|
5
5
|
|
6
6
|
include EnjuLibrary::EnjuUser
|
7
|
-
include EnjuCirculation::EnjuUser
|
8
7
|
end
|
9
8
|
|
10
|
-
Accept.include(EnjuCirculation::EnjuAccept)
|
11
|
-
Basket.include(EnjuCirculation::EnjuBasket)
|
12
|
-
Manifestation.include(EnjuCirculation::EnjuManifestation)
|
13
|
-
Manifestation.include(EnjuSubject::EnjuManifestation)
|
14
|
-
Item.include(EnjuCirculation::EnjuItem)
|
15
9
|
Item.include(EnjuLibrary::EnjuItem)
|
16
|
-
Withdraw.include(EnjuCirculation::EnjuWithdraw)
|
@@ -5,9 +5,8 @@ require 'rails/all'
|
|
5
5
|
Bundler.require(*Rails.groups)
|
6
6
|
require "enju_library"
|
7
7
|
require "enju_leaf"
|
8
|
-
require "enju_circulation"
|
9
|
-
require "enju_subject"
|
10
8
|
require "enju_manifestation_viewer"
|
9
|
+
require "enju_message"
|
11
10
|
|
12
11
|
module Dummy
|
13
12
|
class Application < Rails::Application
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1895,7 +1895,7 @@ ActiveRecord::Schema.define(version: 2019_08_14_120827) do
|
|
1895
1895
|
add_foreign_key "reserves", "manifestations"
|
1896
1896
|
add_foreign_key "reserves", "users"
|
1897
1897
|
add_foreign_key "retains", "items"
|
1898
|
-
add_foreign_key "retains", "reserves"
|
1898
|
+
add_foreign_key "retains", "reserves", column: "reserve_id"
|
1899
1899
|
add_foreign_key "user_checkout_stats", "users"
|
1900
1900
|
add_foreign_key "user_group_has_checkout_types", "checkout_types"
|
1901
1901
|
add_foreign_key "user_group_has_checkout_types", "user_groups"
|
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
public_fund:
|
4
4
|
name: Public fund
|
5
|
-
display_name: Public fund
|
5
|
+
display_name: {"en": "Public fund"}
|
6
6
|
note:
|
7
7
|
position: 1
|
8
8
|
id: 1
|
9
9
|
|
10
10
|
donation:
|
11
11
|
name: Donation
|
12
|
-
display_name: Donation
|
12
|
+
display_name: {"en": "Donation"}
|
13
13
|
note:
|
14
14
|
position: 2
|
15
15
|
id: 2
|
data/spec/models/accept_spec.rb
CHANGED
@@ -5,8 +5,6 @@ describe Accept do
|
|
5
5
|
|
6
6
|
it "should change circulation_status" do
|
7
7
|
accept = FactoryBot.create(:accept)
|
8
|
-
accept.item.circulation_status.name.should eq 'Available On Shelf'
|
9
|
-
accept.item.use_restriction.name.should eq 'Limited Circulation, Normal Loan Period'
|
10
8
|
end
|
11
9
|
end
|
12
10
|
|
@@ -49,8 +49,6 @@ describe UserImportFile do
|
|
49
49
|
user003.profile.user_number.should eq '001003'
|
50
50
|
user003.profile.library.name.should eq 'kamata'
|
51
51
|
user003.profile.locale.should eq 'ja'
|
52
|
-
user003.profile.checkout_icalendar_token.should eq 'secrettoken'
|
53
|
-
user003.profile.save_checkout_history.should be_truthy
|
54
52
|
user003.profile.save_search_history.should be_falsy
|
55
53
|
user003.profile.share_bookmarks.should be_falsy
|
56
54
|
User.find_by(username: 'user000').should be_nil
|
@@ -77,7 +75,7 @@ describe UserImportFile do
|
|
77
75
|
file.executed_at.should be_truthy
|
78
76
|
|
79
77
|
file.reload
|
80
|
-
file.error_message.should eq "The following column(s) were ignored: save_search_history, share_bookmarks, invalid\nline 8: Password is too short (minimum is 6 characters)\nline 9: User number is invalid\nline 10: User number has already been taken"
|
78
|
+
file.error_message.should eq "The following column(s) were ignored: checkout_icalendar_token, save_checkout_history, save_search_history, share_bookmarks, invalid\nline 8: Password is too short (minimum is 6 characters)\nline 9: User number is invalid\nline 10: User number has already been taken"
|
81
79
|
file.current_state.should eq 'failed'
|
82
80
|
end
|
83
81
|
|
@@ -199,24 +197,9 @@ describe UserImportFile do
|
|
199
197
|
)
|
200
198
|
old_message_count = Message.count
|
201
199
|
file.remove
|
202
|
-
User.count.should eq old_count -
|
200
|
+
User.count.should eq old_count - 3
|
203
201
|
Message.count.should eq old_message_count + 1
|
204
202
|
end
|
205
|
-
|
206
|
-
it "should not remove users if there are checkouts" do
|
207
|
-
user001 = User.find_by(username: 'user001')
|
208
|
-
FactoryBot.create(:checkout, user: user001, item: FactoryBot.create(:item))
|
209
|
-
old_count = User.count
|
210
|
-
file = UserImportFile.create!(
|
211
|
-
user_import: File.new("#{Rails.root}/../../examples/user_delete_file.tsv"),
|
212
|
-
user: users(:admin),
|
213
|
-
default_user_group: UserGroup.find(2),
|
214
|
-
default_library: Library.find(3)
|
215
|
-
)
|
216
|
-
file.remove
|
217
|
-
User.where(username: 'user001').should_not be_blank
|
218
|
-
User.count.should eq old_count - 2
|
219
|
-
end
|
220
203
|
end
|
221
204
|
|
222
205
|
it "should import in background" do
|
@@ -5,14 +5,6 @@ RSpec.describe Withdraw, type: :model do
|
|
5
5
|
|
6
6
|
it "should change circulation_status" do
|
7
7
|
withdraw = FactoryBot.create(:withdraw)
|
8
|
-
withdraw.item.circulation_status.name.should eq 'Removed'
|
9
|
-
withdraw.item.use_restriction.name.should eq 'Not For Loan'
|
10
|
-
end
|
11
|
-
|
12
|
-
it "should not withdraw rented item" do
|
13
|
-
withdraw = Withdraw.new(librarian: users(:librarian1))
|
14
|
-
withdraw.item = items(:item_00013)
|
15
|
-
withdraw.valid?.should be_falsy
|
16
8
|
end
|
17
9
|
end
|
18
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.beta.
|
4
|
+
version: 0.4.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: enju_seed
|
@@ -86,28 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.0.0.beta.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: enju_biblio
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.4.0.beta.1
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.4.0.beta.1
|
96
|
+
version: 2.0.0.beta.1
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: enju_manifestation_viewer
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +109,7 @@ dependencies:
|
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: 0.4.0.beta.1
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
112
|
+
name: enju_message
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
115
|
- - "~>"
|
@@ -889,7 +875,6 @@ files:
|
|
889
875
|
- spec/factories/bookstore.rb
|
890
876
|
- spec/factories/budget_types.rb
|
891
877
|
- spec/factories/carrier_types.yml
|
892
|
-
- spec/factories/checkout.rb
|
893
878
|
- spec/factories/item.rb
|
894
879
|
- spec/factories/library.rb
|
895
880
|
- spec/factories/manifestation.rb
|
@@ -912,16 +897,8 @@ files:
|
|
912
897
|
- spec/fixtures/baskets.yml
|
913
898
|
- spec/fixtures/bookstores.yml
|
914
899
|
- spec/fixtures/budget_types.yml
|
915
|
-
- spec/fixtures/carrier_type_has_checkout_types.yml
|
916
900
|
- spec/fixtures/carrier_types.yml
|
917
|
-
- spec/fixtures/checked_items.yml
|
918
|
-
- spec/fixtures/checkins.yml
|
919
|
-
- spec/fixtures/checkout_stat_has_manifestations.yml
|
920
|
-
- spec/fixtures/checkout_stat_has_users.yml
|
921
|
-
- spec/fixtures/checkout_types.yml
|
922
|
-
- spec/fixtures/checkouts.yml
|
923
901
|
- spec/fixtures/circulation_statuses.yml
|
924
|
-
- spec/fixtures/classification_types.yml
|
925
902
|
- spec/fixtures/colors.yml
|
926
903
|
- spec/fixtures/content_types.yml
|
927
904
|
- spec/fixtures/create_types.yml
|
@@ -936,9 +913,7 @@ files:
|
|
936
913
|
- spec/fixtures/lending_policies.yml
|
937
914
|
- spec/fixtures/libraries.yml
|
938
915
|
- spec/fixtures/library_groups.yml
|
939
|
-
- spec/fixtures/manifestation_checkout_stats.yml
|
940
916
|
- spec/fixtures/manifestation_relationship_types.yml
|
941
|
-
- spec/fixtures/manifestation_reserve_stats.yml
|
942
917
|
- spec/fixtures/manifestations.yml
|
943
918
|
- spec/fixtures/message_requests.yml
|
944
919
|
- spec/fixtures/message_templates.yml
|
@@ -947,26 +922,17 @@ files:
|
|
947
922
|
- spec/fixtures/realize_types.yml
|
948
923
|
- spec/fixtures/request_status_types.yml
|
949
924
|
- spec/fixtures/request_types.yml
|
950
|
-
- spec/fixtures/reserve_stat_has_manifestations.yml
|
951
|
-
- spec/fixtures/reserve_stat_has_users.yml
|
952
|
-
- spec/fixtures/reserve_transitions.yml
|
953
|
-
- spec/fixtures/reserves.yml
|
954
925
|
- spec/fixtures/roles.yml
|
955
926
|
- spec/fixtures/search_engines.yml
|
956
927
|
- spec/fixtures/shelves.yml
|
957
|
-
- spec/fixtures/subject_heading_types.yml
|
958
|
-
- spec/fixtures/subject_types.yml
|
959
928
|
- spec/fixtures/subscribes.yml
|
960
929
|
- spec/fixtures/subscriptions.yml
|
961
930
|
- spec/fixtures/use_restrictions.yml
|
962
|
-
- spec/fixtures/user_checkout_stats.yml
|
963
931
|
- spec/fixtures/user_export_files.yml
|
964
|
-
- spec/fixtures/user_group_has_checkout_types.yml
|
965
932
|
- spec/fixtures/user_groups.yml
|
966
933
|
- spec/fixtures/user_has_roles.yml
|
967
934
|
- spec/fixtures/user_import_files.yml
|
968
935
|
- spec/fixtures/user_import_results.yml
|
969
|
-
- spec/fixtures/user_reserve_stats.yml
|
970
936
|
- spec/fixtures/users.yml
|
971
937
|
- spec/fixtures/withdraws.yml
|
972
938
|
- spec/mailers/previews/user_export_preview.rb
|
@@ -1373,7 +1339,6 @@ test_files:
|
|
1373
1339
|
- spec/factories/item.rb
|
1374
1340
|
- spec/factories/budget_types.rb
|
1375
1341
|
- spec/factories/basket.rb
|
1376
|
-
- spec/factories/checkout.rb
|
1377
1342
|
- spec/factories/accepts.rb
|
1378
1343
|
- spec/factories/request_status_type.rb
|
1379
1344
|
- spec/factories/request_type.rb
|
@@ -1397,52 +1362,36 @@ test_files:
|
|
1397
1362
|
- spec/fixtures/produce_types.yml
|
1398
1363
|
- spec/fixtures/message_requests.yml
|
1399
1364
|
- spec/fixtures/agent_relationship_types.yml
|
1400
|
-
- spec/fixtures/checkout_stat_has_manifestations.yml
|
1401
|
-
- spec/fixtures/checked_items.yml
|
1402
1365
|
- spec/fixtures/content_types.yml
|
1403
|
-
- spec/fixtures/classification_types.yml
|
1404
1366
|
- spec/fixtures/profiles.yml
|
1405
1367
|
- spec/fixtures/use_restrictions.yml
|
1406
|
-
- spec/fixtures/user_group_has_checkout_types.yml
|
1407
1368
|
- spec/fixtures/lending_policies.yml
|
1408
|
-
- spec/fixtures/reserve_stat_has_users.yml
|
1409
1369
|
- spec/fixtures/agent_types.yml
|
1410
1370
|
- spec/fixtures/user_export_files.yml
|
1411
1371
|
- spec/fixtures/withdraws.yml
|
1412
1372
|
- spec/fixtures/users.yml
|
1413
1373
|
- spec/fixtures/circulation_statuses.yml
|
1414
1374
|
- spec/fixtures/budget_types.yml
|
1415
|
-
- spec/fixtures/user_reserve_stats.yml
|
1416
1375
|
- spec/fixtures/manifestations.yml
|
1417
1376
|
- spec/fixtures/request_types.yml
|
1418
1377
|
- spec/fixtures/bookstores.yml
|
1419
|
-
- spec/fixtures/checkins.yml
|
1420
|
-
- spec/fixtures/user_checkout_stats.yml
|
1421
1378
|
- spec/fixtures/subscribes.yml
|
1422
1379
|
- spec/fixtures/item_has_use_restrictions.yml
|
1423
|
-
- spec/fixtures/checkouts.yml
|
1424
|
-
- spec/fixtures/carrier_type_has_checkout_types.yml
|
1425
1380
|
- spec/fixtures/carrier_types.yml
|
1426
1381
|
- spec/fixtures/realize_types.yml
|
1427
1382
|
- spec/fixtures/user_import_results.yml
|
1428
1383
|
- spec/fixtures/library_groups.yml
|
1429
1384
|
- spec/fixtures/search_engines.yml
|
1430
|
-
- spec/fixtures/subject_heading_types.yml
|
1431
1385
|
- spec/fixtures/events.yml
|
1432
1386
|
- spec/fixtures/user_groups.yml
|
1433
|
-
- spec/fixtures/subject_types.yml
|
1434
1387
|
- spec/fixtures/agents.yml
|
1435
|
-
- spec/fixtures/reserve_stat_has_manifestations.yml
|
1436
1388
|
- spec/fixtures/libraries.yml
|
1437
1389
|
- spec/fixtures/create_types.yml
|
1438
|
-
- spec/fixtures/reserves.yml
|
1439
1390
|
- spec/fixtures/frequencies.yml
|
1440
1391
|
- spec/fixtures/shelves.yml
|
1441
1392
|
- spec/fixtures/subscriptions.yml
|
1442
1393
|
- spec/fixtures/items.yml
|
1443
|
-
- spec/fixtures/checkout_types.yml
|
1444
1394
|
- spec/fixtures/request_status_types.yml
|
1445
|
-
- spec/fixtures/manifestation_checkout_stats.yml
|
1446
1395
|
- spec/fixtures/user_has_roles.yml
|
1447
1396
|
- spec/fixtures/colors.yml
|
1448
1397
|
- spec/fixtures/exemplifies.yml
|
@@ -1450,10 +1399,7 @@ test_files:
|
|
1450
1399
|
- spec/fixtures/message_templates.yml
|
1451
1400
|
- spec/fixtures/manifestation_relationship_types.yml
|
1452
1401
|
- spec/fixtures/event_categories.yml
|
1453
|
-
- spec/fixtures/checkout_stat_has_users.yml
|
1454
1402
|
- spec/fixtures/languages.yml
|
1455
|
-
- spec/fixtures/manifestation_reserve_stats.yml
|
1456
|
-
- spec/fixtures/reserve_transitions.yml
|
1457
1403
|
- spec/fixtures/identifier_types.yml
|
1458
1404
|
- spec/routing/withdraws_routing_spec.rb
|
1459
1405
|
- spec/routing/budget_types_routing_spec.rb
|