consent 2.6.0 → 2.6.1

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: a6c7e94dbb1d102068875abf44fd3cc46eca7e437eb6958a5523a2a044790e4d
4
- data.tar.gz: 86424bc2149fcb347526554c9b4a82822f5f68c728031ae7313fb728efe55c08
3
+ metadata.gz: 182a86041ac92a223db915879ea70c9252e86dc3e11a34d1ed14668a9ee4578b
4
+ data.tar.gz: b59b20041089b3d604bddf0b6a9ad35e03386f3a9f574a428f4057e63b4bf0fd
5
5
  SHA512:
6
- metadata.gz: cfe9c13129199fdc7c6ae108646bbdd928e7879355896592fa97df8b41cd2039a8a5bbea9c0b44516c94055cb226bb75abf955c0fcb839d58a6f748306cfd039
7
- data.tar.gz: ccd782f1aa33ff06111b8d0407e849ee4f99a2b610248a368c66f4a4ef9b9c4c45e9501a93109ef5dc29fc7801a2bc496c7c272e59a7e80078f47737f9ee54ac
6
+ metadata.gz: b0f0eeb21f1caa422b429dad09e0d5b3636c2672cfe0114994c2707c817564f58692cdad6835d87a04c5bfd674103ac5f3775302bd5abfa778de5b741f3109bf
7
+ data.tar.gz: ac2b05405d63355a47dd7e3cc18070ca3ed5254590cef2fffc192bec58b07a97830ac90903dda63182662cdbc06f29e3cc5b8f69114e75f44e966d2a389bd77f
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ PATH
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- consent (2.6.0)
14
+ consent (2.6.1)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### [2.6.1] - 2026-06-26
4
+
5
+ - Fixed an issue where view and action comparisons did not work unless we converted their keys to strings. [#444](https://github.com/powerhome/power-tools/pull/444)
6
+
3
7
  ### [2.6.0] - 2026-06-15
4
8
 
5
9
  - Changed permission checksum calculation to use permission data rather than permission file contents. [#438](https://github.com/powerhome/power-tools/pull/438)
@@ -11,7 +11,7 @@ PATH
11
11
  PATH
12
12
  remote: ..
13
13
  specs:
14
- consent (2.6.0)
14
+ consent (2.6.1)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
@@ -11,7 +11,7 @@ PATH
11
11
  PATH
12
12
  remote: ..
13
13
  specs:
14
- consent (2.6.0)
14
+ consent (2.6.1)
15
15
  cancancan (= 3.2.1)
16
16
 
17
17
  GEM
@@ -33,7 +33,7 @@ module Consent
33
33
  end
34
34
 
35
35
  def <=>(other)
36
- key <=> other.key
36
+ key.to_s <=> other.key.to_s
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Consent
4
- VERSION = "2.6.0"
4
+ VERSION = "2.6.1"
5
5
  end
data/lib/consent/view.rb CHANGED
@@ -31,7 +31,7 @@ module Consent
31
31
  end
32
32
 
33
33
  def <=>(other)
34
- key <=> other.key
34
+ key.to_s <=> other.key.to_s
35
35
  end
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares