aduki 0.0.2 → 0.0.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.
Files changed (3) hide show
  1. data/lib/aduki.rb +2 -1
  2. data/lib/aduki/version.rb +1 -1
  3. metadata +1 -1
@@ -47,7 +47,8 @@ module Aduki
47
47
  end
48
48
 
49
49
  def aduki_type_for_attribute_name name
50
- @@types[self][name.to_sym]
50
+ hsh = @@types[self]
51
+ hsh ? hsh[name.to_sym] : nil
51
52
  end
52
53
  end
53
54
 
@@ -1,3 +1,3 @@
1
1
  module Aduki
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aduki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: