Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with ruby 1.9 #8

Open
neigesdantan opened this issue Aug 30, 2013 · 0 comments
Open

compatibility with ruby 1.9 #8

neigesdantan opened this issue Aug 30, 2013 · 0 comments

Comments

@neigesdantan
Copy link

file soap4r-spox-1.6.0/lib/soap/mapping/mapping.rb needs some fixes:

obj.instance_variables inclusion is checked used strings. In ruby 1.9 Object#instance_variables returns an array of symbols so using Array#include? with a string parameter will always return false.

I propose to use the following fixes that will work in both ruby 1.9 and 1.8:

@line 256
ivars = obj.instance_variables.collect{|t| t.to_s}

@line 316
iv = obj.instance_variables.collect{|t| t.to_s}

swalterd added a commit to swalterd/soap4r that referenced this issue Dec 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant