dominate 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dominate/dom.rb +1 -6
- data/lib/dominate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d5d37eabfd65d6bd519003486b87e4ac7ea4bf6
|
4
|
+
data.tar.gz: dfae5d88ed94082bd23a32aa495aaf34fe44a653
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a11c463f8915f524ad5231468b6a27415243a72992b6acad30a2588b7a92908c6f91d581f3ea25058b2d3ec10a0e8d944e968574920a1a5662bb4141b5174a
|
7
|
+
data.tar.gz: b040316b0a2fbffce11e2ad04be543830e824893130857bef19149fa425bc57a0dd4f119953ce9b61cfc8b7d545e73aacb70123a24a548b2f1c41710ba16ebaa
|
data/lib/dominate/dom.rb
CHANGED
@@ -62,12 +62,7 @@ module Dominate
|
|
62
62
|
private
|
63
63
|
|
64
64
|
def set_doc html
|
65
|
-
|
66
|
-
@doc = Nokogiri::HTML::Document.parse html
|
67
|
-
else
|
68
|
-
# need to wrap it in a div to make sure it has a root
|
69
|
-
@doc = Nokogiri::HTML.fragment html
|
70
|
-
end
|
65
|
+
@doc = Nokogiri::HTML.parse html
|
71
66
|
end
|
72
67
|
|
73
68
|
def reset_html
|
data/lib/dominate/version.rb
CHANGED