alchemy-devise 7.1.0 → 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: b1b4082a33ae521911c64a602db4b00b6c4818dda1d60fc40f144a63d1d59904
4
- data.tar.gz: 0d37198bf52259e4fec8134a083dd53df14b7526fe65dec101e8a5e499e254c4
3
+ metadata.gz: 7dba17f7796f78c02350259cc911af0f7a282da96a067350e68e07a2af10643e
4
+ data.tar.gz: 115b4571d47e99323d9d68d7b1ecd5347eb8ac3a0e42fd503d378cd0e237c192
5
5
  SHA512:
6
- metadata.gz: de1744c47a10559605a74540d7990923505fc23d84169f2fb9f44d6252b5261204f73fdbbe0b455a0b75e8ff9151e24e9b201fbcb1dbb547a68ca0d6815a0588
7
- data.tar.gz: a5e28118615f87ef9dfb1dc346177753f160fff054261470aff07daedfe6e2bdc704d39c905f1e10d098f01c9e04b48c0004b787232469eb81e6089980fd35c1
6
+ metadata.gz: 5540972780cc1d5c00986f8691890882c48ba95616a693424fa9fee6e78b5a317c09c213693d325b33612a02d746ced546d31b9874717d1d8b22dc2eb71704a7
7
+ data.tar.gz: 8f319ab62741f16116de9171d18f84115d2d51a5152507d0dd07f7f56f4c0c3b712c27cbe03fab1c79f0c980b76baf5254e749f44df5094de3ac94ff483693ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ## 7.1.1 (2023-01-12)
8
+
9
+ - Alchemy 7.1 UI fixes [#195](https://github.com/AlchemyCMS/alchemy-devise/pull/195) ([tvdeyen](https://github.com/tvdeyen))
10
+
3
11
  ## 7.1.0 (2023-01-11)
4
12
 
5
13
  - Update brakeman to 6.1 [#194](https://github.com/AlchemyCMS/alchemy-devise/pull/194) ([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!
@@ -25,7 +25,8 @@
25
25
  message: Alchemy.t(:confirm_to_delete_user),
26
26
  title: Alchemy.t(:delete_user),
27
27
  icon: :minus
28
- } %>
28
+ },
29
+ title: Alchemy.t(:delete_user) %>
29
30
  <% end %>
30
31
  <% if can?(:edit, user) %>
31
32
  <%= link_to_dialog render_icon(:edit),
@@ -5,6 +5,7 @@
5
5
  url: alchemy.new_admin_user_path,
6
6
  title: Alchemy.t(:create_user),
7
7
  hotkey: 'alt+n',
8
+ tooltip_placement: "top-start",
8
9
  dialog_options: {
9
10
  title: Alchemy.t(:create_user),
10
11
  size: "430x560"
@@ -13,7 +13,7 @@ Rails.application.config.to_prepare do
13
13
  name: "modules.users",
14
14
  controller: "/alchemy/admin/users",
15
15
  action: "index",
16
- icon: (Alchemy.gem_version > Gem::Version.new("7.0")) ? "group-line" : "users"
16
+ icon: (Alchemy.gem_version > Gem::Version.new("7.1.0-b1")) ? "group-line" : "users"
17
17
  }
18
18
  })
19
19
 
@@ -1,5 +1,5 @@
1
1
  module Alchemy
2
2
  module Devise
3
- VERSION = "7.1.0"
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.0
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-11 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.