xml-simple 1.0.15 → 1.0.16

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 -1
  2. metadata +6 -3
@@ -718,7 +718,7 @@ class XmlSimple
718
718
  # Document element to be checked.
719
719
  def has_mixed_content?(element)
720
720
  if element.has_text? && element.has_elements?
721
- return true if element.texts.join('') !~ /^\s*$/s
721
+ return true if element.texts.join('') !~ /^\s*$/
722
722
  end
723
723
  false
724
724
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-simple
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 55
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 0
8
- - 15
9
- version: 1.0.15
9
+ - 16
10
+ version: 1.0.16
10
11
  platform: ruby
11
12
  authors:
12
13
  - Maik Schmidt
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-03-24 00:00:00 +01:00
18
+ date: 2011-05-29 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -42,6 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
43
  requirements:
43
44
  - - ">="
44
45
  - !ruby/object:Gem::Version
46
+ hash: 3
45
47
  segments:
46
48
  - 0
47
49
  version: "0"
@@ -50,6 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
52
  requirements:
51
53
  - - ">="
52
54
  - !ruby/object:Gem::Version
55
+ hash: 3
53
56
  segments:
54
57
  - 0
55
58
  version: "0"