assert2 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/assert2/xhtml.rb CHANGED
@@ -80,7 +80,7 @@ end
80
80
  class BeHtmlWith
81
81
 
82
82
  def deAmpAmp(stwing)
83
- stwing.gsub('&', '&').gsub('&', '&')
83
+ stwing.to_s.gsub('&', '&').gsub('&', '&')
84
84
  end # ERGO await a fix in Nokogiri, and hope nobody actually means & !!!
85
85
 
86
86
  def get_texts(element)
@@ -88,8 +88,7 @@ class BeHtmlWith
88
88
  end
89
89
 
90
90
  def match_regexp(reference, sample)
91
- p reference
92
- reference =~ /^\(\?-mix/ and
91
+ reference =~ /^\(\?/ and
93
92
  Regexp.new(reference) =~ sample
94
93
  end
95
94
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phlip
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-19 00:00:00 -07:00
12
+ date: 2009-03-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15