clearance 2.10.0 → 2.12.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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql.yml +39 -0
  3. data/.github/workflows/standardrb.yml +22 -0
  4. data/.github/workflows/tests.yml +8 -4
  5. data/Appraisals +4 -5
  6. data/CHANGELOG.md +68 -1
  7. data/CODEOWNERS +2 -0
  8. data/Gemfile +18 -14
  9. data/Gemfile.lock +146 -106
  10. data/README.md +1 -3
  11. data/Rakefile +1 -1
  12. data/app/controllers/clearance/passwords_controller.rb +9 -9
  13. data/app/controllers/clearance/users_controller.rb +1 -1
  14. data/app/mailers/clearance_mailer.rb +1 -1
  15. data/clearance.gemspec +39 -38
  16. data/config/routes.rb +7 -7
  17. data/gemfiles/rails_7.2.gemfile +5 -1
  18. data/gemfiles/rails_8.0.gemfile +4 -0
  19. data/gemfiles/{rails_7.1.gemfile → rails_8.1.gemfile} +6 -2
  20. data/lib/clearance/authentication.rb +4 -0
  21. data/lib/clearance/back_door.rb +3 -3
  22. data/lib/clearance/configuration.rb +6 -6
  23. data/lib/clearance/constraints.rb +2 -2
  24. data/lib/clearance/controller.rb +2 -2
  25. data/lib/clearance/default_sign_in_guard.rb +1 -1
  26. data/lib/clearance/password_strategies/bcrypt.rb +2 -2
  27. data/lib/clearance/session.rb +4 -6
  28. data/lib/clearance/sign_in_guard.rb +1 -1
  29. data/lib/clearance/testing/deny_access_matcher.rb +4 -4
  30. data/lib/clearance/token.rb +1 -1
  31. data/lib/clearance/user.rb +7 -7
  32. data/lib/clearance/version.rb +1 -1
  33. data/lib/clearance.rb +10 -10
  34. data/lib/generators/clearance/install/install_generator.rb +16 -15
  35. data/lib/generators/clearance/routes/routes_generator.rb +5 -5
  36. data/lib/generators/clearance/routes/templates/routes.rb +10 -10
  37. data/lib/generators/clearance/specs/specs_generator.rb +4 -4
  38. data/lib/generators/clearance/views/views_generator.rb +4 -4
  39. data/spec/acceptance/clearance_installation_spec.rb +3 -3
  40. data/spec/clearance/back_door_spec.rb +5 -5
  41. data/spec/clearance/constraints/signed_in_spec.rb +14 -14
  42. data/spec/clearance/constraints/signed_out_spec.rb +4 -4
  43. data/spec/clearance/default_sign_in_guard_spec.rb +6 -6
  44. data/spec/clearance/rack_session_spec.rb +9 -9
  45. data/spec/clearance/session_spec.rb +60 -62
  46. data/spec/clearance/sign_in_guard_spec.rb +7 -7
  47. data/spec/clearance/testing/controller_helpers_spec.rb +15 -14
  48. data/spec/clearance/testing/deny_access_matcher_spec.rb +2 -1
  49. data/spec/clearance/testing/view_helpers_spec.rb +2 -2
  50. data/spec/clearance/token_spec.rb +3 -3
  51. data/spec/configuration_spec.rb +8 -21
  52. data/spec/controllers/apis_controller_spec.rb +2 -2
  53. data/spec/controllers/forgeries_controller_spec.rb +12 -12
  54. data/spec/controllers/passwords_controller_spec.rb +28 -28
  55. data/spec/controllers/permissions_controller_spec.rb +12 -12
  56. data/spec/controllers/sessions_controller_spec.rb +6 -6
  57. data/spec/controllers/users_controller_spec.rb +6 -6
  58. data/spec/dummy/config/environments/test.rb +3 -3
  59. data/spec/factories/users.rb +3 -3
  60. data/spec/generators/clearance/install/install_generator_spec.rb +11 -11
  61. data/spec/generators/clearance/routes/routes_generator_spec.rb +1 -1
  62. data/spec/generators/clearance/specs/specs_generator_spec.rb +2 -2
  63. data/spec/generators/clearance/views/views_generator_spec.rb +2 -2
  64. data/spec/mailers/clearance_mailer_spec.rb +3 -2
  65. data/spec/models/user_spec.rb +2 -2
  66. data/spec/password_strategies/argon2_spec.rb +3 -3
  67. data/spec/password_strategies/bcrypt_spec.rb +5 -4
  68. data/spec/password_strategies/password_strategies_spec.rb +2 -1
  69. data/spec/requests/authentication_cookie_spec.rb +4 -3
  70. data/spec/requests/backdoor_spec.rb +1 -1
  71. data/spec/requests/cookie_options_spec.rb +2 -2
  72. data/spec/requests/csrf_rotation_spec.rb +1 -1
  73. data/spec/requests/password_maintenance_spec.rb +1 -1
  74. data/spec/requests/token_expiration_spec.rb +2 -2
  75. data/spec/routing/clearance_routes_spec.rb +36 -36
  76. data/spec/support/clearance.rb +1 -1
  77. data/spec/support/fake_model_without_password_strategy.rb +5 -2
  78. data/spec/support/generator_spec_helpers.rb +2 -2
  79. data/spec/support/request_with_remember_token.rb +1 -1
  80. metadata +7 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de05cd0a5de1a6373d585b84992faf9c5edc1262d8463cd66d72e4dce220be54
4
- data.tar.gz: 1c5fea0c9f0c01a7af11eaf783afd7d541bda115bda975d7b5ae5e09824ab9e4
3
+ metadata.gz: de3f964eed826755511291f4864e3ac4ac2d4aaab072c386a8e3e596d540f8fb
4
+ data.tar.gz: 55b415f8cc8b31f0bd8ddfc6a44b1624973cf26fb8a74bde67b844187657eb9a
5
5
  SHA512:
6
- metadata.gz: a19c23e19e4d6b39fbca0eaa799710d239393d6986bdc255870c6a52cbf1f7fc30b4d0ed93dbcc1316b344f5d6931f5cecd5e3127afae157996f0ff12579d981
7
- data.tar.gz: 6b88a9ed2644c019b2d019a43da9a1c58e2b6725f6c612b3f831ac6a950f77fb3187b9cdea0897c8be60e8ccfce7fcfba296798c63813654ef5e9d9456db37e7
6
+ metadata.gz: 2b148611311a59b4ff5c437a7742537fb74fe07c3e2a27d791c63db5f24b359f5931d867435095e0f5fb1cb303be7d477472d5f2aa3da6fd489d8ee64bf43866
7
+ data.tar.gz: 6b3239daba32dc324abe30fd43fa227079e7182dab1ce6a8f84064f90d2c6357373eb401cd4a889a0c65a355f1eaf27da8e4947305c18a489e8f3dae07105326
@@ -0,0 +1,39 @@
1
+ name: "CodeQL Advanced"
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+ schedule:
9
+ - cron: '21 23 * * 1'
10
+
11
+ jobs:
12
+ analyze:
13
+ name: Analyze (${{ matrix.language }})
14
+ runs-on: 'ubuntu-latest'
15
+ permissions:
16
+ security-events: write
17
+
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ include:
22
+ - language: actions
23
+ build-mode: none
24
+ - language: ruby
25
+ build-mode: none
26
+ steps:
27
+ - name: Checkout repository
28
+ uses: actions/checkout@v6
29
+
30
+ - name: Initialize CodeQL
31
+ uses: github/codeql-action/init@v4
32
+ with:
33
+ languages: ${{ matrix.language }}
34
+ build-mode: ${{ matrix.build-mode }}
35
+
36
+ - name: Perform CodeQL Analysis
37
+ uses: github/codeql-action/analyze@v4
38
+ with:
39
+ category: "/language:${{matrix.language}}"
@@ -0,0 +1,22 @@
1
+ name: Run Linter
2
+
3
+ on:
4
+ push:
5
+ branches: "main"
6
+ pull_request:
7
+ branches: "*"
8
+
9
+ jobs:
10
+ standardrb:
11
+ name: StandardRB
12
+ permissions:
13
+ contents: read
14
+ pull-requests: write
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v6
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ bundler-cache: true
21
+ ruby-version: 3.3.11
22
+ - run: bundle exec standardrb --format github --parallel
@@ -9,6 +9,9 @@ on:
9
9
  jobs:
10
10
  test:
11
11
  name: "Ruby ${{ matrix.ruby }}, Rails ${{ matrix.gemfile }}"
12
+ permissions:
13
+ contents: read
14
+ pull-requests: write
12
15
 
13
16
  runs-on: ubuntu-latest
14
17
 
@@ -16,19 +19,20 @@ jobs:
16
19
  fail-fast: false
17
20
  matrix:
18
21
  gemfile:
19
- - "7.1"
20
22
  - "7.2"
21
23
  - "8.0"
24
+ - "8.1"
22
25
  ruby:
23
- - "3.2.8"
24
- - "3.3.7"
26
+ - "3.3.11"
27
+ - "3.4.9"
28
+ - "4.0.2"
25
29
 
26
30
  env:
27
31
  BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.gemfile }}.gemfile
28
32
  RAILS_ENV: test
29
33
 
30
34
  steps:
31
- - uses: actions/checkout@v4
35
+ - uses: actions/checkout@v6
32
36
 
33
37
  - name: "Install Ruby ${{ matrix.ruby }}"
34
38
  uses: ruby/setup-ruby@v1
data/Appraisals CHANGED
@@ -1,12 +1,11 @@
1
- appraise "rails_7.1" do
2
- gem "railties", "~> 7.1.0"
3
- end
4
-
5
1
  appraise "rails_7.2" do
6
2
  gem "railties", "~> 7.2.0"
7
3
  end
8
4
 
9
5
  appraise "rails_8.0" do
10
6
  gem "railties", "~> 8.0.0"
11
- gem 'sqlite3', '>= 2.1'
7
+ gem "sqlite3", ">= 2.1"
8
+ end
9
+ appraise "rails_8.1" do
10
+ gem "railties", "~> 8.1.0"
12
11
  end
data/CHANGELOG.md CHANGED
@@ -5,7 +5,74 @@ 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.10.0...main
8
+ [Unreleased]: https://github.com/thoughtbot/clearance/compare/v2.12.0...main
9
+
10
+ ## [2.12.0] - April 17, 2026
11
+
12
+ Highlights of this release:
13
+
14
+ * Remove support for Ruby 3.2.9
15
+ * Bump ruby 3.3.9 to 3.3.11
16
+ * Make ruby 3.3.11 the minimum required version
17
+ * Bump ruby 3.4.5 to 3.4.9
18
+ * Add ruby 4.0.2
19
+ * Remove RoR 7.1.0 support
20
+ * Add RoR 8.1.0 support
21
+
22
+ All changes:
23
+
24
+ - Bump shoulda-matchers from 5.1.0 to 6.5.0 (#1066)
25
+ - Bump nokogiri from 1.18.9 to 1.18.10 (#1067)
26
+ - Bump standard from 1.50.0 to 1.51.1 (#1068)
27
+ - Bump database_cleaner from 2.0.1 to 2.1.0 (#1069)
28
+ - Bump timecop from 0.9.5 to 0.9.10 (#1070)
29
+ - Bump github/codeql-action from 3 to 4 (#1072)
30
+ - Bump rack from 3.1.16 to 3.1.18 (#1073)
31
+ - Bump railties from 7.2.2.2 to 7.2.3 (#1074)
32
+ - Bump standard from 1.51.1 to 1.52.0 (#1079)
33
+ - Bump actions/checkout from 5 to 6 (#1080)
34
+ - Bump addressable from 2.8.7 to 2.8.8 (#1081)
35
+ - Bump sqlite3 from 2.7.4 to 2.8.1 (#1082)
36
+ - Remove CodeClimate badge (broken) (#1084) Valeria Graffeo
37
+ - Replace obsolete unprocessable_entity with unprocessable_content (#1085) Sara Jackson
38
+ - Upgrade Ruby and Rails versions (#1088) Fernando Perales
39
+ - Bump rack-session from 2.1.1 to 2.1.2 (#1089)
40
+ - Bump activesupport from 7.2.3 to 7.2.3.1 (#1090)
41
+ - Bump addressable from 2.8.8 to 2.9.0 (#1091)
42
+ - Bump bcrypt from 3.1.20 to 3.1.22 (#1092)
43
+ - Bump standard from 1.52.0 to 1.54.0 (#1093)
44
+ - Bump pry from 0.15.2 to 0.16.0 (#1094)
45
+ - Bump shoulda-matchers from 6.5.0 to 7.0.1 (#1095)
46
+ - Bump json from 2.16.0 to 2.17.1.2 (#1096)
47
+ - Bump nokogiri from 1.18.10 to 1.19.2 (#1099)
48
+ - Add missing permissions to GitHub Actions jobs (#1100) Fernando Perales
49
+ - Bump rspec-rails from 8.0.2 to 8.0.4 (#1101)
50
+ - Bump sqlite3 from 2.8.1 to 2.9.2 (#1104)
51
+ - Bump ffi from 1.17.2 to 1.17.4 (#1103)
52
+ - Bump timecop from 0.9.10 to 0.9.11 (#1105)
53
+ - Bump argon2 from 2.3.2 to 2.3.3 (#1102)
54
+
55
+ [2.12.0]: https://github.com/thoughtbot/clearance/compare/v2.11.0...v2.12.0
56
+
57
+ ## [2.11.0] - September 26, 2025
58
+ - Bump actions/checkout from 4 to 5 for tests workflow (#1051)
59
+ - Bump nokogiri from 1.18.6 to 1.18.9 (#1052)
60
+ - Bump Ruby 3.2.8 to 3.2.9 (#1053)
61
+ - Bump Ruby 3.3.7 to 3.3.9 (#1053)
62
+ - Add support for Ruby 3.4.5 (#1053)
63
+ - Add Standardrb (#1021) Mina Slater, Sara Jackson, and Fernando Perales
64
+ - Add code quality workflow (#1033) Sara Jackson and Fernando Perales
65
+ - Use latest version of code scanning (#1054)
66
+ - Update CodeQL settings: (#1055)
67
+ - Bump actions/checkout from 4 to 5 for standardrb workflow (#1056)
68
+ - Bump rspec-rails from 5.1.2 to 8.0.2 (#1057)
69
+ - Bump sqlite3 from 1.7.3 to 2.7.4 (#1062)
70
+ - Bump pry from 0.14.1 to 0.15.2 (#1059)
71
+ - Bump ammeter from 1.1.5 to 1.1.7 (#1060)
72
+ - Bump ffi from 1.16.3 to 1.17.2
73
+ - Bump net-imap from 0.4.14 to 0.4.20 (#1063)
74
+
75
+ [2.11.0]: https://github.com/thoughtbot/clearance/compare/v2.10.0...v2.11.0
9
76
 
10
77
  ## [2.10.0] - March 28, 2025
11
78
  - Drop support for Rails 7.0 and Ruby 3.1 (#1045)
data/CODEOWNERS CHANGED
@@ -1 +1,3 @@
1
1
  * @sej3506
2
+ * @rdnewmanbot
3
+ * @ferperales
data/Gemfile CHANGED
@@ -1,17 +1,21 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
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', '~> 1.7'
5
+ gem "addressable"
6
+ gem "ammeter"
7
+ gem "appraisal"
8
+ gem "benchmark"
9
+ gem "capybara"
10
+ gem "database_cleaner"
11
+ gem "erb_lint", require: false
12
+ gem "factory_bot_rails"
13
+ gem "ffi", "< 1.18.0"
14
+ gem "nokogiri"
15
+ gem "pry", require: false
16
+ gem "rails-controller-testing"
17
+ gem "rspec-rails"
18
+ gem "shoulda-matchers"
19
+ gem "sqlite3", "~> 2.9"
20
+ gem "standard", ">= 1.35.1", require: false
21
+ gem "timecop"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clearance (2.10.0)
4
+ clearance (2.12.0)
5
5
  actionmailer (>= 5.0)
6
6
  activemodel (>= 5.0)
7
7
  activerecord (>= 5.0)
@@ -13,52 +13,53 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actionmailer (7.2.0)
17
- actionpack (= 7.2.0)
18
- actionview (= 7.2.0)
19
- activejob (= 7.2.0)
20
- activesupport (= 7.2.0)
16
+ actionmailer (8.1.3)
17
+ actionpack (= 8.1.3)
18
+ actionview (= 8.1.3)
19
+ activejob (= 8.1.3)
20
+ activesupport (= 8.1.3)
21
21
  mail (>= 2.8.0)
22
22
  rails-dom-testing (~> 2.2)
23
- actionpack (7.2.0)
24
- actionview (= 7.2.0)
25
- activesupport (= 7.2.0)
23
+ actionpack (8.1.3)
24
+ actionview (= 8.1.3)
25
+ activesupport (= 8.1.3)
26
26
  nokogiri (>= 1.8.5)
27
- racc
28
- rack (>= 2.2.4, < 3.2)
27
+ rack (>= 2.2.4)
29
28
  rack-session (>= 1.0.1)
30
29
  rack-test (>= 0.6.3)
31
30
  rails-dom-testing (~> 2.2)
32
31
  rails-html-sanitizer (~> 1.6)
33
32
  useragent (~> 0.16)
34
- actionview (7.2.0)
35
- activesupport (= 7.2.0)
33
+ actionview (8.1.3)
34
+ activesupport (= 8.1.3)
36
35
  builder (~> 3.1)
37
36
  erubi (~> 1.11)
38
37
  rails-dom-testing (~> 2.2)
39
38
  rails-html-sanitizer (~> 1.6)
40
- activejob (7.2.0)
41
- activesupport (= 7.2.0)
39
+ activejob (8.1.3)
40
+ activesupport (= 8.1.3)
42
41
  globalid (>= 0.3.6)
43
- activemodel (7.2.0)
44
- activesupport (= 7.2.0)
45
- activerecord (7.2.0)
46
- activemodel (= 7.2.0)
47
- activesupport (= 7.2.0)
42
+ activemodel (8.1.3)
43
+ activesupport (= 8.1.3)
44
+ activerecord (8.1.3)
45
+ activemodel (= 8.1.3)
46
+ activesupport (= 8.1.3)
48
47
  timeout (>= 0.4.0)
49
- activesupport (7.2.0)
48
+ activesupport (8.1.3)
50
49
  base64
51
50
  bigdecimal
52
51
  concurrent-ruby (~> 1.0, >= 1.3.1)
53
52
  connection_pool (>= 2.2.5)
54
53
  drb
55
54
  i18n (>= 1.6, < 2)
55
+ json
56
56
  logger (>= 1.4.2)
57
57
  minitest (>= 5.1)
58
58
  securerandom (>= 0.3)
59
59
  tzinfo (~> 2.0, >= 2.0.5)
60
- addressable (2.8.7)
61
- public_suffix (>= 2.0.2, < 7.0)
60
+ uri (>= 0.13.1)
61
+ addressable (2.9.0)
62
+ public_suffix (>= 2.0.2, < 8.0)
62
63
  ammeter (1.1.7)
63
64
  activesupport (>= 3.0)
64
65
  railties (>= 3.0)
@@ -67,12 +68,13 @@ GEM
67
68
  bundler
68
69
  rake
69
70
  thor (>= 0.14.0)
70
- argon2 (2.3.2)
71
+ argon2 (2.3.3)
71
72
  ffi (~> 1.15)
72
73
  ffi-compiler (~> 1.0)
73
74
  ast (2.4.3)
74
- base64 (0.2.0)
75
- bcrypt (3.1.20)
75
+ base64 (0.3.0)
76
+ bcrypt (3.1.22)
77
+ benchmark (0.5.0)
76
78
  better_html (2.1.1)
77
79
  actionview (>= 6.0)
78
80
  activesupport (>= 6.0)
@@ -80,7 +82,7 @@ GEM
80
82
  erubi (~> 1.4)
81
83
  parser (>= 2.4)
82
84
  smart_properties
83
- bigdecimal (3.1.9)
85
+ bigdecimal (4.1.1)
84
86
  builder (3.3.0)
85
87
  capybara (3.40.0)
86
88
  addressable
@@ -92,20 +94,21 @@ GEM
92
94
  regexp_parser (>= 1.5, < 3.0)
93
95
  xpath (~> 3.2)
94
96
  coderay (1.1.3)
95
- concurrent-ruby (1.3.5)
96
- connection_pool (2.5.0)
97
+ concurrent-ruby (1.3.6)
98
+ connection_pool (3.0.2)
97
99
  crass (1.0.6)
98
- database_cleaner (2.0.2)
100
+ database_cleaner (2.1.0)
99
101
  database_cleaner-active_record (>= 2, < 3)
100
- database_cleaner-active_record (2.2.0)
102
+ database_cleaner-active_record (2.2.2)
101
103
  activerecord (>= 5.a)
102
- database_cleaner-core (~> 2.0.0)
104
+ database_cleaner-core (~> 2.0)
103
105
  database_cleaner-core (2.0.1)
104
- date (3.4.1)
105
- diff-lcs (1.5.1)
106
- drb (2.2.1)
106
+ date (3.5.1)
107
+ diff-lcs (1.6.2)
108
+ drb (2.2.3)
107
109
  email_validator (2.2.4)
108
110
  activemodel
111
+ erb (6.0.2)
109
112
  erb_lint (0.9.0)
110
113
  activesupport
111
114
  better_html (>= 2.0.1)
@@ -114,28 +117,31 @@ GEM
114
117
  rubocop (>= 1)
115
118
  smart_properties
116
119
  erubi (1.13.1)
117
- factory_bot (6.4.6)
118
- activesupport (>= 5.0.0)
119
- factory_bot_rails (6.4.3)
120
- factory_bot (~> 6.4)
121
- railties (>= 5.0.0)
122
- ffi (1.17.1)
120
+ factory_bot (6.5.5)
121
+ activesupport (>= 6.1.0)
122
+ factory_bot_rails (6.5.1)
123
+ factory_bot (~> 6.5)
124
+ railties (>= 6.1.0)
125
+ ffi (1.17.4-arm64-darwin)
126
+ ffi (1.17.4-x86_64-linux-gnu)
123
127
  ffi-compiler (1.3.2)
124
128
  ffi (>= 1.15.5)
125
129
  rake
126
130
  globalid (1.2.1)
127
131
  activesupport (>= 6.1)
128
- i18n (1.14.7)
132
+ i18n (1.14.8)
129
133
  concurrent-ruby (~> 1.0)
130
- io-console (0.7.2)
131
- irb (1.14.0)
134
+ io-console (0.8.2)
135
+ irb (1.17.0)
136
+ pp (>= 0.6.0)
137
+ prism (>= 1.3.0)
132
138
  rdoc (>= 4.0.0)
133
139
  reline (>= 0.4.2)
134
- json (2.10.2)
135
- language_server-protocol (3.17.0.4)
140
+ json (2.19.3)
141
+ language_server-protocol (3.17.0.5)
136
142
  lint_roller (1.1.0)
137
143
  logger (1.7.0)
138
- loofah (2.24.0)
144
+ loofah (2.25.1)
139
145
  crass (~> 1.0.2)
140
146
  nokogiri (>= 1.12.0)
141
147
  mail (2.8.1)
@@ -143,12 +149,13 @@ GEM
143
149
  net-imap
144
150
  net-pop
145
151
  net-smtp
146
- matrix (0.4.2)
152
+ matrix (0.4.3)
147
153
  method_source (1.1.0)
148
154
  mini_mime (1.1.5)
149
- mini_portile2 (2.8.8)
150
- minitest (5.25.5)
151
- net-imap (0.5.6)
155
+ minitest (6.0.3)
156
+ drb (~> 2.0)
157
+ prism (~> 1.5)
158
+ net-imap (0.4.20)
152
159
  date
153
160
  net-protocol
154
161
  net-pop (0.1.2)
@@ -157,73 +164,82 @@ GEM
157
164
  timeout
158
165
  net-smtp (0.5.1)
159
166
  net-protocol
160
- nokogiri (1.18.6)
161
- mini_portile2 (~> 2.8.2)
167
+ nokogiri (1.19.2-arm64-darwin)
168
+ racc (~> 1.4)
169
+ nokogiri (1.19.2-x86_64-linux-gnu)
162
170
  racc (~> 1.4)
163
- parallel (1.26.3)
164
- parser (3.3.7.3)
171
+ parallel (1.28.0)
172
+ parser (3.3.11.1)
165
173
  ast (~> 2.4.1)
166
174
  racc
167
- prism (1.4.0)
168
- pry (0.14.2)
175
+ pp (0.6.3)
176
+ prettyprint
177
+ prettyprint (0.2.0)
178
+ prism (1.9.0)
179
+ pry (0.16.0)
169
180
  coderay (~> 1.1)
170
181
  method_source (~> 1.0)
171
- psych (5.1.2)
182
+ reline (>= 0.6.0)
183
+ psych (5.3.1)
184
+ date
172
185
  stringio
173
- public_suffix (6.0.1)
186
+ public_suffix (7.0.5)
174
187
  racc (1.8.1)
175
- rack (3.1.7)
176
- rack-session (2.0.0)
188
+ rack (3.2.6)
189
+ rack-session (2.1.2)
190
+ base64 (>= 0.1.0)
177
191
  rack (>= 3.0.0)
178
- rack-test (2.1.0)
192
+ rack-test (2.2.0)
179
193
  rack (>= 1.3)
180
- rackup (2.1.0)
194
+ rackup (2.3.1)
181
195
  rack (>= 3)
182
- webrick (~> 1.8)
183
196
  rails-controller-testing (1.0.5)
184
197
  actionpack (>= 5.0.1.rc1)
185
198
  actionview (>= 5.0.1.rc1)
186
199
  activesupport (>= 5.0.1.rc1)
187
- rails-dom-testing (2.2.0)
200
+ rails-dom-testing (2.3.0)
188
201
  activesupport (>= 5.0.0)
189
202
  minitest
190
203
  nokogiri (>= 1.6)
191
- rails-html-sanitizer (1.6.2)
192
- loofah (~> 2.21)
204
+ rails-html-sanitizer (1.7.0)
205
+ loofah (~> 2.25)
193
206
  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)
194
- railties (7.2.0)
195
- actionpack (= 7.2.0)
196
- activesupport (= 7.2.0)
207
+ railties (8.1.3)
208
+ actionpack (= 8.1.3)
209
+ activesupport (= 8.1.3)
197
210
  irb (~> 1.13)
198
211
  rackup (>= 1.0.0)
199
212
  rake (>= 12.2)
200
213
  thor (~> 1.0, >= 1.2.2)
214
+ tsort (>= 0.2)
201
215
  zeitwerk (~> 2.6)
202
216
  rainbow (3.1.1)
203
- rake (13.2.1)
204
- rdoc (6.7.0)
217
+ rake (13.3.1)
218
+ rdoc (7.2.0)
219
+ erb
205
220
  psych (>= 4.0.0)
206
- regexp_parser (2.10.0)
207
- reline (0.5.9)
221
+ tsort
222
+ regexp_parser (2.12.0)
223
+ reline (0.6.3)
208
224
  io-console (~> 0.5)
209
- rspec-core (3.13.0)
225
+ rspec-core (3.13.6)
210
226
  rspec-support (~> 3.13.0)
211
- rspec-expectations (3.13.1)
227
+ rspec-expectations (3.13.5)
212
228
  diff-lcs (>= 1.2.0, < 2.0)
213
229
  rspec-support (~> 3.13.0)
214
- rspec-mocks (3.13.1)
230
+ rspec-mocks (3.13.8)
215
231
  diff-lcs (>= 1.2.0, < 2.0)
216
232
  rspec-support (~> 3.13.0)
217
- rspec-rails (6.1.4)
218
- actionpack (>= 6.1)
219
- activesupport (>= 6.1)
220
- railties (>= 6.1)
221
- rspec-core (~> 3.13)
222
- rspec-expectations (~> 3.13)
223
- rspec-mocks (~> 3.13)
224
- rspec-support (~> 3.13)
225
- rspec-support (3.13.1)
226
- rubocop (1.75.1)
233
+ rspec-rails (8.0.4)
234
+ actionpack (>= 7.2)
235
+ activesupport (>= 7.2)
236
+ railties (>= 7.2)
237
+ rspec-core (>= 3.13.0, < 5.0.0)
238
+ rspec-expectations (>= 3.13.0, < 5.0.0)
239
+ rspec-mocks (>= 3.13.0, < 5.0.0)
240
+ rspec-support (>= 3.13.0, < 5.0.0)
241
+ rspec-support (3.13.7)
242
+ rubocop (1.84.2)
227
243
  json (~> 2.3)
228
244
  language_server-protocol (~> 3.17.0.2)
229
245
  lint_roller (~> 1.1.0)
@@ -231,51 +247,75 @@ GEM
231
247
  parser (>= 3.3.0.2)
232
248
  rainbow (>= 2.2.2, < 4.0)
233
249
  regexp_parser (>= 2.9.3, < 3.0)
234
- rubocop-ast (>= 1.43.0, < 2.0)
250
+ rubocop-ast (>= 1.49.0, < 2.0)
235
251
  ruby-progressbar (~> 1.7)
236
252
  unicode-display_width (>= 2.4.0, < 4.0)
237
- rubocop-ast (1.43.0)
253
+ rubocop-ast (1.49.1)
238
254
  parser (>= 3.3.7.2)
239
- prism (~> 1.4)
255
+ prism (~> 1.7)
256
+ rubocop-performance (1.26.1)
257
+ lint_roller (~> 1.1)
258
+ rubocop (>= 1.75.0, < 2.0)
259
+ rubocop-ast (>= 1.47.1, < 2.0)
240
260
  ruby-progressbar (1.13.0)
241
261
  securerandom (0.4.1)
242
- shoulda-matchers (6.4.0)
243
- activesupport (>= 5.2.0)
262
+ shoulda-matchers (7.0.1)
263
+ activesupport (>= 7.1)
244
264
  smart_properties (1.17.0)
245
- sqlite3 (1.7.3)
246
- mini_portile2 (~> 2.8.0)
247
- stringio (3.1.1)
248
- thor (1.3.1)
249
- timeout (0.4.1)
265
+ sqlite3 (2.9.2-arm64-darwin)
266
+ sqlite3 (2.9.2-x86_64-linux-gnu)
267
+ standard (1.54.0)
268
+ language_server-protocol (~> 3.17.0.2)
269
+ lint_roller (~> 1.0)
270
+ rubocop (~> 1.84.0)
271
+ standard-custom (~> 1.0.0)
272
+ standard-performance (~> 1.8)
273
+ standard-custom (1.0.2)
274
+ lint_roller (~> 1.0)
275
+ rubocop (~> 1.50)
276
+ standard-performance (1.9.0)
277
+ lint_roller (~> 1.1)
278
+ rubocop-performance (~> 1.26.0)
279
+ stringio (3.2.0)
280
+ thor (1.5.0)
281
+ timecop (0.9.11)
282
+ timeout (0.4.3)
283
+ tsort (0.2.0)
250
284
  tzinfo (2.0.6)
251
285
  concurrent-ruby (~> 1.0)
252
- unicode-display_width (3.1.4)
253
- unicode-emoji (~> 4.0, >= 4.0.4)
254
- unicode-emoji (4.0.4)
255
- useragent (0.16.10)
256
- webrick (1.8.1)
286
+ unicode-display_width (3.2.0)
287
+ unicode-emoji (~> 4.1)
288
+ unicode-emoji (4.2.0)
289
+ uri (1.1.1)
290
+ useragent (0.16.11)
257
291
  xpath (3.2.0)
258
292
  nokogiri (~> 1.8)
259
- zeitwerk (2.6.17)
293
+ zeitwerk (2.7.5)
260
294
 
261
295
  PLATFORMS
262
- ruby
296
+ arm64-darwin-24
297
+ arm64-darwin-25
298
+ x86_64-linux
263
299
 
264
300
  DEPENDENCIES
265
301
  addressable
266
302
  ammeter
267
303
  appraisal
304
+ benchmark
268
305
  capybara
269
306
  clearance!
270
307
  database_cleaner
271
308
  erb_lint
272
309
  factory_bot_rails
310
+ ffi (< 1.18.0)
273
311
  nokogiri
274
312
  pry
275
313
  rails-controller-testing
276
314
  rspec-rails
277
315
  shoulda-matchers
278
- sqlite3 (~> 1.7)
316
+ sqlite3 (~> 2.9)
317
+ standard (>= 1.35.1)
318
+ timecop
279
319
 
280
320
  BUNDLED WITH
281
- 2.3.15
321
+ 2.5.6
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Clearance
2
2
 
3
3
  [![Build Status](https://github.com/thoughtbot/clearance/actions/workflows/tests.yml/badge.svg)]( https://github.com/thoughtbot/clearance/actions/workflows/tests.yml?query=branch%3Amain)
4
- [![Code Climate](https://codeclimate.com/github/thoughtbot/clearance.svg)](https://codeclimate.com/github/thoughtbot/clearance)
5
4
  [![Documentation Quality](https://inch-ci.org/github/thoughtbot/clearance.svg?branch=main)](https://inch-ci.org/github/thoughtbot/clearance)
6
5
 
7
6
  Rails authentication with email & password.
@@ -18,7 +17,7 @@ monitored by contributors.
18
17
 
19
18
  ## Getting Started
20
19
 
21
- Clearance is a Rails engine tested against Rails `>= 7.1` and Ruby `>= 3.2.8`.
20
+ Clearance is a Rails engine tested against Rails `>= 7.2` and Ruby `>= 3.3.11`.
22
21
 
23
22
  You can add it to your Gemfile with:
24
23
 
@@ -511,5 +510,4 @@ We are [available for hire][hire].
511
510
  [community]: https://thoughtbot.com/community?utm_source=github
512
511
  [hire]: https://thoughtbot.com/hire-us?utm_source=github
513
512
 
514
-
515
513
  <!-- END /templates/footer.md -->