wmls 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +2 -1
  2. data/lib/wmls.rb +1 -1
  3. 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=nil)
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
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: wmls
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.11
5
+ version: 0.1.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Hugh Winkler