alchemy-devise 7.1.1 → 7.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c99ecf3c8d827d90ffe05facf702a8b7cfb0ced7bc8e594b9d8f63b8227e92ac
4
- data.tar.gz: d08161106f50eae30bc181fccbb67a21b5964262eef76add1c73309eada6fcff
3
+ metadata.gz: 7dba17f7796f78c02350259cc911af0f7a282da96a067350e68e07a2af10643e
4
+ data.tar.gz: 115b4571d47e99323d9d68d7b1ecd5347eb8ac3a0e42fd503d378cd0e237c192
5
5
  SHA512:
6
- metadata.gz: de9e8c6df05b228b5418184f79d1981a08fc186ca829148481932dcf076570ea8069276654f6caac7e6d1aa84b16e03a02b69c3b1f3d9f1a3a1b16d722f62650
7
- data.tar.gz: e46dbaed1f1295453d89109ac65916e5adf254157fcb5192c8568cd034fbf69990259858dcdcf6ac0ceb70aaf95c3faddfd6caf446a0475c64b98e1685809a5c
6
+ metadata.gz: 5540972780cc1d5c00986f8691890882c48ba95616a693424fa9fee6e78b5a317c09c213693d325b33612a02d746ced546d31b9874717d1d8b22dc2eb71704a7
7
+ data.tar.gz: 8f319ab62741f16116de9171d18f84115d2d51a5152507d0dd07f7f56f4c0c3b712c27cbe03fab1c79f0c980b76baf5254e749f44df5094de3ac94ff483693ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.1.2 (2024-02-29)
4
+
5
+ - Allow setting a layout for user_sessions and passwords controller [#127](https://github.com/AlchemyCMS/alchemy-devise/pull/127) ([robinboening](https://github.com/robinboening))
6
+
3
7
  ## 7.1.1 (2023-01-12)
4
8
 
5
9
  - Alchemy 7.1 UI fixes [#195](https://github.com/AlchemyCMS/alchemy-devise/pull/195) ([tvdeyen](https://github.com/tvdeyen))
@@ -9,7 +9,7 @@ module Alchemy
9
9
 
10
10
  helper "Alchemy::Admin::Base"
11
11
 
12
- layout "alchemy/admin"
12
+ layout Alchemy::Devise.layout
13
13
 
14
14
  private
15
15
 
@@ -13,7 +13,7 @@ module Alchemy
13
13
 
14
14
  helper "Alchemy::Admin::Base"
15
15
 
16
- layout "alchemy/admin"
16
+ layout Alchemy::Devise.layout
17
17
 
18
18
  def create
19
19
  authenticate_user!
@@ -1,5 +1,5 @@
1
1
  module Alchemy
2
2
  module Devise
3
- VERSION = "7.1.1"
3
+ VERSION = "7.1.2"
4
4
  end
5
5
  end
@@ -37,5 +37,12 @@ module Alchemy
37
37
  end
38
38
 
39
39
  module Devise
40
+ def self.layout=(value)
41
+ @layout = value
42
+ end
43
+
44
+ def self.layout
45
+ @layout || "alchemy/admin"
46
+ end
40
47
  end
41
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1
4
+ version: 7.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.5.3
213
+ rubygems_version: 3.4.19
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: Devise based user authentication for AlchemyCMS.