clearance 2.6.2 → 2.7.0
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/dynamic-readme.yml +19 -0
- data/.github/workflows/tests.yml +0 -2
- data/Appraisals +0 -6
- data/CHANGELOG.md +12 -2
- data/Gemfile.lock +6 -6
- data/README.md +16 -17
- data/app/controllers/clearance/sessions_controller.rb +1 -1
- data/lib/clearance/authorization.rb +1 -1
- data/lib/clearance/configuration.rb +16 -0
- data/lib/clearance/version.rb +1 -1
- data/spec/configuration_spec.rb +28 -0
- data/spec/controllers/passwords_controller_spec.rb +6 -6
- data/spec/controllers/permissions_controller_spec.rb +1 -1
- data/spec/controllers/sessions_controller_spec.rb +19 -1
- data/spec/support/html_escape_helper.rb +13 -0
- metadata +5 -7
- data/gemfiles/rails_5.0.gemfile +0 -21
- data/gemfiles/rails_5.1.gemfile +0 -21
- data/gemfiles/rails_5.2.gemfile +0 -21
- data/gemfiles/rails_6.0.gemfile +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f43e65fb98c36167f024899806818f771cabf396d1c1e147f4a21d1bdccb37dd
|
|
4
|
+
data.tar.gz: 42a88e8b50b98b5414b923fda5775e1998223791ffe2fcee00ca03163c7f9a50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 680e0a4d6cebe218f7d8fffeadebcdcd9a160cb9a562a5cef3f876ad118556d4caa4338b40e3dd0135e3ee89e47a8034593d6131ee8eeb4ec7f47062b1aafe3a
|
|
7
|
+
data.tar.gz: cbc137fa5f3f722f28f99c1537909ed27b3b54e5df3aee37b4c7954e2b3e6c452a900f034239072196796171703eb27c3e859edc69b08bb35762bd260f0253a4
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: update-templates
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- README.md
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
update-templates:
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
pull-requests: write
|
|
16
|
+
pages: write
|
|
17
|
+
uses: thoughtbot/templates/.github/workflows/dynamic-readme.yaml@main
|
|
18
|
+
secrets:
|
|
19
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/tests.yml
CHANGED
data/Appraisals
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
appraise "rails_6.0" do
|
|
2
|
-
gem "railties", "~> 6.0.0"
|
|
3
|
-
gem "net-smtp", require: false # not bundled in ruby 3.1
|
|
4
|
-
gem "psych", "< 4" # psych 4 switched from unsafe load to safe load
|
|
5
|
-
end
|
|
6
|
-
|
|
7
1
|
appraise "rails_6.1" do
|
|
8
2
|
gem "railties", "~> 6.1.0"
|
|
9
3
|
gem "net-smtp", require: false # not bundled in ruby 3.1
|
data/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,17 @@ complete changelog, see the git history for each version via the version links.
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
-
[Unreleased]: https://github.com/thoughtbot/clearance/compare/v2.
|
|
8
|
+
[Unreleased]: https://github.com/thoughtbot/clearance/compare/v2.7.0...main
|
|
9
9
|
|
|
10
|
-
## [2.
|
|
10
|
+
## [2.7.0] - April 19, 2024
|
|
11
|
+
- Call dynamic README workflow (#1004)
|
|
12
|
+
- Drop Ruby 2.76 and Rails 6.0 (#1005)
|
|
13
|
+
- Update specs to match on translations (#1015)
|
|
14
|
+
- Add configuration options for failure method redirects (#1002) Dan Sharp
|
|
15
|
+
|
|
16
|
+
[2.7.0]: https://github.com/thoughtbot/clearance/compare/v2.6.2...v2.7.0
|
|
17
|
+
|
|
18
|
+
## [2.6.2] - January 15, 2024
|
|
11
19
|
- Fix typo in Clearance::Token docs (#1000) Gabe Berke-Williams
|
|
12
20
|
- Add CODEOWNERS file (#994)
|
|
13
21
|
- Add support for Rails 7.1 (#995) Samuel Giddens
|
|
@@ -20,6 +28,8 @@ deprecated active record handling in application.rb (#998)
|
|
|
20
28
|
- Replace mentions of NEWS.md with CHANGELOG.md (#982)
|
|
21
29
|
- Fix broken thoughtbot logo on README.md
|
|
22
30
|
|
|
31
|
+
[2.6.2]: https://github.com/thoughtbot/clearance/compare/v2.6.1...v2.6.2
|
|
32
|
+
|
|
23
33
|
## [2.6.1] - September 23, 2022
|
|
24
34
|
- Document how to report security issues
|
|
25
35
|
- Only update the `env["QUERY_STRING"]` if the `as` parameter is present in
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
clearance (2.
|
|
4
|
+
clearance (2.7.0)
|
|
5
5
|
actionmailer (>= 5.0)
|
|
6
6
|
activemodel (>= 5.0)
|
|
7
7
|
activerecord (>= 5.0)
|
|
@@ -110,8 +110,8 @@ GEM
|
|
|
110
110
|
factory_bot (~> 6.2.0)
|
|
111
111
|
railties (>= 5.0.0)
|
|
112
112
|
ffi (1.16.3)
|
|
113
|
-
ffi-compiler (1.
|
|
114
|
-
ffi (>= 1.
|
|
113
|
+
ffi-compiler (1.3.2)
|
|
114
|
+
ffi (>= 1.15.5)
|
|
115
115
|
rake
|
|
116
116
|
globalid (1.2.1)
|
|
117
117
|
activesupport (>= 6.1)
|
|
@@ -131,14 +131,14 @@ GEM
|
|
|
131
131
|
mini_mime (1.1.2)
|
|
132
132
|
mini_portile2 (2.8.0)
|
|
133
133
|
minitest (5.15.0)
|
|
134
|
-
net-imap (0.4.
|
|
134
|
+
net-imap (0.4.10)
|
|
135
135
|
date
|
|
136
136
|
net-protocol
|
|
137
137
|
net-pop (0.1.2)
|
|
138
138
|
net-protocol
|
|
139
139
|
net-protocol (0.2.2)
|
|
140
140
|
timeout
|
|
141
|
-
net-smtp (0.
|
|
141
|
+
net-smtp (0.5.0)
|
|
142
142
|
net-protocol
|
|
143
143
|
nokogiri (1.13.6)
|
|
144
144
|
mini_portile2 (~> 2.8.0)
|
|
@@ -171,7 +171,7 @@ GEM
|
|
|
171
171
|
thor (~> 1.0)
|
|
172
172
|
zeitwerk (~> 2.5)
|
|
173
173
|
rainbow (3.1.1)
|
|
174
|
-
rake (13.0
|
|
174
|
+
rake (13.1.0)
|
|
175
175
|
regexp_parser (2.5.0)
|
|
176
176
|
rexml (3.2.5)
|
|
177
177
|
rspec-core (3.11.0)
|
data/README.md
CHANGED
|
@@ -19,7 +19,7 @@ monitored by contributors.
|
|
|
19
19
|
|
|
20
20
|
## Getting Started
|
|
21
21
|
|
|
22
|
-
Clearance is a Rails engine tested against Rails `>= 6.
|
|
22
|
+
Clearance is a Rails engine tested against Rails `>= 6.1` and Ruby `>= 3.0.0`.
|
|
23
23
|
|
|
24
24
|
You can add it to your Gemfile with:
|
|
25
25
|
|
|
@@ -59,6 +59,8 @@ Clearance.configure do |config|
|
|
|
59
59
|
config.mailer_sender = "reply@example.com"
|
|
60
60
|
config.password_strategy = Clearance::PasswordStrategies::BCrypt
|
|
61
61
|
config.redirect_url = "/"
|
|
62
|
+
config.url_after_destroy = nil
|
|
63
|
+
config.url_after_denied_access_when_signed_out = nil
|
|
62
64
|
config.rotate_csrf_on_sign_in = true
|
|
63
65
|
config.same_site = nil
|
|
64
66
|
config.secure_cookie = false
|
|
@@ -222,8 +224,16 @@ These "failure" methods are called for signed out sessions:
|
|
|
222
224
|
- `application#url_after_denied_access_when_signed_out`
|
|
223
225
|
- `sessions#url_after_destroy`
|
|
224
226
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
+
You can override the appropriate method in your subclassed controller or you
|
|
228
|
+
can set a configuration value for either of these URLs:
|
|
229
|
+
|
|
230
|
+
- `Clearance.configuration.url_after_denied_access_when_signed_out`
|
|
231
|
+
- `Clearance.configuration.url_after_destroy`
|
|
232
|
+
|
|
233
|
+
Both configurations default to `nil` and if not set will default to
|
|
234
|
+
`sign_in_url` in `sessions_controller.rb` and `authorization.rb` for backwards
|
|
235
|
+
compatibility.
|
|
236
|
+
|
|
227
237
|
|
|
228
238
|
### Views
|
|
229
239
|
|
|
@@ -481,21 +491,10 @@ For security issues it's better to contact <security@thoughtbot.com> (See <https
|
|
|
481
491
|
|
|
482
492
|
## License
|
|
483
493
|
|
|
484
|
-
Clearance is copyright © 2009
|
|
494
|
+
Clearance is copyright © 2009 thoughtbot. It is free software, and may be
|
|
485
495
|
redistributed under the terms specified in the [`LICENSE`] file.
|
|
486
496
|
|
|
487
497
|
[`LICENSE`]: /LICENSE
|
|
488
498
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-

|
|
492
|
-
|
|
493
|
-
Clearance is maintained and funded by thoughtbot, inc.
|
|
494
|
-
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
|
495
|
-
|
|
496
|
-
We love open source software!
|
|
497
|
-
See [our other projects][community] or
|
|
498
|
-
[hire us][hire] to design, develop, and grow your product.
|
|
499
|
-
|
|
500
|
-
[community]: https://thoughtbot.com/community?utm_source=github
|
|
501
|
-
[hire]: https://thoughtbot.com/hire-us?utm_source=github
|
|
499
|
+
<!-- START /templates/footer.md -->
|
|
500
|
+
<!-- END /templates/footer.md -->
|
|
@@ -68,6 +68,20 @@ module Clearance
|
|
|
68
68
|
# @return [String]
|
|
69
69
|
attr_accessor :redirect_url
|
|
70
70
|
|
|
71
|
+
# The default path Clearance will redirect signed out users to.
|
|
72
|
+
# Defaults to `nil` so that the controller will use `sign_in_url`
|
|
73
|
+
# for backwards compatibility. This can be set here instead of overriding
|
|
74
|
+
# the method via an overridden session controller.
|
|
75
|
+
# @return [String]
|
|
76
|
+
attr_accessor :url_after_destroy
|
|
77
|
+
|
|
78
|
+
# The default path Clearance will redirect non-users to when denied access.
|
|
79
|
+
# Defaults to `nil` so that the authorization module will use `sign_in_url`
|
|
80
|
+
# for backwards compatibility. This can be set here instead of overriding
|
|
81
|
+
# the method via an overridden authorization module.
|
|
82
|
+
# @return [String]
|
|
83
|
+
attr_accessor :url_after_denied_access_when_signed_out
|
|
84
|
+
|
|
71
85
|
# Controls whether Clearance will rotate the CSRF token on sign in.
|
|
72
86
|
# Defaults to `nil` which generates a warning. Will default to true in
|
|
73
87
|
# Clearance 2.0.
|
|
@@ -140,6 +154,8 @@ module Clearance
|
|
|
140
154
|
@same_site = nil
|
|
141
155
|
@mailer_sender = 'reply@example.com'
|
|
142
156
|
@redirect_url = '/'
|
|
157
|
+
@url_after_destroy = nil
|
|
158
|
+
@url_after_denied_access_when_signed_out = nil
|
|
143
159
|
@rotate_csrf_on_sign_in = true
|
|
144
160
|
@routes = true
|
|
145
161
|
@secure_cookie = false
|
data/lib/clearance/version.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
|
@@ -109,6 +109,34 @@ describe Clearance::Configuration do
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
context "when no url_after_destroy value specified" do
|
|
113
|
+
it "returns nil as the default" do
|
|
114
|
+
expect(Clearance::Configuration.new.url_after_destroy).to be_nil
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
context "when url_after_destroy value is specified" do
|
|
119
|
+
it "returns the url_after_destroy value" do
|
|
120
|
+
Clearance.configure { |config| config.url_after_destroy = "/redirect" }
|
|
121
|
+
|
|
122
|
+
expect(Clearance.configuration.url_after_destroy).to eq "/redirect"
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
context "when no url_after_denied_access_when_signed_out value specified" do
|
|
127
|
+
it "returns nil as the default" do
|
|
128
|
+
expect(Clearance::Configuration.new.url_after_denied_access_when_signed_out).to be_nil
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
context "when url_after_denied_access_when_signed_out value is specified" do
|
|
133
|
+
it "returns the url_after_denied_access_when_signed_out value" do
|
|
134
|
+
Clearance.configure { |config| config.url_after_denied_access_when_signed_out = "/redirect" }
|
|
135
|
+
|
|
136
|
+
expect(Clearance.configuration.url_after_denied_access_when_signed_out).to eq "/redirect"
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
112
140
|
context "when specifying sign in guards" do
|
|
113
141
|
it "returns the stack with added guards" do
|
|
114
142
|
DummyGuard = Class.new
|
|
@@ -33,7 +33,7 @@ describe Clearance::PasswordsController do
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
email = ActionMailer::Base.deliveries.last
|
|
36
|
-
expect(email.subject).to match(
|
|
36
|
+
expect(email.subject).to match(translated_string("passwords.edit.title"))
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
it "re-renders the page when turbo is enabled" do
|
|
@@ -53,7 +53,7 @@ describe Clearance::PasswordsController do
|
|
|
53
53
|
password: {},
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
expect(flash.now[:alert]).to match(
|
|
56
|
+
expect(flash.now[:alert]).to match(translated_string("flashes.failure_when_missing_email"))
|
|
57
57
|
expect(response).to render_template(:new)
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -74,7 +74,7 @@ describe Clearance::PasswordsController do
|
|
|
74
74
|
},
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
expect(flash.now[:alert]).to match(
|
|
77
|
+
expect(flash.now[:alert]).to match(translated_string("flashes.failure_when_missing_email"))
|
|
78
78
|
expect(response).to render_template(:new)
|
|
79
79
|
end
|
|
80
80
|
|
|
@@ -164,7 +164,7 @@ describe Clearance::PasswordsController do
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
expect(response).to render_template(:new)
|
|
167
|
-
expect(flash.now[:alert]).to match(
|
|
167
|
+
expect(flash.now[:alert]).to match(translated_string("flashes.failure_when_forbidden"))
|
|
168
168
|
end
|
|
169
169
|
end
|
|
170
170
|
|
|
@@ -178,7 +178,7 @@ describe Clearance::PasswordsController do
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
expect(response).to render_template(:new)
|
|
181
|
-
expect(flash.now[:alert]).to match(
|
|
181
|
+
expect(flash.now[:alert]).to match(translated_string("flashes.failure_when_forbidden"))
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
@@ -278,7 +278,7 @@ describe Clearance::PasswordsController do
|
|
|
278
278
|
new_password: "",
|
|
279
279
|
)
|
|
280
280
|
|
|
281
|
-
expect(flash.now[:alert]).to match(
|
|
281
|
+
expect(flash.now[:alert]).to match(translated_string("flashes.failure_after_update"))
|
|
282
282
|
expect(response).to have_http_status(:unprocessable_entity)
|
|
283
283
|
expect(response).to render_template(:edit)
|
|
284
284
|
end
|
|
@@ -58,7 +58,7 @@ describe PermissionsController do
|
|
|
58
58
|
it "denies access to show and display a flash message" do
|
|
59
59
|
get :show
|
|
60
60
|
|
|
61
|
-
expect(flash[:alert]).to match(
|
|
61
|
+
expect(flash[:alert]).to match(translated_string("flashes.failure_when_not_signed_in"))
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -41,7 +41,7 @@ describe Clearance::SessionsController do
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
expect(response).to render_template(:new)
|
|
44
|
-
expect(flash[:alert]).to match(
|
|
44
|
+
expect(flash[:alert]).to match(translated_string("flashes.failure_after_create"))
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -118,6 +118,12 @@ describe Clearance::SessionsController do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
describe "on DELETE to #destroy" do
|
|
121
|
+
let(:configured_redirect_url) { nil }
|
|
122
|
+
|
|
123
|
+
before do
|
|
124
|
+
Clearance.configure { |config| config.url_after_destroy = configured_redirect_url }
|
|
125
|
+
end
|
|
126
|
+
|
|
121
127
|
context "given a signed out user" do
|
|
122
128
|
before do
|
|
123
129
|
sign_out
|
|
@@ -126,6 +132,12 @@ describe Clearance::SessionsController do
|
|
|
126
132
|
|
|
127
133
|
it { should redirect_to_url_after_destroy }
|
|
128
134
|
it { expect(response).to have_http_status(:see_other) }
|
|
135
|
+
|
|
136
|
+
context "when the custom redirect URL is set" do
|
|
137
|
+
let(:configured_redirect_url) { "/redirected" }
|
|
138
|
+
|
|
139
|
+
it { should redirect_to(configured_redirect_url) }
|
|
140
|
+
end
|
|
129
141
|
end
|
|
130
142
|
|
|
131
143
|
context "with a cookie" do
|
|
@@ -145,6 +157,12 @@ describe Clearance::SessionsController do
|
|
|
145
157
|
it "should unset the current user" do
|
|
146
158
|
expect(request.env[:clearance].current_user).to be_nil
|
|
147
159
|
end
|
|
160
|
+
|
|
161
|
+
context "when the custom redirect URL is set" do
|
|
162
|
+
let(:configured_redirect_url) { "/redirected" }
|
|
163
|
+
|
|
164
|
+
it { should redirect_to(configured_redirect_url) }
|
|
165
|
+
end
|
|
148
166
|
end
|
|
149
167
|
end
|
|
150
168
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clearance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Croak
|
|
@@ -26,7 +26,7 @@ authors:
|
|
|
26
26
|
autorequire:
|
|
27
27
|
bindir: bin
|
|
28
28
|
cert_chain: []
|
|
29
|
-
date: 2024-
|
|
29
|
+
date: 2024-04-19 00:00:00.000000000 Z
|
|
30
30
|
dependencies:
|
|
31
31
|
- !ruby/object:Gem::Dependency
|
|
32
32
|
name: bcrypt
|
|
@@ -146,6 +146,7 @@ extra_rdoc_files:
|
|
|
146
146
|
- README.md
|
|
147
147
|
files:
|
|
148
148
|
- ".erb-lint.yml"
|
|
149
|
+
- ".github/workflows/dynamic-readme.yml"
|
|
149
150
|
- ".github/workflows/tests.yml"
|
|
150
151
|
- ".gitignore"
|
|
151
152
|
- ".yardopts"
|
|
@@ -182,10 +183,6 @@ files:
|
|
|
182
183
|
- config/routes.rb
|
|
183
184
|
- db/migrate/20110111224543_create_clearance_users.rb
|
|
184
185
|
- db/schema.rb
|
|
185
|
-
- gemfiles/rails_5.0.gemfile
|
|
186
|
-
- gemfiles/rails_5.1.gemfile
|
|
187
|
-
- gemfiles/rails_5.2.gemfile
|
|
188
|
-
- gemfiles/rails_6.0.gemfile
|
|
189
186
|
- gemfiles/rails_6.1.gemfile
|
|
190
187
|
- gemfiles/rails_7.0.gemfile
|
|
191
188
|
- gemfiles/rails_7.1.gemfile
|
|
@@ -294,6 +291,7 @@ files:
|
|
|
294
291
|
- spec/support/fake_model_with_password_strategy.rb
|
|
295
292
|
- spec/support/fake_model_without_password_strategy.rb
|
|
296
293
|
- spec/support/generator_spec_helpers.rb
|
|
294
|
+
- spec/support/html_escape_helper.rb
|
|
297
295
|
- spec/support/request_with_remember_token.rb
|
|
298
296
|
- spec/views/view_helpers_spec.rb
|
|
299
297
|
homepage: https://github.com/thoughtbot/clearance
|
|
@@ -316,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
316
314
|
- !ruby/object:Gem::Version
|
|
317
315
|
version: '0'
|
|
318
316
|
requirements: []
|
|
319
|
-
rubygems_version: 3.
|
|
317
|
+
rubygems_version: 3.3.7
|
|
320
318
|
signing_key:
|
|
321
319
|
specification_version: 4
|
|
322
320
|
summary: Rails authentication & authorization with email & password.
|
data/gemfiles/rails_5.0.gemfile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "addressable"
|
|
6
|
-
gem "ammeter"
|
|
7
|
-
gem "appraisal"
|
|
8
|
-
gem "capybara", ">= 2.6.2", "< 3.33.0"
|
|
9
|
-
gem "database_cleaner"
|
|
10
|
-
gem "erb_lint", require: false
|
|
11
|
-
gem "factory_bot_rails"
|
|
12
|
-
gem "nokogiri"
|
|
13
|
-
gem "pry", require: false
|
|
14
|
-
gem "rails-controller-testing"
|
|
15
|
-
gem "rspec-rails", "~> 3.1"
|
|
16
|
-
gem "shoulda-matchers"
|
|
17
|
-
gem "sqlite3", "~> 1.3.13"
|
|
18
|
-
gem "timecop"
|
|
19
|
-
gem "railties", "~> 5.0"
|
|
20
|
-
|
|
21
|
-
gemspec path: "../"
|
data/gemfiles/rails_5.1.gemfile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "addressable"
|
|
6
|
-
gem "ammeter"
|
|
7
|
-
gem "appraisal"
|
|
8
|
-
gem "capybara"
|
|
9
|
-
gem "database_cleaner"
|
|
10
|
-
gem "erb_lint", require: false
|
|
11
|
-
gem "factory_bot_rails"
|
|
12
|
-
gem "nokogiri"
|
|
13
|
-
gem "pry", require: false
|
|
14
|
-
gem "rails-controller-testing"
|
|
15
|
-
gem "rspec-rails"
|
|
16
|
-
gem "shoulda-matchers"
|
|
17
|
-
gem "sqlite3"
|
|
18
|
-
gem "timecop"
|
|
19
|
-
gem "railties", "~> 5.1"
|
|
20
|
-
|
|
21
|
-
gemspec path: "../"
|
data/gemfiles/rails_5.2.gemfile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "addressable"
|
|
6
|
-
gem "ammeter"
|
|
7
|
-
gem "appraisal"
|
|
8
|
-
gem "capybara"
|
|
9
|
-
gem "database_cleaner"
|
|
10
|
-
gem "erb_lint", require: false
|
|
11
|
-
gem "factory_bot_rails"
|
|
12
|
-
gem "nokogiri"
|
|
13
|
-
gem "pry", require: false
|
|
14
|
-
gem "rails-controller-testing"
|
|
15
|
-
gem "rspec-rails"
|
|
16
|
-
gem "shoulda-matchers"
|
|
17
|
-
gem "sqlite3"
|
|
18
|
-
gem "timecop"
|
|
19
|
-
gem "railties", "~> 5.2"
|
|
20
|
-
|
|
21
|
-
gemspec path: "../"
|
data/gemfiles/rails_6.0.gemfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "addressable"
|
|
6
|
-
gem "ammeter"
|
|
7
|
-
gem "appraisal"
|
|
8
|
-
gem "capybara"
|
|
9
|
-
gem "database_cleaner"
|
|
10
|
-
gem "erb_lint", require: false
|
|
11
|
-
gem "factory_bot_rails"
|
|
12
|
-
gem "nokogiri"
|
|
13
|
-
gem "pry", require: false
|
|
14
|
-
gem "rails-controller-testing"
|
|
15
|
-
gem "rspec-rails"
|
|
16
|
-
gem "shoulda-matchers"
|
|
17
|
-
gem "sqlite3"
|
|
18
|
-
gem "timecop"
|
|
19
|
-
gem "railties", "~> 6.0.0"
|
|
20
|
-
gem "net-smtp", require: false
|
|
21
|
-
gem "psych", "< 4"
|
|
22
|
-
|
|
23
|
-
gemspec path: "../"
|