minimalist_authentication 3.2.2 → 3.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1755b9e403888ec8c63f8e41fd9a1286a45a983a7860e2e929bae4b8f2743cf
4
- data.tar.gz: b8463c45d6240b16fff848d553050c14c8d3c3ddc3a2d6520e67860a1b59bf5d
3
+ metadata.gz: f0e7fbd42fef46be26f68d4df9257963d7f694405da2f863fa0a34d04d4c390d
4
+ data.tar.gz: d10c06d41126ff04dc4e09fa3ebfa80c3aa29a479b1893c3c0a8ed583b204da3
5
5
  SHA512:
6
- metadata.gz: 6cffe51b8c6d48b71241e390fa79c46ec45fba7ee4cca744c079f6f6db0be88f5311424f0f615d183b6aec9bb685e25a5c2135360bec5e19d35cc23374dda27a
7
- data.tar.gz: 10a06e82b2fdb2a22f59842221959408b49b43d7df801560d741179884beb192bde9c6d78e7972ecf30b2ee5f8ea603235d2f561c8913d2646ffc1e0fc0a3355
6
+ metadata.gz: aea05763f08f292f4464b94ff5c594523203c0d191a8b8ca3e9e3a315873290666c8314c5603f648d05535ddbecd2ef62d65c56925c7b0e7d9332bd236a87a19
7
+ data.tar.gz: acfa6f1729a24eb67a3d0d76ec7db12b67c19f4c7b52a81867b63859b3f8fceb2981e4a025a8039fc5d0f47e3de874e7f716c714a8860cf86a4acaa54ea74c38
data/Rakefile CHANGED
@@ -5,6 +5,4 @@ require "bundler/setup"
5
5
  APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
6
6
  load "rails/tasks/engine.rake"
7
7
 
8
- load "rails/tasks/statistics.rake"
9
-
10
8
  require "bundler/gem_tasks"
@@ -7,7 +7,7 @@ class EmailsController < ApplicationController
7
7
  if current_user.update(user_params)
8
8
  redirect_to update_redirect_path, notice: t(".notice")
9
9
  else
10
- render :edit, status: :unprocessable_entity
10
+ render :edit, status: :unprocessable_content
11
11
  end
12
12
  end
13
13
 
@@ -19,7 +19,7 @@ class PasswordResetsController < ApplicationController
19
19
  redirect_to new_session_path, notice: t(".notice", email:)
20
20
  else
21
21
  flash.now.alert = t(".alert")
22
- render :new, status: :unprocessable_entity
22
+ render :new, status: :unprocessable_content
23
23
  end
24
24
  end
25
25
 
@@ -17,7 +17,7 @@ class PasswordsController < ApplicationController
17
17
  if user.update(password_params)
18
18
  redirect_to new_session_path, notice: t(".notice")
19
19
  else
20
- render :edit, status: :unprocessable_entity
20
+ render :edit, status: :unprocessable_content
21
21
  end
22
22
  end
23
23
 
@@ -76,7 +76,7 @@ module MinimalistAuthentication
76
76
  def after_authentication_failure
77
77
  flash.now.alert = t(".alert", identifier:)
78
78
  user
79
- render :new, status: :unprocessable_entity
79
+ render :new, status: :unprocessable_content
80
80
  end
81
81
 
82
82
  def identifier
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MinimalistAuthentication
4
- VERSION = "3.2.2"
4
+ VERSION = "3.2.4"
5
5
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimalist_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Baldwin
8
8
  - Brightways Learning
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-12-02 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bcrypt
@@ -97,7 +96,6 @@ licenses:
97
96
  metadata:
98
97
  homepage_uri: https://github.com/wwidea/minimalist_authentication
99
98
  rubygems_mfa_required: 'true'
100
- post_install_message:
101
99
  rdoc_options: []
102
100
  require_paths:
103
101
  - lib
@@ -112,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
110
  - !ruby/object:Gem::Version
113
111
  version: '0'
114
112
  requirements: []
115
- rubygems_version: 3.5.11
116
- signing_key:
113
+ rubygems_version: 3.7.2
117
114
  specification_version: 4
118
115
  summary: A Rails authentication plugin that takes a minimalist approach.
119
116
  test_files: []