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.
@@ -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?(:to_a)
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?(:to_a)
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
@@ -1,3 +1,3 @@
1
1
  module Norikra
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: norikra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.10
5
+ version: 0.0.11
6
6
  platform: java
7
7
  authors:
8
8
  - TAGOMORI Satoshi