enju_seed 0.4.0.rc.2 → 0.5.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/controllers/profiles_controller.rb +3 -3
- data/app/controllers/roles_controller.rb +1 -1
- data/app/models/concerns/enju_seed/enju_user.rb +4 -14
- data/app/models/profile.rb +10 -12
- data/app/models/role.rb +2 -2
- data/app/models/user_has_role.rb +17 -6
- data/app/views/roles/_form.html.erb +1 -1
- data/db/migrate/041_create_roles.rb +1 -1
- data/db/migrate/20100606065209_create_user_has_roles.rb +1 -1
- data/db/migrate/20130221154434_add_additional_attributes_to_user.rb +2 -1
- data/db/migrate/20140122054321_create_profiles.rb +1 -1
- data/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +1 -1
- data/db/migrate/20140811031145_add_expired_at_to_profile.rb +1 -1
- data/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb +1 -1
- data/db/migrate/20141003182825_add_date_of_birth_to_profile.rb +1 -1
- data/lib/enju_seed/engine.rb +0 -1
- data/lib/enju_seed/version.rb +1 -1
- data/lib/tasks/enju_seed_tasks.rake +0 -19
- data/spec/controllers/my_accounts_controller_spec.rb +0 -12
- data/spec/controllers/profiles_controller_spec.rb +20 -15
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/db/migrate/059_create_libraries.rb +2 -1
- data/spec/dummy/db/migrate/069_create_shelves.rb +2 -1
- data/spec/dummy/db/migrate/077_create_user_groups.rb +2 -1
- data/spec/dummy/db/migrate/080_create_library_groups.rb +1 -1
- data/spec/dummy/db/migrate/120_create_baskets.rb +1 -1
- data/spec/dummy/db/migrate/124_create_bookstores.rb +2 -1
- data/spec/dummy/db/migrate/130_create_request_status_types.rb +1 -1
- data/spec/dummy/db/migrate/131_create_request_types.rb +1 -1
- data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +2 -1
- data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +1 -1
- data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +1 -1
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +1 -1
- data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +1 -1
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +1 -1
- data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +1 -1
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +1 -1
- data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +1 -1
- data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +1 -1
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +6 -2
- data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +1 -1
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +6 -2
- data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +1 -1
- data/spec/dummy/db/migrate/20140821151023_create_colors.rb +1 -1
- data/spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb +1 -1
- data/spec/dummy/db/migrate/20150924115059_create_withdraws.rb +1 -1
- data/spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160813191647_add_max_number_of_results_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813191733_add_family_name_first_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813192542_add_pub_year_facet_range_interval_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20171126133835_rename_login_banner_to_old_login_banner.rb +1 -1
- data/spec/dummy/db/migrate/20171126135238_add_foreign_key_to_library_group_id_on_library.rb +1 -1
- data/spec/dummy/db/migrate/20180102162311_add_header_logo_meta_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +1 -1
- data/spec/dummy/db/schema.rb +101 -100
- data/spec/factories/profile.rb +0 -2
- data/spec/factories/user.rb +25 -31
- data/spec/fixtures/profiles.yml +7 -14
- data/spec/fixtures/roles.yml +1 -1
- data/spec/fixtures/user_has_roles.yml +5 -5
- data/spec/fixtures/users.yml +7 -0
- data/spec/models/profile_spec.rb +7 -7
- data/spec/models/role_spec.rb +1 -1
- data/spec/models/user_has_role_spec.rb +5 -5
- data/spec/models/user_spec.rb +6 -1
- metadata +11 -57
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/db/migrate/20191216131755_add_email_to_library_group.rb +0 -6
data/spec/factories/profile.rb
CHANGED
@@ -7,11 +7,9 @@ FactoryBot.define do
|
|
7
7
|
f.locale { "ja" }
|
8
8
|
factory :librarian_profile, class: Profile do |profile|
|
9
9
|
profile.required_role_id {Role.where(name: 'Librarian').first.id}
|
10
|
-
profile.association :user, factory: :librarian
|
11
10
|
end
|
12
11
|
factory :admin_profile, class: Profile do |profile|
|
13
12
|
profile.required_role_id {Role.where(name: 'Administrator').first.id}
|
14
|
-
profile.association :user, factory: :admin
|
15
13
|
end
|
16
14
|
end
|
17
15
|
end
|
data/spec/factories/user.rb
CHANGED
@@ -1,43 +1,37 @@
|
|
1
1
|
FactoryBot.define do
|
2
|
-
factory :admin, class: User do
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
user_has_role.save
|
11
|
-
user.reload
|
2
|
+
factory :admin, class: User do
|
3
|
+
sequence(:username){|n| "admin_#{n}"}
|
4
|
+
sequence(:email){|n| "admin_#{n}@example.jp"}
|
5
|
+
password { 'adminpassword' }
|
6
|
+
password_confirmation { 'adminpassword' }
|
7
|
+
association :profile
|
8
|
+
after(:create) do |user|
|
9
|
+
user.role = Role.find_by(name: 'Administrator')
|
12
10
|
end
|
13
11
|
end
|
14
12
|
|
15
|
-
factory :librarian, class: User do
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
user_has_role.save
|
24
|
-
user.reload
|
13
|
+
factory :librarian, class: User do
|
14
|
+
sequence(:username){|n| "librarian_#{n}"}
|
15
|
+
sequence(:email){|n| "librarian_#{n}@example.jp"}
|
16
|
+
password { 'librarianpassword' }
|
17
|
+
password_confirmation { 'librarianpassword' }
|
18
|
+
association :profile
|
19
|
+
after(:create) do |user|
|
20
|
+
user.role = Role.find_by(name: 'Librarian')
|
25
21
|
end
|
26
22
|
end
|
27
23
|
|
28
|
-
factory :user, class: User do
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
user_has_role.save
|
37
|
-
user.reload
|
24
|
+
factory :user, class: User do
|
25
|
+
sequence(:username){|n| "user_#{n}"}
|
26
|
+
sequence(:email){|n| "user_#{n}@example.jp"}
|
27
|
+
password { 'userpassword' }
|
28
|
+
password_confirmation { 'userpassword' }
|
29
|
+
association :profile
|
30
|
+
after(:create) do |user|
|
31
|
+
user.role = Role.find_by(name: 'User')
|
38
32
|
end
|
39
33
|
end
|
40
34
|
|
41
|
-
factory :invalid_user, class: User do
|
35
|
+
factory :invalid_user, class: User do
|
42
36
|
end
|
43
37
|
end
|
data/spec/fixtures/profiles.yml
CHANGED
@@ -3,7 +3,6 @@ admin:
|
|
3
3
|
updated_at: 2008-05-31 13:16:30.163731 +09:00
|
4
4
|
user_group_id: 2
|
5
5
|
id: 1
|
6
|
-
user_id: 1
|
7
6
|
note:
|
8
7
|
library_id: 2
|
9
8
|
created_at: 2007-11-19 16:58:32.111941 +09:00
|
@@ -14,7 +13,6 @@ librarian1:
|
|
14
13
|
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
15
14
|
user_group_id: 1
|
16
15
|
id: 2
|
17
|
-
user_id: 2
|
18
16
|
note:
|
19
17
|
library_id: 1
|
20
18
|
created_at: 2007-11-19 16:58:33.172441 +09:00
|
@@ -25,7 +23,6 @@ user1:
|
|
25
23
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
26
24
|
user_group_id: 1
|
27
25
|
id: 3
|
28
|
-
user_id: 3
|
29
26
|
note:
|
30
27
|
library_id: 2
|
31
28
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
@@ -36,7 +33,6 @@ librarian2:
|
|
36
33
|
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
37
34
|
user_group_id: 1
|
38
35
|
id: 4
|
39
|
-
user_id: 4
|
40
36
|
note:
|
41
37
|
library_id: 2
|
42
38
|
created_at: 2008-01-18 12:24:04.222344 +09:00
|
@@ -47,7 +43,6 @@ user2:
|
|
47
43
|
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
48
44
|
user_group_id: 1
|
49
45
|
id: 5
|
50
|
-
user_id: 5
|
51
46
|
note:
|
52
47
|
library_id: 1
|
53
48
|
created_at: 2008-01-18 13:29:06.922728 +09:00
|
@@ -58,7 +53,6 @@ user3:
|
|
58
53
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
59
54
|
user_group_id: 1
|
60
55
|
id: 6
|
61
|
-
user_id: 6
|
62
56
|
note:
|
63
57
|
library_id: 2
|
64
58
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
@@ -69,7 +63,6 @@ user4:
|
|
69
63
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
70
64
|
user_group_id: 1
|
71
65
|
id: 7
|
72
|
-
user_id: 7
|
73
66
|
note:
|
74
67
|
library_id: 2
|
75
68
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
@@ -81,18 +74,18 @@ user4:
|
|
81
74
|
#
|
82
75
|
# Table name: profiles
|
83
76
|
#
|
84
|
-
# id :
|
85
|
-
# user_id :
|
86
|
-
# user_group_id :
|
87
|
-
# library_id :
|
77
|
+
# id :integer not null, primary key
|
78
|
+
# user_id :integer
|
79
|
+
# user_group_id :integer
|
80
|
+
# library_id :integer
|
88
81
|
# locale :string
|
89
82
|
# user_number :string
|
90
83
|
# full_name :text
|
91
84
|
# note :text
|
92
85
|
# keyword_list :text
|
93
|
-
# required_role_id :
|
94
|
-
# created_at :datetime
|
95
|
-
# updated_at :datetime
|
86
|
+
# required_role_id :integer
|
87
|
+
# created_at :datetime
|
88
|
+
# updated_at :datetime
|
96
89
|
# checkout_icalendar_token :string
|
97
90
|
# save_checkout_history :boolean default(FALSE), not null
|
98
91
|
# expired_at :datetime
|
data/spec/fixtures/roles.yml
CHANGED
@@ -32,9 +32,9 @@ user4:
|
|
32
32
|
#
|
33
33
|
# Table name: user_has_roles
|
34
34
|
#
|
35
|
-
# id :
|
36
|
-
# user_id :
|
37
|
-
# role_id :
|
38
|
-
# created_at :datetime
|
39
|
-
# updated_at :datetime
|
35
|
+
# id :integer not null, primary key
|
36
|
+
# user_id :integer not null
|
37
|
+
# role_id :integer not null
|
38
|
+
# created_at :datetime
|
39
|
+
# updated_at :datetime
|
40
40
|
#
|
data/spec/fixtures/users.yml
CHANGED
@@ -6,6 +6,7 @@ admin:
|
|
6
6
|
username: enjuadmin
|
7
7
|
email: tanabe@kamata.lib.teu.ac.jp
|
8
8
|
created_at: 2007-11-19 16:58:32.111941 +09:00
|
9
|
+
profile_id: 1
|
9
10
|
librarian1:
|
10
11
|
updated_at: 2008-05-31 12:41:16.337474 +09:00
|
11
12
|
encrypted_password: $2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS
|
@@ -13,6 +14,7 @@ librarian1:
|
|
13
14
|
username: librarian1
|
14
15
|
email: librarian1@kamata.lib.teu.ac.jp
|
15
16
|
created_at: 2007-11-19 16:58:33.172441 +09:00
|
17
|
+
profile_id: 2
|
16
18
|
user1:
|
17
19
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
18
20
|
encrypted_password: $2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW
|
@@ -20,6 +22,7 @@ user1:
|
|
20
22
|
username: user1
|
21
23
|
email: user1@kamata.lib.teu.ac.jp
|
22
24
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
25
|
+
profile_id: 3
|
23
26
|
librarian2:
|
24
27
|
updated_at: 2008-05-31 12:42:23.340575 +09:00
|
25
28
|
encrypted_password: $2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS
|
@@ -27,6 +30,7 @@ librarian2:
|
|
27
30
|
username: librarian2
|
28
31
|
email: librarian2@library.example.jp
|
29
32
|
created_at: 2008-01-18 12:24:04.222344 +09:00
|
33
|
+
profile_id: 4
|
30
34
|
user2:
|
31
35
|
updated_at: 2008-05-31 12:42:44.711117 +09:00
|
32
36
|
encrypted_password: $2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca
|
@@ -34,6 +38,7 @@ user2:
|
|
34
38
|
username: user2
|
35
39
|
email: user2@library.example.jp
|
36
40
|
created_at: 2008-01-18 13:29:06.922728 +09:00
|
41
|
+
profile_id: 5
|
37
42
|
user3:
|
38
43
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
39
44
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
@@ -41,6 +46,7 @@ user3:
|
|
41
46
|
username: user3
|
42
47
|
email: user3@kamata.lib.teu.ac.jp
|
43
48
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
49
|
+
profile_id: 6
|
44
50
|
user4:
|
45
51
|
updated_at: 2008-05-31 13:02:25.101261 +09:00
|
46
52
|
encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
|
@@ -49,3 +55,4 @@ user4:
|
|
49
55
|
email: user4@kamata.lib.teu.ac.jp
|
50
56
|
created_at: 2007-11-19 16:58:34.637413 +09:00
|
51
57
|
locked_at: <%= 1.day.ago.to_s(:db) %>
|
58
|
+
profile_id: 7
|
data/spec/models/profile_spec.rb
CHANGED
@@ -75,18 +75,18 @@ end
|
|
75
75
|
#
|
76
76
|
# Table name: profiles
|
77
77
|
#
|
78
|
-
# id :
|
79
|
-
# user_id :
|
80
|
-
# user_group_id :
|
81
|
-
# library_id :
|
78
|
+
# id :integer not null, primary key
|
79
|
+
# user_id :integer
|
80
|
+
# user_group_id :integer
|
81
|
+
# library_id :integer
|
82
82
|
# locale :string
|
83
83
|
# user_number :string
|
84
84
|
# full_name :text
|
85
85
|
# note :text
|
86
86
|
# keyword_list :text
|
87
|
-
# required_role_id :
|
88
|
-
# created_at :datetime
|
89
|
-
# updated_at :datetime
|
87
|
+
# required_role_id :integer
|
88
|
+
# created_at :datetime
|
89
|
+
# updated_at :datetime
|
90
90
|
# checkout_icalendar_token :string
|
91
91
|
# save_checkout_history :boolean default(FALSE), not null
|
92
92
|
# expired_at :datetime
|
data/spec/models/role_spec.rb
CHANGED
@@ -9,9 +9,9 @@ end
|
|
9
9
|
#
|
10
10
|
# Table name: user_has_roles
|
11
11
|
#
|
12
|
-
# id :
|
13
|
-
# user_id :
|
14
|
-
# role_id :
|
15
|
-
# created_at :datetime
|
16
|
-
# updated_at :datetime
|
12
|
+
# id :integer not null, primary key
|
13
|
+
# user_id :integer not null
|
14
|
+
# role_id :integer not null
|
15
|
+
# created_at :datetime
|
16
|
+
# updated_at :datetime
|
17
17
|
#
|
data/spec/models/user_spec.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
1
|
require 'rails_helper'
|
3
2
|
|
4
3
|
describe User do
|
@@ -106,6 +105,12 @@ describe User do
|
|
106
105
|
users(:user1).active_for_authentication?.should be_falsy
|
107
106
|
end
|
108
107
|
|
108
|
+
it "should not destroy all administrators" do
|
109
|
+
expect { Role.find_by(name: 'Administrator').users.each do |user|
|
110
|
+
user.destroy
|
111
|
+
end }.to raise_error(RuntimeError, "#{users(:admin).username}: This is the last administrator in this system.")
|
112
|
+
end
|
113
|
+
|
109
114
|
if defined?(EnjuQuestion)
|
110
115
|
it "should reset answer_feed_token" do
|
111
116
|
users(:user1).reset_answer_feed_token
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_seed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: friendly_id
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
@@ -24,34 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: friendly_id
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '5.3'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '5.3'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: devise
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '4.
|
33
|
+
version: '4.6'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '4.
|
40
|
+
version: '4.6'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: pundit
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +58,14 @@ dependencies:
|
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
61
|
+
version: '0.9'
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
68
|
+
version: '0.9'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: strip_attributes
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +142,14 @@ dependencies:
|
|
156
142
|
requirements:
|
157
143
|
- - "~>"
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version: '6.
|
145
|
+
version: '6.0'
|
160
146
|
type: :runtime
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version: '6.
|
152
|
+
version: '6.0'
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: rails_autolink
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,20 +164,6 @@ dependencies:
|
|
178
164
|
- - ">="
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: paperclip
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
167
|
- !ruby/object:Gem::Dependency
|
196
168
|
name: kramdown
|
197
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +184,14 @@ dependencies:
|
|
212
184
|
requirements:
|
213
185
|
- - "~>"
|
214
186
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
187
|
+
version: '2.6'
|
216
188
|
type: :runtime
|
217
189
|
prerelease: false
|
218
190
|
version_requirements: !ruby/object:Gem::Requirement
|
219
191
|
requirements:
|
220
192
|
- - "~>"
|
221
193
|
- !ruby/object:Gem::Version
|
222
|
-
version: '2.
|
194
|
+
version: '2.6'
|
223
195
|
- !ruby/object:Gem::Dependency
|
224
196
|
name: simple_form
|
225
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,20 +234,6 @@ dependencies:
|
|
262
234
|
- - "~>"
|
263
235
|
- !ruby/object:Gem::Version
|
264
236
|
version: '4.0'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: enju_leaf
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 2.0.0.rc.1
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 2.0.0.rc.1
|
279
237
|
- !ruby/object:Gem::Dependency
|
280
238
|
name: pg
|
281
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -496,7 +454,6 @@ files:
|
|
496
454
|
- spec/controllers/roles_controller_spec.rb
|
497
455
|
- spec/dummy/README.rdoc
|
498
456
|
- spec/dummy/Rakefile
|
499
|
-
- spec/dummy/app/assets/config/manifest.js
|
500
457
|
- spec/dummy/app/assets/javascripts/application.js
|
501
458
|
- spec/dummy/app/assets/stylesheets/application.css
|
502
459
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -733,7 +690,6 @@ files:
|
|
733
690
|
- spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb
|
734
691
|
- spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb
|
735
692
|
- spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb
|
736
|
-
- spec/dummy/db/migrate/20191216131755_add_email_to_library_group.rb
|
737
693
|
- spec/dummy/db/schema.rb
|
738
694
|
- spec/dummy/db/test.sqlite3
|
739
695
|
- spec/dummy/package.json
|
@@ -801,7 +757,6 @@ test_files:
|
|
801
757
|
- spec/dummy/app/models/user.rb
|
802
758
|
- spec/dummy/app/controllers/application_controller.rb
|
803
759
|
- spec/dummy/app/views/layouts/application.html.erb
|
804
|
-
- spec/dummy/app/assets/config/manifest.js
|
805
760
|
- spec/dummy/app/assets/javascripts/application.js
|
806
761
|
- spec/dummy/app/assets/stylesheets/application.css
|
807
762
|
- spec/dummy/app/helpers/application_helper.rb
|
@@ -966,7 +921,6 @@ test_files:
|
|
966
921
|
- spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
|
967
922
|
- spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
|
968
923
|
- spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb
|
969
|
-
- spec/dummy/db/migrate/20191216131755_add_email_to_library_group.rb
|
970
924
|
- spec/dummy/db/migrate/20120129014038_create_budget_types.rb
|
971
925
|
- spec/dummy/db/migrate/112_create_frequencies.rb
|
972
926
|
- spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
|