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.
- data/lib/rushi/rushi_object.rb +1 -1
- data/rushi.gemspec +1 -1
- metadata +1 -1
data/lib/rushi/rushi_object.rb
CHANGED
|
@@ -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.
|
|
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.
|
|
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"
|