minimalist_authentication 2.5.1 → 2.5.2

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: 7d59f6a8045fd0f25d5e142e38c5080a084c1d7df63963fdb9e6fa161bd3516b
4
- data.tar.gz: 28cbe52a31186ed03df8d988474d2d7419c6ba19dc678608a0d2502b698e30b5
3
+ metadata.gz: 84db557ccbc7f085f52ff84ffedd5f174e8e3b14e7a2364389fe256b8373c120
4
+ data.tar.gz: fec50087c8cb8098e16d57fbf429096dbc43c87d66d9155947dd807cc54e5c99
5
5
  SHA512:
6
- metadata.gz: 3affcfacdbe213d469c484c0759a5038a90d99afea3d869db514e5ddc47575459a8c5b678aeb9259c008a5d1b89b89247eac9887d92de4812bd3f3825c1d40d6
7
- data.tar.gz: 9a60f4023d3c414817f2a514e135d2e23865c478f8d94f2aab41f5b83f31300f9ea403e845c27014fdd659abc632ac77963924ed9f51e3fdf1f85d58a62e7883
6
+ metadata.gz: bca2d80847868c1929355733baab209436d7cfb0caa09289371626fa199924171e13359e2b3c38403cb30e8038614652cd042f903321622dfaca3d1582e179f3
7
+ data.tar.gz: ceed88e53ee975e757c9fd939e2e68a838f9219cfe8afd7b4a266f907521ecc5c70f15b68376f4f2764f52944709e9e0ef4a6f7a9554ae54ca3b87ce97a8a001
@@ -46,7 +46,7 @@ module MinimalistAuthentication
46
46
  end
47
47
 
48
48
  def store_location
49
- session["return_to"] = request.fullpath
49
+ session["return_to"] = url_for(request.params.merge(format: :html, only_path: true))
50
50
  end
51
51
 
52
52
  def redirect_back_or_default(default)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MinimalistAuthentication
4
- VERSION = "2.5.1"
4
+ VERSION = "2.5.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimalist_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Baldwin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-07-19 00:00:00.000000000 Z
12
+ date: 2023-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bcrypt