nokogiri 1.11.0.rc2-x86-linux → 1.11.2-x86-linux
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/Gemfile +3 -0
- data/LICENSE-DEPENDENCIES.md +1015 -947
- data/LICENSE.md +1 -1
- data/README.md +171 -94
- data/ext/nokogiri/depend +37 -358
- data/ext/nokogiri/extconf.rb +581 -374
- data/ext/nokogiri/html_document.c +78 -82
- data/ext/nokogiri/html_element_description.c +84 -71
- data/ext/nokogiri/html_entity_lookup.c +21 -16
- data/ext/nokogiri/html_sax_parser_context.c +69 -66
- data/ext/nokogiri/html_sax_push_parser.c +42 -34
- data/ext/nokogiri/include/libexslt/exslt.h +102 -0
- data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
- data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
- data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
- data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
- data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
- data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
- data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
- data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
- data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
- data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
- data/ext/nokogiri/include/libxslt/attributes.h +38 -0
- data/ext/nokogiri/include/libxslt/documents.h +93 -0
- data/ext/nokogiri/include/libxslt/extensions.h +262 -0
- data/ext/nokogiri/include/libxslt/extra.h +72 -0
- data/ext/nokogiri/include/libxslt/functions.h +78 -0
- data/ext/nokogiri/include/libxslt/imports.h +75 -0
- data/ext/nokogiri/include/libxslt/keys.h +53 -0
- data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
- data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
- data/ext/nokogiri/include/libxslt/pattern.h +84 -0
- data/ext/nokogiri/include/libxslt/preproc.h +43 -0
- data/ext/nokogiri/include/libxslt/security.h +104 -0
- data/ext/nokogiri/include/libxslt/templates.h +77 -0
- data/ext/nokogiri/include/libxslt/transform.h +207 -0
- data/ext/nokogiri/include/libxslt/variables.h +118 -0
- data/ext/nokogiri/include/libxslt/xslt.h +110 -0
- data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
- data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
- data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
- data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
- data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
- data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
- data/ext/nokogiri/nokogiri.c +192 -93
- data/ext/nokogiri/nokogiri.h +177 -98
- data/ext/nokogiri/test_global_handlers.c +40 -0
- data/ext/nokogiri/xml_attr.c +15 -15
- data/ext/nokogiri/xml_attribute_decl.c +18 -18
- data/ext/nokogiri/xml_cdata.c +13 -18
- data/ext/nokogiri/xml_comment.c +19 -26
- data/ext/nokogiri/xml_document.c +225 -163
- data/ext/nokogiri/xml_document_fragment.c +13 -15
- data/ext/nokogiri/xml_dtd.c +54 -48
- data/ext/nokogiri/xml_element_content.c +30 -27
- data/ext/nokogiri/xml_element_decl.c +22 -22
- data/ext/nokogiri/xml_encoding_handler.c +17 -11
- data/ext/nokogiri/xml_entity_decl.c +32 -30
- data/ext/nokogiri/xml_entity_reference.c +16 -18
- data/ext/nokogiri/xml_namespace.c +56 -49
- data/ext/nokogiri/xml_node.c +338 -286
- data/ext/nokogiri/xml_node_set.c +168 -156
- data/ext/nokogiri/xml_processing_instruction.c +17 -19
- data/ext/nokogiri/xml_reader.c +191 -157
- data/ext/nokogiri/xml_relax_ng.c +52 -28
- data/ext/nokogiri/xml_sax_parser.c +118 -118
- data/ext/nokogiri/xml_sax_parser_context.c +103 -86
- data/ext/nokogiri/xml_sax_push_parser.c +36 -27
- data/ext/nokogiri/xml_schema.c +95 -47
- data/ext/nokogiri/xml_syntax_error.c +42 -21
- data/ext/nokogiri/xml_text.c +13 -17
- data/ext/nokogiri/xml_xpath_context.c +206 -123
- data/ext/nokogiri/xslt_stylesheet.c +158 -161
- data/lib/nokogiri.rb +4 -8
- data/lib/nokogiri/2.5/nokogiri.so +0 -0
- data/lib/nokogiri/2.6/nokogiri.so +0 -0
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/css/parser.rb +62 -62
- data/lib/nokogiri/css/parser.y +2 -2
- data/lib/nokogiri/css/xpath_visitor.rb +70 -42
- data/lib/nokogiri/extension.rb +26 -0
- data/lib/nokogiri/html/document.rb +12 -26
- data/lib/nokogiri/html/document_fragment.rb +15 -15
- data/lib/nokogiri/version.rb +2 -148
- data/lib/nokogiri/version/constant.rb +5 -0
- data/lib/nokogiri/version/info.rb +205 -0
- data/lib/nokogiri/xml/builder.rb +2 -2
- data/lib/nokogiri/xml/document.rb +48 -18
- data/lib/nokogiri/xml/document_fragment.rb +4 -6
- data/lib/nokogiri/xml/node.rb +88 -69
- data/lib/nokogiri/xml/parse_options.rb +6 -0
- data/lib/nokogiri/xml/reader.rb +2 -9
- data/lib/nokogiri/xml/relax_ng.rb +6 -2
- data/lib/nokogiri/xml/schema.rb +12 -4
- data/lib/nokogiri/xml/searchable.rb +3 -1
- data/lib/nokogiri/xml/xpath.rb +1 -3
- data/lib/nokogiri/xml/xpath/syntax_error.rb +1 -1
- metadata +151 -158
- data/ext/nokogiri/html_document.h +0 -10
- data/ext/nokogiri/html_element_description.h +0 -10
- data/ext/nokogiri/html_entity_lookup.h +0 -8
- data/ext/nokogiri/html_sax_parser_context.h +0 -11
- data/ext/nokogiri/html_sax_push_parser.h +0 -9
- data/ext/nokogiri/xml_attr.h +0 -9
- data/ext/nokogiri/xml_attribute_decl.h +0 -9
- data/ext/nokogiri/xml_cdata.h +0 -9
- data/ext/nokogiri/xml_comment.h +0 -9
- data/ext/nokogiri/xml_document.h +0 -23
- data/ext/nokogiri/xml_document_fragment.h +0 -10
- data/ext/nokogiri/xml_dtd.h +0 -10
- data/ext/nokogiri/xml_element_content.h +0 -10
- data/ext/nokogiri/xml_element_decl.h +0 -9
- data/ext/nokogiri/xml_encoding_handler.h +0 -8
- data/ext/nokogiri/xml_entity_decl.h +0 -10
- data/ext/nokogiri/xml_entity_reference.h +0 -9
- data/ext/nokogiri/xml_io.c +0 -61
- data/ext/nokogiri/xml_io.h +0 -11
- data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
- data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
- data/ext/nokogiri/xml_namespace.h +0 -14
- data/ext/nokogiri/xml_node.h +0 -13
- data/ext/nokogiri/xml_node_set.h +0 -12
- data/ext/nokogiri/xml_processing_instruction.h +0 -9
- data/ext/nokogiri/xml_reader.h +0 -10
- data/ext/nokogiri/xml_relax_ng.h +0 -9
- data/ext/nokogiri/xml_sax_parser.h +0 -39
- data/ext/nokogiri/xml_sax_parser_context.h +0 -10
- data/ext/nokogiri/xml_sax_push_parser.h +0 -9
- data/ext/nokogiri/xml_schema.h +0 -9
- data/ext/nokogiri/xml_syntax_error.h +0 -13
- data/ext/nokogiri/xml_text.h +0 -9
- data/ext/nokogiri/xml_xpath_context.h +0 -10
- data/ext/nokogiri/xslt_stylesheet.h +0 -14
- data/lib/nokogiri/2.4/nokogiri.so +0 -0
@@ -73,6 +73,8 @@ module Nokogiri
|
|
73
73
|
DEFAULT_XML = RECOVER | NONET
|
74
74
|
# the default options used for parsing HTML documents
|
75
75
|
DEFAULT_HTML = RECOVER | NOERROR | NOWARNING | NONET
|
76
|
+
# the default options used for parsing XML schemas
|
77
|
+
DEFAULT_SCHEMA = NONET
|
76
78
|
|
77
79
|
attr_accessor :options
|
78
80
|
def initialize options = STRICT
|
@@ -107,6 +109,10 @@ module Nokogiri
|
|
107
109
|
@options & RECOVER == STRICT
|
108
110
|
end
|
109
111
|
|
112
|
+
def ==(other)
|
113
|
+
other.to_i == to_i
|
114
|
+
end
|
115
|
+
|
110
116
|
alias :to_i :options
|
111
117
|
|
112
118
|
def inspect
|
data/lib/nokogiri/xml/reader.rb
CHANGED
@@ -86,7 +86,8 @@ module Nokogiri
|
|
86
86
|
private :initialize
|
87
87
|
|
88
88
|
###
|
89
|
-
# Get
|
89
|
+
# Get the attributes of the current node as a Hash
|
90
|
+
# @return [Hash<String, String>] Attribute names and values
|
90
91
|
def attributes
|
91
92
|
attrs_hash = attribute_nodes.each_with_object({}) do |node, hash|
|
92
93
|
hash[node.name] = node.to_s
|
@@ -96,14 +97,6 @@ module Nokogiri
|
|
96
97
|
attrs_hash
|
97
98
|
end
|
98
99
|
|
99
|
-
###
|
100
|
-
# Get a list of attributes for the current node
|
101
|
-
def attribute_nodes
|
102
|
-
nodes = attr_nodes
|
103
|
-
nodes.each { |v| v.instance_variable_set(:@_r, self) }
|
104
|
-
nodes
|
105
|
-
end
|
106
|
-
|
107
100
|
###
|
108
101
|
# Move the cursor through the document yielding the cursor to the block
|
109
102
|
def each
|
@@ -5,8 +5,8 @@ module Nokogiri
|
|
5
5
|
###
|
6
6
|
# Create a new Nokogiri::XML::RelaxNG document from +string_or_io+.
|
7
7
|
# See Nokogiri::XML::RelaxNG for an example.
|
8
|
-
def RelaxNG
|
9
|
-
RelaxNG.new(string_or_io)
|
8
|
+
def RelaxNG(string_or_io, options = ParseOptions::DEFAULT_SCHEMA)
|
9
|
+
RelaxNG.new(string_or_io, options)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
@@ -27,6 +27,10 @@ module Nokogiri
|
|
27
27
|
# end
|
28
28
|
#
|
29
29
|
# The list of errors are Nokogiri::XML::SyntaxError objects.
|
30
|
+
#
|
31
|
+
# NOTE: RelaxNG input is always treated as TRUSTED documents, meaning that they will cause the
|
32
|
+
# underlying parsing libraries to access network resources. This is counter to Nokogiri's
|
33
|
+
# "untrusted by default" security policy, but is a limitation of the underlying libraries.
|
30
34
|
class RelaxNG < Nokogiri::XML::Schema
|
31
35
|
end
|
32
36
|
end
|
data/lib/nokogiri/xml/schema.rb
CHANGED
@@ -5,8 +5,8 @@ module Nokogiri
|
|
5
5
|
###
|
6
6
|
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
7
7
|
# object.
|
8
|
-
def Schema
|
9
|
-
Schema.new(string_or_io)
|
8
|
+
def Schema(string_or_io, options = ParseOptions::DEFAULT_SCHEMA)
|
9
|
+
Schema.new(string_or_io, options)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
@@ -27,15 +27,23 @@ module Nokogiri
|
|
27
27
|
# end
|
28
28
|
#
|
29
29
|
# The list of errors are Nokogiri::XML::SyntaxError objects.
|
30
|
+
#
|
31
|
+
# NOTE: As of v1.11.0, Schema treats inputs as UNTRUSTED by default, and so external entities
|
32
|
+
# are not resolved from the network (`http://` or `ftp://`). Previously, parsing treated
|
33
|
+
# documents as "trusted" by default which was counter to Nokogiri's "untrusted by default"
|
34
|
+
# security policy. If a document is trusted, then the caller may turn off the NONET option via
|
35
|
+
# the ParseOptions to re-enable external entity resolution over a network connection.
|
30
36
|
class Schema
|
31
37
|
# Errors while parsing the schema file
|
32
38
|
attr_accessor :errors
|
39
|
+
# The Nokogiri::XML::ParseOptions used to parse the schema
|
40
|
+
attr_accessor :parse_options
|
33
41
|
|
34
42
|
###
|
35
43
|
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
36
44
|
# object.
|
37
|
-
def self.new string_or_io
|
38
|
-
from_document
|
45
|
+
def self.new string_or_io, options = ParseOptions::DEFAULT_SCHEMA
|
46
|
+
from_document(Nokogiri::XML(string_or_io), options)
|
39
47
|
end
|
40
48
|
|
41
49
|
###
|
@@ -210,8 +210,10 @@ module Nokogiri
|
|
210
210
|
end
|
211
211
|
|
212
212
|
def xpath_query_from_css_rule(rule, ns)
|
213
|
+
visitor = Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins.new
|
213
214
|
self.class::IMPLIED_XPATH_CONTEXTS.map do |implied_xpath_context|
|
214
|
-
CSS.xpath_for(rule.to_s, :prefix => implied_xpath_context, :ns => ns
|
215
|
+
CSS.xpath_for(rule.to_s, {:prefix => implied_xpath_context, :ns => ns,
|
216
|
+
:visitor => visitor})
|
215
217
|
end.join(" | ")
|
216
218
|
end
|
217
219
|
|
data/lib/nokogiri/xml/xpath.rb
CHANGED
metadata
CHANGED
@@ -1,111 +1,80 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.2
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
|
-
- Aaron Patterson
|
8
7
|
- Mike Dalessio
|
8
|
+
- Aaron Patterson
|
9
9
|
- Yoko Harada
|
10
|
-
- Tim Elliott
|
11
10
|
- Akinori MUSHA
|
12
11
|
- John Shahid
|
12
|
+
- Karol Bucek
|
13
13
|
- Lars Kanis
|
14
|
+
- Sergio Arbeo
|
15
|
+
- Timothy Elliott
|
16
|
+
- Nobuyoshi Nakada
|
14
17
|
autorequire:
|
15
18
|
bindir: bin
|
16
19
|
cert_chain: []
|
17
|
-
date:
|
20
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
18
21
|
dependencies:
|
19
22
|
- !ruby/object:Gem::Dependency
|
20
|
-
name:
|
21
|
-
requirement: !ruby/object:Gem::Requirement
|
22
|
-
requirements:
|
23
|
-
- - "~>"
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '0.32'
|
26
|
-
type: :development
|
27
|
-
prerelease: false
|
28
|
-
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
requirements:
|
30
|
-
- - "~>"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.32'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: hoe
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '3.22'
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 3.22.1
|
43
|
-
type: :development
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '3.22'
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 3.22.1
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: hoe-bundler
|
23
|
+
name: racc
|
55
24
|
requirement: !ruby/object:Gem::Requirement
|
56
25
|
requirements:
|
57
26
|
- - "~>"
|
58
27
|
- !ruby/object:Gem::Version
|
59
|
-
version: '1.
|
60
|
-
type: :
|
28
|
+
version: '1.4'
|
29
|
+
type: :runtime
|
61
30
|
prerelease: false
|
62
31
|
version_requirements: !ruby/object:Gem::Requirement
|
63
32
|
requirements:
|
64
33
|
- - "~>"
|
65
34
|
- !ruby/object:Gem::Version
|
66
|
-
version: '1.
|
35
|
+
version: '1.4'
|
67
36
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
37
|
+
name: bundler
|
69
38
|
requirement: !ruby/object:Gem::Requirement
|
70
39
|
requirements:
|
71
40
|
- - "~>"
|
72
41
|
- !ruby/object:Gem::Version
|
73
|
-
version: '2.
|
42
|
+
version: '2.2'
|
74
43
|
type: :development
|
75
44
|
prerelease: false
|
76
45
|
version_requirements: !ruby/object:Gem::Requirement
|
77
46
|
requirements:
|
78
47
|
- - "~>"
|
79
48
|
- !ruby/object:Gem::Version
|
80
|
-
version: '2.
|
49
|
+
version: '2.2'
|
81
50
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
51
|
+
name: concourse
|
83
52
|
requirement: !ruby/object:Gem::Requirement
|
84
53
|
requirements:
|
85
54
|
- - "~>"
|
86
55
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
56
|
+
version: '0.41'
|
88
57
|
type: :development
|
89
58
|
prerelease: false
|
90
59
|
version_requirements: !ruby/object:Gem::Requirement
|
91
60
|
requirements:
|
92
61
|
- - "~>"
|
93
62
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
63
|
+
version: '0.41'
|
95
64
|
- !ruby/object:Gem::Dependency
|
96
|
-
name: hoe-
|
65
|
+
name: hoe-markdown
|
97
66
|
requirement: !ruby/object:Gem::Requirement
|
98
67
|
requirements:
|
99
68
|
- - "~>"
|
100
69
|
- !ruby/object:Gem::Version
|
101
|
-
version: '1.
|
70
|
+
version: '1.4'
|
102
71
|
type: :development
|
103
72
|
prerelease: false
|
104
73
|
version_requirements: !ruby/object:Gem::Requirement
|
105
74
|
requirements:
|
106
75
|
- - "~>"
|
107
76
|
- !ruby/object:Gem::Version
|
108
|
-
version: '1.
|
77
|
+
version: '1.4'
|
109
78
|
- !ruby/object:Gem::Dependency
|
110
79
|
name: minitest
|
111
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,19 +90,19 @@ dependencies:
|
|
121
90
|
- !ruby/object:Gem::Version
|
122
91
|
version: '5.8'
|
123
92
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
93
|
+
name: minitest-reporters
|
125
94
|
requirement: !ruby/object:Gem::Requirement
|
126
95
|
requirements:
|
127
96
|
- - "~>"
|
128
97
|
- !ruby/object:Gem::Version
|
129
|
-
version: 1.4
|
98
|
+
version: '1.4'
|
130
99
|
type: :development
|
131
100
|
prerelease: false
|
132
101
|
version_requirements: !ruby/object:Gem::Requirement
|
133
102
|
requirements:
|
134
103
|
- - "~>"
|
135
104
|
- !ruby/object:Gem::Version
|
136
|
-
version: 1.4
|
105
|
+
version: '1.4'
|
137
106
|
- !ruby/object:Gem::Dependency
|
138
107
|
name: rake
|
139
108
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,14 +137,14 @@ dependencies:
|
|
168
137
|
requirements:
|
169
138
|
- - "~>"
|
170
139
|
- !ruby/object:Gem::Version
|
171
|
-
version: '1.
|
140
|
+
version: '1.1'
|
172
141
|
type: :development
|
173
142
|
prerelease: false
|
174
143
|
version_requirements: !ruby/object:Gem::Requirement
|
175
144
|
requirements:
|
176
145
|
- - "~>"
|
177
146
|
- !ruby/object:Gem::Version
|
178
|
-
version: '1.
|
147
|
+
version: '1.1'
|
179
148
|
- !ruby/object:Gem::Dependency
|
180
149
|
name: rexical
|
181
150
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,102 +165,88 @@ dependencies:
|
|
196
165
|
requirements:
|
197
166
|
- - "~>"
|
198
167
|
- !ruby/object:Gem::Version
|
199
|
-
version: '
|
168
|
+
version: '1.7'
|
200
169
|
type: :development
|
201
170
|
prerelease: false
|
202
171
|
version_requirements: !ruby/object:Gem::Requirement
|
203
172
|
requirements:
|
204
173
|
- - "~>"
|
205
174
|
- !ruby/object:Gem::Version
|
206
|
-
version: '
|
175
|
+
version: '1.7'
|
207
176
|
- !ruby/object:Gem::Dependency
|
208
177
|
name: simplecov
|
209
178
|
requirement: !ruby/object:Gem::Requirement
|
210
179
|
requirements:
|
211
180
|
- - "~>"
|
212
181
|
- !ruby/object:Gem::Version
|
213
|
-
version: '0.
|
182
|
+
version: '0.20'
|
214
183
|
type: :development
|
215
184
|
prerelease: false
|
216
185
|
version_requirements: !ruby/object:Gem::Requirement
|
217
186
|
requirements:
|
218
187
|
- - "~>"
|
219
188
|
- !ruby/object:Gem::Version
|
220
|
-
version: '0.
|
189
|
+
version: '0.20'
|
221
190
|
- !ruby/object:Gem::Dependency
|
222
|
-
name:
|
191
|
+
name: yard
|
223
192
|
requirement: !ruby/object:Gem::Requirement
|
224
193
|
requirements:
|
225
|
-
- - "
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: '4.0'
|
228
|
-
- - "<"
|
194
|
+
- - "~>"
|
229
195
|
- !ruby/object:Gem::Version
|
230
|
-
version: '
|
196
|
+
version: '0.9'
|
231
197
|
type: :development
|
232
198
|
prerelease: false
|
233
199
|
version_requirements: !ruby/object:Gem::Requirement
|
234
200
|
requirements:
|
235
|
-
- - "
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '4.0'
|
238
|
-
- - "<"
|
201
|
+
- - "~>"
|
239
202
|
- !ruby/object:Gem::Version
|
240
|
-
version: '
|
241
|
-
description:
|
242
|
-
Nokogiri (鋸)
|
243
|
-
|
244
|
-
|
245
|
-
email:
|
246
|
-
- aaronp@rubyforge.org
|
247
|
-
- mike.dalessio@gmail.com
|
248
|
-
- yokolet@gmail.com
|
249
|
-
- tle@holymonkey.com
|
250
|
-
- knu@idaemons.org
|
251
|
-
- jvshahid@gmail.com
|
252
|
-
- lars@greiz-reinsdorf.de
|
203
|
+
version: '0.9'
|
204
|
+
description: |
|
205
|
+
Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
|
206
|
+
sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
|
207
|
+
fast and standards-compliant by relying on native parsers like libxml2 (C) and xerces (Java).
|
208
|
+
email: nokogiri-talk@googlegroups.com
|
253
209
|
executables:
|
254
210
|
- nokogiri
|
255
211
|
extensions: []
|
256
212
|
extra_rdoc_files:
|
257
|
-
-
|
258
|
-
-
|
259
|
-
- README.md
|
260
|
-
- ext/nokogiri/html_document.c
|
261
|
-
- ext/nokogiri/html_element_description.c
|
262
|
-
- ext/nokogiri/html_entity_lookup.c
|
263
|
-
- ext/nokogiri/html_sax_parser_context.c
|
264
|
-
- ext/nokogiri/html_sax_push_parser.c
|
265
|
-
- ext/nokogiri/nokogiri.c
|
213
|
+
- ext/nokogiri/xml_dtd.c
|
214
|
+
- ext/nokogiri/xml_xpath_context.c
|
266
215
|
- ext/nokogiri/xml_attr.c
|
267
|
-
- ext/nokogiri/
|
268
|
-
- ext/nokogiri/xml_cdata.c
|
216
|
+
- ext/nokogiri/libxml2_backwards_compat.c
|
269
217
|
- ext/nokogiri/xml_comment.c
|
270
|
-
- ext/nokogiri/
|
271
|
-
- ext/nokogiri/
|
272
|
-
- ext/nokogiri/
|
218
|
+
- ext/nokogiri/nokogiri.c
|
219
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
220
|
+
- ext/nokogiri/xml_node_set.c
|
221
|
+
- ext/nokogiri/xml_reader.c
|
222
|
+
- ext/nokogiri/xml_cdata.c
|
273
223
|
- ext/nokogiri/xml_element_content.c
|
224
|
+
- ext/nokogiri/html_entity_lookup.c
|
225
|
+
- ext/nokogiri/xml_namespace.c
|
226
|
+
- ext/nokogiri/xml_document.c
|
274
227
|
- ext/nokogiri/xml_element_decl.c
|
228
|
+
- ext/nokogiri/xml_schema.c
|
229
|
+
- ext/nokogiri/html_document.c
|
230
|
+
- ext/nokogiri/xml_processing_instruction.c
|
231
|
+
- ext/nokogiri/xml_text.c
|
232
|
+
- ext/nokogiri/xml_syntax_error.c
|
233
|
+
- ext/nokogiri/xml_document_fragment.c
|
234
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
275
235
|
- ext/nokogiri/xml_encoding_handler.c
|
236
|
+
- ext/nokogiri/html_sax_push_parser.c
|
237
|
+
- ext/nokogiri/xml_relax_ng.c
|
276
238
|
- ext/nokogiri/xml_entity_decl.c
|
277
|
-
- ext/nokogiri/
|
278
|
-
- ext/nokogiri/xml_io.c
|
279
|
-
- ext/nokogiri/xml_libxml2_hacks.c
|
280
|
-
- ext/nokogiri/xml_namespace.c
|
239
|
+
- ext/nokogiri/test_global_handlers.c
|
281
240
|
- ext/nokogiri/xml_node.c
|
282
|
-
- ext/nokogiri/
|
283
|
-
- ext/nokogiri/xml_processing_instruction.c
|
284
|
-
- ext/nokogiri/xml_reader.c
|
285
|
-
- ext/nokogiri/xml_relax_ng.c
|
286
|
-
- ext/nokogiri/xml_sax_parser.c
|
287
|
-
- ext/nokogiri/xml_sax_parser_context.c
|
288
|
-
- ext/nokogiri/xml_sax_push_parser.c
|
289
|
-
- ext/nokogiri/xml_schema.c
|
290
|
-
- ext/nokogiri/xml_syntax_error.c
|
291
|
-
- ext/nokogiri/xml_text.c
|
292
|
-
- ext/nokogiri/xml_xpath_context.c
|
241
|
+
- ext/nokogiri/xml_entity_reference.c
|
293
242
|
- ext/nokogiri/xslt_stylesheet.c
|
243
|
+
- ext/nokogiri/html_sax_parser_context.c
|
244
|
+
- ext/nokogiri/xml_sax_parser.c
|
245
|
+
- ext/nokogiri/xml_attribute_decl.c
|
246
|
+
- ext/nokogiri/html_element_description.c
|
247
|
+
- README.md
|
294
248
|
files:
|
249
|
+
- Gemfile
|
295
250
|
- LICENSE-DEPENDENCIES.md
|
296
251
|
- LICENSE.md
|
297
252
|
- README.md
|
@@ -300,78 +255,116 @@ files:
|
|
300
255
|
- ext/nokogiri/depend
|
301
256
|
- ext/nokogiri/extconf.rb
|
302
257
|
- ext/nokogiri/html_document.c
|
303
|
-
- ext/nokogiri/html_document.h
|
304
258
|
- ext/nokogiri/html_element_description.c
|
305
|
-
- ext/nokogiri/html_element_description.h
|
306
259
|
- ext/nokogiri/html_entity_lookup.c
|
307
|
-
- ext/nokogiri/html_entity_lookup.h
|
308
260
|
- ext/nokogiri/html_sax_parser_context.c
|
309
|
-
- ext/nokogiri/html_sax_parser_context.h
|
310
261
|
- ext/nokogiri/html_sax_push_parser.c
|
311
|
-
- ext/nokogiri/
|
262
|
+
- ext/nokogiri/include/libexslt/exslt.h
|
263
|
+
- ext/nokogiri/include/libexslt/exsltconfig.h
|
264
|
+
- ext/nokogiri/include/libexslt/exsltexports.h
|
265
|
+
- ext/nokogiri/include/libxml2/libxml/DOCBparser.h
|
266
|
+
- ext/nokogiri/include/libxml2/libxml/HTMLparser.h
|
267
|
+
- ext/nokogiri/include/libxml2/libxml/HTMLtree.h
|
268
|
+
- ext/nokogiri/include/libxml2/libxml/SAX.h
|
269
|
+
- ext/nokogiri/include/libxml2/libxml/SAX2.h
|
270
|
+
- ext/nokogiri/include/libxml2/libxml/c14n.h
|
271
|
+
- ext/nokogiri/include/libxml2/libxml/catalog.h
|
272
|
+
- ext/nokogiri/include/libxml2/libxml/chvalid.h
|
273
|
+
- ext/nokogiri/include/libxml2/libxml/debugXML.h
|
274
|
+
- ext/nokogiri/include/libxml2/libxml/dict.h
|
275
|
+
- ext/nokogiri/include/libxml2/libxml/encoding.h
|
276
|
+
- ext/nokogiri/include/libxml2/libxml/entities.h
|
277
|
+
- ext/nokogiri/include/libxml2/libxml/globals.h
|
278
|
+
- ext/nokogiri/include/libxml2/libxml/hash.h
|
279
|
+
- ext/nokogiri/include/libxml2/libxml/list.h
|
280
|
+
- ext/nokogiri/include/libxml2/libxml/nanoftp.h
|
281
|
+
- ext/nokogiri/include/libxml2/libxml/nanohttp.h
|
282
|
+
- ext/nokogiri/include/libxml2/libxml/parser.h
|
283
|
+
- ext/nokogiri/include/libxml2/libxml/parserInternals.h
|
284
|
+
- ext/nokogiri/include/libxml2/libxml/pattern.h
|
285
|
+
- ext/nokogiri/include/libxml2/libxml/relaxng.h
|
286
|
+
- ext/nokogiri/include/libxml2/libxml/schemasInternals.h
|
287
|
+
- ext/nokogiri/include/libxml2/libxml/schematron.h
|
288
|
+
- ext/nokogiri/include/libxml2/libxml/threads.h
|
289
|
+
- ext/nokogiri/include/libxml2/libxml/tree.h
|
290
|
+
- ext/nokogiri/include/libxml2/libxml/uri.h
|
291
|
+
- ext/nokogiri/include/libxml2/libxml/valid.h
|
292
|
+
- ext/nokogiri/include/libxml2/libxml/xinclude.h
|
293
|
+
- ext/nokogiri/include/libxml2/libxml/xlink.h
|
294
|
+
- ext/nokogiri/include/libxml2/libxml/xmlIO.h
|
295
|
+
- ext/nokogiri/include/libxml2/libxml/xmlautomata.h
|
296
|
+
- ext/nokogiri/include/libxml2/libxml/xmlerror.h
|
297
|
+
- ext/nokogiri/include/libxml2/libxml/xmlexports.h
|
298
|
+
- ext/nokogiri/include/libxml2/libxml/xmlmemory.h
|
299
|
+
- ext/nokogiri/include/libxml2/libxml/xmlmodule.h
|
300
|
+
- ext/nokogiri/include/libxml2/libxml/xmlreader.h
|
301
|
+
- ext/nokogiri/include/libxml2/libxml/xmlregexp.h
|
302
|
+
- ext/nokogiri/include/libxml2/libxml/xmlsave.h
|
303
|
+
- ext/nokogiri/include/libxml2/libxml/xmlschemas.h
|
304
|
+
- ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h
|
305
|
+
- ext/nokogiri/include/libxml2/libxml/xmlstring.h
|
306
|
+
- ext/nokogiri/include/libxml2/libxml/xmlunicode.h
|
307
|
+
- ext/nokogiri/include/libxml2/libxml/xmlversion.h
|
308
|
+
- ext/nokogiri/include/libxml2/libxml/xmlwriter.h
|
309
|
+
- ext/nokogiri/include/libxml2/libxml/xpath.h
|
310
|
+
- ext/nokogiri/include/libxml2/libxml/xpathInternals.h
|
311
|
+
- ext/nokogiri/include/libxml2/libxml/xpointer.h
|
312
|
+
- ext/nokogiri/include/libxslt/attributes.h
|
313
|
+
- ext/nokogiri/include/libxslt/documents.h
|
314
|
+
- ext/nokogiri/include/libxslt/extensions.h
|
315
|
+
- ext/nokogiri/include/libxslt/extra.h
|
316
|
+
- ext/nokogiri/include/libxslt/functions.h
|
317
|
+
- ext/nokogiri/include/libxslt/imports.h
|
318
|
+
- ext/nokogiri/include/libxslt/keys.h
|
319
|
+
- ext/nokogiri/include/libxslt/namespaces.h
|
320
|
+
- ext/nokogiri/include/libxslt/numbersInternals.h
|
321
|
+
- ext/nokogiri/include/libxslt/pattern.h
|
322
|
+
- ext/nokogiri/include/libxslt/preproc.h
|
323
|
+
- ext/nokogiri/include/libxslt/security.h
|
324
|
+
- ext/nokogiri/include/libxslt/templates.h
|
325
|
+
- ext/nokogiri/include/libxslt/transform.h
|
326
|
+
- ext/nokogiri/include/libxslt/variables.h
|
327
|
+
- ext/nokogiri/include/libxslt/xslt.h
|
328
|
+
- ext/nokogiri/include/libxslt/xsltInternals.h
|
329
|
+
- ext/nokogiri/include/libxslt/xsltconfig.h
|
330
|
+
- ext/nokogiri/include/libxslt/xsltexports.h
|
331
|
+
- ext/nokogiri/include/libxslt/xsltlocale.h
|
332
|
+
- ext/nokogiri/include/libxslt/xsltutils.h
|
333
|
+
- ext/nokogiri/libxml2_backwards_compat.c
|
312
334
|
- ext/nokogiri/nokogiri.c
|
313
335
|
- ext/nokogiri/nokogiri.h
|
336
|
+
- ext/nokogiri/test_global_handlers.c
|
314
337
|
- ext/nokogiri/xml_attr.c
|
315
|
-
- ext/nokogiri/xml_attr.h
|
316
338
|
- ext/nokogiri/xml_attribute_decl.c
|
317
|
-
- ext/nokogiri/xml_attribute_decl.h
|
318
339
|
- ext/nokogiri/xml_cdata.c
|
319
|
-
- ext/nokogiri/xml_cdata.h
|
320
340
|
- ext/nokogiri/xml_comment.c
|
321
|
-
- ext/nokogiri/xml_comment.h
|
322
341
|
- ext/nokogiri/xml_document.c
|
323
|
-
- ext/nokogiri/xml_document.h
|
324
342
|
- ext/nokogiri/xml_document_fragment.c
|
325
|
-
- ext/nokogiri/xml_document_fragment.h
|
326
343
|
- ext/nokogiri/xml_dtd.c
|
327
|
-
- ext/nokogiri/xml_dtd.h
|
328
344
|
- ext/nokogiri/xml_element_content.c
|
329
|
-
- ext/nokogiri/xml_element_content.h
|
330
345
|
- ext/nokogiri/xml_element_decl.c
|
331
|
-
- ext/nokogiri/xml_element_decl.h
|
332
346
|
- ext/nokogiri/xml_encoding_handler.c
|
333
|
-
- ext/nokogiri/xml_encoding_handler.h
|
334
347
|
- ext/nokogiri/xml_entity_decl.c
|
335
|
-
- ext/nokogiri/xml_entity_decl.h
|
336
348
|
- ext/nokogiri/xml_entity_reference.c
|
337
|
-
- ext/nokogiri/xml_entity_reference.h
|
338
|
-
- ext/nokogiri/xml_io.c
|
339
|
-
- ext/nokogiri/xml_io.h
|
340
|
-
- ext/nokogiri/xml_libxml2_hacks.c
|
341
|
-
- ext/nokogiri/xml_libxml2_hacks.h
|
342
349
|
- ext/nokogiri/xml_namespace.c
|
343
|
-
- ext/nokogiri/xml_namespace.h
|
344
350
|
- ext/nokogiri/xml_node.c
|
345
|
-
- ext/nokogiri/xml_node.h
|
346
351
|
- ext/nokogiri/xml_node_set.c
|
347
|
-
- ext/nokogiri/xml_node_set.h
|
348
352
|
- ext/nokogiri/xml_processing_instruction.c
|
349
|
-
- ext/nokogiri/xml_processing_instruction.h
|
350
353
|
- ext/nokogiri/xml_reader.c
|
351
|
-
- ext/nokogiri/xml_reader.h
|
352
354
|
- ext/nokogiri/xml_relax_ng.c
|
353
|
-
- ext/nokogiri/xml_relax_ng.h
|
354
355
|
- ext/nokogiri/xml_sax_parser.c
|
355
|
-
- ext/nokogiri/xml_sax_parser.h
|
356
356
|
- ext/nokogiri/xml_sax_parser_context.c
|
357
|
-
- ext/nokogiri/xml_sax_parser_context.h
|
358
357
|
- ext/nokogiri/xml_sax_push_parser.c
|
359
|
-
- ext/nokogiri/xml_sax_push_parser.h
|
360
358
|
- ext/nokogiri/xml_schema.c
|
361
|
-
- ext/nokogiri/xml_schema.h
|
362
359
|
- ext/nokogiri/xml_syntax_error.c
|
363
|
-
- ext/nokogiri/xml_syntax_error.h
|
364
360
|
- ext/nokogiri/xml_text.c
|
365
|
-
- ext/nokogiri/xml_text.h
|
366
361
|
- ext/nokogiri/xml_xpath_context.c
|
367
|
-
- ext/nokogiri/xml_xpath_context.h
|
368
362
|
- ext/nokogiri/xslt_stylesheet.c
|
369
|
-
- ext/nokogiri/xslt_stylesheet.h
|
370
363
|
- lib/nokogiri.rb
|
371
|
-
- lib/nokogiri/2.4/nokogiri.so
|
372
364
|
- lib/nokogiri/2.5/nokogiri.so
|
373
365
|
- lib/nokogiri/2.6/nokogiri.so
|
374
366
|
- lib/nokogiri/2.7/nokogiri.so
|
367
|
+
- lib/nokogiri/3.0/nokogiri.so
|
375
368
|
- lib/nokogiri/css.rb
|
376
369
|
- lib/nokogiri/css/node.rb
|
377
370
|
- lib/nokogiri/css/parser.rb
|
@@ -382,6 +375,7 @@ files:
|
|
382
375
|
- lib/nokogiri/css/tokenizer.rex
|
383
376
|
- lib/nokogiri/css/xpath_visitor.rb
|
384
377
|
- lib/nokogiri/decorators/slop.rb
|
378
|
+
- lib/nokogiri/extension.rb
|
385
379
|
- lib/nokogiri/html.rb
|
386
380
|
- lib/nokogiri/html/builder.rb
|
387
381
|
- lib/nokogiri/html/document.rb
|
@@ -395,6 +389,8 @@ files:
|
|
395
389
|
- lib/nokogiri/jruby/dependencies.rb
|
396
390
|
- lib/nokogiri/syntax_error.rb
|
397
391
|
- lib/nokogiri/version.rb
|
392
|
+
- lib/nokogiri/version/constant.rb
|
393
|
+
- lib/nokogiri/version/info.rb
|
398
394
|
- lib/nokogiri/xml.rb
|
399
395
|
- lib/nokogiri/xml/attr.rb
|
400
396
|
- lib/nokogiri/xml/attribute_decl.rb
|
@@ -444,10 +440,7 @@ metadata:
|
|
444
440
|
documentation_uri: https://nokogiri.org/rdoc/index.html
|
445
441
|
changelog_uri: https://nokogiri.org/CHANGELOG.html
|
446
442
|
source_code_uri: https://github.com/sparklemotion/nokogiri
|
447
|
-
post_install_message:
|
448
|
-
libxslt-1.1.34, zlib-1.2.11, libiconv-1.15.
|
449
|
-
|
450
|
-
'
|
443
|
+
post_install_message:
|
451
444
|
rdoc_options:
|
452
445
|
- "--main"
|
453
446
|
- README.md
|
@@ -457,18 +450,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
457
450
|
requirements:
|
458
451
|
- - ">="
|
459
452
|
- !ruby/object:Gem::Version
|
460
|
-
version: '2.
|
453
|
+
version: '2.5'
|
461
454
|
- - "<"
|
462
455
|
- !ruby/object:Gem::Version
|
463
|
-
version:
|
456
|
+
version: 3.1.dev
|
464
457
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
465
458
|
requirements:
|
466
|
-
- - "
|
459
|
+
- - ">="
|
467
460
|
- !ruby/object:Gem::Version
|
468
|
-
version:
|
461
|
+
version: '0'
|
469
462
|
requirements: []
|
470
|
-
rubygems_version: 3.
|
463
|
+
rubygems_version: 3.2.3
|
471
464
|
signing_key:
|
472
465
|
specification_version: 4
|
473
|
-
summary: Nokogiri (鋸)
|
466
|
+
summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
|
474
467
|
test_files: []
|