cavalle-webrat 0.4.4.1 → 0.4.4.2

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.
@@ -34,7 +34,7 @@ module Webrat
34
34
 
35
35
  def rexml_matches(stringlike)
36
36
  if REXML::Node === stringlike || Array === stringlike
37
- @query = query.map { |q| q.gsub(%r'//', './') }
37
+ @query = query.map { |q| q.gsub(%r'//', './/') }
38
38
  else
39
39
  @query = query
40
40
  end
@@ -54,7 +54,7 @@ module Webrat
54
54
 
55
55
  def nokogiri_matches(stringlike)
56
56
  if Nokogiri::XML::NodeSet === stringlike
57
- @query = query.gsub(%r'//', './')
57
+ @query = query.gsub(%r'//', './/')
58
58
  else
59
59
  @query = query
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cavalle-webrat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4.1
4
+ version: 0.4.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Helmkamp