spox / soap4r-spox

Modified soap4r library to run on Ruby 1.9
Other
56 stars 100 forks source link

1.9 string compat updates for wsdl2ruby #2

Open tribalvibes opened 14 years ago

tribalvibes commented 14 years ago

Edits related to String.each => String.each_line in 1.9

driverCreator.rb, lines 36 and also 51 in dump: @modulepath.each_line do |name|

clientSkeltonCreator.rb, line 36 in dump: result << @modulepath.each_line.collect { |ele| "module #{ele}" }.join("; ")

clientSkeltonCreator.rb, line 45 in dump: result << @modulepath.each_line.collect { |ele| "end" }.join("; ")

tribalvibes commented 14 years ago

These are just the specific errors I hit when using wsdl2ruby with --module_path The same issue with String.each_line may well occur elsewhere in the source.

spox commented 14 years ago

I will try and get this updated and pushed out in the next day or two.