nokogiri 1.11.0-arm64-darwin

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.

Files changed (219) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/LICENSE-DEPENDENCIES.md +1682 -0
  4. data/LICENSE.md +9 -0
  5. data/README.md +272 -0
  6. data/bin/nokogiri +118 -0
  7. data/dependencies.yml +74 -0
  8. data/ext/nokogiri/depend +477 -0
  9. data/ext/nokogiri/extconf.rb +836 -0
  10. data/ext/nokogiri/html_document.c +171 -0
  11. data/ext/nokogiri/html_document.h +10 -0
  12. data/ext/nokogiri/html_element_description.c +279 -0
  13. data/ext/nokogiri/html_element_description.h +10 -0
  14. data/ext/nokogiri/html_entity_lookup.c +32 -0
  15. data/ext/nokogiri/html_entity_lookup.h +8 -0
  16. data/ext/nokogiri/html_sax_parser_context.c +116 -0
  17. data/ext/nokogiri/html_sax_parser_context.h +11 -0
  18. data/ext/nokogiri/html_sax_push_parser.c +87 -0
  19. data/ext/nokogiri/html_sax_push_parser.h +9 -0
  20. data/ext/nokogiri/include/libexslt/exslt.h +102 -0
  21. data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
  22. data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
  23. data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
  24. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
  25. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
  26. data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
  27. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
  28. data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
  29. data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
  30. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
  31. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
  32. data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
  33. data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
  34. data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
  35. data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
  36. data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
  37. data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
  38. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
  39. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
  40. data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
  41. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
  42. data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
  43. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
  44. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
  45. data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
  46. data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
  47. data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
  48. data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
  49. data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
  50. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
  51. data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
  52. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
  53. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
  54. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
  55. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
  56. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
  57. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
  58. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
  59. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
  60. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
  61. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
  62. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
  63. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
  64. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
  65. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
  66. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
  67. data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
  68. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
  69. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
  70. data/ext/nokogiri/include/libxslt/attributes.h +38 -0
  71. data/ext/nokogiri/include/libxslt/documents.h +93 -0
  72. data/ext/nokogiri/include/libxslt/extensions.h +262 -0
  73. data/ext/nokogiri/include/libxslt/extra.h +72 -0
  74. data/ext/nokogiri/include/libxslt/functions.h +78 -0
  75. data/ext/nokogiri/include/libxslt/imports.h +75 -0
  76. data/ext/nokogiri/include/libxslt/keys.h +53 -0
  77. data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
  78. data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
  79. data/ext/nokogiri/include/libxslt/pattern.h +84 -0
  80. data/ext/nokogiri/include/libxslt/preproc.h +43 -0
  81. data/ext/nokogiri/include/libxslt/security.h +104 -0
  82. data/ext/nokogiri/include/libxslt/templates.h +77 -0
  83. data/ext/nokogiri/include/libxslt/transform.h +207 -0
  84. data/ext/nokogiri/include/libxslt/variables.h +118 -0
  85. data/ext/nokogiri/include/libxslt/xslt.h +110 -0
  86. data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
  87. data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
  88. data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
  89. data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
  90. data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
  91. data/ext/nokogiri/nokogiri.c +135 -0
  92. data/ext/nokogiri/nokogiri.h +130 -0
  93. data/ext/nokogiri/xml_attr.c +103 -0
  94. data/ext/nokogiri/xml_attr.h +9 -0
  95. data/ext/nokogiri/xml_attribute_decl.c +70 -0
  96. data/ext/nokogiri/xml_attribute_decl.h +9 -0
  97. data/ext/nokogiri/xml_cdata.c +62 -0
  98. data/ext/nokogiri/xml_cdata.h +9 -0
  99. data/ext/nokogiri/xml_comment.c +69 -0
  100. data/ext/nokogiri/xml_comment.h +9 -0
  101. data/ext/nokogiri/xml_document.c +622 -0
  102. data/ext/nokogiri/xml_document.h +23 -0
  103. data/ext/nokogiri/xml_document_fragment.c +48 -0
  104. data/ext/nokogiri/xml_document_fragment.h +10 -0
  105. data/ext/nokogiri/xml_dtd.c +202 -0
  106. data/ext/nokogiri/xml_dtd.h +10 -0
  107. data/ext/nokogiri/xml_element_content.c +123 -0
  108. data/ext/nokogiri/xml_element_content.h +10 -0
  109. data/ext/nokogiri/xml_element_decl.c +69 -0
  110. data/ext/nokogiri/xml_element_decl.h +9 -0
  111. data/ext/nokogiri/xml_encoding_handler.c +79 -0
  112. data/ext/nokogiri/xml_encoding_handler.h +8 -0
  113. data/ext/nokogiri/xml_entity_decl.c +110 -0
  114. data/ext/nokogiri/xml_entity_decl.h +10 -0
  115. data/ext/nokogiri/xml_entity_reference.c +52 -0
  116. data/ext/nokogiri/xml_entity_reference.h +9 -0
  117. data/ext/nokogiri/xml_io.c +63 -0
  118. data/ext/nokogiri/xml_io.h +11 -0
  119. data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  120. data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  121. data/ext/nokogiri/xml_namespace.c +111 -0
  122. data/ext/nokogiri/xml_namespace.h +14 -0
  123. data/ext/nokogiri/xml_node.c +1773 -0
  124. data/ext/nokogiri/xml_node.h +13 -0
  125. data/ext/nokogiri/xml_node_set.c +486 -0
  126. data/ext/nokogiri/xml_node_set.h +12 -0
  127. data/ext/nokogiri/xml_processing_instruction.c +56 -0
  128. data/ext/nokogiri/xml_processing_instruction.h +9 -0
  129. data/ext/nokogiri/xml_reader.c +657 -0
  130. data/ext/nokogiri/xml_reader.h +10 -0
  131. data/ext/nokogiri/xml_relax_ng.c +179 -0
  132. data/ext/nokogiri/xml_relax_ng.h +9 -0
  133. data/ext/nokogiri/xml_sax_parser.c +305 -0
  134. data/ext/nokogiri/xml_sax_parser.h +39 -0
  135. data/ext/nokogiri/xml_sax_parser_context.c +262 -0
  136. data/ext/nokogiri/xml_sax_parser_context.h +10 -0
  137. data/ext/nokogiri/xml_sax_push_parser.c +159 -0
  138. data/ext/nokogiri/xml_sax_push_parser.h +9 -0
  139. data/ext/nokogiri/xml_schema.c +276 -0
  140. data/ext/nokogiri/xml_schema.h +9 -0
  141. data/ext/nokogiri/xml_syntax_error.c +64 -0
  142. data/ext/nokogiri/xml_syntax_error.h +13 -0
  143. data/ext/nokogiri/xml_text.c +52 -0
  144. data/ext/nokogiri/xml_text.h +9 -0
  145. data/ext/nokogiri/xml_xpath_context.c +374 -0
  146. data/ext/nokogiri/xml_xpath_context.h +10 -0
  147. data/ext/nokogiri/xslt_stylesheet.c +263 -0
  148. data/ext/nokogiri/xslt_stylesheet.h +14 -0
  149. data/lib/nokogiri.rb +144 -0
  150. data/lib/nokogiri/2.5/nokogiri.bundle +0 -0
  151. data/lib/nokogiri/2.6/nokogiri.bundle +0 -0
  152. data/lib/nokogiri/2.7/nokogiri.bundle +0 -0
  153. data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
  154. data/lib/nokogiri/css.rb +28 -0
  155. data/lib/nokogiri/css/node.rb +53 -0
  156. data/lib/nokogiri/css/parser.rb +751 -0
  157. data/lib/nokogiri/css/parser.y +272 -0
  158. data/lib/nokogiri/css/parser_extras.rb +94 -0
  159. data/lib/nokogiri/css/syntax_error.rb +8 -0
  160. data/lib/nokogiri/css/tokenizer.rb +154 -0
  161. data/lib/nokogiri/css/tokenizer.rex +55 -0
  162. data/lib/nokogiri/css/xpath_visitor.rb +260 -0
  163. data/lib/nokogiri/decorators/slop.rb +43 -0
  164. data/lib/nokogiri/html.rb +38 -0
  165. data/lib/nokogiri/html/builder.rb +36 -0
  166. data/lib/nokogiri/html/document.rb +322 -0
  167. data/lib/nokogiri/html/document_fragment.rb +50 -0
  168. data/lib/nokogiri/html/element_description.rb +24 -0
  169. data/lib/nokogiri/html/element_description_defaults.rb +672 -0
  170. data/lib/nokogiri/html/entity_lookup.rb +14 -0
  171. data/lib/nokogiri/html/sax/parser.rb +63 -0
  172. data/lib/nokogiri/html/sax/parser_context.rb +17 -0
  173. data/lib/nokogiri/html/sax/push_parser.rb +37 -0
  174. data/lib/nokogiri/jruby/dependencies.rb +20 -0
  175. data/lib/nokogiri/syntax_error.rb +5 -0
  176. data/lib/nokogiri/version.rb +3 -0
  177. data/lib/nokogiri/version/constant.rb +5 -0
  178. data/lib/nokogiri/version/info.rb +182 -0
  179. data/lib/nokogiri/xml.rb +76 -0
  180. data/lib/nokogiri/xml/attr.rb +15 -0
  181. data/lib/nokogiri/xml/attribute_decl.rb +19 -0
  182. data/lib/nokogiri/xml/builder.rb +447 -0
  183. data/lib/nokogiri/xml/cdata.rb +12 -0
  184. data/lib/nokogiri/xml/character_data.rb +8 -0
  185. data/lib/nokogiri/xml/document.rb +290 -0
  186. data/lib/nokogiri/xml/document_fragment.rb +159 -0
  187. data/lib/nokogiri/xml/dtd.rb +33 -0
  188. data/lib/nokogiri/xml/element_content.rb +37 -0
  189. data/lib/nokogiri/xml/element_decl.rb +14 -0
  190. data/lib/nokogiri/xml/entity_decl.rb +20 -0
  191. data/lib/nokogiri/xml/entity_reference.rb +19 -0
  192. data/lib/nokogiri/xml/namespace.rb +14 -0
  193. data/lib/nokogiri/xml/node.rb +1240 -0
  194. data/lib/nokogiri/xml/node/save_options.rb +62 -0
  195. data/lib/nokogiri/xml/node_set.rb +372 -0
  196. data/lib/nokogiri/xml/notation.rb +7 -0
  197. data/lib/nokogiri/xml/parse_options.rb +127 -0
  198. data/lib/nokogiri/xml/pp.rb +3 -0
  199. data/lib/nokogiri/xml/pp/character_data.rb +19 -0
  200. data/lib/nokogiri/xml/pp/node.rb +57 -0
  201. data/lib/nokogiri/xml/processing_instruction.rb +9 -0
  202. data/lib/nokogiri/xml/reader.rb +116 -0
  203. data/lib/nokogiri/xml/relax_ng.rb +37 -0
  204. data/lib/nokogiri/xml/sax.rb +5 -0
  205. data/lib/nokogiri/xml/sax/document.rb +172 -0
  206. data/lib/nokogiri/xml/sax/parser.rb +123 -0
  207. data/lib/nokogiri/xml/sax/parser_context.rb +17 -0
  208. data/lib/nokogiri/xml/sax/push_parser.rb +61 -0
  209. data/lib/nokogiri/xml/schema.rb +72 -0
  210. data/lib/nokogiri/xml/searchable.rb +239 -0
  211. data/lib/nokogiri/xml/syntax_error.rb +71 -0
  212. data/lib/nokogiri/xml/text.rb +10 -0
  213. data/lib/nokogiri/xml/xpath.rb +11 -0
  214. data/lib/nokogiri/xml/xpath/syntax_error.rb +12 -0
  215. data/lib/nokogiri/xml/xpath_context.rb +17 -0
  216. data/lib/nokogiri/xslt.rb +57 -0
  217. data/lib/nokogiri/xslt/stylesheet.rb +26 -0
  218. data/lib/xsd/xmlparser/nokogiri.rb +103 -0
  219. metadata +499 -0
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+ module Nokogiri
3
+ module XML
4
+ class Text < Nokogiri::XML::CharacterData
5
+ def content=(string)
6
+ self.native_content = string.to_s
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+ require 'nokogiri/xml/xpath/syntax_error'
3
+
4
+ module Nokogiri
5
+ module XML
6
+ class XPath
7
+ # The Nokogiri::XML::Document tied to this XPath instance
8
+ attr_accessor :document
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+ module Nokogiri
3
+ module XML
4
+ class XPath
5
+ class SyntaxError < XML::SyntaxError
6
+ def to_s
7
+ [super.chomp, str1].compact.join(': ')
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -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,499 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nokogiri
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.11.0
5
+ platform: arm64-darwin
6
+ authors:
7
+ - Mike Dalessio
8
+ - Aaron Patterson
9
+ - Yoko Harada
10
+ - Akinori MUSHA
11
+ - John Shahid
12
+ - Karol Bucek
13
+ - Lars Kanis
14
+ - Sergio Arbeo
15
+ - Timothy Elliott
16
+ - Nobuyoshi Nakada
17
+ autorequire:
18
+ bindir: bin
19
+ cert_chain: []
20
+ date: 2021-01-04 00:00:00.000000000 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: racc
24
+ requirement: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '1.4'
29
+ type: :runtime
30
+ prerelease: false
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '1.4'
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.2'
43
+ type: :development
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.2'
50
+ - !ruby/object:Gem::Dependency
51
+ name: concourse
52
+ requirement: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '0.41'
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.41'
64
+ - !ruby/object:Gem::Dependency
65
+ name: hoe-markdown
66
+ requirement: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '1.1'
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '1.1'
78
+ - !ruby/object:Gem::Dependency
79
+ name: minitest
80
+ requirement: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '5.8'
85
+ type: :development
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '5.8'
92
+ - !ruby/object:Gem::Dependency
93
+ name: minitest-reporters
94
+ requirement: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: '1.4'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '1.4'
106
+ - !ruby/object:Gem::Dependency
107
+ name: rake
108
+ requirement: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '13.0'
113
+ type: :development
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '13.0'
120
+ - !ruby/object:Gem::Dependency
121
+ name: rake-compiler
122
+ requirement: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '1.1'
127
+ type: :development
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '1.1'
134
+ - !ruby/object:Gem::Dependency
135
+ name: rake-compiler-dock
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '1.1'
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '1.1'
148
+ - !ruby/object:Gem::Dependency
149
+ name: rexical
150
+ requirement: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - "~>"
153
+ - !ruby/object:Gem::Version
154
+ version: 1.0.5
155
+ type: :development
156
+ prerelease: false
157
+ version_requirements: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - "~>"
160
+ - !ruby/object:Gem::Version
161
+ version: 1.0.5
162
+ - !ruby/object:Gem::Dependency
163
+ name: rubocop
164
+ requirement: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - "~>"
167
+ - !ruby/object:Gem::Version
168
+ version: '0.88'
169
+ type: :development
170
+ prerelease: false
171
+ version_requirements: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: '0.88'
176
+ - !ruby/object:Gem::Dependency
177
+ name: simplecov
178
+ requirement: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: '0.20'
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '0.20'
190
+ - !ruby/object:Gem::Dependency
191
+ name: yard
192
+ requirement: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - "~>"
195
+ - !ruby/object:Gem::Version
196
+ version: '0.9'
197
+ type: :development
198
+ prerelease: false
199
+ version_requirements: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
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
209
+ executables:
210
+ - nokogiri
211
+ extensions: []
212
+ extra_rdoc_files:
213
+ - ext/nokogiri/xml_dtd.c
214
+ - ext/nokogiri/xml_xpath_context.c
215
+ - ext/nokogiri/xml_attr.c
216
+ - ext/nokogiri/xml_comment.c
217
+ - ext/nokogiri/nokogiri.c
218
+ - ext/nokogiri/xml_sax_parser_context.c
219
+ - ext/nokogiri/xml_node_set.c
220
+ - ext/nokogiri/xml_reader.c
221
+ - ext/nokogiri/xml_libxml2_hacks.c
222
+ - ext/nokogiri/xml_cdata.c
223
+ - ext/nokogiri/xml_element_content.c
224
+ - ext/nokogiri/html_entity_lookup.c
225
+ - ext/nokogiri/xml_namespace.c
226
+ - ext/nokogiri/xml_io.c
227
+ - ext/nokogiri/xml_document.c
228
+ - ext/nokogiri/xml_element_decl.c
229
+ - ext/nokogiri/xml_schema.c
230
+ - ext/nokogiri/html_document.c
231
+ - ext/nokogiri/xml_processing_instruction.c
232
+ - ext/nokogiri/xml_text.c
233
+ - ext/nokogiri/xml_syntax_error.c
234
+ - ext/nokogiri/xml_document_fragment.c
235
+ - ext/nokogiri/xml_sax_push_parser.c
236
+ - ext/nokogiri/xml_encoding_handler.c
237
+ - ext/nokogiri/html_sax_push_parser.c
238
+ - ext/nokogiri/xml_relax_ng.c
239
+ - ext/nokogiri/xml_entity_decl.c
240
+ - ext/nokogiri/xml_node.c
241
+ - ext/nokogiri/xml_entity_reference.c
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
248
+ files:
249
+ - Gemfile
250
+ - LICENSE-DEPENDENCIES.md
251
+ - LICENSE.md
252
+ - README.md
253
+ - bin/nokogiri
254
+ - dependencies.yml
255
+ - ext/nokogiri/depend
256
+ - ext/nokogiri/extconf.rb
257
+ - ext/nokogiri/html_document.c
258
+ - ext/nokogiri/html_document.h
259
+ - ext/nokogiri/html_element_description.c
260
+ - ext/nokogiri/html_element_description.h
261
+ - ext/nokogiri/html_entity_lookup.c
262
+ - ext/nokogiri/html_entity_lookup.h
263
+ - ext/nokogiri/html_sax_parser_context.c
264
+ - ext/nokogiri/html_sax_parser_context.h
265
+ - ext/nokogiri/html_sax_push_parser.c
266
+ - ext/nokogiri/html_sax_push_parser.h
267
+ - ext/nokogiri/include/libexslt/exslt.h
268
+ - ext/nokogiri/include/libexslt/exsltconfig.h
269
+ - ext/nokogiri/include/libexslt/exsltexports.h
270
+ - ext/nokogiri/include/libxml2/libxml/DOCBparser.h
271
+ - ext/nokogiri/include/libxml2/libxml/HTMLparser.h
272
+ - ext/nokogiri/include/libxml2/libxml/HTMLtree.h
273
+ - ext/nokogiri/include/libxml2/libxml/SAX.h
274
+ - ext/nokogiri/include/libxml2/libxml/SAX2.h
275
+ - ext/nokogiri/include/libxml2/libxml/c14n.h
276
+ - ext/nokogiri/include/libxml2/libxml/catalog.h
277
+ - ext/nokogiri/include/libxml2/libxml/chvalid.h
278
+ - ext/nokogiri/include/libxml2/libxml/debugXML.h
279
+ - ext/nokogiri/include/libxml2/libxml/dict.h
280
+ - ext/nokogiri/include/libxml2/libxml/encoding.h
281
+ - ext/nokogiri/include/libxml2/libxml/entities.h
282
+ - ext/nokogiri/include/libxml2/libxml/globals.h
283
+ - ext/nokogiri/include/libxml2/libxml/hash.h
284
+ - ext/nokogiri/include/libxml2/libxml/list.h
285
+ - ext/nokogiri/include/libxml2/libxml/nanoftp.h
286
+ - ext/nokogiri/include/libxml2/libxml/nanohttp.h
287
+ - ext/nokogiri/include/libxml2/libxml/parser.h
288
+ - ext/nokogiri/include/libxml2/libxml/parserInternals.h
289
+ - ext/nokogiri/include/libxml2/libxml/pattern.h
290
+ - ext/nokogiri/include/libxml2/libxml/relaxng.h
291
+ - ext/nokogiri/include/libxml2/libxml/schemasInternals.h
292
+ - ext/nokogiri/include/libxml2/libxml/schematron.h
293
+ - ext/nokogiri/include/libxml2/libxml/threads.h
294
+ - ext/nokogiri/include/libxml2/libxml/tree.h
295
+ - ext/nokogiri/include/libxml2/libxml/uri.h
296
+ - ext/nokogiri/include/libxml2/libxml/valid.h
297
+ - ext/nokogiri/include/libxml2/libxml/xinclude.h
298
+ - ext/nokogiri/include/libxml2/libxml/xlink.h
299
+ - ext/nokogiri/include/libxml2/libxml/xmlIO.h
300
+ - ext/nokogiri/include/libxml2/libxml/xmlautomata.h
301
+ - ext/nokogiri/include/libxml2/libxml/xmlerror.h
302
+ - ext/nokogiri/include/libxml2/libxml/xmlexports.h
303
+ - ext/nokogiri/include/libxml2/libxml/xmlmemory.h
304
+ - ext/nokogiri/include/libxml2/libxml/xmlmodule.h
305
+ - ext/nokogiri/include/libxml2/libxml/xmlreader.h
306
+ - ext/nokogiri/include/libxml2/libxml/xmlregexp.h
307
+ - ext/nokogiri/include/libxml2/libxml/xmlsave.h
308
+ - ext/nokogiri/include/libxml2/libxml/xmlschemas.h
309
+ - ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h
310
+ - ext/nokogiri/include/libxml2/libxml/xmlstring.h
311
+ - ext/nokogiri/include/libxml2/libxml/xmlunicode.h
312
+ - ext/nokogiri/include/libxml2/libxml/xmlversion.h
313
+ - ext/nokogiri/include/libxml2/libxml/xmlwriter.h
314
+ - ext/nokogiri/include/libxml2/libxml/xpath.h
315
+ - ext/nokogiri/include/libxml2/libxml/xpathInternals.h
316
+ - ext/nokogiri/include/libxml2/libxml/xpointer.h
317
+ - ext/nokogiri/include/libxslt/attributes.h
318
+ - ext/nokogiri/include/libxslt/documents.h
319
+ - ext/nokogiri/include/libxslt/extensions.h
320
+ - ext/nokogiri/include/libxslt/extra.h
321
+ - ext/nokogiri/include/libxslt/functions.h
322
+ - ext/nokogiri/include/libxslt/imports.h
323
+ - ext/nokogiri/include/libxslt/keys.h
324
+ - ext/nokogiri/include/libxslt/namespaces.h
325
+ - ext/nokogiri/include/libxslt/numbersInternals.h
326
+ - ext/nokogiri/include/libxslt/pattern.h
327
+ - ext/nokogiri/include/libxslt/preproc.h
328
+ - ext/nokogiri/include/libxslt/security.h
329
+ - ext/nokogiri/include/libxslt/templates.h
330
+ - ext/nokogiri/include/libxslt/transform.h
331
+ - ext/nokogiri/include/libxslt/variables.h
332
+ - ext/nokogiri/include/libxslt/xslt.h
333
+ - ext/nokogiri/include/libxslt/xsltInternals.h
334
+ - ext/nokogiri/include/libxslt/xsltconfig.h
335
+ - ext/nokogiri/include/libxslt/xsltexports.h
336
+ - ext/nokogiri/include/libxslt/xsltlocale.h
337
+ - ext/nokogiri/include/libxslt/xsltutils.h
338
+ - ext/nokogiri/nokogiri.c
339
+ - ext/nokogiri/nokogiri.h
340
+ - ext/nokogiri/xml_attr.c
341
+ - ext/nokogiri/xml_attr.h
342
+ - ext/nokogiri/xml_attribute_decl.c
343
+ - ext/nokogiri/xml_attribute_decl.h
344
+ - ext/nokogiri/xml_cdata.c
345
+ - ext/nokogiri/xml_cdata.h
346
+ - ext/nokogiri/xml_comment.c
347
+ - ext/nokogiri/xml_comment.h
348
+ - ext/nokogiri/xml_document.c
349
+ - ext/nokogiri/xml_document.h
350
+ - ext/nokogiri/xml_document_fragment.c
351
+ - ext/nokogiri/xml_document_fragment.h
352
+ - ext/nokogiri/xml_dtd.c
353
+ - ext/nokogiri/xml_dtd.h
354
+ - ext/nokogiri/xml_element_content.c
355
+ - ext/nokogiri/xml_element_content.h
356
+ - ext/nokogiri/xml_element_decl.c
357
+ - ext/nokogiri/xml_element_decl.h
358
+ - ext/nokogiri/xml_encoding_handler.c
359
+ - ext/nokogiri/xml_encoding_handler.h
360
+ - ext/nokogiri/xml_entity_decl.c
361
+ - ext/nokogiri/xml_entity_decl.h
362
+ - ext/nokogiri/xml_entity_reference.c
363
+ - ext/nokogiri/xml_entity_reference.h
364
+ - ext/nokogiri/xml_io.c
365
+ - ext/nokogiri/xml_io.h
366
+ - ext/nokogiri/xml_libxml2_hacks.c
367
+ - ext/nokogiri/xml_libxml2_hacks.h
368
+ - ext/nokogiri/xml_namespace.c
369
+ - ext/nokogiri/xml_namespace.h
370
+ - ext/nokogiri/xml_node.c
371
+ - ext/nokogiri/xml_node.h
372
+ - ext/nokogiri/xml_node_set.c
373
+ - ext/nokogiri/xml_node_set.h
374
+ - ext/nokogiri/xml_processing_instruction.c
375
+ - ext/nokogiri/xml_processing_instruction.h
376
+ - ext/nokogiri/xml_reader.c
377
+ - ext/nokogiri/xml_reader.h
378
+ - ext/nokogiri/xml_relax_ng.c
379
+ - ext/nokogiri/xml_relax_ng.h
380
+ - ext/nokogiri/xml_sax_parser.c
381
+ - ext/nokogiri/xml_sax_parser.h
382
+ - ext/nokogiri/xml_sax_parser_context.c
383
+ - ext/nokogiri/xml_sax_parser_context.h
384
+ - ext/nokogiri/xml_sax_push_parser.c
385
+ - ext/nokogiri/xml_sax_push_parser.h
386
+ - ext/nokogiri/xml_schema.c
387
+ - ext/nokogiri/xml_schema.h
388
+ - ext/nokogiri/xml_syntax_error.c
389
+ - ext/nokogiri/xml_syntax_error.h
390
+ - ext/nokogiri/xml_text.c
391
+ - ext/nokogiri/xml_text.h
392
+ - ext/nokogiri/xml_xpath_context.c
393
+ - ext/nokogiri/xml_xpath_context.h
394
+ - ext/nokogiri/xslt_stylesheet.c
395
+ - ext/nokogiri/xslt_stylesheet.h
396
+ - lib/nokogiri.rb
397
+ - lib/nokogiri/2.5/nokogiri.bundle
398
+ - lib/nokogiri/2.6/nokogiri.bundle
399
+ - lib/nokogiri/2.7/nokogiri.bundle
400
+ - lib/nokogiri/3.0/nokogiri.bundle
401
+ - lib/nokogiri/css.rb
402
+ - lib/nokogiri/css/node.rb
403
+ - lib/nokogiri/css/parser.rb
404
+ - lib/nokogiri/css/parser.y
405
+ - lib/nokogiri/css/parser_extras.rb
406
+ - lib/nokogiri/css/syntax_error.rb
407
+ - lib/nokogiri/css/tokenizer.rb
408
+ - lib/nokogiri/css/tokenizer.rex
409
+ - lib/nokogiri/css/xpath_visitor.rb
410
+ - lib/nokogiri/decorators/slop.rb
411
+ - lib/nokogiri/html.rb
412
+ - lib/nokogiri/html/builder.rb
413
+ - lib/nokogiri/html/document.rb
414
+ - lib/nokogiri/html/document_fragment.rb
415
+ - lib/nokogiri/html/element_description.rb
416
+ - lib/nokogiri/html/element_description_defaults.rb
417
+ - lib/nokogiri/html/entity_lookup.rb
418
+ - lib/nokogiri/html/sax/parser.rb
419
+ - lib/nokogiri/html/sax/parser_context.rb
420
+ - lib/nokogiri/html/sax/push_parser.rb
421
+ - lib/nokogiri/jruby/dependencies.rb
422
+ - lib/nokogiri/syntax_error.rb
423
+ - lib/nokogiri/version.rb
424
+ - lib/nokogiri/version/constant.rb
425
+ - lib/nokogiri/version/info.rb
426
+ - lib/nokogiri/xml.rb
427
+ - lib/nokogiri/xml/attr.rb
428
+ - lib/nokogiri/xml/attribute_decl.rb
429
+ - lib/nokogiri/xml/builder.rb
430
+ - lib/nokogiri/xml/cdata.rb
431
+ - lib/nokogiri/xml/character_data.rb
432
+ - lib/nokogiri/xml/document.rb
433
+ - lib/nokogiri/xml/document_fragment.rb
434
+ - lib/nokogiri/xml/dtd.rb
435
+ - lib/nokogiri/xml/element_content.rb
436
+ - lib/nokogiri/xml/element_decl.rb
437
+ - lib/nokogiri/xml/entity_decl.rb
438
+ - lib/nokogiri/xml/entity_reference.rb
439
+ - lib/nokogiri/xml/namespace.rb
440
+ - lib/nokogiri/xml/node.rb
441
+ - lib/nokogiri/xml/node/save_options.rb
442
+ - lib/nokogiri/xml/node_set.rb
443
+ - lib/nokogiri/xml/notation.rb
444
+ - lib/nokogiri/xml/parse_options.rb
445
+ - lib/nokogiri/xml/pp.rb
446
+ - lib/nokogiri/xml/pp/character_data.rb
447
+ - lib/nokogiri/xml/pp/node.rb
448
+ - lib/nokogiri/xml/processing_instruction.rb
449
+ - lib/nokogiri/xml/reader.rb
450
+ - lib/nokogiri/xml/relax_ng.rb
451
+ - lib/nokogiri/xml/sax.rb
452
+ - lib/nokogiri/xml/sax/document.rb
453
+ - lib/nokogiri/xml/sax/parser.rb
454
+ - lib/nokogiri/xml/sax/parser_context.rb
455
+ - lib/nokogiri/xml/sax/push_parser.rb
456
+ - lib/nokogiri/xml/schema.rb
457
+ - lib/nokogiri/xml/searchable.rb
458
+ - lib/nokogiri/xml/syntax_error.rb
459
+ - lib/nokogiri/xml/text.rb
460
+ - lib/nokogiri/xml/xpath.rb
461
+ - lib/nokogiri/xml/xpath/syntax_error.rb
462
+ - lib/nokogiri/xml/xpath_context.rb
463
+ - lib/nokogiri/xslt.rb
464
+ - lib/nokogiri/xslt/stylesheet.rb
465
+ - lib/xsd/xmlparser/nokogiri.rb
466
+ homepage: https://nokogiri.org
467
+ licenses:
468
+ - MIT
469
+ metadata:
470
+ homepage_uri: https://nokogiri.org
471
+ bug_tracker_uri: https://github.com/sparklemotion/nokogiri/issues
472
+ documentation_uri: https://nokogiri.org/rdoc/index.html
473
+ changelog_uri: https://nokogiri.org/CHANGELOG.html
474
+ source_code_uri: https://github.com/sparklemotion/nokogiri
475
+ post_install_message:
476
+ rdoc_options:
477
+ - "--main"
478
+ - README.md
479
+ require_paths:
480
+ - lib
481
+ required_ruby_version: !ruby/object:Gem::Requirement
482
+ requirements:
483
+ - - ">="
484
+ - !ruby/object:Gem::Version
485
+ version: '2.5'
486
+ - - "<"
487
+ - !ruby/object:Gem::Version
488
+ version: 3.1.dev
489
+ required_rubygems_version: !ruby/object:Gem::Requirement
490
+ requirements:
491
+ - - ">="
492
+ - !ruby/object:Gem::Version
493
+ version: '0'
494
+ requirements: []
495
+ rubygems_version: 3.2.3
496
+ signing_key:
497
+ specification_version: 4
498
+ summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
499
+ test_files: []