wmls 0.1.11 → 0.1.12
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/README +2 -1
- data/lib/wmls.rb +1 -1
- metadata +1 -1
data/README
CHANGED
|
@@ -31,4 +31,5 @@ History:
|
|
|
31
31
|
16 Oct 2011 -- added -D option to wmls command line tool (0.1.7)
|
|
32
32
|
01 May 2012 -- added GetCap support (0.1.8)
|
|
33
33
|
01 May 2012 -- added support for capabilitiesIn parameter to all calls (0.1.9)
|
|
34
|
-
|
|
34
|
+
04 May 2012 -- added support for a headers parameter to all calls (0.1.11)
|
|
35
|
+
07 May 2012 -- fix headers param to get_cap (default should be {}) (0.1.12)
|
data/lib/wmls.rb
CHANGED
|
@@ -130,7 +130,7 @@ END
|
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
# call WMLS_GetCap with the specified optionsIn.
|
|
133
|
-
def get_cap(optionsIn=nil, headers=
|
|
133
|
+
def get_cap(optionsIn=nil, headers={})
|
|
134
134
|
soap_action = 'http://www.witsml.org/action/120/Store.WMLS_GetCap'
|
|
135
135
|
headers['SOAPAction'] = soap_action
|
|
136
136
|
envelope_middle = <<END
|