norikra 0.0.10-java → 0.0.11-java
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/norikra/engine.rb +3 -3
- data/lib/norikra/udf_spec_helper.rb +3 -3
- data/lib/norikra/version.rb +1 -1
- metadata +1 -1
data/lib/norikra/engine.rb
CHANGED
@@ -170,10 +170,10 @@ module Norikra
|
|
170
170
|
event = (event.respond_to?(:getUnderlying) ? event.getUnderlying : event).to_hash
|
171
171
|
event.keys.each do |key|
|
172
172
|
trace "event content key:#{key}, value:#{event[key]}, value class:#{event[key].class}"
|
173
|
-
if event[key].respond_to?(:
|
174
|
-
event[key] = event[key].to_a
|
175
|
-
elsif event[key].respond_to?(:to_hash)
|
173
|
+
if event[key].respond_to?(:to_hash)
|
176
174
|
event[key] = event[key].to_hash
|
175
|
+
elsif event[key].respond_to?(:to_a)
|
176
|
+
event[key] = event[key].to_a
|
177
177
|
end
|
178
178
|
end
|
179
179
|
event
|
@@ -74,10 +74,10 @@ module Norikra
|
|
74
74
|
|
75
75
|
def getValue # public Object getValue()
|
76
76
|
v = @func.getValue
|
77
|
-
if v.respond_to?(:
|
78
|
-
v.to_a
|
79
|
-
elsif v.respond_to?(:to_hash)
|
77
|
+
if v.respond_to?(:to_hash)
|
80
78
|
v.to_hash
|
79
|
+
elsif v.respond_to?(:to_a)
|
80
|
+
v.to_a
|
81
81
|
else
|
82
82
|
v
|
83
83
|
end
|
data/lib/norikra/version.rb
CHANGED