data_crate 0.1.5 → 0.1.6

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: 45e73384693adc6b549e297a0ad68e38e062c0c9f58e961165bbcb7939570365
4
- data.tar.gz: 24d3a0dd4f7732bf89bf3dacca1794d8427fe338305331969167477893275be2
3
+ metadata.gz: 92ef2a90478790ca2250c0965528e052da569218f0bef5af620a1304f4b7b23f
4
+ data.tar.gz: 7d2b1d6b870c15963f5d73229797cf20e5617e13d33315ccd9ce91029dc6b3a1
5
5
  SHA512:
6
- metadata.gz: d4f370680dc2ec8105749801a8eaca08d252e7fc55c66472244fca89a0bb4ebbe001809342252cf069c9ea817ef419a0dfec7276541a6b08adbd54ae7a2c06ee
7
- data.tar.gz: 95652f6c8ca977f1ba49d52be3d1c3d0745ccbdddaa7461402bb9b808324cd24da11655bddae991a780180536249b24d99bbf9c5d9421edff8c532ab7ec29915
6
+ metadata.gz: 96f6c755a85aede5a6958b1d6a77beef3dc371374950b84fdbbf98d64767d3e0fa939c28f1d87969d7099817e70052006e7491dcc0d2953f7e1e1fd10c0f28db
7
+ data.tar.gz: 0cee9713b91d59124089ba08d505fb63f623f7a6731d00fc44fd3e96a67347861b45702c9f1c07930f8914cae2af21f6966a3f4f9dd4cd3308d45e5a715a2470
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data_crate (0.1.5)
4
+ data_crate (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/crate/hook.rb CHANGED
@@ -26,7 +26,7 @@ module Crate
26
26
  default, = args
27
27
  block ||= proc { default }
28
28
  _hook_convert_impl(name, **options) do |before|
29
- _raw.key?(name) ? before : block.call
29
+ _raw.key?(name) ? before : instance_exec(&block)
30
30
  end
31
31
  end
32
32
 
data/lib/crate/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crate
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_crate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minwoo Lee