nokogiri 1.11.0.rc1-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 +7 -0
- data/LICENSE-DEPENDENCIES.md +1614 -0
- data/LICENSE.md +9 -0
- data/README.md +200 -0
- data/bin/nokogiri +118 -0
- data/dependencies.yml +74 -0
- data/ext/nokogiri/depend +358 -0
- data/ext/nokogiri/extconf.rb +695 -0
- data/ext/nokogiri/html_document.c +170 -0
- data/ext/nokogiri/html_document.h +10 -0
- data/ext/nokogiri/html_element_description.c +279 -0
- data/ext/nokogiri/html_element_description.h +10 -0
- data/ext/nokogiri/html_entity_lookup.c +32 -0
- data/ext/nokogiri/html_entity_lookup.h +8 -0
- data/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/ext/nokogiri/nokogiri.c +147 -0
- data/ext/nokogiri/nokogiri.h +122 -0
- data/ext/nokogiri/xml_attr.c +103 -0
- data/ext/nokogiri/xml_attr.h +9 -0
- data/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/ext/nokogiri/xml_cdata.c +62 -0
- data/ext/nokogiri/xml_cdata.h +9 -0
- data/ext/nokogiri/xml_comment.c +69 -0
- data/ext/nokogiri/xml_comment.h +9 -0
- data/ext/nokogiri/xml_document.c +617 -0
- data/ext/nokogiri/xml_document.h +23 -0
- data/ext/nokogiri/xml_document_fragment.c +48 -0
- data/ext/nokogiri/xml_document_fragment.h +10 -0
- data/ext/nokogiri/xml_dtd.c +202 -0
- data/ext/nokogiri/xml_dtd.h +10 -0
- data/ext/nokogiri/xml_element_content.c +123 -0
- data/ext/nokogiri/xml_element_content.h +10 -0
- data/ext/nokogiri/xml_element_decl.c +69 -0
- data/ext/nokogiri/xml_element_decl.h +9 -0
- data/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/ext/nokogiri/xml_entity_decl.c +110 -0
- data/ext/nokogiri/xml_entity_decl.h +10 -0
- data/ext/nokogiri/xml_entity_reference.c +52 -0
- data/ext/nokogiri/xml_entity_reference.h +9 -0
- data/ext/nokogiri/xml_io.c +61 -0
- data/ext/nokogiri/xml_io.h +11 -0
- data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/ext/nokogiri/xml_namespace.c +111 -0
- data/ext/nokogiri/xml_namespace.h +14 -0
- data/ext/nokogiri/xml_node.c +1773 -0
- data/ext/nokogiri/xml_node.h +13 -0
- data/ext/nokogiri/xml_node_set.c +486 -0
- data/ext/nokogiri/xml_node_set.h +12 -0
- data/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/ext/nokogiri/xml_reader.c +668 -0
- data/ext/nokogiri/xml_reader.h +10 -0
- data/ext/nokogiri/xml_relax_ng.c +161 -0
- data/ext/nokogiri/xml_relax_ng.h +9 -0
- data/ext/nokogiri/xml_sax_parser.c +310 -0
- data/ext/nokogiri/xml_sax_parser.h +39 -0
- data/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/ext/nokogiri/xml_schema.c +205 -0
- data/ext/nokogiri/xml_schema.h +9 -0
- data/ext/nokogiri/xml_syntax_error.c +64 -0
- data/ext/nokogiri/xml_syntax_error.h +13 -0
- data/ext/nokogiri/xml_text.c +52 -0
- data/ext/nokogiri/xml_text.h +9 -0
- data/ext/nokogiri/xml_xpath_context.c +298 -0
- data/ext/nokogiri/xml_xpath_context.h +10 -0
- data/ext/nokogiri/xslt_stylesheet.c +266 -0
- data/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/lib/nokogiri.rb +127 -0
- data/lib/nokogiri/2.4/nokogiri.so +0 -0
- 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/css.rb +28 -0
- data/lib/nokogiri/css/node.rb +53 -0
- data/lib/nokogiri/css/parser.rb +751 -0
- data/lib/nokogiri/css/parser.y +272 -0
- data/lib/nokogiri/css/parser_extras.rb +92 -0
- data/lib/nokogiri/css/syntax_error.rb +8 -0
- data/lib/nokogiri/css/tokenizer.rb +154 -0
- data/lib/nokogiri/css/tokenizer.rex +55 -0
- data/lib/nokogiri/css/xpath_visitor.rb +232 -0
- data/lib/nokogiri/decorators/slop.rb +43 -0
- data/lib/nokogiri/html.rb +38 -0
- data/lib/nokogiri/html/builder.rb +36 -0
- data/lib/nokogiri/html/document.rb +336 -0
- data/lib/nokogiri/html/document_fragment.rb +50 -0
- data/lib/nokogiri/html/element_description.rb +24 -0
- data/lib/nokogiri/html/element_description_defaults.rb +672 -0
- data/lib/nokogiri/html/entity_lookup.rb +14 -0
- data/lib/nokogiri/html/sax/parser.rb +63 -0
- data/lib/nokogiri/html/sax/parser_context.rb +17 -0
- data/lib/nokogiri/html/sax/push_parser.rb +37 -0
- data/lib/nokogiri/jruby/dependencies.rb +20 -0
- data/lib/nokogiri/syntax_error.rb +5 -0
- data/lib/nokogiri/version.rb +149 -0
- data/lib/nokogiri/xml.rb +76 -0
- data/lib/nokogiri/xml/attr.rb +15 -0
- data/lib/nokogiri/xml/attribute_decl.rb +19 -0
- data/lib/nokogiri/xml/builder.rb +447 -0
- data/lib/nokogiri/xml/cdata.rb +12 -0
- data/lib/nokogiri/xml/character_data.rb +8 -0
- data/lib/nokogiri/xml/document.rb +280 -0
- data/lib/nokogiri/xml/document_fragment.rb +161 -0
- data/lib/nokogiri/xml/dtd.rb +33 -0
- data/lib/nokogiri/xml/element_content.rb +37 -0
- data/lib/nokogiri/xml/element_decl.rb +14 -0
- data/lib/nokogiri/xml/entity_decl.rb +20 -0
- data/lib/nokogiri/xml/entity_reference.rb +19 -0
- data/lib/nokogiri/xml/namespace.rb +14 -0
- data/lib/nokogiri/xml/node.rb +916 -0
- data/lib/nokogiri/xml/node/save_options.rb +62 -0
- data/lib/nokogiri/xml/node_set.rb +372 -0
- data/lib/nokogiri/xml/notation.rb +7 -0
- data/lib/nokogiri/xml/parse_options.rb +121 -0
- data/lib/nokogiri/xml/pp.rb +3 -0
- data/lib/nokogiri/xml/pp/character_data.rb +19 -0
- data/lib/nokogiri/xml/pp/node.rb +57 -0
- data/lib/nokogiri/xml/processing_instruction.rb +9 -0
- data/lib/nokogiri/xml/reader.rb +116 -0
- data/lib/nokogiri/xml/relax_ng.rb +33 -0
- data/lib/nokogiri/xml/sax.rb +5 -0
- data/lib/nokogiri/xml/sax/document.rb +172 -0
- data/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/lib/nokogiri/xml/sax/parser_context.rb +17 -0
- data/lib/nokogiri/xml/sax/push_parser.rb +61 -0
- data/lib/nokogiri/xml/schema.rb +64 -0
- data/lib/nokogiri/xml/searchable.rb +231 -0
- data/lib/nokogiri/xml/syntax_error.rb +71 -0
- data/lib/nokogiri/xml/text.rb +10 -0
- data/lib/nokogiri/xml/xpath.rb +11 -0
- data/lib/nokogiri/xml/xpath/syntax_error.rb +12 -0
- data/lib/nokogiri/xml/xpath_context.rb +17 -0
- data/lib/nokogiri/xslt.rb +57 -0
- data/lib/nokogiri/xslt/stylesheet.rb +26 -0
- data/lib/xsd/xmlparser/nokogiri.rb +103 -0
- metadata +482 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Nokogiri
|
3
|
+
module XML
|
4
|
+
class XPathContext
|
5
|
+
|
6
|
+
###
|
7
|
+
# Register namespaces in +namespaces+
|
8
|
+
def register_namespaces(namespaces)
|
9
|
+
namespaces.each do |k, v|
|
10
|
+
k = k.to_s.gsub(/.*:/,'') # strip off 'xmlns:' or 'xml:'
|
11
|
+
register_ns(k, v)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'nokogiri/xslt/stylesheet'
|
3
|
+
|
4
|
+
module Nokogiri
|
5
|
+
class << self
|
6
|
+
###
|
7
|
+
# Create a Nokogiri::XSLT::Stylesheet with +stylesheet+.
|
8
|
+
#
|
9
|
+
# Example:
|
10
|
+
#
|
11
|
+
# xslt = Nokogiri::XSLT(File.read(ARGV[0]))
|
12
|
+
#
|
13
|
+
def XSLT stylesheet, modules = {}
|
14
|
+
XSLT.parse(stylesheet, modules)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
###
|
19
|
+
# See Nokogiri::XSLT::Stylesheet for creating and manipulating
|
20
|
+
# Stylesheet object.
|
21
|
+
module XSLT
|
22
|
+
class << self
|
23
|
+
###
|
24
|
+
# Parse the stylesheet in +string+, register any +modules+
|
25
|
+
def parse string, modules = {}
|
26
|
+
modules.each do |url, klass|
|
27
|
+
XSLT.register url, klass
|
28
|
+
end
|
29
|
+
|
30
|
+
if Nokogiri.jruby?
|
31
|
+
Stylesheet.parse_stylesheet_doc(XML.parse(string), string)
|
32
|
+
else
|
33
|
+
Stylesheet.parse_stylesheet_doc(XML.parse(string))
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
###
|
38
|
+
# Quote parameters in +params+ for stylesheet safety
|
39
|
+
def quote_params params
|
40
|
+
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
|
+
parray[i]=
|
44
|
+
if v =~ /'/
|
45
|
+
"concat('#{ v.gsub(/'/, %q{', "'", '}) }')"
|
46
|
+
else
|
47
|
+
"'#{v}'";
|
48
|
+
end
|
49
|
+
else
|
50
|
+
parray[i] = v.to_s
|
51
|
+
end
|
52
|
+
end
|
53
|
+
parray.flatten
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module Nokogiri
|
3
|
+
module XSLT
|
4
|
+
###
|
5
|
+
# A Stylesheet represents an XSLT Stylesheet object. Stylesheet creation
|
6
|
+
# is done through Nokogiri.XSLT. Here is an example of transforming
|
7
|
+
# an XML::Document with a Stylesheet:
|
8
|
+
#
|
9
|
+
# doc = Nokogiri::XML(File.read('some_file.xml'))
|
10
|
+
# xslt = Nokogiri::XSLT(File.read('some_transformer.xslt'))
|
11
|
+
#
|
12
|
+
# puts xslt.transform(doc)
|
13
|
+
#
|
14
|
+
# See Nokogiri::XSLT::Stylesheet#transform for more transformation
|
15
|
+
# information.
|
16
|
+
class Stylesheet
|
17
|
+
###
|
18
|
+
# Apply an XSLT stylesheet to an XML::Document.
|
19
|
+
# +params+ is an array of strings used as XSLT parameters.
|
20
|
+
# returns serialized document
|
21
|
+
def apply_to document, params = []
|
22
|
+
serialize(transform(document, params))
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'nokogiri'
|
3
|
+
|
4
|
+
module XSD # :nodoc:
|
5
|
+
module XMLParser # :nodoc:
|
6
|
+
###
|
7
|
+
# Nokogiri XML parser for soap4r.
|
8
|
+
#
|
9
|
+
# Nokogiri may be used as the XML parser in soap4r. Simply require
|
10
|
+
# 'xsd/xmlparser/nokogiri' in your soap4r applications, and soap4r
|
11
|
+
# will use Nokogiri as it's XML parser. No other changes should be
|
12
|
+
# required to use Nokogiri as the XML parser.
|
13
|
+
#
|
14
|
+
# Example (using UW ITS Web Services):
|
15
|
+
#
|
16
|
+
# require 'rubygems'
|
17
|
+
# require 'nokogiri'
|
18
|
+
# gem 'soap4r'
|
19
|
+
# require 'defaultDriver'
|
20
|
+
# require 'xsd/xmlparser/nokogiri'
|
21
|
+
#
|
22
|
+
# obj = AvlPortType.new
|
23
|
+
# obj.getLatestByRoute(obj.getAgencies.first, 8).each do |bus|
|
24
|
+
# p "#{bus.routeID}, #{bus.longitude}, #{bus.latitude}"
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
class Nokogiri < XSD::XMLParser::Parser
|
28
|
+
###
|
29
|
+
# Create a new XSD parser with +host+ and +opt+
|
30
|
+
def initialize host, opt = {}
|
31
|
+
super
|
32
|
+
@parser = ::Nokogiri::XML::SAX::Parser.new(self, @charset || 'UTF-8')
|
33
|
+
end
|
34
|
+
|
35
|
+
###
|
36
|
+
# Start parsing +string_or_readable+
|
37
|
+
def do_parse string_or_readable
|
38
|
+
@parser.parse(string_or_readable)
|
39
|
+
end
|
40
|
+
|
41
|
+
###
|
42
|
+
# Handle the start_element event with +name+ and +attrs+
|
43
|
+
def start_element name, attrs = []
|
44
|
+
super(name, Hash[*attrs.flatten])
|
45
|
+
end
|
46
|
+
|
47
|
+
###
|
48
|
+
# Handle the end_element event with +name+
|
49
|
+
def end_element name
|
50
|
+
super
|
51
|
+
end
|
52
|
+
|
53
|
+
###
|
54
|
+
# Handle errors with message +msg+
|
55
|
+
def error msg
|
56
|
+
raise ParseError.new(msg)
|
57
|
+
end
|
58
|
+
alias :warning :error
|
59
|
+
|
60
|
+
###
|
61
|
+
# Handle cdata_blocks containing +string+
|
62
|
+
def cdata_block string
|
63
|
+
characters string
|
64
|
+
end
|
65
|
+
|
66
|
+
###
|
67
|
+
# Called at the beginning of an element
|
68
|
+
# +name+ is the element name
|
69
|
+
# +attrs+ is a list of attributes
|
70
|
+
# +prefix+ is the namespace prefix for the element
|
71
|
+
# +uri+ is the associated namespace URI
|
72
|
+
# +ns+ is a hash of namespace prefix:urls associated with the element
|
73
|
+
def start_element_namespace name, attrs = [], prefix = nil, uri = nil, ns = []
|
74
|
+
###
|
75
|
+
# Deal with SAX v1 interface
|
76
|
+
name = [prefix, name].compact.join(':')
|
77
|
+
attributes = ns.map { |ns_prefix,ns_uri|
|
78
|
+
[['xmlns', ns_prefix].compact.join(':'), ns_uri]
|
79
|
+
} + attrs.map { |attr|
|
80
|
+
[[attr.prefix, attr.localname].compact.join(':'), attr.value]
|
81
|
+
}.flatten
|
82
|
+
start_element name, attributes
|
83
|
+
end
|
84
|
+
|
85
|
+
###
|
86
|
+
# Called at the end of an element
|
87
|
+
# +name+ is the element's name
|
88
|
+
# +prefix+ is the namespace prefix associated with the element
|
89
|
+
# +uri+ is the associated namespace URI
|
90
|
+
def end_element_namespace name, prefix = nil, uri = nil
|
91
|
+
###
|
92
|
+
# Deal with SAX v1 interface
|
93
|
+
end_element [prefix, name].compact.join(':')
|
94
|
+
end
|
95
|
+
|
96
|
+
%w{ xmldecl start_document end_document comment }.each do |name|
|
97
|
+
class_eval %{ def #{name}(*args); end }
|
98
|
+
end
|
99
|
+
|
100
|
+
add_factory(self)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
metadata
ADDED
@@ -0,0 +1,482 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nokogiri
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.11.0.rc1
|
5
|
+
platform: x86-linux
|
6
|
+
authors:
|
7
|
+
- Aaron Patterson
|
8
|
+
- Mike Dalessio
|
9
|
+
- Yoko Harada
|
10
|
+
- Tim Elliott
|
11
|
+
- Akinori MUSHA
|
12
|
+
- John Shahid
|
13
|
+
- Lars Kanis
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: mini_portile2
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 2.4.0
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.4.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: concourse
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.30'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.30'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: hoe
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.18'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3.18'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: hoe-bundler
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.2'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.2'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: hoe-debugging
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '2.0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: hoe-gemspec
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: hoe-git
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.6'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.6'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: minitest
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '5.8'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '5.8'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: racc
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 1.4.14
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.4.14
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rake
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '13.0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '13.0'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rake-compiler
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '1.1'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '1.1'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: rake-compiler-dock
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '1.0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rexical
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.0.5
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 1.0.5
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rubocop
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0.73'
|
208
|
+
type: :development
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - "~>"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0.73'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: simplecov
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0.16'
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - "~>"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0.16'
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: rdoc
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '4.0'
|
236
|
+
- - "<"
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '7'
|
239
|
+
type: :development
|
240
|
+
prerelease: false
|
241
|
+
version_requirements: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ">="
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '4.0'
|
246
|
+
- - "<"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '7'
|
249
|
+
description: |-
|
250
|
+
Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among
|
251
|
+
Nokogiri's many features is the ability to search documents via XPath
|
252
|
+
or CSS3 selectors.
|
253
|
+
email:
|
254
|
+
- aaronp@rubyforge.org
|
255
|
+
- mike.dalessio@gmail.com
|
256
|
+
- yokolet@gmail.com
|
257
|
+
- tle@holymonkey.com
|
258
|
+
- knu@idaemons.org
|
259
|
+
- jvshahid@gmail.com
|
260
|
+
- lars@greiz-reinsdorf.de
|
261
|
+
executables:
|
262
|
+
- nokogiri
|
263
|
+
extensions: []
|
264
|
+
extra_rdoc_files:
|
265
|
+
- LICENSE-DEPENDENCIES.md
|
266
|
+
- LICENSE.md
|
267
|
+
- README.md
|
268
|
+
- ext/nokogiri/html_document.c
|
269
|
+
- ext/nokogiri/html_element_description.c
|
270
|
+
- ext/nokogiri/html_entity_lookup.c
|
271
|
+
- ext/nokogiri/html_sax_parser_context.c
|
272
|
+
- ext/nokogiri/html_sax_push_parser.c
|
273
|
+
- ext/nokogiri/nokogiri.c
|
274
|
+
- ext/nokogiri/xml_attr.c
|
275
|
+
- ext/nokogiri/xml_attribute_decl.c
|
276
|
+
- ext/nokogiri/xml_cdata.c
|
277
|
+
- ext/nokogiri/xml_comment.c
|
278
|
+
- ext/nokogiri/xml_document.c
|
279
|
+
- ext/nokogiri/xml_document_fragment.c
|
280
|
+
- ext/nokogiri/xml_dtd.c
|
281
|
+
- ext/nokogiri/xml_element_content.c
|
282
|
+
- ext/nokogiri/xml_element_decl.c
|
283
|
+
- ext/nokogiri/xml_encoding_handler.c
|
284
|
+
- ext/nokogiri/xml_entity_decl.c
|
285
|
+
- ext/nokogiri/xml_entity_reference.c
|
286
|
+
- ext/nokogiri/xml_io.c
|
287
|
+
- ext/nokogiri/xml_libxml2_hacks.c
|
288
|
+
- ext/nokogiri/xml_namespace.c
|
289
|
+
- ext/nokogiri/xml_node.c
|
290
|
+
- ext/nokogiri/xml_node_set.c
|
291
|
+
- ext/nokogiri/xml_processing_instruction.c
|
292
|
+
- ext/nokogiri/xml_reader.c
|
293
|
+
- ext/nokogiri/xml_relax_ng.c
|
294
|
+
- ext/nokogiri/xml_sax_parser.c
|
295
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
296
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
297
|
+
- ext/nokogiri/xml_schema.c
|
298
|
+
- ext/nokogiri/xml_syntax_error.c
|
299
|
+
- ext/nokogiri/xml_text.c
|
300
|
+
- ext/nokogiri/xml_xpath_context.c
|
301
|
+
- ext/nokogiri/xslt_stylesheet.c
|
302
|
+
files:
|
303
|
+
- LICENSE-DEPENDENCIES.md
|
304
|
+
- LICENSE.md
|
305
|
+
- README.md
|
306
|
+
- bin/nokogiri
|
307
|
+
- dependencies.yml
|
308
|
+
- ext/nokogiri/depend
|
309
|
+
- ext/nokogiri/extconf.rb
|
310
|
+
- ext/nokogiri/html_document.c
|
311
|
+
- ext/nokogiri/html_document.h
|
312
|
+
- ext/nokogiri/html_element_description.c
|
313
|
+
- ext/nokogiri/html_element_description.h
|
314
|
+
- ext/nokogiri/html_entity_lookup.c
|
315
|
+
- ext/nokogiri/html_entity_lookup.h
|
316
|
+
- ext/nokogiri/html_sax_parser_context.c
|
317
|
+
- ext/nokogiri/html_sax_parser_context.h
|
318
|
+
- ext/nokogiri/html_sax_push_parser.c
|
319
|
+
- ext/nokogiri/html_sax_push_parser.h
|
320
|
+
- ext/nokogiri/nokogiri.c
|
321
|
+
- ext/nokogiri/nokogiri.h
|
322
|
+
- ext/nokogiri/xml_attr.c
|
323
|
+
- ext/nokogiri/xml_attr.h
|
324
|
+
- ext/nokogiri/xml_attribute_decl.c
|
325
|
+
- ext/nokogiri/xml_attribute_decl.h
|
326
|
+
- ext/nokogiri/xml_cdata.c
|
327
|
+
- ext/nokogiri/xml_cdata.h
|
328
|
+
- ext/nokogiri/xml_comment.c
|
329
|
+
- ext/nokogiri/xml_comment.h
|
330
|
+
- ext/nokogiri/xml_document.c
|
331
|
+
- ext/nokogiri/xml_document.h
|
332
|
+
- ext/nokogiri/xml_document_fragment.c
|
333
|
+
- ext/nokogiri/xml_document_fragment.h
|
334
|
+
- ext/nokogiri/xml_dtd.c
|
335
|
+
- ext/nokogiri/xml_dtd.h
|
336
|
+
- ext/nokogiri/xml_element_content.c
|
337
|
+
- ext/nokogiri/xml_element_content.h
|
338
|
+
- ext/nokogiri/xml_element_decl.c
|
339
|
+
- ext/nokogiri/xml_element_decl.h
|
340
|
+
- ext/nokogiri/xml_encoding_handler.c
|
341
|
+
- ext/nokogiri/xml_encoding_handler.h
|
342
|
+
- ext/nokogiri/xml_entity_decl.c
|
343
|
+
- ext/nokogiri/xml_entity_decl.h
|
344
|
+
- ext/nokogiri/xml_entity_reference.c
|
345
|
+
- ext/nokogiri/xml_entity_reference.h
|
346
|
+
- ext/nokogiri/xml_io.c
|
347
|
+
- ext/nokogiri/xml_io.h
|
348
|
+
- ext/nokogiri/xml_libxml2_hacks.c
|
349
|
+
- ext/nokogiri/xml_libxml2_hacks.h
|
350
|
+
- ext/nokogiri/xml_namespace.c
|
351
|
+
- ext/nokogiri/xml_namespace.h
|
352
|
+
- ext/nokogiri/xml_node.c
|
353
|
+
- ext/nokogiri/xml_node.h
|
354
|
+
- ext/nokogiri/xml_node_set.c
|
355
|
+
- ext/nokogiri/xml_node_set.h
|
356
|
+
- ext/nokogiri/xml_processing_instruction.c
|
357
|
+
- ext/nokogiri/xml_processing_instruction.h
|
358
|
+
- ext/nokogiri/xml_reader.c
|
359
|
+
- ext/nokogiri/xml_reader.h
|
360
|
+
- ext/nokogiri/xml_relax_ng.c
|
361
|
+
- ext/nokogiri/xml_relax_ng.h
|
362
|
+
- ext/nokogiri/xml_sax_parser.c
|
363
|
+
- ext/nokogiri/xml_sax_parser.h
|
364
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
365
|
+
- ext/nokogiri/xml_sax_parser_context.h
|
366
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
367
|
+
- ext/nokogiri/xml_sax_push_parser.h
|
368
|
+
- ext/nokogiri/xml_schema.c
|
369
|
+
- ext/nokogiri/xml_schema.h
|
370
|
+
- ext/nokogiri/xml_syntax_error.c
|
371
|
+
- ext/nokogiri/xml_syntax_error.h
|
372
|
+
- ext/nokogiri/xml_text.c
|
373
|
+
- ext/nokogiri/xml_text.h
|
374
|
+
- ext/nokogiri/xml_xpath_context.c
|
375
|
+
- ext/nokogiri/xml_xpath_context.h
|
376
|
+
- ext/nokogiri/xslt_stylesheet.c
|
377
|
+
- ext/nokogiri/xslt_stylesheet.h
|
378
|
+
- lib/nokogiri.rb
|
379
|
+
- lib/nokogiri/2.4/nokogiri.so
|
380
|
+
- lib/nokogiri/2.5/nokogiri.so
|
381
|
+
- lib/nokogiri/2.6/nokogiri.so
|
382
|
+
- lib/nokogiri/2.7/nokogiri.so
|
383
|
+
- lib/nokogiri/css.rb
|
384
|
+
- lib/nokogiri/css/node.rb
|
385
|
+
- lib/nokogiri/css/parser.rb
|
386
|
+
- lib/nokogiri/css/parser.y
|
387
|
+
- lib/nokogiri/css/parser_extras.rb
|
388
|
+
- lib/nokogiri/css/syntax_error.rb
|
389
|
+
- lib/nokogiri/css/tokenizer.rb
|
390
|
+
- lib/nokogiri/css/tokenizer.rex
|
391
|
+
- lib/nokogiri/css/xpath_visitor.rb
|
392
|
+
- lib/nokogiri/decorators/slop.rb
|
393
|
+
- lib/nokogiri/html.rb
|
394
|
+
- lib/nokogiri/html/builder.rb
|
395
|
+
- lib/nokogiri/html/document.rb
|
396
|
+
- lib/nokogiri/html/document_fragment.rb
|
397
|
+
- lib/nokogiri/html/element_description.rb
|
398
|
+
- lib/nokogiri/html/element_description_defaults.rb
|
399
|
+
- lib/nokogiri/html/entity_lookup.rb
|
400
|
+
- lib/nokogiri/html/sax/parser.rb
|
401
|
+
- lib/nokogiri/html/sax/parser_context.rb
|
402
|
+
- lib/nokogiri/html/sax/push_parser.rb
|
403
|
+
- lib/nokogiri/jruby/dependencies.rb
|
404
|
+
- lib/nokogiri/syntax_error.rb
|
405
|
+
- lib/nokogiri/version.rb
|
406
|
+
- lib/nokogiri/xml.rb
|
407
|
+
- lib/nokogiri/xml/attr.rb
|
408
|
+
- lib/nokogiri/xml/attribute_decl.rb
|
409
|
+
- lib/nokogiri/xml/builder.rb
|
410
|
+
- lib/nokogiri/xml/cdata.rb
|
411
|
+
- lib/nokogiri/xml/character_data.rb
|
412
|
+
- lib/nokogiri/xml/document.rb
|
413
|
+
- lib/nokogiri/xml/document_fragment.rb
|
414
|
+
- lib/nokogiri/xml/dtd.rb
|
415
|
+
- lib/nokogiri/xml/element_content.rb
|
416
|
+
- lib/nokogiri/xml/element_decl.rb
|
417
|
+
- lib/nokogiri/xml/entity_decl.rb
|
418
|
+
- lib/nokogiri/xml/entity_reference.rb
|
419
|
+
- lib/nokogiri/xml/namespace.rb
|
420
|
+
- lib/nokogiri/xml/node.rb
|
421
|
+
- lib/nokogiri/xml/node/save_options.rb
|
422
|
+
- lib/nokogiri/xml/node_set.rb
|
423
|
+
- lib/nokogiri/xml/notation.rb
|
424
|
+
- lib/nokogiri/xml/parse_options.rb
|
425
|
+
- lib/nokogiri/xml/pp.rb
|
426
|
+
- lib/nokogiri/xml/pp/character_data.rb
|
427
|
+
- lib/nokogiri/xml/pp/node.rb
|
428
|
+
- lib/nokogiri/xml/processing_instruction.rb
|
429
|
+
- lib/nokogiri/xml/reader.rb
|
430
|
+
- lib/nokogiri/xml/relax_ng.rb
|
431
|
+
- lib/nokogiri/xml/sax.rb
|
432
|
+
- lib/nokogiri/xml/sax/document.rb
|
433
|
+
- lib/nokogiri/xml/sax/parser.rb
|
434
|
+
- lib/nokogiri/xml/sax/parser_context.rb
|
435
|
+
- lib/nokogiri/xml/sax/push_parser.rb
|
436
|
+
- lib/nokogiri/xml/schema.rb
|
437
|
+
- lib/nokogiri/xml/searchable.rb
|
438
|
+
- lib/nokogiri/xml/syntax_error.rb
|
439
|
+
- lib/nokogiri/xml/text.rb
|
440
|
+
- lib/nokogiri/xml/xpath.rb
|
441
|
+
- lib/nokogiri/xml/xpath/syntax_error.rb
|
442
|
+
- lib/nokogiri/xml/xpath_context.rb
|
443
|
+
- lib/nokogiri/xslt.rb
|
444
|
+
- lib/nokogiri/xslt/stylesheet.rb
|
445
|
+
- lib/xsd/xmlparser/nokogiri.rb
|
446
|
+
homepage: https://nokogiri.org
|
447
|
+
licenses:
|
448
|
+
- MIT
|
449
|
+
metadata:
|
450
|
+
homepage_uri: https://nokogiri.org
|
451
|
+
bug_tracker_uri: https://github.com/sparklemotion/nokogiri/issues
|
452
|
+
documentation_uri: https://nokogiri.org/rdoc/index.html
|
453
|
+
changelog_uri: https://nokogiri.org/CHANGELOG.html
|
454
|
+
source_code_uri: https://github.com/sparklemotion/nokogiri
|
455
|
+
post_install_message: 'Nokogiri is built with the packaged libraries: libxml2-2.9.10,
|
456
|
+
libxslt-1.1.34, zlib-1.2.11, libiconv-1.15.
|
457
|
+
|
458
|
+
'
|
459
|
+
rdoc_options:
|
460
|
+
- "--main"
|
461
|
+
- README.md
|
462
|
+
require_paths:
|
463
|
+
- lib
|
464
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
465
|
+
requirements:
|
466
|
+
- - ">="
|
467
|
+
- !ruby/object:Gem::Version
|
468
|
+
version: '2.4'
|
469
|
+
- - "<"
|
470
|
+
- !ruby/object:Gem::Version
|
471
|
+
version: 2.8.dev
|
472
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
473
|
+
requirements:
|
474
|
+
- - ">"
|
475
|
+
- !ruby/object:Gem::Version
|
476
|
+
version: 1.3.1
|
477
|
+
requirements: []
|
478
|
+
rubygems_version: 3.1.2
|
479
|
+
signing_key:
|
480
|
+
specification_version: 4
|
481
|
+
summary: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
|
482
|
+
test_files: []
|