devise_masquerade 2.1.4 → 2.1.5
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/.github/workflows/brakeman-analysis.yml +4 -4
- data/.github/workflows/rubocop-analysis.yml +3 -3
- data/.travis.yml +2 -1
- data/Gemfile +32 -14
- data/Gemfile.lock +203 -191
- data/README.md +1 -1
- data/features/support/env.rb +2 -2
- data/lib/devise_masquerade/version.rb +1 -1
- data/spec/spec_helper.rb +5 -5
- data/spec/support/authentication.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12249cac77636a1f1a78ca80d034d2503da1ef6b027716de2574edc52320e061
|
|
4
|
+
data.tar.gz: 17f61840c09c65fdf7094005c3f0aec2f288fb3e54fd0a82243bab2f5c8cad24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 003fc161d5bbf6c0e863656d93852d7182659178f96b0ebbf1a727c7ecfe3250341f1161e209d7f3043d39111339f60c94794def6632140de7594dc05c7d5d6a
|
|
7
|
+
data.tar.gz: f55e5af3381c5be54944015489f216a818257721a6fea09725cbfb63e66c616f31e7f9093126f1755c2f9cbaa6b84f8c47d02442cc027018df4719f236d53096
|
|
@@ -17,13 +17,13 @@ jobs:
|
|
|
17
17
|
steps:
|
|
18
18
|
# Checkout the repository to the GitHub Actions runner
|
|
19
19
|
- name: Checkout
|
|
20
|
-
uses: actions/checkout@
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
21
|
|
|
22
22
|
# Customize the ruby version depending on your needs
|
|
23
23
|
- name: Setup Ruby
|
|
24
|
-
uses:
|
|
24
|
+
uses: ruby/setup-ruby@v1
|
|
25
25
|
with:
|
|
26
|
-
ruby-version: '2
|
|
26
|
+
ruby-version: '3.2'
|
|
27
27
|
|
|
28
28
|
- name: Setup Brakeman
|
|
29
29
|
env:
|
|
@@ -39,6 +39,6 @@ jobs:
|
|
|
39
39
|
|
|
40
40
|
# Upload the SARIF file generated in the previous step
|
|
41
41
|
- name: Upload SARIF
|
|
42
|
-
uses: github/codeql-action/upload-sarif@
|
|
42
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
43
43
|
with:
|
|
44
44
|
sarif_file: output.sarif.json
|
|
@@ -10,14 +10,14 @@ jobs:
|
|
|
10
10
|
|
|
11
11
|
steps:
|
|
12
12
|
- name: Checkout repository
|
|
13
|
-
uses: actions/checkout@
|
|
13
|
+
uses: actions/checkout@v4
|
|
14
14
|
|
|
15
15
|
# If running on a self-hosted runner, check it meets the requirements
|
|
16
16
|
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
|
|
17
17
|
- name: Set up Ruby
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
20
|
-
ruby-version: 2
|
|
20
|
+
ruby-version: 3.2
|
|
21
21
|
|
|
22
22
|
# This step is not necessary if you add the gem to your Gemfile
|
|
23
23
|
- name: Install Code Scanning integration
|
|
@@ -34,6 +34,6 @@ jobs:
|
|
|
34
34
|
"
|
|
35
35
|
|
|
36
36
|
- name: Upload Sarif output
|
|
37
|
-
uses: github/codeql-action/upload-sarif@
|
|
37
|
+
uses: github/codeql-action/upload-sarif@v4
|
|
38
38
|
with:
|
|
39
39
|
sarif_file: rubocop.sarif
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -4,10 +4,10 @@ source 'https://rubygems.org'
|
|
|
4
4
|
gemspec
|
|
5
5
|
|
|
6
6
|
group :test do
|
|
7
|
-
gem 'activerecord', '>= 5.
|
|
8
|
-
gem 'actionmailer', '>=
|
|
7
|
+
gem 'activerecord', '>= 8.0.5.1'
|
|
8
|
+
gem 'actionmailer', '>= 8.0.5.1'
|
|
9
9
|
gem 'bson_ext', '~> 1.3'
|
|
10
|
-
gem 'sqlite3'
|
|
10
|
+
gem 'sqlite3', '>= 2.9.6'
|
|
11
11
|
|
|
12
12
|
gem 'test-unit'
|
|
13
13
|
|
|
@@ -19,22 +19,40 @@ group :test do
|
|
|
19
19
|
gem 'guard-bundler'
|
|
20
20
|
gem 'guard-cucumber'
|
|
21
21
|
|
|
22
|
-
gem 'rspec',
|
|
23
|
-
gem 'rspec-
|
|
24
|
-
gem 'rspec-expectations', github: 'rspec/rspec-expectations'
|
|
25
|
-
gem 'rspec-mocks', github: 'rspec/rspec-mocks'
|
|
26
|
-
gem 'rspec-rails', github: 'rspec/rspec-rails'
|
|
27
|
-
gem 'rspec-support', github: 'rspec/rspec-support'
|
|
22
|
+
gem 'rspec', '~> 3.13'
|
|
23
|
+
gem 'rspec-rails', '~> 8.0.4'
|
|
28
24
|
|
|
29
25
|
gem 'shoulda'
|
|
30
26
|
gem 'rb-fsevent'
|
|
31
|
-
gem 'factory_bot_rails', '>= 5.
|
|
32
|
-
gem 'database_cleaner', '
|
|
27
|
+
gem 'factory_bot_rails', '>= 6.5.1'
|
|
28
|
+
gem 'database_cleaner', '>= 2.0.0'
|
|
33
29
|
gem 'cucumber'
|
|
34
30
|
gem 'capybara', '>= 3.38.0'
|
|
35
|
-
gem 'cucumber-rails', '>= 2.1.0'
|
|
36
|
-
gem 'selenium-webdriver'
|
|
37
31
|
gem 'chromedriver-helper'
|
|
32
|
+
|
|
33
|
+
gem 'cucumber-rails', '>= 4.0.0'
|
|
34
|
+
gem 'selenium-webdriver'
|
|
35
|
+
gem 'webdrivers'
|
|
36
|
+
|
|
38
37
|
gem 'launchy'
|
|
39
|
-
|
|
38
|
+
|
|
39
|
+
# Dependabot security pins for the dummy/test lockfile.
|
|
40
|
+
# Runtime gemspec constraints stay looser so apps can upgrade independently.
|
|
41
|
+
gem 'devise', '>= 5.0.4'
|
|
42
|
+
gem 'nokogiri', '>= 1.19.3'
|
|
43
|
+
gem 'rack', '>= 3.2.6'
|
|
44
|
+
gem 'rack-session', '>= 2.1.2'
|
|
45
|
+
gem 'net-imap', '>= 0.6.4'
|
|
46
|
+
gem 'erb', '>= 6.0.4'
|
|
47
|
+
gem 'concurrent-ruby', '>= 1.3.7'
|
|
48
|
+
gem 'addressable', '>= 2.9.0'
|
|
49
|
+
gem 'mail', '>= 2.9.1'
|
|
50
|
+
gem 'loofah', '>= 2.25.2'
|
|
51
|
+
gem 'rails-html-sanitizer', '>= 1.7.1'
|
|
52
|
+
gem 'bcrypt', '>= 3.1.22'
|
|
53
|
+
gem 'uri', '>= 1.0.4'
|
|
54
|
+
gem 'rexml', '>= 3.4.2'
|
|
55
|
+
# json 3.0 made JSON.parse kwargs-only; activesupport 8.1.3.1 still
|
|
56
|
+
# passes a positional options hash (rails/rails#58601).
|
|
57
|
+
gem 'json', '>= 2.10', '< 3'
|
|
40
58
|
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,58 +1,7 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/rspec/rspec-core.git
|
|
3
|
-
revision: aec5f49485d97908183dbe790a7fefb8baaa8091
|
|
4
|
-
specs:
|
|
5
|
-
rspec-core (3.14.0.pre)
|
|
6
|
-
rspec-support (= 3.14.0.pre)
|
|
7
|
-
|
|
8
|
-
GIT
|
|
9
|
-
remote: https://github.com/rspec/rspec-expectations.git
|
|
10
|
-
revision: ba31727e856de42abb5a2e6566855f0831e1a619
|
|
11
|
-
specs:
|
|
12
|
-
rspec-expectations (3.14.0.pre)
|
|
13
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
14
|
-
rspec-support (= 3.14.0.pre)
|
|
15
|
-
|
|
16
|
-
GIT
|
|
17
|
-
remote: https://github.com/rspec/rspec-mocks.git
|
|
18
|
-
revision: 3caa9ac841e146d618421f870077c0ad684e6cad
|
|
19
|
-
specs:
|
|
20
|
-
rspec-mocks (3.14.0.pre)
|
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
-
rspec-support (= 3.14.0.pre)
|
|
23
|
-
|
|
24
|
-
GIT
|
|
25
|
-
remote: https://github.com/rspec/rspec-rails.git
|
|
26
|
-
revision: 94c4be4cafd81d155300265692cf7378cbea124a
|
|
27
|
-
specs:
|
|
28
|
-
rspec-rails (7.2.0.pre)
|
|
29
|
-
actionpack (>= 7.0)
|
|
30
|
-
activesupport (>= 7.0)
|
|
31
|
-
railties (>= 7.0)
|
|
32
|
-
rspec-core (~> 3.13)
|
|
33
|
-
rspec-expectations (~> 3.13)
|
|
34
|
-
rspec-mocks (~> 3.13)
|
|
35
|
-
rspec-support (~> 3.13)
|
|
36
|
-
|
|
37
|
-
GIT
|
|
38
|
-
remote: https://github.com/rspec/rspec-support.git
|
|
39
|
-
revision: 393117fb4c8874918044d9ed5d3ff3c482fd41ec
|
|
40
|
-
specs:
|
|
41
|
-
rspec-support (3.14.0.pre)
|
|
42
|
-
|
|
43
|
-
GIT
|
|
44
|
-
remote: https://github.com/rspec/rspec.git
|
|
45
|
-
revision: d064fd0e9f00af834dfcfbe55e74b066a76e98e6
|
|
46
|
-
specs:
|
|
47
|
-
rspec (3.14.0.pre)
|
|
48
|
-
rspec-core (= 3.14.0.pre)
|
|
49
|
-
rspec-expectations (= 3.14.0.pre)
|
|
50
|
-
rspec-mocks (= 3.14.0.pre)
|
|
51
|
-
|
|
52
1
|
PATH
|
|
53
2
|
remote: .
|
|
54
3
|
specs:
|
|
55
|
-
devise_masquerade (2.1.
|
|
4
|
+
devise_masquerade (2.1.5)
|
|
56
5
|
devise (>= 4.7.0)
|
|
57
6
|
globalid (>= 0.3.6)
|
|
58
7
|
railties (>= 5.2.0)
|
|
@@ -60,16 +9,16 @@ PATH
|
|
|
60
9
|
GEM
|
|
61
10
|
remote: https://rubygems.org/
|
|
62
11
|
specs:
|
|
63
|
-
actionmailer (8.
|
|
64
|
-
actionpack (= 8.
|
|
65
|
-
actionview (= 8.
|
|
66
|
-
activejob (= 8.
|
|
67
|
-
activesupport (= 8.
|
|
12
|
+
actionmailer (8.1.3.1)
|
|
13
|
+
actionpack (= 8.1.3.1)
|
|
14
|
+
actionview (= 8.1.3.1)
|
|
15
|
+
activejob (= 8.1.3.1)
|
|
16
|
+
activesupport (= 8.1.3.1)
|
|
68
17
|
mail (>= 2.8.0)
|
|
69
18
|
rails-dom-testing (~> 2.2)
|
|
70
|
-
actionpack (8.
|
|
71
|
-
actionview (= 8.
|
|
72
|
-
activesupport (= 8.
|
|
19
|
+
actionpack (8.1.3.1)
|
|
20
|
+
actionview (= 8.1.3.1)
|
|
21
|
+
activesupport (= 8.1.3.1)
|
|
73
22
|
nokogiri (>= 1.8.5)
|
|
74
23
|
rack (>= 2.2.4)
|
|
75
24
|
rack-session (>= 1.0.1)
|
|
@@ -77,47 +26,47 @@ GEM
|
|
|
77
26
|
rails-dom-testing (~> 2.2)
|
|
78
27
|
rails-html-sanitizer (~> 1.6)
|
|
79
28
|
useragent (~> 0.16)
|
|
80
|
-
actionview (8.
|
|
81
|
-
activesupport (= 8.
|
|
29
|
+
actionview (8.1.3.1)
|
|
30
|
+
activesupport (= 8.1.3.1)
|
|
82
31
|
builder (~> 3.1)
|
|
83
32
|
erubi (~> 1.11)
|
|
84
33
|
rails-dom-testing (~> 2.2)
|
|
85
34
|
rails-html-sanitizer (~> 1.6)
|
|
86
|
-
activejob (8.
|
|
87
|
-
activesupport (= 8.
|
|
35
|
+
activejob (8.1.3.1)
|
|
36
|
+
activesupport (= 8.1.3.1)
|
|
88
37
|
globalid (>= 0.3.6)
|
|
89
|
-
activemodel (8.
|
|
90
|
-
activesupport (= 8.
|
|
91
|
-
activerecord (8.
|
|
92
|
-
activemodel (= 8.
|
|
93
|
-
activesupport (= 8.
|
|
38
|
+
activemodel (8.1.3.1)
|
|
39
|
+
activesupport (= 8.1.3.1)
|
|
40
|
+
activerecord (8.1.3.1)
|
|
41
|
+
activemodel (= 8.1.3.1)
|
|
42
|
+
activesupport (= 8.1.3.1)
|
|
94
43
|
timeout (>= 0.4.0)
|
|
95
|
-
activesupport (8.
|
|
44
|
+
activesupport (8.1.3.1)
|
|
96
45
|
base64
|
|
97
|
-
benchmark (>= 0.3)
|
|
98
46
|
bigdecimal
|
|
99
47
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
100
48
|
connection_pool (>= 2.2.5)
|
|
101
49
|
drb
|
|
102
50
|
i18n (>= 1.6, < 2)
|
|
51
|
+
json
|
|
103
52
|
logger (>= 1.4.2)
|
|
104
53
|
minitest (>= 5.1)
|
|
105
54
|
securerandom (>= 0.3)
|
|
106
55
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
107
56
|
uri (>= 0.13.1)
|
|
108
|
-
addressable (2.
|
|
109
|
-
public_suffix (>= 2.0.2, <
|
|
110
|
-
archive-zip (0.
|
|
111
|
-
io-like (~> 0.
|
|
112
|
-
base64 (0.
|
|
113
|
-
bcrypt (3.1.
|
|
114
|
-
|
|
115
|
-
bigdecimal (3.1.9)
|
|
57
|
+
addressable (2.9.0)
|
|
58
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
59
|
+
archive-zip (0.13.1)
|
|
60
|
+
io-like (~> 0.4.0)
|
|
61
|
+
base64 (0.3.0)
|
|
62
|
+
bcrypt (3.1.22)
|
|
63
|
+
bigdecimal (4.1.3)
|
|
116
64
|
bson (1.12.5)
|
|
117
65
|
bson_ext (1.12.5)
|
|
118
66
|
bson (~> 1.12.5)
|
|
119
67
|
builder (3.3.0)
|
|
120
|
-
byebug (
|
|
68
|
+
byebug (13.0.0)
|
|
69
|
+
reline (>= 0.6.0)
|
|
121
70
|
capybara (3.40.0)
|
|
122
71
|
addressable
|
|
123
72
|
matrix
|
|
@@ -133,71 +82,78 @@ GEM
|
|
|
133
82
|
archive-zip (~> 0.10)
|
|
134
83
|
nokogiri (~> 1.8)
|
|
135
84
|
coderay (1.1.3)
|
|
136
|
-
concurrent-ruby (1.3.
|
|
137
|
-
connection_pool (
|
|
138
|
-
crass (1.0.
|
|
139
|
-
cucumber (
|
|
85
|
+
concurrent-ruby (1.3.8)
|
|
86
|
+
connection_pool (3.0.2)
|
|
87
|
+
crass (1.0.7)
|
|
88
|
+
cucumber (11.1.1)
|
|
89
|
+
base64 (~> 0.2)
|
|
140
90
|
builder (~> 3.2)
|
|
141
|
-
cucumber-ci-environment (> 9, <
|
|
142
|
-
cucumber-core (
|
|
143
|
-
cucumber-cucumber-expressions (
|
|
144
|
-
cucumber-
|
|
145
|
-
cucumber-html-formatter (> 20.3, < 22)
|
|
146
|
-
cucumber-messages (> 19, < 25)
|
|
91
|
+
cucumber-ci-environment (> 9, < 12)
|
|
92
|
+
cucumber-core (>= 16.2.0, < 17)
|
|
93
|
+
cucumber-cucumber-expressions (> 17, < 20)
|
|
94
|
+
cucumber-html-formatter (> 21, < 24)
|
|
147
95
|
diff-lcs (~> 1.5)
|
|
96
|
+
logger (~> 1.6)
|
|
148
97
|
mini_mime (~> 1.1)
|
|
149
98
|
multi_test (~> 1.1)
|
|
150
|
-
sys-uname (~> 1.
|
|
151
|
-
cucumber-ci-environment (
|
|
152
|
-
cucumber-core (
|
|
153
|
-
cucumber-gherkin (
|
|
154
|
-
cucumber-messages (
|
|
155
|
-
cucumber-tag-expressions (>
|
|
156
|
-
cucumber-cucumber-expressions (
|
|
99
|
+
sys-uname (~> 1.5)
|
|
100
|
+
cucumber-ci-environment (11.0.0)
|
|
101
|
+
cucumber-core (16.2.0)
|
|
102
|
+
cucumber-gherkin (> 36, < 40)
|
|
103
|
+
cucumber-messages (> 31, < 33)
|
|
104
|
+
cucumber-tag-expressions (> 6, < 9)
|
|
105
|
+
cucumber-cucumber-expressions (19.0.1)
|
|
157
106
|
bigdecimal
|
|
158
|
-
cucumber-gherkin (
|
|
159
|
-
cucumber-messages (>=
|
|
160
|
-
cucumber-html-formatter (
|
|
161
|
-
cucumber-messages (>
|
|
162
|
-
cucumber-messages (
|
|
163
|
-
cucumber-rails (
|
|
164
|
-
capybara (>= 3.
|
|
165
|
-
cucumber (>=
|
|
166
|
-
railties (>=
|
|
167
|
-
cucumber-tag-expressions (
|
|
168
|
-
database_cleaner (1.0
|
|
169
|
-
|
|
170
|
-
|
|
107
|
+
cucumber-gherkin (39.1.0)
|
|
108
|
+
cucumber-messages (>= 31, < 33)
|
|
109
|
+
cucumber-html-formatter (23.1.0)
|
|
110
|
+
cucumber-messages (> 23, < 33)
|
|
111
|
+
cucumber-messages (32.3.1)
|
|
112
|
+
cucumber-rails (4.1.0)
|
|
113
|
+
capybara (>= 3.25, < 4)
|
|
114
|
+
cucumber (>= 7, < 12)
|
|
115
|
+
railties (>= 6.1, < 9)
|
|
116
|
+
cucumber-tag-expressions (8.1.0)
|
|
117
|
+
database_cleaner (2.1.0)
|
|
118
|
+
database_cleaner-active_record (>= 2, < 3)
|
|
119
|
+
database_cleaner-active_record (2.2.2)
|
|
120
|
+
activerecord (>= 5.a)
|
|
121
|
+
database_cleaner-core (~> 2.0)
|
|
122
|
+
database_cleaner-core (2.1.0)
|
|
123
|
+
date (3.5.1)
|
|
124
|
+
devise (5.0.4)
|
|
171
125
|
bcrypt (~> 3.0)
|
|
172
126
|
orm_adapter (~> 0.1)
|
|
173
|
-
railties (>=
|
|
127
|
+
railties (>= 7.0)
|
|
174
128
|
responders
|
|
175
129
|
warden (~> 1.2.3)
|
|
176
|
-
diff-lcs (1.6.
|
|
177
|
-
drb (2.2.
|
|
130
|
+
diff-lcs (1.6.2)
|
|
131
|
+
drb (2.2.3)
|
|
132
|
+
erb (6.0.7)
|
|
178
133
|
erubi (1.13.1)
|
|
179
|
-
factory_bot (6.
|
|
134
|
+
factory_bot (6.6.0)
|
|
180
135
|
activesupport (>= 6.1.0)
|
|
181
|
-
factory_bot_rails (6.
|
|
136
|
+
factory_bot_rails (6.5.1)
|
|
182
137
|
factory_bot (~> 6.5)
|
|
183
|
-
railties (>=
|
|
184
|
-
ffi (1.17.
|
|
185
|
-
|
|
186
|
-
|
|
138
|
+
railties (>= 6.1.0)
|
|
139
|
+
ffi (1.17.4-arm64-darwin)
|
|
140
|
+
ffi (1.17.4-x86_64-linux-gnu)
|
|
141
|
+
formatador (1.2.3)
|
|
142
|
+
reline
|
|
143
|
+
globalid (1.4.0)
|
|
187
144
|
activesupport (>= 6.1)
|
|
188
|
-
guard (2.
|
|
145
|
+
guard (2.20.2)
|
|
189
146
|
formatador (>= 0.2.4)
|
|
190
147
|
listen (>= 2.7, < 4.0)
|
|
191
148
|
logger (~> 1.6)
|
|
192
149
|
lumberjack (>= 1.0.12, < 2.0)
|
|
193
150
|
nenv (~> 0.1)
|
|
194
151
|
notiffany (~> 0.0)
|
|
195
|
-
ostruct (~> 0.6)
|
|
196
152
|
pry (>= 0.13.0)
|
|
197
153
|
shellany (~> 0.0)
|
|
198
154
|
thor (>= 0.18.1)
|
|
199
|
-
guard-bundler (3.0
|
|
200
|
-
bundler (>= 2.1, <
|
|
155
|
+
guard-bundler (3.1.0)
|
|
156
|
+
bundler (>= 2.1, < 5)
|
|
201
157
|
guard (~> 2.2)
|
|
202
158
|
guard-compat (~> 1.1)
|
|
203
159
|
guard-compat (1.2.1)
|
|
@@ -208,111 +164,147 @@ GEM
|
|
|
208
164
|
guard (~> 2.1)
|
|
209
165
|
guard-compat (~> 1.1)
|
|
210
166
|
rspec (>= 2.99.0, < 4.0)
|
|
211
|
-
i18n (1.
|
|
167
|
+
i18n (1.15.2)
|
|
212
168
|
concurrent-ruby (~> 1.0)
|
|
213
|
-
io-console (0.
|
|
214
|
-
io-like (0.
|
|
215
|
-
irb (1.
|
|
169
|
+
io-console (0.9.3)
|
|
170
|
+
io-like (0.4.0)
|
|
171
|
+
irb (1.18.0)
|
|
216
172
|
pp (>= 0.6.0)
|
|
173
|
+
prism (>= 1.3.0)
|
|
217
174
|
rdoc (>= 4.0.0)
|
|
218
175
|
reline (>= 0.4.2)
|
|
176
|
+
json (2.21.2)
|
|
219
177
|
launchy (3.1.1)
|
|
220
178
|
addressable (~> 2.8)
|
|
221
179
|
childprocess (~> 5.0)
|
|
222
180
|
logger (~> 1.6)
|
|
223
|
-
listen (3.
|
|
181
|
+
listen (3.10.0)
|
|
182
|
+
logger
|
|
224
183
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
225
184
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
226
|
-
logger (1.
|
|
227
|
-
loofah (2.
|
|
185
|
+
logger (1.7.0)
|
|
186
|
+
loofah (2.25.2)
|
|
228
187
|
crass (~> 1.0.2)
|
|
229
188
|
nokogiri (>= 1.12.0)
|
|
230
|
-
lumberjack (1.2
|
|
231
|
-
mail (2.
|
|
189
|
+
lumberjack (1.4.2)
|
|
190
|
+
mail (2.9.1)
|
|
191
|
+
logger
|
|
232
192
|
mini_mime (>= 0.1.1)
|
|
233
193
|
net-imap
|
|
234
194
|
net-pop
|
|
235
195
|
net-smtp
|
|
236
|
-
matrix (0.4.
|
|
196
|
+
matrix (0.4.3)
|
|
197
|
+
memoist3 (1.0.0)
|
|
237
198
|
method_source (1.1.0)
|
|
238
199
|
mini_mime (1.1.5)
|
|
239
|
-
minitest (
|
|
200
|
+
minitest (6.0.6)
|
|
201
|
+
drb (~> 2.0)
|
|
202
|
+
prism (~> 1.5)
|
|
240
203
|
multi_test (1.1.0)
|
|
241
204
|
nenv (0.3.0)
|
|
242
|
-
net-imap (0.
|
|
205
|
+
net-imap (0.6.7)
|
|
243
206
|
date
|
|
244
207
|
net-protocol
|
|
245
208
|
net-pop (0.1.2)
|
|
246
209
|
net-protocol
|
|
247
|
-
net-protocol (0.
|
|
210
|
+
net-protocol (0.3.0)
|
|
248
211
|
timeout
|
|
249
212
|
net-smtp (0.5.1)
|
|
250
213
|
net-protocol
|
|
251
|
-
nokogiri (1.
|
|
214
|
+
nokogiri (1.19.4-arm64-darwin)
|
|
215
|
+
racc (~> 1.4)
|
|
216
|
+
nokogiri (1.19.4-x86_64-linux-gnu)
|
|
252
217
|
racc (~> 1.4)
|
|
253
218
|
notiffany (0.1.3)
|
|
254
219
|
nenv (~> 0.1)
|
|
255
220
|
shellany (~> 0.0)
|
|
256
221
|
orm_adapter (0.5.0)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
pp (0.6.2)
|
|
222
|
+
power_assert (3.1.0)
|
|
223
|
+
pp (0.6.4)
|
|
260
224
|
prettyprint
|
|
261
225
|
prettyprint (0.2.0)
|
|
262
|
-
|
|
226
|
+
prism (1.9.0)
|
|
227
|
+
pry (0.16.0)
|
|
263
228
|
coderay (~> 1.1)
|
|
264
229
|
method_source (~> 1.0)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
stringio
|
|
271
|
-
public_suffix (6.0.1)
|
|
230
|
+
reline (>= 0.6.0)
|
|
231
|
+
pry-byebug (3.12.0)
|
|
232
|
+
byebug (~> 13.0)
|
|
233
|
+
pry (>= 0.13, < 0.17)
|
|
234
|
+
public_suffix (7.0.5)
|
|
272
235
|
racc (1.8.1)
|
|
273
|
-
rack (3.
|
|
274
|
-
rack-session (2.1.
|
|
236
|
+
rack (3.2.7)
|
|
237
|
+
rack-session (2.1.2)
|
|
275
238
|
base64 (>= 0.1.0)
|
|
276
239
|
rack (>= 3.0.0)
|
|
277
240
|
rack-test (2.2.0)
|
|
278
241
|
rack (>= 1.3)
|
|
279
|
-
rackup (2.
|
|
242
|
+
rackup (2.3.1)
|
|
280
243
|
rack (>= 3)
|
|
281
|
-
rails-dom-testing (2.
|
|
244
|
+
rails-dom-testing (2.3.0)
|
|
282
245
|
activesupport (>= 5.0.0)
|
|
283
246
|
minitest
|
|
284
247
|
nokogiri (>= 1.6)
|
|
285
|
-
rails-html-sanitizer (1.
|
|
286
|
-
loofah (~> 2.
|
|
248
|
+
rails-html-sanitizer (1.7.1)
|
|
249
|
+
loofah (~> 2.25, >= 2.25.2)
|
|
287
250
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
288
|
-
railties (8.
|
|
289
|
-
actionpack (= 8.
|
|
290
|
-
activesupport (= 8.
|
|
251
|
+
railties (8.1.3.1)
|
|
252
|
+
actionpack (= 8.1.3.1)
|
|
253
|
+
activesupport (= 8.1.3.1)
|
|
291
254
|
irb (~> 1.13)
|
|
292
255
|
rackup (>= 1.0.0)
|
|
293
256
|
rake (>= 12.2)
|
|
294
257
|
thor (~> 1.0, >= 1.2.2)
|
|
258
|
+
tsort (>= 0.2)
|
|
295
259
|
zeitwerk (~> 2.6)
|
|
296
|
-
rake (13.2
|
|
260
|
+
rake (13.4.2)
|
|
297
261
|
rb-fsevent (0.11.2)
|
|
298
262
|
rb-inotify (0.11.1)
|
|
299
263
|
ffi (~> 1.0)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
264
|
+
rbs (4.1.3)
|
|
265
|
+
logger
|
|
266
|
+
prism (>= 1.6.0)
|
|
267
|
+
tsort
|
|
268
|
+
rdoc (8.0.0)
|
|
269
|
+
erb
|
|
270
|
+
prism (>= 1.6.0)
|
|
271
|
+
rbs (>= 4.0.0)
|
|
272
|
+
tsort
|
|
273
|
+
regexp_parser (2.12.0)
|
|
274
|
+
reline (0.7.0)
|
|
304
275
|
io-console (~> 0.5)
|
|
305
|
-
responders (3.
|
|
306
|
-
actionpack (>=
|
|
307
|
-
railties (>=
|
|
308
|
-
rexml (3.4.
|
|
309
|
-
|
|
276
|
+
responders (3.2.1)
|
|
277
|
+
actionpack (>= 7.0)
|
|
278
|
+
railties (>= 7.0)
|
|
279
|
+
rexml (3.4.4)
|
|
280
|
+
rspec (3.13.2)
|
|
281
|
+
rspec-core (~> 3.13.0)
|
|
282
|
+
rspec-expectations (~> 3.13.0)
|
|
283
|
+
rspec-mocks (~> 3.13.0)
|
|
284
|
+
rspec-core (3.13.6)
|
|
285
|
+
rspec-support (~> 3.13.0)
|
|
286
|
+
rspec-expectations (3.13.5)
|
|
287
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
288
|
+
rspec-support (~> 3.13.0)
|
|
289
|
+
rspec-mocks (3.13.8)
|
|
290
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
291
|
+
rspec-support (~> 3.13.0)
|
|
292
|
+
rspec-rails (8.0.4)
|
|
293
|
+
actionpack (>= 7.2)
|
|
294
|
+
activesupport (>= 7.2)
|
|
295
|
+
railties (>= 7.2)
|
|
296
|
+
rspec-core (>= 3.13.0, < 5.0.0)
|
|
297
|
+
rspec-expectations (>= 3.13.0, < 5.0.0)
|
|
298
|
+
rspec-mocks (>= 3.13.0, < 5.0.0)
|
|
299
|
+
rspec-support (>= 3.13.0, < 5.0.0)
|
|
300
|
+
rspec-support (3.13.7)
|
|
301
|
+
rubyzip (3.6.0)
|
|
310
302
|
securerandom (0.4.1)
|
|
311
|
-
selenium-webdriver (4.
|
|
303
|
+
selenium-webdriver (4.44.0)
|
|
312
304
|
base64 (~> 0.2)
|
|
313
305
|
logger (~> 1.4)
|
|
314
306
|
rexml (~> 3.2, >= 3.2.5)
|
|
315
|
-
rubyzip (>= 1.2.2, <
|
|
307
|
+
rubyzip (>= 1.2.2, < 4.0)
|
|
316
308
|
websocket (~> 1.0)
|
|
317
309
|
shellany (0.0.1)
|
|
318
310
|
shoulda (4.0.0)
|
|
@@ -321,59 +313,79 @@ GEM
|
|
|
321
313
|
shoulda-context (2.0.0)
|
|
322
314
|
shoulda-matchers (4.5.1)
|
|
323
315
|
activesupport (>= 4.2.0)
|
|
324
|
-
sqlite3 (2.6
|
|
325
|
-
|
|
326
|
-
sys-uname (1.
|
|
316
|
+
sqlite3 (2.9.6-arm64-darwin)
|
|
317
|
+
sqlite3 (2.9.6-x86_64-linux-gnu)
|
|
318
|
+
sys-uname (1.5.1)
|
|
327
319
|
ffi (~> 1.1)
|
|
328
|
-
|
|
320
|
+
memoist3 (~> 1.0.0)
|
|
321
|
+
test-unit (3.7.8)
|
|
329
322
|
power_assert
|
|
330
|
-
thor (1.
|
|
331
|
-
timeout (0.
|
|
323
|
+
thor (1.5.0)
|
|
324
|
+
timeout (0.6.1)
|
|
325
|
+
tsort (0.2.0)
|
|
332
326
|
tzinfo (2.0.6)
|
|
333
327
|
concurrent-ruby (~> 1.0)
|
|
334
|
-
uri (1.
|
|
328
|
+
uri (1.1.1)
|
|
335
329
|
useragent (0.16.11)
|
|
336
330
|
warden (1.2.9)
|
|
337
331
|
rack (>= 2.0.9)
|
|
332
|
+
webdrivers (5.2.0)
|
|
333
|
+
nokogiri (~> 1.6)
|
|
334
|
+
rubyzip (>= 1.3.0)
|
|
335
|
+
selenium-webdriver (~> 4.0)
|
|
338
336
|
websocket (1.2.11)
|
|
339
337
|
xpath (3.2.0)
|
|
340
338
|
nokogiri (~> 1.8)
|
|
341
|
-
zeitwerk (2.
|
|
339
|
+
zeitwerk (2.8.3)
|
|
342
340
|
|
|
343
341
|
PLATFORMS
|
|
342
|
+
arm64-darwin
|
|
344
343
|
arm64-darwin-21
|
|
344
|
+
arm64-darwin-24
|
|
345
|
+
x86_64-linux-gnu
|
|
345
346
|
|
|
346
347
|
DEPENDENCIES
|
|
347
|
-
actionmailer (>=
|
|
348
|
-
activerecord (>= 5.
|
|
348
|
+
actionmailer (>= 8.0.5.1)
|
|
349
|
+
activerecord (>= 8.0.5.1)
|
|
350
|
+
addressable (>= 2.9.0)
|
|
351
|
+
bcrypt (>= 3.1.22)
|
|
349
352
|
bson_ext (~> 1.3)
|
|
350
353
|
bundler (>= 2.0.0)
|
|
351
354
|
capybara (>= 3.38.0)
|
|
352
355
|
chromedriver-helper
|
|
356
|
+
concurrent-ruby (>= 1.3.7)
|
|
353
357
|
cucumber
|
|
354
|
-
cucumber-rails (>=
|
|
355
|
-
database_cleaner (
|
|
358
|
+
cucumber-rails (>= 4.0.0)
|
|
359
|
+
database_cleaner (>= 2.0.0)
|
|
360
|
+
devise (>= 5.0.4)
|
|
356
361
|
devise_masquerade!
|
|
357
|
-
|
|
362
|
+
erb (>= 6.0.4)
|
|
363
|
+
factory_bot_rails (>= 6.5.1)
|
|
358
364
|
guard
|
|
359
365
|
guard-bundler
|
|
360
366
|
guard-cucumber
|
|
361
367
|
guard-rspec (~> 4.7)
|
|
368
|
+
json (>= 2.10, < 3)
|
|
362
369
|
launchy
|
|
363
|
-
|
|
370
|
+
loofah (>= 2.25.2)
|
|
371
|
+
mail (>= 2.9.1)
|
|
372
|
+
net-imap (>= 0.6.4)
|
|
373
|
+
nokogiri (>= 1.19.3)
|
|
364
374
|
pry
|
|
365
375
|
pry-byebug
|
|
376
|
+
rack (>= 3.2.6)
|
|
377
|
+
rack-session (>= 2.1.2)
|
|
378
|
+
rails-html-sanitizer (>= 1.7.1)
|
|
366
379
|
rb-fsevent
|
|
367
|
-
|
|
368
|
-
rspec
|
|
369
|
-
rspec-
|
|
370
|
-
rspec-mocks!
|
|
371
|
-
rspec-rails!
|
|
372
|
-
rspec-support!
|
|
380
|
+
rexml (>= 3.4.2)
|
|
381
|
+
rspec (~> 3.13)
|
|
382
|
+
rspec-rails (~> 8.0.4)
|
|
373
383
|
selenium-webdriver
|
|
374
384
|
shoulda
|
|
375
|
-
sqlite3
|
|
385
|
+
sqlite3 (>= 2.9.6)
|
|
376
386
|
test-unit
|
|
387
|
+
uri (>= 1.0.4)
|
|
388
|
+
webdrivers
|
|
377
389
|
|
|
378
390
|
BUNDLED WITH
|
|
379
|
-
|
|
391
|
+
4.0.0
|
data/README.md
CHANGED
data/features/support/env.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require 'cucumber/rails'
|
|
2
2
|
require 'factory_bot'
|
|
3
|
-
require 'database_cleaner'
|
|
3
|
+
require 'database_cleaner/active_record'
|
|
4
4
|
require 'cucumber/rspec/doubles'
|
|
5
5
|
|
|
6
6
|
Dir[File.join(File.dirname(__FILE__), '..', '..', "spec/support/*.rb")].each {|f| require f}
|
|
@@ -16,7 +16,7 @@ end
|
|
|
16
16
|
World(FactoryBot::Syntax::Methods)
|
|
17
17
|
|
|
18
18
|
begin
|
|
19
|
-
DatabaseCleaner.strategy = :transaction
|
|
19
|
+
DatabaseCleaner[:active_record].strategy = :transaction
|
|
20
20
|
rescue NameError
|
|
21
21
|
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
|
|
22
22
|
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -7,7 +7,7 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
|
|
7
7
|
require 'rails/test_help'
|
|
8
8
|
require 'rspec/rails'
|
|
9
9
|
require 'factory_bot'
|
|
10
|
-
require 'database_cleaner'
|
|
10
|
+
require 'database_cleaner/active_record'
|
|
11
11
|
|
|
12
12
|
Rails.backtrace_cleaner.remove_silencers!
|
|
13
13
|
|
|
@@ -28,15 +28,15 @@ RSpec.configure do |config|
|
|
|
28
28
|
config.mock_with :rspec
|
|
29
29
|
|
|
30
30
|
config.before(:suite) do
|
|
31
|
-
DatabaseCleaner.strategy = :transaction
|
|
32
|
-
DatabaseCleaner.clean_with(:truncation)
|
|
31
|
+
DatabaseCleaner[:active_record].strategy = :transaction
|
|
32
|
+
DatabaseCleaner[:active_record].clean_with(:truncation)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
config.before(:each) do
|
|
36
|
-
DatabaseCleaner.start
|
|
36
|
+
DatabaseCleaner[:active_record].start
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
config.after(:each) do
|
|
40
|
-
DatabaseCleaner.clean
|
|
40
|
+
DatabaseCleaner[:active_record].clean
|
|
41
41
|
end
|
|
42
42
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_masquerade
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandr Korsak
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|