rushi 0.0.1 → 0.0.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.
@@ -24,7 +24,7 @@ module Rushi
24
24
  open_struct = OpenStruct.new
25
25
  hash.each do |key, value|
26
26
  rubified_key = rubify_key(key)
27
- open_struct.new_ostruct_member rubified_key
27
+ open_struct.member = rubified_key.to_sym
28
28
  if(value.is_a?(Hash))
29
29
  obj_val = self.rubify_hash(value)
30
30
  elsif (value.kind_of?(Array))
data/rushi.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rushi'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2013-12-05'
5
5
  s.summary = "Convert javascript JSON data into a Ruby OpenStruct"
6
6
  s.description = "Convert javascript JSON data into a Ruby OpenStruct with ruby naming convention"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rushi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: