Browse files

1.9 updates. Thanks dlangevin

  • Loading branch information...
1 parent 2eed7b3 commit 24a30926899f5d2fd8992d61007c04d91cc10ab2 spox committed with jpr5 Apr 10, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/soap/mapping/factory.rb
  2. +1 −1 lib/soap/mapping/mapping.rb
  3. +1 −1 lib/soap/mapping/rubytypeFactory.rb
View
2 lib/soap/mapping/factory.rb
@@ -37,7 +37,7 @@ def setiv2obj(obj, node, map)
end
def setiv2soap(node, obj, map)
- if obj.class.class_variables.include?('@@schema_element')
+ if obj.class.class_variables.include?(:@@schema_element)
setdefinediv2soap(node, obj, map)
else
# should we sort instance_variables? how?
View
2 lib/soap/mapping/mapping.rb
@@ -540,7 +540,7 @@ def protect_threadvars(*symbols)
private
def class_schema_variable(sym, klass)
- var = "@@#{sym}"
+ var = "@@#{sym}".to_sym
klass.class_variables.include?(var) ? klass.class_eval(var) : nil
end
View
2 lib/soap/mapping/rubytypeFactory.rb
@@ -192,7 +192,7 @@ def obj2soap(soap_class, obj, info, map)
param.add('member', ele_member)
addiv2soapattr(param, obj, map)
end
- when ::IO, ::Binding, ::Continuation, ::Data, ::Dir, ::File::Stat,
+ when ::IO, ::Binding, ::Data, ::Dir, ::File::Stat,
::MatchData, Method, ::Proc, ::Process::Status, ::Thread,
::ThreadGroup, ::UnboundMethod
return nil

0 comments on commit 24a3092

Please sign in to comment.