effective_resources 2.5.2 → 2.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bda17ceddd59d4e30ce213e50be61d46b1ade9312366fbbff69902456c3f142
|
4
|
+
data.tar.gz: 4b56d49aab4c5eca90182c26562f0cd0d1e326da32dc4089c32ab50f7a6491c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85066347230b84ff6c568a009a081fb490d81e23419f8d0adab13e949c87371b0faa494a6c441684dcb6b2dcc978527064dc077a5a112824c82063ba98fedde6
|
7
|
+
data.tar.gz: 7c536af6d4a5c8a2c9fe38f2b13658a1e57f8fef7aa2731f8067553b9e18f299e5477e54d129a0eed08b14763d5c1f14660f9236d7434c79003f9dc4f883bb0e
|
@@ -40,7 +40,7 @@ module EffectiveResourcesPrivateHelper
|
|
40
40
|
if opts.key?('data-confirm') && opts['data-confirm'].to_s.include?('@resource')
|
41
41
|
confirm = opts['data-confirm']
|
42
42
|
|
43
|
-
confirm.gsub
|
43
|
+
confirm = confirm.gsub(REPLACE_RESOURCE_METHODS) do |value|
|
44
44
|
method = value.to_s.split('.').last
|
45
45
|
resource.public_send(method)
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|