nokogiri 1.11.7 → 1.12.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/LICENSE-DEPENDENCIES.md +243 -22
- data/LICENSE.md +1 -1
- data/README.md +6 -5
- data/ext/nokogiri/depend +35 -34
- data/ext/nokogiri/extconf.rb +181 -103
- data/ext/nokogiri/gumbo.c +611 -0
- data/ext/nokogiri/{html_document.c → html4_document.c} +8 -8
- data/ext/nokogiri/{html_element_description.c → html4_element_description.c} +20 -18
- data/ext/nokogiri/{html_entity_lookup.c → html4_entity_lookup.c} +7 -7
- data/ext/nokogiri/{html_sax_parser_context.c → html4_sax_parser_context.c} +5 -5
- data/ext/nokogiri/{html_sax_push_parser.c → html4_sax_push_parser.c} +4 -4
- data/ext/nokogiri/libxml2_backwards_compat.c +30 -30
- data/ext/nokogiri/nokogiri.c +51 -38
- data/ext/nokogiri/nokogiri.h +16 -9
- data/ext/nokogiri/xml_document.c +13 -13
- data/ext/nokogiri/xml_element_content.c +2 -0
- data/ext/nokogiri/xml_encoding_handler.c +11 -6
- data/ext/nokogiri/xml_namespace.c +2 -0
- data/ext/nokogiri/xml_node.c +102 -102
- data/ext/nokogiri/xml_node_set.c +20 -20
- data/ext/nokogiri/xml_reader.c +2 -0
- data/ext/nokogiri/xml_sax_parser.c +6 -6
- data/ext/nokogiri/xml_sax_parser_context.c +2 -0
- data/ext/nokogiri/xml_schema.c +2 -0
- data/ext/nokogiri/xml_xpath_context.c +67 -65
- data/ext/nokogiri/xslt_stylesheet.c +2 -1
- data/gumbo-parser/CHANGES.md +63 -0
- data/gumbo-parser/Makefile +101 -0
- data/gumbo-parser/THANKS +27 -0
- data/gumbo-parser/src/Makefile +17 -0
- data/gumbo-parser/src/README.md +41 -0
- data/gumbo-parser/src/ascii.c +75 -0
- data/gumbo-parser/src/ascii.h +115 -0
- data/gumbo-parser/src/attribute.c +42 -0
- data/gumbo-parser/src/attribute.h +17 -0
- data/gumbo-parser/src/char_ref.c +22225 -0
- data/gumbo-parser/src/char_ref.h +29 -0
- data/gumbo-parser/src/char_ref.rl +2154 -0
- data/gumbo-parser/src/error.c +626 -0
- data/gumbo-parser/src/error.h +148 -0
- data/gumbo-parser/src/foreign_attrs.c +104 -0
- data/gumbo-parser/src/foreign_attrs.gperf +27 -0
- data/gumbo-parser/src/gumbo.h +943 -0
- data/gumbo-parser/src/insertion_mode.h +33 -0
- data/gumbo-parser/src/macros.h +91 -0
- data/gumbo-parser/src/parser.c +4886 -0
- data/gumbo-parser/src/parser.h +41 -0
- data/gumbo-parser/src/replacement.h +33 -0
- data/gumbo-parser/src/string_buffer.c +103 -0
- data/gumbo-parser/src/string_buffer.h +68 -0
- data/gumbo-parser/src/string_piece.c +48 -0
- data/gumbo-parser/src/svg_attrs.c +174 -0
- data/gumbo-parser/src/svg_attrs.gperf +77 -0
- data/gumbo-parser/src/svg_tags.c +137 -0
- data/gumbo-parser/src/svg_tags.gperf +55 -0
- data/gumbo-parser/src/tag.c +222 -0
- data/gumbo-parser/src/tag_lookup.c +382 -0
- data/gumbo-parser/src/tag_lookup.gperf +169 -0
- data/gumbo-parser/src/tag_lookup.h +13 -0
- data/gumbo-parser/src/token_buffer.c +79 -0
- data/gumbo-parser/src/token_buffer.h +71 -0
- data/gumbo-parser/src/token_type.h +17 -0
- data/gumbo-parser/src/tokenizer.c +3463 -0
- data/gumbo-parser/src/tokenizer.h +112 -0
- data/gumbo-parser/src/tokenizer_states.h +339 -0
- data/gumbo-parser/src/utf8.c +245 -0
- data/gumbo-parser/src/utf8.h +164 -0
- data/gumbo-parser/src/util.c +68 -0
- data/gumbo-parser/src/util.h +30 -0
- data/gumbo-parser/src/vector.c +111 -0
- data/gumbo-parser/src/vector.h +45 -0
- data/lib/nokogiri.rb +31 -29
- data/lib/nokogiri/css.rb +14 -14
- data/lib/nokogiri/css/parser.rb +1 -1
- data/lib/nokogiri/css/parser.y +1 -1
- data/lib/nokogiri/css/syntax_error.rb +1 -1
- data/lib/nokogiri/extension.rb +2 -2
- data/lib/nokogiri/gumbo.rb +14 -0
- data/lib/nokogiri/html.rb +31 -27
- data/lib/nokogiri/html4.rb +40 -0
- data/lib/nokogiri/{html → html4}/builder.rb +2 -2
- data/lib/nokogiri/{html → html4}/document.rb +4 -4
- data/lib/nokogiri/{html → html4}/document_fragment.rb +3 -3
- data/lib/nokogiri/{html → html4}/element_description.rb +1 -1
- data/lib/nokogiri/{html → html4}/element_description_defaults.rb +1 -1
- data/lib/nokogiri/{html → html4}/entity_lookup.rb +1 -1
- data/lib/nokogiri/{html → html4}/sax/parser.rb +11 -14
- data/lib/nokogiri/html4/sax/parser_context.rb +19 -0
- data/lib/nokogiri/{html → html4}/sax/push_parser.rb +5 -5
- data/lib/nokogiri/html5.rb +473 -0
- data/lib/nokogiri/html5/document.rb +74 -0
- data/lib/nokogiri/html5/document_fragment.rb +80 -0
- data/lib/nokogiri/html5/node.rb +93 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/version/info.rb +11 -2
- data/lib/nokogiri/xml.rb +35 -36
- data/lib/nokogiri/xml/node.rb +6 -5
- data/lib/nokogiri/xml/parse_options.rb +2 -0
- data/lib/nokogiri/xml/pp.rb +2 -2
- data/lib/nokogiri/xml/sax.rb +4 -4
- data/lib/nokogiri/xml/sax/document.rb +24 -30
- data/lib/nokogiri/xml/xpath.rb +2 -2
- data/lib/nokogiri/xslt.rb +16 -16
- data/lib/nokogiri/xslt/stylesheet.rb +1 -1
- metadata +102 -60
- data/lib/nokogiri/html/sax/parser_context.rb +0 -17
@@ -71,6 +71,8 @@ module Nokogiri
|
|
71
71
|
|
72
72
|
# the default options used for parsing XML documents
|
73
73
|
DEFAULT_XML = RECOVER | NONET
|
74
|
+
# the default options used for parsing XSLT stylesheets
|
75
|
+
DEFAULT_XSLT = RECOVER | NONET | NOENT | DTDLOAD | DTDATTR | NOCDATA
|
74
76
|
# the default options used for parsing HTML documents
|
75
77
|
DEFAULT_HTML = RECOVER | NOERROR | NOWARNING | NONET
|
76
78
|
# the default options used for parsing XML schemas
|
data/lib/nokogiri/xml/pp.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
2
|
+
require_relative "pp/node"
|
3
|
+
require_relative "pp/character_data"
|
data/lib/nokogiri/xml/sax.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
require_relative "sax/document"
|
3
|
+
require_relative "sax/parser_context"
|
4
|
+
require_relative "sax/parser"
|
5
|
+
require_relative "sax/push_parser"
|
@@ -2,20 +2,19 @@
|
|
2
2
|
module Nokogiri
|
3
3
|
module XML
|
4
4
|
###
|
5
|
-
# SAX Parsers are event driven parsers.
|
6
|
-
#
|
7
|
-
#
|
5
|
+
# SAX Parsers are event driven parsers. Nokogiri provides two different event based parsers when
|
6
|
+
# dealing with XML. If you want to do SAX style parsing using HTML, check out
|
7
|
+
# Nokogiri::HTML4::SAX.
|
8
8
|
#
|
9
|
-
# The basic way a SAX style parser works is by creating a parser,
|
10
|
-
#
|
11
|
-
#
|
12
|
-
# it encounters events you said you would like to know about.
|
9
|
+
# The basic way a SAX style parser works is by creating a parser, telling the parser about the
|
10
|
+
# events we're interested in, then giving the parser some XML to process. The parser will notify
|
11
|
+
# you when it encounters events you said you would like to know about.
|
13
12
|
#
|
14
|
-
# To register for events, you simply subclass Nokogiri::XML::SAX::Document,
|
15
|
-
#
|
13
|
+
# To register for events, you simply subclass Nokogiri::XML::SAX::Document, and implement the
|
14
|
+
# methods for which you would like notification.
|
16
15
|
#
|
17
|
-
# For example, if I want to be notified when a document ends, and when an
|
18
|
-
#
|
16
|
+
# For example, if I want to be notified when a document ends, and when an element starts, I
|
17
|
+
# would write a class like this:
|
19
18
|
#
|
20
19
|
# class MyDocument < Nokogiri::XML::SAX::Document
|
21
20
|
# def end_document
|
@@ -27,8 +26,7 @@ module Nokogiri
|
|
27
26
|
# end
|
28
27
|
# end
|
29
28
|
#
|
30
|
-
# Then I would instantiate a SAX parser with this document, and feed the
|
31
|
-
# parser some XML
|
29
|
+
# Then I would instantiate a SAX parser with this document, and feed the parser some XML
|
32
30
|
#
|
33
31
|
# # Create a new parser
|
34
32
|
# parser = Nokogiri::XML::SAX::Parser.new(MyDocument.new)
|
@@ -36,25 +34,21 @@ module Nokogiri
|
|
36
34
|
# # Feed the parser some XML
|
37
35
|
# parser.parse(File.open(ARGV[0]))
|
38
36
|
#
|
39
|
-
# Now my document handler will be called when each node starts, and when
|
40
|
-
#
|
41
|
-
# a look at Nokogiri::XML::SAX::Document.
|
37
|
+
# Now my document handler will be called when each node starts, and when then document ends. To
|
38
|
+
# see what kinds of events are available, take a look at Nokogiri::XML::SAX::Document.
|
42
39
|
#
|
43
|
-
# Two SAX parsers for XML are available, a parser that reads from a string
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# use the Nokogiri::XML::SAX::Parser. If you want to have fine grain
|
40
|
+
# Two SAX parsers for XML are available, a parser that reads from a string or IO object as it
|
41
|
+
# feels necessary, and a parser that lets you spoon feed it XML. If you want to let Nokogiri
|
42
|
+
# deal with reading your XML, use the Nokogiri::XML::SAX::Parser. If you want to have fine grain
|
47
43
|
# control over the XML input, use the Nokogiri::XML::SAX::PushParser.
|
48
44
|
module SAX
|
49
45
|
###
|
50
|
-
# This class is used for registering types of events you are interested
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# you are interested in knowing about.
|
46
|
+
# This class is used for registering types of events you are interested in handling. All of
|
47
|
+
# the methods on this class are available as possible events while parsing an XML document. To
|
48
|
+
# register for any particular event, just subclass this class and implement the methods you
|
49
|
+
# are interested in knowing about.
|
55
50
|
#
|
56
|
-
# To only be notified about start and end element events, write a class
|
57
|
-
# like this:
|
51
|
+
# To only be notified about start and end element events, write a class like this:
|
58
52
|
#
|
59
53
|
# class MyDocument < Nokogiri::XML::SAX::Document
|
60
54
|
# def start_element name, attrs = []
|
@@ -66,8 +60,8 @@ module Nokogiri
|
|
66
60
|
# end
|
67
61
|
# end
|
68
62
|
#
|
69
|
-
# You can use this event handler for any SAX style parser included with
|
70
|
-
# Nokogiri
|
63
|
+
# You can use this event handler for any SAX style parser included with Nokogiri. See
|
64
|
+
# Nokogiri::XML::SAX, and Nokogiri::HTML4::SAX.
|
71
65
|
class Document
|
72
66
|
###
|
73
67
|
# Called when an XML declaration is parsed
|
@@ -129,7 +123,7 @@ module Nokogiri
|
|
129
123
|
end
|
130
124
|
|
131
125
|
###
|
132
|
-
# Characters read between a tag.
|
126
|
+
# Characters read between a tag. This method might be called multiple
|
133
127
|
# times given one contiguous string of characters.
|
134
128
|
#
|
135
129
|
# +string+ contains the character data
|
data/lib/nokogiri/xml/xpath.rb
CHANGED
data/lib/nokogiri/xslt.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
require 'nokogiri/xslt/stylesheet'
|
3
|
-
|
4
2
|
module Nokogiri
|
5
3
|
class << self
|
6
4
|
###
|
@@ -22,32 +20,32 @@ module Nokogiri
|
|
22
20
|
class << self
|
23
21
|
###
|
24
22
|
# Parse the stylesheet in +string+, register any +modules+
|
25
|
-
def parse
|
23
|
+
def parse(string, modules = {})
|
26
24
|
modules.each do |url, klass|
|
27
|
-
XSLT.register
|
25
|
+
XSLT.register(url, klass)
|
28
26
|
end
|
29
27
|
|
28
|
+
doc = XML::Document.parse(string, nil, nil, XML::ParseOptions::DEFAULT_XSLT)
|
30
29
|
if Nokogiri.jruby?
|
31
|
-
Stylesheet.parse_stylesheet_doc(
|
30
|
+
Stylesheet.parse_stylesheet_doc(doc, string)
|
32
31
|
else
|
33
|
-
Stylesheet.parse_stylesheet_doc(
|
32
|
+
Stylesheet.parse_stylesheet_doc(doc)
|
34
33
|
end
|
35
34
|
end
|
36
35
|
|
37
36
|
###
|
38
37
|
# Quote parameters in +params+ for stylesheet safety
|
39
|
-
def quote_params
|
38
|
+
def quote_params(params)
|
40
39
|
parray = (params.instance_of?(Hash) ? params.to_a.flatten : params).dup
|
41
|
-
parray.each_with_index do |v,i|
|
42
|
-
if i % 2 > 0
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
end
|
40
|
+
parray.each_with_index do |v, i|
|
41
|
+
parray[i] = if i % 2 > 0
|
42
|
+
if v =~ /'/
|
43
|
+
"concat('#{v.gsub(/'/, %q{', "'", '})}')"
|
44
|
+
else
|
45
|
+
"'#{v}'"
|
46
|
+
end
|
49
47
|
else
|
50
|
-
|
48
|
+
v.to_s
|
51
49
|
end
|
52
50
|
end
|
53
51
|
parray.flatten
|
@@ -55,3 +53,5 @@ module Nokogiri
|
|
55
53
|
end
|
56
54
|
end
|
57
55
|
end
|
56
|
+
|
57
|
+
require_relative "xslt/stylesheet"
|
@@ -18,7 +18,7 @@ module Nokogiri
|
|
18
18
|
# Apply an XSLT stylesheet to an XML::Document.
|
19
19
|
# +params+ is an array of strings used as XSLT parameters.
|
20
20
|
# returns serialized document
|
21
|
-
def apply_to
|
21
|
+
def apply_to(document, params = [])
|
22
22
|
serialize(transform(document, params))
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -10,6 +10,9 @@ authors:
|
|
10
10
|
- Akinori MUSHA
|
11
11
|
- John Shahid
|
12
12
|
- Karol Bucek
|
13
|
+
- Sam Ruby
|
14
|
+
- Craig Barnes
|
15
|
+
- Stephen Checkoway
|
13
16
|
- Lars Kanis
|
14
17
|
- Sergio Arbeo
|
15
18
|
- Timothy Elliott
|
@@ -17,7 +20,7 @@ authors:
|
|
17
20
|
autorequire:
|
18
21
|
bindir: bin
|
19
22
|
cert_chain: []
|
20
|
-
date: 2021-
|
23
|
+
date: 2021-07-09 00:00:00.000000000 Z
|
21
24
|
dependencies:
|
22
25
|
- !ruby/object:Gem::Dependency
|
23
26
|
name: racc
|
@@ -39,14 +42,14 @@ dependencies:
|
|
39
42
|
requirements:
|
40
43
|
- - "~>"
|
41
44
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
45
|
+
version: 2.6.1
|
43
46
|
type: :runtime
|
44
47
|
prerelease: false
|
45
48
|
version_requirements: !ruby/object:Gem::Requirement
|
46
49
|
requirements:
|
47
50
|
- - "~>"
|
48
51
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.
|
52
|
+
version: 2.6.1
|
50
53
|
- !ruby/object:Gem::Dependency
|
51
54
|
name: bundler
|
52
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,20 +64,6 @@ dependencies:
|
|
61
64
|
- - "~>"
|
62
65
|
- !ruby/object:Gem::Version
|
63
66
|
version: '2.2'
|
64
|
-
- !ruby/object:Gem::Dependency
|
65
|
-
name: concourse
|
66
|
-
requirement: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - "~>"
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0.41'
|
71
|
-
type: :development
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0.41'
|
78
67
|
- !ruby/object:Gem::Dependency
|
79
68
|
name: hoe-markdown
|
80
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,40 +214,41 @@ executables:
|
|
225
214
|
extensions:
|
226
215
|
- ext/nokogiri/extconf.rb
|
227
216
|
extra_rdoc_files:
|
228
|
-
- ext/nokogiri/
|
229
|
-
- ext/nokogiri/
|
230
|
-
- ext/nokogiri/
|
217
|
+
- ext/nokogiri/gumbo.c
|
218
|
+
- ext/nokogiri/html4_document.c
|
219
|
+
- ext/nokogiri/html4_element_description.c
|
220
|
+
- ext/nokogiri/html4_entity_lookup.c
|
221
|
+
- ext/nokogiri/html4_sax_parser_context.c
|
222
|
+
- ext/nokogiri/html4_sax_push_parser.c
|
231
223
|
- ext/nokogiri/libxml2_backwards_compat.c
|
232
|
-
- ext/nokogiri/xml_comment.c
|
233
224
|
- ext/nokogiri/nokogiri.c
|
234
|
-
- ext/nokogiri/
|
235
|
-
- ext/nokogiri/
|
236
|
-
- ext/nokogiri/
|
225
|
+
- ext/nokogiri/test_global_handlers.c
|
226
|
+
- ext/nokogiri/xml_attr.c
|
227
|
+
- ext/nokogiri/xml_attribute_decl.c
|
237
228
|
- ext/nokogiri/xml_cdata.c
|
238
|
-
- ext/nokogiri/
|
239
|
-
- ext/nokogiri/html_entity_lookup.c
|
240
|
-
- ext/nokogiri/xml_namespace.c
|
229
|
+
- ext/nokogiri/xml_comment.c
|
241
230
|
- ext/nokogiri/xml_document.c
|
242
|
-
- ext/nokogiri/xml_element_decl.c
|
243
|
-
- ext/nokogiri/xml_schema.c
|
244
|
-
- ext/nokogiri/html_document.c
|
245
|
-
- ext/nokogiri/xml_processing_instruction.c
|
246
|
-
- ext/nokogiri/xml_text.c
|
247
|
-
- ext/nokogiri/xml_syntax_error.c
|
248
231
|
- ext/nokogiri/xml_document_fragment.c
|
249
|
-
- ext/nokogiri/
|
232
|
+
- ext/nokogiri/xml_dtd.c
|
233
|
+
- ext/nokogiri/xml_element_content.c
|
234
|
+
- ext/nokogiri/xml_element_decl.c
|
250
235
|
- ext/nokogiri/xml_encoding_handler.c
|
251
|
-
- ext/nokogiri/html_sax_push_parser.c
|
252
|
-
- ext/nokogiri/xml_relax_ng.c
|
253
236
|
- ext/nokogiri/xml_entity_decl.c
|
254
|
-
- ext/nokogiri/test_global_handlers.c
|
255
|
-
- ext/nokogiri/xml_node.c
|
256
237
|
- ext/nokogiri/xml_entity_reference.c
|
257
|
-
- ext/nokogiri/
|
258
|
-
- ext/nokogiri/
|
238
|
+
- ext/nokogiri/xml_namespace.c
|
239
|
+
- ext/nokogiri/xml_node.c
|
240
|
+
- ext/nokogiri/xml_node_set.c
|
241
|
+
- ext/nokogiri/xml_processing_instruction.c
|
242
|
+
- ext/nokogiri/xml_reader.c
|
243
|
+
- ext/nokogiri/xml_relax_ng.c
|
259
244
|
- ext/nokogiri/xml_sax_parser.c
|
260
|
-
- ext/nokogiri/
|
261
|
-
- ext/nokogiri/
|
245
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
246
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
247
|
+
- ext/nokogiri/xml_schema.c
|
248
|
+
- ext/nokogiri/xml_syntax_error.c
|
249
|
+
- ext/nokogiri/xml_text.c
|
250
|
+
- ext/nokogiri/xml_xpath_context.c
|
251
|
+
- ext/nokogiri/xslt_stylesheet.c
|
262
252
|
- README.md
|
263
253
|
files:
|
264
254
|
- Gemfile
|
@@ -269,11 +259,12 @@ files:
|
|
269
259
|
- dependencies.yml
|
270
260
|
- ext/nokogiri/depend
|
271
261
|
- ext/nokogiri/extconf.rb
|
272
|
-
- ext/nokogiri/
|
273
|
-
- ext/nokogiri/
|
274
|
-
- ext/nokogiri/
|
275
|
-
- ext/nokogiri/
|
276
|
-
- ext/nokogiri/
|
262
|
+
- ext/nokogiri/gumbo.c
|
263
|
+
- ext/nokogiri/html4_document.c
|
264
|
+
- ext/nokogiri/html4_element_description.c
|
265
|
+
- ext/nokogiri/html4_entity_lookup.c
|
266
|
+
- ext/nokogiri/html4_sax_parser_context.c
|
267
|
+
- ext/nokogiri/html4_sax_push_parser.c
|
277
268
|
- ext/nokogiri/libxml2_backwards_compat.c
|
278
269
|
- ext/nokogiri/nokogiri.c
|
279
270
|
- ext/nokogiri/nokogiri.h
|
@@ -304,6 +295,51 @@ files:
|
|
304
295
|
- ext/nokogiri/xml_text.c
|
305
296
|
- ext/nokogiri/xml_xpath_context.c
|
306
297
|
- ext/nokogiri/xslt_stylesheet.c
|
298
|
+
- gumbo-parser/CHANGES.md
|
299
|
+
- gumbo-parser/Makefile
|
300
|
+
- gumbo-parser/THANKS
|
301
|
+
- gumbo-parser/src/Makefile
|
302
|
+
- gumbo-parser/src/README.md
|
303
|
+
- gumbo-parser/src/ascii.c
|
304
|
+
- gumbo-parser/src/ascii.h
|
305
|
+
- gumbo-parser/src/attribute.c
|
306
|
+
- gumbo-parser/src/attribute.h
|
307
|
+
- gumbo-parser/src/char_ref.c
|
308
|
+
- gumbo-parser/src/char_ref.h
|
309
|
+
- gumbo-parser/src/char_ref.rl
|
310
|
+
- gumbo-parser/src/error.c
|
311
|
+
- gumbo-parser/src/error.h
|
312
|
+
- gumbo-parser/src/foreign_attrs.c
|
313
|
+
- gumbo-parser/src/foreign_attrs.gperf
|
314
|
+
- gumbo-parser/src/gumbo.h
|
315
|
+
- gumbo-parser/src/insertion_mode.h
|
316
|
+
- gumbo-parser/src/macros.h
|
317
|
+
- gumbo-parser/src/parser.c
|
318
|
+
- gumbo-parser/src/parser.h
|
319
|
+
- gumbo-parser/src/replacement.h
|
320
|
+
- gumbo-parser/src/string_buffer.c
|
321
|
+
- gumbo-parser/src/string_buffer.h
|
322
|
+
- gumbo-parser/src/string_piece.c
|
323
|
+
- gumbo-parser/src/svg_attrs.c
|
324
|
+
- gumbo-parser/src/svg_attrs.gperf
|
325
|
+
- gumbo-parser/src/svg_tags.c
|
326
|
+
- gumbo-parser/src/svg_tags.gperf
|
327
|
+
- gumbo-parser/src/tag.c
|
328
|
+
- gumbo-parser/src/tag_lookup.c
|
329
|
+
- gumbo-parser/src/tag_lookup.gperf
|
330
|
+
- gumbo-parser/src/tag_lookup.h
|
331
|
+
- gumbo-parser/src/token_buffer.c
|
332
|
+
- gumbo-parser/src/token_buffer.h
|
333
|
+
- gumbo-parser/src/token_type.h
|
334
|
+
- gumbo-parser/src/tokenizer.c
|
335
|
+
- gumbo-parser/src/tokenizer.h
|
336
|
+
- gumbo-parser/src/tokenizer_states.h
|
337
|
+
- gumbo-parser/src/utf8.c
|
338
|
+
- gumbo-parser/src/utf8.h
|
339
|
+
- gumbo-parser/src/util.c
|
340
|
+
- gumbo-parser/src/util.h
|
341
|
+
- gumbo-parser/src/vector.c
|
342
|
+
- gumbo-parser/src/vector.h
|
307
343
|
- lib/nokogiri.rb
|
308
344
|
- lib/nokogiri/css.rb
|
309
345
|
- lib/nokogiri/css/node.rb
|
@@ -316,16 +352,22 @@ files:
|
|
316
352
|
- lib/nokogiri/css/xpath_visitor.rb
|
317
353
|
- lib/nokogiri/decorators/slop.rb
|
318
354
|
- lib/nokogiri/extension.rb
|
355
|
+
- lib/nokogiri/gumbo.rb
|
319
356
|
- lib/nokogiri/html.rb
|
320
|
-
- lib/nokogiri/
|
321
|
-
- lib/nokogiri/
|
322
|
-
- lib/nokogiri/
|
323
|
-
- lib/nokogiri/
|
324
|
-
- lib/nokogiri/
|
325
|
-
- lib/nokogiri/
|
326
|
-
- lib/nokogiri/
|
327
|
-
- lib/nokogiri/
|
328
|
-
- lib/nokogiri/
|
357
|
+
- lib/nokogiri/html4.rb
|
358
|
+
- lib/nokogiri/html4/builder.rb
|
359
|
+
- lib/nokogiri/html4/document.rb
|
360
|
+
- lib/nokogiri/html4/document_fragment.rb
|
361
|
+
- lib/nokogiri/html4/element_description.rb
|
362
|
+
- lib/nokogiri/html4/element_description_defaults.rb
|
363
|
+
- lib/nokogiri/html4/entity_lookup.rb
|
364
|
+
- lib/nokogiri/html4/sax/parser.rb
|
365
|
+
- lib/nokogiri/html4/sax/parser_context.rb
|
366
|
+
- lib/nokogiri/html4/sax/push_parser.rb
|
367
|
+
- lib/nokogiri/html5.rb
|
368
|
+
- lib/nokogiri/html5/document.rb
|
369
|
+
- lib/nokogiri/html5/document_fragment.rb
|
370
|
+
- lib/nokogiri/html5/node.rb
|
329
371
|
- lib/nokogiri/jruby/dependencies.rb
|
330
372
|
- lib/nokogiri/syntax_error.rb
|
331
373
|
- lib/nokogiri/version.rb
|
@@ -404,11 +446,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
404
446
|
version: 2.5.0
|
405
447
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
406
448
|
requirements:
|
407
|
-
- - "
|
449
|
+
- - ">"
|
408
450
|
- !ruby/object:Gem::Version
|
409
|
-
version:
|
451
|
+
version: 1.3.1
|
410
452
|
requirements: []
|
411
|
-
rubygems_version: 3.2.
|
453
|
+
rubygems_version: 3.2.15
|
412
454
|
signing_key:
|
413
455
|
specification_version: 4
|
414
456
|
summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
|