dyoder-filebase 0.3.1 → 0.3.2

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 (2) hide show
  1. data/lib/filebase/attributes.rb +1 -1
  2. metadata +1 -1
@@ -24,7 +24,7 @@ module Attributes
24
24
  def set(name, val) ; attributes[name.to_s] = val ; end
25
25
 
26
26
  def get(name)
27
- ( ( rval = attributes[name.to_s] ).is_a?( Hash ) and self.new( rval ) ) or rval
27
+ ( ( rval = attributes[name.to_s] ).is_a?( Hash ) and attributes[name.to_s] = self.class.new( rval ) ) or rval
28
28
  end
29
29
 
30
30
  def to_h ; @attrs ; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyoder-filebase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Yoder