nokogiri 1.13.0-x64-mingw-ucrt
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/Gemfile +5 -0
- data/LICENSE-DEPENDENCIES.md +1903 -0
- data/LICENSE.md +9 -0
- data/README.md +280 -0
- data/bin/nokogiri +131 -0
- data/dependencies.yml +73 -0
- data/ext/nokogiri/depend +38 -0
- data/ext/nokogiri/extconf.rb +1000 -0
- data/ext/nokogiri/gumbo.c +584 -0
- data/ext/nokogiri/html4_document.c +166 -0
- data/ext/nokogiri/html4_element_description.c +294 -0
- data/ext/nokogiri/html4_entity_lookup.c +37 -0
- data/ext/nokogiri/html4_sax_parser_context.c +120 -0
- data/ext/nokogiri/html4_sax_push_parser.c +95 -0
- 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 +128 -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 +1243 -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 +368 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +946 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +77 -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 +564 -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 +278 -0
- data/ext/nokogiri/nokogiri.h +223 -0
- data/ext/nokogiri/test_global_handlers.c +40 -0
- data/ext/nokogiri/xml_attr.c +103 -0
- data/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/ext/nokogiri/xml_cdata.c +57 -0
- data/ext/nokogiri/xml_comment.c +62 -0
- data/ext/nokogiri/xml_document.c +680 -0
- data/ext/nokogiri/xml_document_fragment.c +44 -0
- data/ext/nokogiri/xml_dtd.c +208 -0
- data/ext/nokogiri/xml_element_content.c +128 -0
- data/ext/nokogiri/xml_element_decl.c +69 -0
- data/ext/nokogiri/xml_encoding_handler.c +104 -0
- data/ext/nokogiri/xml_entity_decl.c +112 -0
- data/ext/nokogiri/xml_entity_reference.c +50 -0
- data/ext/nokogiri/xml_namespace.c +120 -0
- data/ext/nokogiri/xml_node.c +2144 -0
- data/ext/nokogiri/xml_node_set.c +498 -0
- data/ext/nokogiri/xml_processing_instruction.c +54 -0
- data/ext/nokogiri/xml_reader.c +719 -0
- data/ext/nokogiri/xml_relax_ng.c +185 -0
- data/ext/nokogiri/xml_sax_parser.c +310 -0
- data/ext/nokogiri/xml_sax_parser_context.c +281 -0
- data/ext/nokogiri/xml_sax_push_parser.c +168 -0
- data/ext/nokogiri/xml_schema.c +284 -0
- data/ext/nokogiri/xml_syntax_error.c +85 -0
- data/ext/nokogiri/xml_text.c +48 -0
- data/ext/nokogiri/xml_xpath_context.c +406 -0
- data/ext/nokogiri/xslt_stylesheet.c +264 -0
- data/gumbo-parser/CHANGES.md +63 -0
- data/gumbo-parser/Makefile +101 -0
- data/gumbo-parser/THANKS +27 -0
- data/lib/nokogiri/3.1/nokogiri.so +0 -0
- data/lib/nokogiri/class_resolver.rb +67 -0
- data/lib/nokogiri/css/node.rb +54 -0
- data/lib/nokogiri/css/parser.rb +759 -0
- data/lib/nokogiri/css/parser.y +280 -0
- data/lib/nokogiri/css/parser_extras.rb +94 -0
- data/lib/nokogiri/css/syntax_error.rb +9 -0
- data/lib/nokogiri/css/tokenizer.rb +155 -0
- data/lib/nokogiri/css/tokenizer.rex +56 -0
- data/lib/nokogiri/css/xpath_visitor.rb +359 -0
- data/lib/nokogiri/css.rb +60 -0
- data/lib/nokogiri/decorators/slop.rb +44 -0
- data/lib/nokogiri/extension.rb +31 -0
- data/lib/nokogiri/gumbo.rb +15 -0
- data/lib/nokogiri/html.rb +48 -0
- data/lib/nokogiri/html4/builder.rb +37 -0
- data/lib/nokogiri/html4/document.rb +331 -0
- data/lib/nokogiri/html4/document_fragment.rb +54 -0
- data/lib/nokogiri/html4/element_description.rb +25 -0
- data/lib/nokogiri/html4/element_description_defaults.rb +578 -0
- data/lib/nokogiri/html4/entity_lookup.rb +15 -0
- data/lib/nokogiri/html4/sax/parser.rb +61 -0
- data/lib/nokogiri/html4/sax/parser_context.rb +20 -0
- data/lib/nokogiri/html4/sax/push_parser.rb +37 -0
- data/lib/nokogiri/html4.rb +46 -0
- data/lib/nokogiri/html5/document.rb +88 -0
- data/lib/nokogiri/html5/document_fragment.rb +83 -0
- data/lib/nokogiri/html5/node.rb +96 -0
- data/lib/nokogiri/html5.rb +477 -0
- data/lib/nokogiri/jruby/dependencies.rb +21 -0
- data/lib/nokogiri/syntax_error.rb +6 -0
- data/lib/nokogiri/version/constant.rb +6 -0
- data/lib/nokogiri/version/info.rb +221 -0
- data/lib/nokogiri/version.rb +4 -0
- data/lib/nokogiri/xml/attr.rb +17 -0
- data/lib/nokogiri/xml/attribute_decl.rb +20 -0
- data/lib/nokogiri/xml/builder.rb +485 -0
- data/lib/nokogiri/xml/cdata.rb +13 -0
- data/lib/nokogiri/xml/character_data.rb +9 -0
- data/lib/nokogiri/xml/document.rb +418 -0
- data/lib/nokogiri/xml/document_fragment.rb +162 -0
- data/lib/nokogiri/xml/dtd.rb +34 -0
- data/lib/nokogiri/xml/element_content.rb +38 -0
- data/lib/nokogiri/xml/element_decl.rb +15 -0
- data/lib/nokogiri/xml/entity_decl.rb +21 -0
- data/lib/nokogiri/xml/entity_reference.rb +20 -0
- data/lib/nokogiri/xml/namespace.rb +16 -0
- data/lib/nokogiri/xml/node/save_options.rb +65 -0
- data/lib/nokogiri/xml/node.rb +1402 -0
- data/lib/nokogiri/xml/node_set.rb +364 -0
- data/lib/nokogiri/xml/notation.rb +19 -0
- data/lib/nokogiri/xml/parse_options.rb +133 -0
- data/lib/nokogiri/xml/pp/character_data.rb +21 -0
- data/lib/nokogiri/xml/pp/node.rb +55 -0
- data/lib/nokogiri/xml/pp.rb +4 -0
- data/lib/nokogiri/xml/processing_instruction.rb +10 -0
- data/lib/nokogiri/xml/reader.rb +107 -0
- data/lib/nokogiri/xml/relax_ng.rb +38 -0
- data/lib/nokogiri/xml/sax/document.rb +167 -0
- data/lib/nokogiri/xml/sax/parser.rb +125 -0
- data/lib/nokogiri/xml/sax/parser_context.rb +21 -0
- data/lib/nokogiri/xml/sax/push_parser.rb +61 -0
- data/lib/nokogiri/xml/sax.rb +6 -0
- data/lib/nokogiri/xml/schema.rb +73 -0
- data/lib/nokogiri/xml/searchable.rb +259 -0
- data/lib/nokogiri/xml/syntax_error.rb +71 -0
- data/lib/nokogiri/xml/text.rb +11 -0
- data/lib/nokogiri/xml/xpath/syntax_error.rb +13 -0
- data/lib/nokogiri/xml/xpath.rb +21 -0
- data/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/lib/nokogiri/xml.rb +75 -0
- data/lib/nokogiri/xslt/stylesheet.rb +27 -0
- data/lib/nokogiri/xslt.rb +58 -0
- data/lib/nokogiri.rb +128 -0
- data/lib/xsd/xmlparser/nokogiri.rb +104 -0
- metadata +536 -0
@@ -0,0 +1,104 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "nokogiri"
|
4
|
+
|
5
|
+
module XSD
|
6
|
+
module XMLParser
|
7
|
+
###
|
8
|
+
# Nokogiri XML parser for soap4r.
|
9
|
+
#
|
10
|
+
# Nokogiri may be used as the XML parser in soap4r. Simply require
|
11
|
+
# 'xsd/xmlparser/nokogiri' in your soap4r applications, and soap4r
|
12
|
+
# will use Nokogiri as it's XML parser. No other changes should be
|
13
|
+
# required to use Nokogiri as the XML parser.
|
14
|
+
#
|
15
|
+
# Example (using UW ITS Web Services):
|
16
|
+
#
|
17
|
+
# require 'rubygems'
|
18
|
+
# require 'nokogiri'
|
19
|
+
# gem 'soap4r'
|
20
|
+
# require 'defaultDriver'
|
21
|
+
# require 'xsd/xmlparser/nokogiri'
|
22
|
+
#
|
23
|
+
# obj = AvlPortType.new
|
24
|
+
# obj.getLatestByRoute(obj.getAgencies.first, 8).each do |bus|
|
25
|
+
# p "#{bus.routeID}, #{bus.longitude}, #{bus.latitude}"
|
26
|
+
# end
|
27
|
+
#
|
28
|
+
class Nokogiri < XSD::XMLParser::Parser
|
29
|
+
###
|
30
|
+
# Create a new XSD parser with +host+ and +opt+
|
31
|
+
def initialize(host, opt = {})
|
32
|
+
super
|
33
|
+
@parser = ::Nokogiri::XML::SAX::Parser.new(self, @charset || "UTF-8")
|
34
|
+
end
|
35
|
+
|
36
|
+
###
|
37
|
+
# Start parsing +string_or_readable+
|
38
|
+
def do_parse(string_or_readable)
|
39
|
+
@parser.parse(string_or_readable)
|
40
|
+
end
|
41
|
+
|
42
|
+
###
|
43
|
+
# Handle the start_element event with +name+ and +attrs+
|
44
|
+
def start_element(name, attrs = [])
|
45
|
+
super(name, Hash[*attrs.flatten])
|
46
|
+
end
|
47
|
+
|
48
|
+
###
|
49
|
+
# Handle the end_element event with +name+
|
50
|
+
def end_element(name)
|
51
|
+
super
|
52
|
+
end
|
53
|
+
|
54
|
+
###
|
55
|
+
# Handle errors with message +msg+
|
56
|
+
def error(msg)
|
57
|
+
raise ParseError, msg
|
58
|
+
end
|
59
|
+
alias_method :warning, :error
|
60
|
+
|
61
|
+
###
|
62
|
+
# Handle cdata_blocks containing +string+
|
63
|
+
def cdata_block(string)
|
64
|
+
characters(string)
|
65
|
+
end
|
66
|
+
|
67
|
+
###
|
68
|
+
# Called at the beginning of an element
|
69
|
+
# +name+ is the element name
|
70
|
+
# +attrs+ is a list of attributes
|
71
|
+
# +prefix+ is the namespace prefix for the element
|
72
|
+
# +uri+ is the associated namespace URI
|
73
|
+
# +ns+ is a hash of namespace prefix:urls associated with the element
|
74
|
+
def start_element_namespace(name, attrs = [], prefix = nil, uri = nil, ns = [])
|
75
|
+
###
|
76
|
+
# Deal with SAX v1 interface
|
77
|
+
name = [prefix, name].compact.join(":")
|
78
|
+
attributes = ns.map do |ns_prefix, ns_uri|
|
79
|
+
[["xmlns", ns_prefix].compact.join(":"), ns_uri]
|
80
|
+
end + attrs.map do |attr|
|
81
|
+
[[attr.prefix, attr.localname].compact.join(":"), attr.value]
|
82
|
+
end.flatten
|
83
|
+
start_element(name, attributes)
|
84
|
+
end
|
85
|
+
|
86
|
+
###
|
87
|
+
# Called at the end of an element
|
88
|
+
# +name+ is the element's name
|
89
|
+
# +prefix+ is the namespace prefix associated with the element
|
90
|
+
# +uri+ is the associated namespace URI
|
91
|
+
def end_element_namespace(name, prefix = nil, uri = nil)
|
92
|
+
###
|
93
|
+
# Deal with SAX v1 interface
|
94
|
+
end_element([prefix, name].compact.join(":"))
|
95
|
+
end
|
96
|
+
|
97
|
+
["xmldecl", "start_document", "end_document", "comment"].each do |name|
|
98
|
+
class_eval %{ def #{name}(*args); end }
|
99
|
+
end
|
100
|
+
|
101
|
+
add_factory(self)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
metadata
ADDED
@@ -0,0 +1,536 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nokogiri
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.13.0
|
5
|
+
platform: x64-mingw-ucrt
|
6
|
+
authors:
|
7
|
+
- Mike Dalessio
|
8
|
+
- Aaron Patterson
|
9
|
+
- Yoko Harada
|
10
|
+
- Akinori MUSHA
|
11
|
+
- John Shahid
|
12
|
+
- Karol Bucek
|
13
|
+
- Sam Ruby
|
14
|
+
- Craig Barnes
|
15
|
+
- Stephen Checkoway
|
16
|
+
- Lars Kanis
|
17
|
+
- Sergio Arbeo
|
18
|
+
- Timothy Elliott
|
19
|
+
- Nobuyoshi Nakada
|
20
|
+
autorequire:
|
21
|
+
bindir: bin
|
22
|
+
cert_chain: []
|
23
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
24
|
+
dependencies:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: racc
|
27
|
+
requirement: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - "~>"
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '1.4'
|
32
|
+
type: :runtime
|
33
|
+
prerelease: false
|
34
|
+
version_requirements: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - "~>"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '1.4'
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: bundler
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - "~>"
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '2.2'
|
46
|
+
type: :development
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.2'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: hoe-markdown
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '1.4'
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.4'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: minitest
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '5.15'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '5.15'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: minitest-reporters
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '1.4'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - "~>"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1.4'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rake
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '13.0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '13.0'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: rake-compiler
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - '='
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: 1.1.7
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - '='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 1.1.7
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: rake-compiler-dock
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '1.2'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - "~>"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '1.2'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rdoc
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - "~>"
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '6.3'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - "~>"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '6.3'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rexical
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - "~>"
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 1.0.7
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.0.7
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: rubocop
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '1.23'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '1.23'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: rubocop-minitest
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0.17'
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.17'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: rubocop-performance
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '1.12'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '1.12'
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rubocop-rake
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0.6'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0.6'
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: rubocop-shopify
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '2.3'
|
228
|
+
type: :development
|
229
|
+
prerelease: false
|
230
|
+
version_requirements: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - "~>"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '2.3'
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: ruby_memcheck
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - "~>"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '1.0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - "~>"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '1.0'
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: simplecov
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - "~>"
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '0.21'
|
256
|
+
type: :development
|
257
|
+
prerelease: false
|
258
|
+
version_requirements: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - "~>"
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0.21'
|
263
|
+
description: |
|
264
|
+
Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
|
265
|
+
sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
|
266
|
+
fast and standards-compliant by relying on native parsers like libxml2 (C) and xerces (Java).
|
267
|
+
email: nokogiri-talk@googlegroups.com
|
268
|
+
executables:
|
269
|
+
- nokogiri
|
270
|
+
extensions: []
|
271
|
+
extra_rdoc_files:
|
272
|
+
- ext/nokogiri/gumbo.c
|
273
|
+
- ext/nokogiri/html4_document.c
|
274
|
+
- ext/nokogiri/html4_element_description.c
|
275
|
+
- ext/nokogiri/html4_entity_lookup.c
|
276
|
+
- ext/nokogiri/html4_sax_parser_context.c
|
277
|
+
- ext/nokogiri/html4_sax_push_parser.c
|
278
|
+
- ext/nokogiri/libxml2_backwards_compat.c
|
279
|
+
- ext/nokogiri/nokogiri.c
|
280
|
+
- ext/nokogiri/test_global_handlers.c
|
281
|
+
- ext/nokogiri/xml_attr.c
|
282
|
+
- ext/nokogiri/xml_attribute_decl.c
|
283
|
+
- ext/nokogiri/xml_cdata.c
|
284
|
+
- ext/nokogiri/xml_comment.c
|
285
|
+
- ext/nokogiri/xml_document.c
|
286
|
+
- ext/nokogiri/xml_document_fragment.c
|
287
|
+
- ext/nokogiri/xml_dtd.c
|
288
|
+
- ext/nokogiri/xml_element_content.c
|
289
|
+
- ext/nokogiri/xml_element_decl.c
|
290
|
+
- ext/nokogiri/xml_encoding_handler.c
|
291
|
+
- ext/nokogiri/xml_entity_decl.c
|
292
|
+
- ext/nokogiri/xml_entity_reference.c
|
293
|
+
- ext/nokogiri/xml_namespace.c
|
294
|
+
- ext/nokogiri/xml_node.c
|
295
|
+
- ext/nokogiri/xml_node_set.c
|
296
|
+
- ext/nokogiri/xml_processing_instruction.c
|
297
|
+
- ext/nokogiri/xml_reader.c
|
298
|
+
- ext/nokogiri/xml_relax_ng.c
|
299
|
+
- ext/nokogiri/xml_sax_parser.c
|
300
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
301
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
302
|
+
- ext/nokogiri/xml_schema.c
|
303
|
+
- ext/nokogiri/xml_syntax_error.c
|
304
|
+
- ext/nokogiri/xml_text.c
|
305
|
+
- ext/nokogiri/xml_xpath_context.c
|
306
|
+
- ext/nokogiri/xslt_stylesheet.c
|
307
|
+
- README.md
|
308
|
+
files:
|
309
|
+
- Gemfile
|
310
|
+
- LICENSE-DEPENDENCIES.md
|
311
|
+
- LICENSE.md
|
312
|
+
- README.md
|
313
|
+
- bin/nokogiri
|
314
|
+
- dependencies.yml
|
315
|
+
- ext/nokogiri/depend
|
316
|
+
- ext/nokogiri/extconf.rb
|
317
|
+
- ext/nokogiri/gumbo.c
|
318
|
+
- ext/nokogiri/html4_document.c
|
319
|
+
- ext/nokogiri/html4_element_description.c
|
320
|
+
- ext/nokogiri/html4_entity_lookup.c
|
321
|
+
- ext/nokogiri/html4_sax_parser_context.c
|
322
|
+
- ext/nokogiri/html4_sax_push_parser.c
|
323
|
+
- ext/nokogiri/include/libexslt/exslt.h
|
324
|
+
- ext/nokogiri/include/libexslt/exsltconfig.h
|
325
|
+
- ext/nokogiri/include/libexslt/exsltexports.h
|
326
|
+
- ext/nokogiri/include/libxml2/libxml/DOCBparser.h
|
327
|
+
- ext/nokogiri/include/libxml2/libxml/HTMLparser.h
|
328
|
+
- ext/nokogiri/include/libxml2/libxml/HTMLtree.h
|
329
|
+
- ext/nokogiri/include/libxml2/libxml/SAX.h
|
330
|
+
- ext/nokogiri/include/libxml2/libxml/SAX2.h
|
331
|
+
- ext/nokogiri/include/libxml2/libxml/c14n.h
|
332
|
+
- ext/nokogiri/include/libxml2/libxml/catalog.h
|
333
|
+
- ext/nokogiri/include/libxml2/libxml/chvalid.h
|
334
|
+
- ext/nokogiri/include/libxml2/libxml/debugXML.h
|
335
|
+
- ext/nokogiri/include/libxml2/libxml/dict.h
|
336
|
+
- ext/nokogiri/include/libxml2/libxml/encoding.h
|
337
|
+
- ext/nokogiri/include/libxml2/libxml/entities.h
|
338
|
+
- ext/nokogiri/include/libxml2/libxml/globals.h
|
339
|
+
- ext/nokogiri/include/libxml2/libxml/hash.h
|
340
|
+
- ext/nokogiri/include/libxml2/libxml/list.h
|
341
|
+
- ext/nokogiri/include/libxml2/libxml/nanoftp.h
|
342
|
+
- ext/nokogiri/include/libxml2/libxml/nanohttp.h
|
343
|
+
- ext/nokogiri/include/libxml2/libxml/parser.h
|
344
|
+
- ext/nokogiri/include/libxml2/libxml/parserInternals.h
|
345
|
+
- ext/nokogiri/include/libxml2/libxml/pattern.h
|
346
|
+
- ext/nokogiri/include/libxml2/libxml/relaxng.h
|
347
|
+
- ext/nokogiri/include/libxml2/libxml/schemasInternals.h
|
348
|
+
- ext/nokogiri/include/libxml2/libxml/schematron.h
|
349
|
+
- ext/nokogiri/include/libxml2/libxml/threads.h
|
350
|
+
- ext/nokogiri/include/libxml2/libxml/tree.h
|
351
|
+
- ext/nokogiri/include/libxml2/libxml/uri.h
|
352
|
+
- ext/nokogiri/include/libxml2/libxml/valid.h
|
353
|
+
- ext/nokogiri/include/libxml2/libxml/xinclude.h
|
354
|
+
- ext/nokogiri/include/libxml2/libxml/xlink.h
|
355
|
+
- ext/nokogiri/include/libxml2/libxml/xmlIO.h
|
356
|
+
- ext/nokogiri/include/libxml2/libxml/xmlautomata.h
|
357
|
+
- ext/nokogiri/include/libxml2/libxml/xmlerror.h
|
358
|
+
- ext/nokogiri/include/libxml2/libxml/xmlexports.h
|
359
|
+
- ext/nokogiri/include/libxml2/libxml/xmlmemory.h
|
360
|
+
- ext/nokogiri/include/libxml2/libxml/xmlmodule.h
|
361
|
+
- ext/nokogiri/include/libxml2/libxml/xmlreader.h
|
362
|
+
- ext/nokogiri/include/libxml2/libxml/xmlregexp.h
|
363
|
+
- ext/nokogiri/include/libxml2/libxml/xmlsave.h
|
364
|
+
- ext/nokogiri/include/libxml2/libxml/xmlschemas.h
|
365
|
+
- ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h
|
366
|
+
- ext/nokogiri/include/libxml2/libxml/xmlstring.h
|
367
|
+
- ext/nokogiri/include/libxml2/libxml/xmlunicode.h
|
368
|
+
- ext/nokogiri/include/libxml2/libxml/xmlversion.h
|
369
|
+
- ext/nokogiri/include/libxml2/libxml/xmlwriter.h
|
370
|
+
- ext/nokogiri/include/libxml2/libxml/xpath.h
|
371
|
+
- ext/nokogiri/include/libxml2/libxml/xpathInternals.h
|
372
|
+
- ext/nokogiri/include/libxml2/libxml/xpointer.h
|
373
|
+
- ext/nokogiri/include/libxslt/attributes.h
|
374
|
+
- ext/nokogiri/include/libxslt/documents.h
|
375
|
+
- ext/nokogiri/include/libxslt/extensions.h
|
376
|
+
- ext/nokogiri/include/libxslt/extra.h
|
377
|
+
- ext/nokogiri/include/libxslt/functions.h
|
378
|
+
- ext/nokogiri/include/libxslt/imports.h
|
379
|
+
- ext/nokogiri/include/libxslt/keys.h
|
380
|
+
- ext/nokogiri/include/libxslt/namespaces.h
|
381
|
+
- ext/nokogiri/include/libxslt/numbersInternals.h
|
382
|
+
- ext/nokogiri/include/libxslt/pattern.h
|
383
|
+
- ext/nokogiri/include/libxslt/preproc.h
|
384
|
+
- ext/nokogiri/include/libxslt/security.h
|
385
|
+
- ext/nokogiri/include/libxslt/templates.h
|
386
|
+
- ext/nokogiri/include/libxslt/transform.h
|
387
|
+
- ext/nokogiri/include/libxslt/variables.h
|
388
|
+
- ext/nokogiri/include/libxslt/xslt.h
|
389
|
+
- ext/nokogiri/include/libxslt/xsltInternals.h
|
390
|
+
- ext/nokogiri/include/libxslt/xsltconfig.h
|
391
|
+
- ext/nokogiri/include/libxslt/xsltexports.h
|
392
|
+
- ext/nokogiri/include/libxslt/xsltlocale.h
|
393
|
+
- ext/nokogiri/include/libxslt/xsltutils.h
|
394
|
+
- ext/nokogiri/libxml2_backwards_compat.c
|
395
|
+
- ext/nokogiri/nokogiri.c
|
396
|
+
- ext/nokogiri/nokogiri.h
|
397
|
+
- ext/nokogiri/test_global_handlers.c
|
398
|
+
- ext/nokogiri/xml_attr.c
|
399
|
+
- ext/nokogiri/xml_attribute_decl.c
|
400
|
+
- ext/nokogiri/xml_cdata.c
|
401
|
+
- ext/nokogiri/xml_comment.c
|
402
|
+
- ext/nokogiri/xml_document.c
|
403
|
+
- ext/nokogiri/xml_document_fragment.c
|
404
|
+
- ext/nokogiri/xml_dtd.c
|
405
|
+
- ext/nokogiri/xml_element_content.c
|
406
|
+
- ext/nokogiri/xml_element_decl.c
|
407
|
+
- ext/nokogiri/xml_encoding_handler.c
|
408
|
+
- ext/nokogiri/xml_entity_decl.c
|
409
|
+
- ext/nokogiri/xml_entity_reference.c
|
410
|
+
- ext/nokogiri/xml_namespace.c
|
411
|
+
- ext/nokogiri/xml_node.c
|
412
|
+
- ext/nokogiri/xml_node_set.c
|
413
|
+
- ext/nokogiri/xml_processing_instruction.c
|
414
|
+
- ext/nokogiri/xml_reader.c
|
415
|
+
- ext/nokogiri/xml_relax_ng.c
|
416
|
+
- ext/nokogiri/xml_sax_parser.c
|
417
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
418
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
419
|
+
- ext/nokogiri/xml_schema.c
|
420
|
+
- ext/nokogiri/xml_syntax_error.c
|
421
|
+
- ext/nokogiri/xml_text.c
|
422
|
+
- ext/nokogiri/xml_xpath_context.c
|
423
|
+
- ext/nokogiri/xslt_stylesheet.c
|
424
|
+
- gumbo-parser/CHANGES.md
|
425
|
+
- gumbo-parser/Makefile
|
426
|
+
- gumbo-parser/THANKS
|
427
|
+
- lib/nokogiri.rb
|
428
|
+
- lib/nokogiri/3.1/nokogiri.so
|
429
|
+
- lib/nokogiri/class_resolver.rb
|
430
|
+
- lib/nokogiri/css.rb
|
431
|
+
- lib/nokogiri/css/node.rb
|
432
|
+
- lib/nokogiri/css/parser.rb
|
433
|
+
- lib/nokogiri/css/parser.y
|
434
|
+
- lib/nokogiri/css/parser_extras.rb
|
435
|
+
- lib/nokogiri/css/syntax_error.rb
|
436
|
+
- lib/nokogiri/css/tokenizer.rb
|
437
|
+
- lib/nokogiri/css/tokenizer.rex
|
438
|
+
- lib/nokogiri/css/xpath_visitor.rb
|
439
|
+
- lib/nokogiri/decorators/slop.rb
|
440
|
+
- lib/nokogiri/extension.rb
|
441
|
+
- lib/nokogiri/gumbo.rb
|
442
|
+
- lib/nokogiri/html.rb
|
443
|
+
- lib/nokogiri/html4.rb
|
444
|
+
- lib/nokogiri/html4/builder.rb
|
445
|
+
- lib/nokogiri/html4/document.rb
|
446
|
+
- lib/nokogiri/html4/document_fragment.rb
|
447
|
+
- lib/nokogiri/html4/element_description.rb
|
448
|
+
- lib/nokogiri/html4/element_description_defaults.rb
|
449
|
+
- lib/nokogiri/html4/entity_lookup.rb
|
450
|
+
- lib/nokogiri/html4/sax/parser.rb
|
451
|
+
- lib/nokogiri/html4/sax/parser_context.rb
|
452
|
+
- lib/nokogiri/html4/sax/push_parser.rb
|
453
|
+
- lib/nokogiri/html5.rb
|
454
|
+
- lib/nokogiri/html5/document.rb
|
455
|
+
- lib/nokogiri/html5/document_fragment.rb
|
456
|
+
- lib/nokogiri/html5/node.rb
|
457
|
+
- lib/nokogiri/jruby/dependencies.rb
|
458
|
+
- lib/nokogiri/syntax_error.rb
|
459
|
+
- lib/nokogiri/version.rb
|
460
|
+
- lib/nokogiri/version/constant.rb
|
461
|
+
- lib/nokogiri/version/info.rb
|
462
|
+
- lib/nokogiri/xml.rb
|
463
|
+
- lib/nokogiri/xml/attr.rb
|
464
|
+
- lib/nokogiri/xml/attribute_decl.rb
|
465
|
+
- lib/nokogiri/xml/builder.rb
|
466
|
+
- lib/nokogiri/xml/cdata.rb
|
467
|
+
- lib/nokogiri/xml/character_data.rb
|
468
|
+
- lib/nokogiri/xml/document.rb
|
469
|
+
- lib/nokogiri/xml/document_fragment.rb
|
470
|
+
- lib/nokogiri/xml/dtd.rb
|
471
|
+
- lib/nokogiri/xml/element_content.rb
|
472
|
+
- lib/nokogiri/xml/element_decl.rb
|
473
|
+
- lib/nokogiri/xml/entity_decl.rb
|
474
|
+
- lib/nokogiri/xml/entity_reference.rb
|
475
|
+
- lib/nokogiri/xml/namespace.rb
|
476
|
+
- lib/nokogiri/xml/node.rb
|
477
|
+
- lib/nokogiri/xml/node/save_options.rb
|
478
|
+
- lib/nokogiri/xml/node_set.rb
|
479
|
+
- lib/nokogiri/xml/notation.rb
|
480
|
+
- lib/nokogiri/xml/parse_options.rb
|
481
|
+
- lib/nokogiri/xml/pp.rb
|
482
|
+
- lib/nokogiri/xml/pp/character_data.rb
|
483
|
+
- lib/nokogiri/xml/pp/node.rb
|
484
|
+
- lib/nokogiri/xml/processing_instruction.rb
|
485
|
+
- lib/nokogiri/xml/reader.rb
|
486
|
+
- lib/nokogiri/xml/relax_ng.rb
|
487
|
+
- lib/nokogiri/xml/sax.rb
|
488
|
+
- lib/nokogiri/xml/sax/document.rb
|
489
|
+
- lib/nokogiri/xml/sax/parser.rb
|
490
|
+
- lib/nokogiri/xml/sax/parser_context.rb
|
491
|
+
- lib/nokogiri/xml/sax/push_parser.rb
|
492
|
+
- lib/nokogiri/xml/schema.rb
|
493
|
+
- lib/nokogiri/xml/searchable.rb
|
494
|
+
- lib/nokogiri/xml/syntax_error.rb
|
495
|
+
- lib/nokogiri/xml/text.rb
|
496
|
+
- lib/nokogiri/xml/xpath.rb
|
497
|
+
- lib/nokogiri/xml/xpath/syntax_error.rb
|
498
|
+
- lib/nokogiri/xml/xpath_context.rb
|
499
|
+
- lib/nokogiri/xslt.rb
|
500
|
+
- lib/nokogiri/xslt/stylesheet.rb
|
501
|
+
- lib/xsd/xmlparser/nokogiri.rb
|
502
|
+
homepage: https://nokogiri.org
|
503
|
+
licenses:
|
504
|
+
- MIT
|
505
|
+
metadata:
|
506
|
+
homepage_uri: https://nokogiri.org
|
507
|
+
bug_tracker_uri: https://github.com/sparklemotion/nokogiri/issues
|
508
|
+
documentation_uri: https://nokogiri.org/rdoc/index.html
|
509
|
+
changelog_uri: https://nokogiri.org/CHANGELOG.html
|
510
|
+
source_code_uri: https://github.com/sparklemotion/nokogiri
|
511
|
+
rubygems_mfa_required: 'true'
|
512
|
+
post_install_message:
|
513
|
+
rdoc_options:
|
514
|
+
- "--main"
|
515
|
+
- README.md
|
516
|
+
require_paths:
|
517
|
+
- lib
|
518
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
519
|
+
requirements:
|
520
|
+
- - ">="
|
521
|
+
- !ruby/object:Gem::Version
|
522
|
+
version: '3.1'
|
523
|
+
- - "<"
|
524
|
+
- !ruby/object:Gem::Version
|
525
|
+
version: 3.2.dev
|
526
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
527
|
+
requirements:
|
528
|
+
- - ">="
|
529
|
+
- !ruby/object:Gem::Version
|
530
|
+
version: '0'
|
531
|
+
requirements: []
|
532
|
+
rubygems_version: 3.3.4
|
533
|
+
signing_key:
|
534
|
+
specification_version: 4
|
535
|
+
summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
|
536
|
+
test_files: []
|