activerecord-bixformer 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: f38f07d98e1c2f686db88cf14e8f0aa440df98d8
4
- data.tar.gz: a81dfe5886c71ead977d3d66cdde5119cb1cb97b
3
+ metadata.gz: a3cf0d6744f510047d870eed824bb57d7646fbf8
4
+ data.tar.gz: cee67069dc05abc816ca590bfd10ca1ecee7f710
5
5
  SHA512:
6
- metadata.gz: 9642616d5126bd1a85366204e489ee197a1dc3bd9fb505fa7f97130d223524ba97fceb0b0ed7e4ca8ef0702a8d15120297d93f2e300d784869e84dcb09782e34
7
- data.tar.gz: 8cbfd3443e100e47fc7407d594fb8b47ac876eeb95c1f3a6314bfa331352768d7a1a0c02ac8a0fed09dab5f571d0b4f2d32dadf65e3b9c85edabdb33b14f5402
6
+ metadata.gz: 3d5df8e0c7258482caf4ffbb3e71d5f168f03034eb03459c348e4121722f6b8d1ec1a189c87cc8c27cb443c7d4320b9081612bb2b17514f1d22809c19f491f61
7
+ data.tar.gz: 818e84c966120c820eebec7f3838a41f8828f934b5cc30c73c7aefebd00430332e070e632d273d4f3161d16ea841f582d45ddc7c5e7f42c6d5aa1ef2c0fd93cd
@@ -102,7 +102,7 @@ module ActiveRecord
102
102
  v = @plan.class.__send__("__bixformer_#{config_name}")
103
103
 
104
104
  if v.is_a?(::Proc)
105
- v.call
105
+ @plan.instance_exec &v
106
106
  elsif v.is_a?(::Symbol) || v.is_a?(::String)
107
107
  @plan.__send__(v)
108
108
  else
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Bixformer
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-bixformer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroaki Otsu