effective_resources 2.18.3 → 2.18.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 +4 -4
- data/lib/effective_resources/version.rb +1 -1
- data/lib/effective_resources.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6afb7b75d0b3a67f0522248e685bb8fb2fa973d6110e4ab5371c6579457eab1b
|
|
4
|
+
data.tar.gz: 46b6e23e7fc14d623af21227175aa9c74fc4e5ace265b193e1522e293fa97946
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2daa3b7acc0596210380e8a6026e92691eb0a1a89591cb5c3aeda0601a740c7790630f2da1213fe31190948071b5319dad46bed18279603e6abbb48dc379153d
|
|
7
|
+
data.tar.gz: ad76dbb446443fef1516bcfddbe9d35124157061eb41ed90d4520520b834c29ed670905f74cf4273c75d676707bfc014fd7b267e51fc68c772d501f9246e8ec9
|
data/lib/effective_resources.rb
CHANGED
|
@@ -16,9 +16,10 @@ module EffectiveResources
|
|
|
16
16
|
|
|
17
17
|
include EffectiveGem
|
|
18
18
|
|
|
19
|
-
# We use the newer syntax for serialize calls in rails 7
|
|
19
|
+
# We use the newer syntax for serialize calls in rails 7.1 but it changes behaviour
|
|
20
20
|
def self.serialize_with_coder?
|
|
21
|
-
|
|
21
|
+
false
|
|
22
|
+
#Gem::Version.new(Gem.loaded_specs['rails'].version.to_s) >= Gem::Version.new('7')
|
|
22
23
|
end
|
|
23
24
|
|
|
24
25
|
def self.authorized?(controller, action, resource)
|