diff --git a/Gemfile b/Gemfile index a8a249e1..ace9bfc0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" -gem "rails", "~> 8.0.4" +gem "rails", "~> 8.1.4" # Use postgresql as the database for Active Record gem "pg", "~> 1.6" # Use the Puma web server [https://github.com/puma/puma] @@ -108,7 +108,7 @@ gem "valid_email2", github: "24c02/valid_email2" gem "rails_semantic_logger", "~> 4.19" -gem "acts_as_paranoid", "~> 0.10.3" +gem "acts_as_paranoid", "~> 0.11.0" gem "console1984", "~> 0.2.3" diff --git a/Gemfile.lock b/Gemfile.lock index eb316d54..1b3d00a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,29 +11,31 @@ GEM specs: aasm (5.5.2) concurrent-ruby (~> 1.0) - actioncable (8.0.5.1) - actionpack (= 8.0.5.1) - activesupport (= 8.0.5.1) + action_text-trix (2.1.19) + railties + actioncable (8.1.4) + actionpack (= 8.1.4) + activesupport (= 8.1.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (8.0.5.1) - actionpack (= 8.0.5.1) - activejob (= 8.0.5.1) - activerecord (= 8.0.5.1) - activestorage (= 8.0.5.1) - activesupport (= 8.0.5.1) + actionmailbox (8.1.4) + actionpack (= 8.1.4) + activejob (= 8.1.4) + activerecord (= 8.1.4) + activestorage (= 8.1.4) + activesupport (= 8.1.4) mail (>= 2.8.0) - actionmailer (8.0.5.1) - actionpack (= 8.0.5.1) - actionview (= 8.0.5.1) - activejob (= 8.0.5.1) - activesupport (= 8.0.5.1) + actionmailer (8.1.4) + actionpack (= 8.1.4) + actionview (= 8.1.4) + activejob (= 8.1.4) + activesupport (= 8.1.4) mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (8.0.5.1) - actionview (= 8.0.5.1) - activesupport (= 8.0.5.1) + actionpack (8.1.4) + actionview (= 8.1.4) + activesupport (= 8.1.4) nokogiri (>= 1.8.5) rack (>= 2.2.4) rack-session (>= 1.0.1) @@ -41,15 +43,16 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actiontext (8.0.5.1) - actionpack (= 8.0.5.1) - activerecord (= 8.0.5.1) - activestorage (= 8.0.5.1) - activesupport (= 8.0.5.1) + actiontext (8.1.4) + action_text-trix (~> 2.1.15) + actionpack (= 8.1.4) + activerecord (= 8.1.4) + activestorage (= 8.1.4) + activesupport (= 8.1.4) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (8.0.5.1) - activesupport (= 8.0.5.1) + actionview (8.1.4) + activesupport (= 8.1.4) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) @@ -59,37 +62,37 @@ GEM block_cipher_kit (>= 0.0.4) rails (>= 7.2.2.1) serve_byte_range (~> 1.0) - activejob (8.0.5.1) - activesupport (= 8.0.5.1) + activejob (8.1.4) + activesupport (= 8.1.4) globalid (>= 0.3.6) - activemodel (8.0.5.1) - activesupport (= 8.0.5.1) - activerecord (8.0.5.1) - activemodel (= 8.0.5.1) - activesupport (= 8.0.5.1) + activemodel (8.1.4) + activesupport (= 8.1.4) + activerecord (8.1.4) + activemodel (= 8.1.4) + activesupport (= 8.1.4) timeout (>= 0.4.0) - activestorage (8.0.5.1) - actionpack (= 8.0.5.1) - activejob (= 8.0.5.1) - activerecord (= 8.0.5.1) - activesupport (= 8.0.5.1) + activestorage (8.1.4) + actionpack (= 8.1.4) + activejob (= 8.1.4) + activerecord (= 8.1.4) + activesupport (= 8.1.4) marcel (~> 1.0) - activesupport (8.0.5.1) + activesupport (8.1.4) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) uri (>= 0.13.1) - acts_as_paranoid (0.10.3) - activerecord (>= 6.1, < 8.1) - activesupport (>= 6.1, < 8.1) + acts_as_paranoid (0.11.0) + activerecord (>= 6.1, < 8.2) + activesupport (>= 6.1, < 8.2) addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) ahoy_matey (5.4.1) @@ -130,7 +133,6 @@ GEM aws-eventstream (~> 1, >= 1.0.2) base64 (0.3.0) bcrypt (3.1.21) - benchmark (0.5.0) better_html (2.2.0) actionview (>= 7.0) activesupport (>= 7.0) @@ -147,7 +149,7 @@ GEM block_cipher_kit (0.0.4) bootsnap (1.23.0) msgpack (~> 1.2) - brakeman (8.0.6) + brakeman (8.1.0) racc browser (6.2.0) builder (3.3.0) @@ -463,20 +465,20 @@ GEM rack (>= 1.3) rackup (2.3.1) rack (>= 3) - rails (8.0.5.1) - actioncable (= 8.0.5.1) - actionmailbox (= 8.0.5.1) - actionmailer (= 8.0.5.1) - actionpack (= 8.0.5.1) - actiontext (= 8.0.5.1) - actionview (= 8.0.5.1) - activejob (= 8.0.5.1) - activemodel (= 8.0.5.1) - activerecord (= 8.0.5.1) - activestorage (= 8.0.5.1) - activesupport (= 8.0.5.1) + rails (8.1.4) + actioncable (= 8.1.4) + actionmailbox (= 8.1.4) + actionmailer (= 8.1.4) + actionpack (= 8.1.4) + actiontext (= 8.1.4) + actionview (= 8.1.4) + activejob (= 8.1.4) + activemodel (= 8.1.4) + activerecord (= 8.1.4) + activestorage (= 8.1.4) + activesupport (= 8.1.4) bundler (>= 1.15.0) - railties (= 8.0.5.1) + railties (= 8.1.4) rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest @@ -488,9 +490,9 @@ GEM rack railties (>= 5.1) semantic_logger (~> 4.16) - railties (8.0.5.1) - actionpack (= 8.0.5.1) - activesupport (= 8.0.5.1) + railties (8.1.4) + actionpack (= 8.1.4) + activesupport (= 8.1.4) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) @@ -677,7 +679,7 @@ PLATFORMS DEPENDENCIES aasm (~> 5.5) active_storage_encryption (~> 0.3.0) - acts_as_paranoid (~> 0.10.3) + acts_as_paranoid (~> 0.11.0) ahoy_matey (~> 5.4) annotaterb (~> 4.22) audits1984 (~> 0.1.7) @@ -729,7 +731,7 @@ DEPENDENCIES puma (>= 5.0) pundit (~> 2.5) rack-attack (~> 6.8) - rails (~> 8.0.4) + rails (~> 8.1.4) rails_semantic_logger (~> 4.19) redcarpet (~> 3.6) rexml diff --git a/app/models/identity/backup_code.rb b/app/models/identity/backup_code.rb index d8c1b6ba..1d4e4fc3 100644 --- a/app/models/identity/backup_code.rb +++ b/app/models/identity/backup_code.rb @@ -27,7 +27,7 @@ class Identity::BackupCode < ApplicationRecord end end event :mark_discarded do - transitions from: [:active, :previewed], to: :discarded + transitions from: [ :active, :previewed ], to: :discarded end end diff --git a/app/views/identities/new.html.erb b/app/views/identities/new.html.erb index 34b18b28..14465ea9 100644 --- a/app/views/identities/new.html.erb +++ b/app/views/identities/new.html.erb @@ -34,7 +34,7 @@ - <%= t(".email_typo", suggested: ERB::Util.html_escape(@identity.suggested_email)).html_safe %> + <%= t(".email_typo_html", suggested: @identity.suggested_email) %>