xml-simple 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/xmlsimple.rb +1 -2
  2. metadata +3 -3
@@ -299,8 +299,7 @@ class XmlSimple
299
299
  return nil if options.nil?
300
300
  result = Hash.new
301
301
  options.each { |key, value|
302
- lkey = key.downcase
303
- lkey.gsub!(/_/, '')
302
+ lkey = key.to_s.downcase.gsub(/_/, '')
304
303
  if !known_options.member?(lkey)
305
304
  raise ArgumentError, "Unrecognised option: #{lkey}."
306
305
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 13
9
- version: 1.0.13
8
+ - 14
9
+ version: 1.0.14
10
10
  platform: ruby
11
11
  authors:
12
12
  - Maik Schmidt
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-19 00:00:00 +01:00
17
+ date: 2011-01-27 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies: []
20
20