engorge-ostruct 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require "rake/gempackagetask"
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = "engorge-ostruct"
5
- s.version = "0.1"
5
+ s.version = "0.2"
6
6
  s.author = "Caius Durling"
7
7
  s.email = "dev@caius.name"
8
8
  s.homepage = "http://github.com/caius/engorge-ostruct"
@@ -1,6 +1,6 @@
1
1
  module OpenStructToHash
2
2
  def to_hash
3
- instance_variable_get("@table")
3
+ @table.dup
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engorge-ostruct
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Caius Durling