nokogumbo 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nokogumboc/nokogumbo.c +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 112d45149d1a8ffaceaa724e3fe529b17abe591e
|
4
|
+
data.tar.gz: 287313d4d86dd36246c98fe97f4e7b58f82f9300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd230904c14df3092fbdd50f31f1693384fc5618a83210eff66884033aca5ccd3674900d26d9a34a031f764e09efdd5e8773392e826130961038fda13328b95f
|
7
|
+
data.tar.gz: c585a635126ec82d8b15c8195d2bf9a0e8893add3153f09b64d82179e3dbf33921b9c3eac24bf949b6b49a67e7d5f13c635f156a22bcedee6d794414c54d8e0e
|
data/ext/nokogumboc/nokogumbo.c
CHANGED
@@ -189,7 +189,9 @@ static VALUE parse(VALUE self, VALUE string) {
|
|
189
189
|
(size_t) RSTRING_LEN(string)
|
190
190
|
);
|
191
191
|
xmlDocPtr doc = xmlNewDoc(CONST_CAST "1.0");
|
192
|
+
#ifdef NGLIB
|
192
193
|
doc->type = XML_HTML_DOCUMENT_NODE;
|
194
|
+
#endif
|
193
195
|
xmlNodePtr root = walk_tree(doc, &output->root->v.element);
|
194
196
|
xmlDocSetRootElement(doc, root);
|
195
197
|
if (output->document->v.document.has_doctype) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogumbo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|