soap4r-straightjacket 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/wsdl/soap/driverCreator.rb +2 -2
- data/lib/xsd/codegen/gensupport.rb +6 -6
- metadata +5 -4
|
@@ -33,7 +33,7 @@ class DriverCreator
|
|
|
33
33
|
def dump(porttype = nil)
|
|
34
34
|
result = "require 'soap/rpc/driver'\n\n"
|
|
35
35
|
if @modulepath
|
|
36
|
-
@modulepath.
|
|
36
|
+
@modulepath.each_line do |name|
|
|
37
37
|
result << "module #{name}\n"
|
|
38
38
|
end
|
|
39
39
|
result << "\n"
|
|
@@ -48,7 +48,7 @@ class DriverCreator
|
|
|
48
48
|
end
|
|
49
49
|
if @modulepath
|
|
50
50
|
result << "\n"
|
|
51
|
-
@modulepath.
|
|
51
|
+
@modulepath.each_line do |name|
|
|
52
52
|
result << "end\n"
|
|
53
53
|
end
|
|
54
54
|
end
|
|
@@ -236,24 +236,24 @@ module GenSupport
|
|
|
236
236
|
private
|
|
237
237
|
|
|
238
238
|
def trim_eol(str)
|
|
239
|
-
str.
|
|
239
|
+
str.each_line { |line|
|
|
240
240
|
line.sub(/\r?\n\z/, "") + "\n"
|
|
241
|
-
}
|
|
241
|
+
}
|
|
242
242
|
end
|
|
243
243
|
|
|
244
244
|
def trim_indent(str)
|
|
245
245
|
indent = nil
|
|
246
|
-
str = str.
|
|
247
|
-
str.
|
|
246
|
+
str = str.each_line { |line| untab(line) }
|
|
247
|
+
str.each_line do |line|
|
|
248
248
|
head = line.index(/\S/)
|
|
249
249
|
if !head.nil? and (indent.nil? or head < indent)
|
|
250
250
|
indent = head
|
|
251
251
|
end
|
|
252
252
|
end
|
|
253
253
|
return str unless indent
|
|
254
|
-
str.
|
|
254
|
+
str.each_line { |line|
|
|
255
255
|
line.sub(/^ {0,#{indent}}/, "")
|
|
256
|
-
}
|
|
256
|
+
}
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
def untab(line, ts = 8)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: soap4r-straightjacket
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.9
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2007-09-24 00:00:00.000000000Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httpclient
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2152877820 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,8 +21,9 @@ dependencies:
|
|
|
21
21
|
version: 2.1.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
25
|
-
description:
|
|
24
|
+
version_requirements: *2152877820
|
|
25
|
+
description: An implementation of SOAP 1.1 for Ruby. Adding some tweaks to work with
|
|
26
|
+
Ruby 1.9
|
|
26
27
|
email: nahi@ruby-lang.org
|
|
27
28
|
executables:
|
|
28
29
|
- wsdl2ruby.rb
|