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: 163d3d6f1f99cef1b18736c567a2314e3837e02cfb233595b52465b10f7d7a9d
4
- data.tar.gz: 7d2870e1c3dc65b8e0254ddd4614fe64cb01e0c79cf784d50db3f5a66d187910
3
+ metadata.gz: 5bda17ceddd59d4e30ce213e50be61d46b1ade9312366fbbff69902456c3f142
4
+ data.tar.gz: 4b56d49aab4c5eca90182c26562f0cd0d1e326da32dc4089c32ab50f7a6491c6
5
5
  SHA512:
6
- metadata.gz: c87baddfd5686f16b4657117f30265b5a23e9e4dc425aa9acf5014817bdc341ec790a4334cee282a8a45d33aad15f468826d565ad64c52d109354130195a8076
7
- data.tar.gz: a155b25c81fab0476bc7d0f0cdba837481ba53e9900f3ebe6a4d9b90bacbb749553423de49fe0c12ae3461edb16c8b16540e3f92745ddced598f3c2a1f00e381
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!(REPLACE_RESOURCE_METHODS) do |value|
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.5.2'.freeze
2
+ VERSION = '2.5.3'.freeze
3
3
  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.2
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-27 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails