nokogiri 1.10.7 → 1.16.0

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 (224) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +42 -0
  3. data/LICENSE-DEPENDENCIES.md +1632 -1022
  4. data/LICENSE.md +1 -1
  5. data/README.md +188 -96
  6. data/bin/nokogiri +63 -50
  7. data/dependencies.yml +34 -66
  8. data/ext/nokogiri/depend +38 -358
  9. data/ext/nokogiri/extconf.rb +862 -421
  10. data/ext/nokogiri/gumbo.c +594 -0
  11. data/ext/nokogiri/html4_document.c +165 -0
  12. data/ext/nokogiri/html4_element_description.c +299 -0
  13. data/ext/nokogiri/html4_entity_lookup.c +37 -0
  14. data/ext/nokogiri/html4_sax_parser_context.c +108 -0
  15. data/ext/nokogiri/html4_sax_push_parser.c +95 -0
  16. data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
  17. data/ext/nokogiri/nokogiri.c +251 -105
  18. data/ext/nokogiri/nokogiri.h +222 -90
  19. data/ext/nokogiri/test_global_handlers.c +40 -0
  20. data/ext/nokogiri/xml_attr.c +17 -17
  21. data/ext/nokogiri/xml_attribute_decl.c +22 -22
  22. data/ext/nokogiri/xml_cdata.c +39 -31
  23. data/ext/nokogiri/xml_comment.c +20 -27
  24. data/ext/nokogiri/xml_document.c +408 -243
  25. data/ext/nokogiri/xml_document_fragment.c +13 -17
  26. data/ext/nokogiri/xml_dtd.c +64 -58
  27. data/ext/nokogiri/xml_element_content.c +63 -55
  28. data/ext/nokogiri/xml_element_decl.c +31 -31
  29. data/ext/nokogiri/xml_encoding_handler.c +54 -21
  30. data/ext/nokogiri/xml_entity_decl.c +37 -35
  31. data/ext/nokogiri/xml_entity_reference.c +17 -19
  32. data/ext/nokogiri/xml_namespace.c +131 -61
  33. data/ext/nokogiri/xml_node.c +1343 -674
  34. data/ext/nokogiri/xml_node_set.c +246 -216
  35. data/ext/nokogiri/xml_processing_instruction.c +18 -20
  36. data/ext/nokogiri/xml_reader.c +305 -213
  37. data/ext/nokogiri/xml_relax_ng.c +87 -78
  38. data/ext/nokogiri/xml_sax_parser.c +149 -124
  39. data/ext/nokogiri/xml_sax_parser_context.c +149 -103
  40. data/ext/nokogiri/xml_sax_push_parser.c +65 -37
  41. data/ext/nokogiri/xml_schema.c +138 -82
  42. data/ext/nokogiri/xml_syntax_error.c +42 -21
  43. data/ext/nokogiri/xml_text.c +35 -26
  44. data/ext/nokogiri/xml_xpath_context.c +363 -178
  45. data/ext/nokogiri/xslt_stylesheet.c +335 -189
  46. data/gumbo-parser/CHANGES.md +63 -0
  47. data/gumbo-parser/Makefile +126 -0
  48. data/gumbo-parser/THANKS +27 -0
  49. data/gumbo-parser/src/Makefile +34 -0
  50. data/gumbo-parser/src/README.md +41 -0
  51. data/gumbo-parser/src/ascii.c +75 -0
  52. data/gumbo-parser/src/ascii.h +115 -0
  53. data/gumbo-parser/src/attribute.c +42 -0
  54. data/gumbo-parser/src/attribute.h +17 -0
  55. data/gumbo-parser/src/char_ref.c +22225 -0
  56. data/gumbo-parser/src/char_ref.h +29 -0
  57. data/gumbo-parser/src/char_ref.rl +2154 -0
  58. data/gumbo-parser/src/error.c +630 -0
  59. data/gumbo-parser/src/error.h +148 -0
  60. data/gumbo-parser/src/foreign_attrs.c +103 -0
  61. data/gumbo-parser/src/foreign_attrs.gperf +27 -0
  62. data/gumbo-parser/src/insertion_mode.h +33 -0
  63. data/gumbo-parser/src/macros.h +91 -0
  64. data/gumbo-parser/src/nokogiri_gumbo.h +944 -0
  65. data/gumbo-parser/src/parser.c +4891 -0
  66. data/gumbo-parser/src/parser.h +41 -0
  67. data/gumbo-parser/src/replacement.h +33 -0
  68. data/gumbo-parser/src/string_buffer.c +103 -0
  69. data/gumbo-parser/src/string_buffer.h +68 -0
  70. data/gumbo-parser/src/string_piece.c +48 -0
  71. data/gumbo-parser/src/svg_attrs.c +174 -0
  72. data/gumbo-parser/src/svg_attrs.gperf +77 -0
  73. data/gumbo-parser/src/svg_tags.c +137 -0
  74. data/gumbo-parser/src/svg_tags.gperf +55 -0
  75. data/gumbo-parser/src/tag.c +223 -0
  76. data/gumbo-parser/src/tag_lookup.c +382 -0
  77. data/gumbo-parser/src/tag_lookup.gperf +170 -0
  78. data/gumbo-parser/src/tag_lookup.h +13 -0
  79. data/gumbo-parser/src/token_buffer.c +79 -0
  80. data/gumbo-parser/src/token_buffer.h +71 -0
  81. data/gumbo-parser/src/token_type.h +17 -0
  82. data/gumbo-parser/src/tokenizer.c +3464 -0
  83. data/gumbo-parser/src/tokenizer.h +112 -0
  84. data/gumbo-parser/src/tokenizer_states.h +339 -0
  85. data/gumbo-parser/src/utf8.c +245 -0
  86. data/gumbo-parser/src/utf8.h +164 -0
  87. data/gumbo-parser/src/util.c +66 -0
  88. data/gumbo-parser/src/util.h +34 -0
  89. data/gumbo-parser/src/vector.c +111 -0
  90. data/gumbo-parser/src/vector.h +45 -0
  91. data/lib/nokogiri/class_resolver.rb +67 -0
  92. data/lib/nokogiri/css/node.rb +10 -8
  93. data/lib/nokogiri/css/parser.rb +397 -377
  94. data/lib/nokogiri/css/parser.y +250 -245
  95. data/lib/nokogiri/css/parser_extras.rb +54 -49
  96. data/lib/nokogiri/css/syntax_error.rb +3 -1
  97. data/lib/nokogiri/css/tokenizer.rb +5 -3
  98. data/lib/nokogiri/css/tokenizer.rex +3 -2
  99. data/lib/nokogiri/css/xpath_visitor.rb +205 -96
  100. data/lib/nokogiri/css.rb +56 -17
  101. data/lib/nokogiri/decorators/slop.rb +9 -7
  102. data/lib/nokogiri/encoding_handler.rb +57 -0
  103. data/lib/nokogiri/extension.rb +32 -0
  104. data/lib/nokogiri/gumbo.rb +15 -0
  105. data/lib/nokogiri/html.rb +38 -27
  106. data/lib/nokogiri/{html → html4}/builder.rb +4 -2
  107. data/lib/nokogiri/html4/document.rb +214 -0
  108. data/lib/nokogiri/html4/document_fragment.rb +54 -0
  109. data/lib/nokogiri/{html → html4}/element_description.rb +3 -1
  110. data/lib/nokogiri/html4/element_description_defaults.rb +2040 -0
  111. data/lib/nokogiri/html4/encoding_reader.rb +121 -0
  112. data/lib/nokogiri/{html → html4}/entity_lookup.rb +4 -2
  113. data/lib/nokogiri/{html → html4}/sax/parser.rb +17 -16
  114. data/lib/nokogiri/html4/sax/parser_context.rb +20 -0
  115. data/lib/nokogiri/{html → html4}/sax/push_parser.rb +12 -11
  116. data/lib/nokogiri/html4.rb +47 -0
  117. data/lib/nokogiri/html5/document.rb +168 -0
  118. data/lib/nokogiri/html5/document_fragment.rb +90 -0
  119. data/lib/nokogiri/html5/node.rb +103 -0
  120. data/lib/nokogiri/html5.rb +326 -0
  121. data/lib/nokogiri/jruby/dependencies.rb +3 -0
  122. data/lib/nokogiri/jruby/nokogiri_jars.rb +43 -0
  123. data/lib/nokogiri/syntax_error.rb +2 -0
  124. data/lib/nokogiri/version/constant.rb +6 -0
  125. data/lib/nokogiri/version/info.rb +224 -0
  126. data/lib/nokogiri/version.rb +3 -108
  127. data/lib/nokogiri/xml/attr.rb +55 -3
  128. data/lib/nokogiri/xml/attribute_decl.rb +6 -2
  129. data/lib/nokogiri/xml/builder.rb +75 -34
  130. data/lib/nokogiri/xml/cdata.rb +3 -1
  131. data/lib/nokogiri/xml/character_data.rb +2 -0
  132. data/lib/nokogiri/xml/document.rb +312 -127
  133. data/lib/nokogiri/xml/document_fragment.rb +93 -48
  134. data/lib/nokogiri/xml/dtd.rb +4 -2
  135. data/lib/nokogiri/xml/element_content.rb +12 -2
  136. data/lib/nokogiri/xml/element_decl.rb +6 -2
  137. data/lib/nokogiri/xml/entity_decl.rb +7 -3
  138. data/lib/nokogiri/xml/entity_reference.rb +2 -0
  139. data/lib/nokogiri/xml/namespace.rb +44 -0
  140. data/lib/nokogiri/xml/node/save_options.rb +23 -8
  141. data/lib/nokogiri/xml/node.rb +1096 -419
  142. data/lib/nokogiri/xml/node_set.rb +137 -61
  143. data/lib/nokogiri/xml/notation.rb +13 -0
  144. data/lib/nokogiri/xml/parse_options.rb +145 -52
  145. data/lib/nokogiri/xml/pp/character_data.rb +9 -6
  146. data/lib/nokogiri/xml/pp/node.rb +42 -30
  147. data/lib/nokogiri/xml/pp.rb +4 -2
  148. data/lib/nokogiri/xml/processing_instruction.rb +4 -1
  149. data/lib/nokogiri/xml/reader.rb +21 -28
  150. data/lib/nokogiri/xml/relax_ng.rb +8 -2
  151. data/lib/nokogiri/xml/sax/document.rb +45 -49
  152. data/lib/nokogiri/xml/sax/parser.rb +39 -36
  153. data/lib/nokogiri/xml/sax/parser_context.rb +8 -3
  154. data/lib/nokogiri/xml/sax/push_parser.rb +6 -5
  155. data/lib/nokogiri/xml/sax.rb +6 -4
  156. data/lib/nokogiri/xml/schema.rb +19 -9
  157. data/lib/nokogiri/xml/searchable.rb +120 -72
  158. data/lib/nokogiri/xml/syntax_error.rb +7 -5
  159. data/lib/nokogiri/xml/text.rb +2 -0
  160. data/lib/nokogiri/xml/xpath/syntax_error.rb +4 -2
  161. data/lib/nokogiri/xml/xpath.rb +15 -4
  162. data/lib/nokogiri/xml/xpath_context.rb +3 -3
  163. data/lib/nokogiri/xml.rb +39 -38
  164. data/lib/nokogiri/xslt/stylesheet.rb +3 -1
  165. data/lib/nokogiri/xslt.rb +101 -22
  166. data/lib/nokogiri.rb +59 -75
  167. data/lib/xsd/xmlparser/nokogiri.rb +29 -25
  168. data/patches/libxml2/{0004-libxml2.la-is-in-top_builddir.patch → 0003-libxml2.la-is-in-top_builddir.patch} +1 -1
  169. data/patches/libxml2/0009-allow-wildcard-namespaces.patch +77 -0
  170. data/patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch +224 -0
  171. data/patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch +30 -0
  172. data/patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch +224 -0
  173. data/ports/archives/libxml2-2.12.3.tar.xz +0 -0
  174. data/ports/archives/libxslt-1.1.39.tar.xz +0 -0
  175. metadata +121 -291
  176. data/ext/nokogiri/html_document.c +0 -170
  177. data/ext/nokogiri/html_document.h +0 -10
  178. data/ext/nokogiri/html_element_description.c +0 -279
  179. data/ext/nokogiri/html_element_description.h +0 -10
  180. data/ext/nokogiri/html_entity_lookup.c +0 -32
  181. data/ext/nokogiri/html_entity_lookup.h +0 -8
  182. data/ext/nokogiri/html_sax_parser_context.c +0 -116
  183. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  184. data/ext/nokogiri/html_sax_push_parser.c +0 -87
  185. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  186. data/ext/nokogiri/xml_attr.h +0 -9
  187. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  188. data/ext/nokogiri/xml_cdata.h +0 -9
  189. data/ext/nokogiri/xml_comment.h +0 -9
  190. data/ext/nokogiri/xml_document.h +0 -23
  191. data/ext/nokogiri/xml_document_fragment.h +0 -10
  192. data/ext/nokogiri/xml_dtd.h +0 -10
  193. data/ext/nokogiri/xml_element_content.h +0 -10
  194. data/ext/nokogiri/xml_element_decl.h +0 -9
  195. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  196. data/ext/nokogiri/xml_entity_decl.h +0 -10
  197. data/ext/nokogiri/xml_entity_reference.h +0 -9
  198. data/ext/nokogiri/xml_io.c +0 -61
  199. data/ext/nokogiri/xml_io.h +0 -11
  200. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  201. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  202. data/ext/nokogiri/xml_namespace.h +0 -14
  203. data/ext/nokogiri/xml_node.h +0 -13
  204. data/ext/nokogiri/xml_node_set.h +0 -12
  205. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  206. data/ext/nokogiri/xml_reader.h +0 -10
  207. data/ext/nokogiri/xml_relax_ng.h +0 -9
  208. data/ext/nokogiri/xml_sax_parser.h +0 -39
  209. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  210. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  211. data/ext/nokogiri/xml_schema.h +0 -9
  212. data/ext/nokogiri/xml_syntax_error.h +0 -13
  213. data/ext/nokogiri/xml_text.h +0 -9
  214. data/ext/nokogiri/xml_xpath_context.h +0 -10
  215. data/ext/nokogiri/xslt_stylesheet.h +0 -14
  216. data/lib/nokogiri/html/document.rb +0 -335
  217. data/lib/nokogiri/html/document_fragment.rb +0 -49
  218. data/lib/nokogiri/html/element_description_defaults.rb +0 -671
  219. data/lib/nokogiri/html/sax/parser_context.rb +0 -16
  220. data/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +0 -78
  221. data/ports/archives/libxml2-2.9.10.tar.gz +0 -0
  222. data/ports/archives/libxslt-1.1.34.tar.gz +0 -0
  223. /data/patches/libxml2/{0002-Remove-script-macro-support.patch → 0001-Remove-script-macro-support.patch} +0 -0
  224. /data/patches/libxml2/{0003-Update-entities-to-remove-handling-of-ssi.patch → 0002-Update-entities-to-remove-handling-of-ssi.patch} +0 -0
metadata CHANGED
@@ -1,20 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.7
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
- - Aaron Patterson
8
7
  - Mike Dalessio
8
+ - Aaron Patterson
9
9
  - Yoko Harada
10
- - Tim Elliott
11
10
  - Akinori MUSHA
12
11
  - John Shahid
12
+ - Karol Bucek
13
+ - Sam Ruby
14
+ - Craig Barnes
15
+ - Stephen Checkoway
13
16
  - Lars Kanis
17
+ - Sergio Arbeo
18
+ - Timothy Elliott
19
+ - Nobuyoshi Nakada
14
20
  autorequire:
15
21
  bindir: bin
16
22
  cert_chain: []
17
- date: 2019-12-04 00:00:00.000000000 Z
23
+ date: 2023-12-27 00:00:00.000000000 Z
18
24
  dependencies:
19
25
  - !ruby/object:Gem::Dependency
20
26
  name: mini_portile2
@@ -22,256 +28,49 @@ dependencies:
22
28
  requirements:
23
29
  - - "~>"
24
30
  - !ruby/object:Gem::Version
25
- version: 2.4.0
31
+ version: 2.8.2
26
32
  type: :runtime
27
33
  prerelease: false
28
34
  version_requirements: !ruby/object:Gem::Requirement
29
35
  requirements:
30
36
  - - "~>"
31
37
  - !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.24'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '0.24'
47
- - !ruby/object:Gem::Dependency
48
- name: hoe-bundler
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '1.2'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '1.2'
61
- - !ruby/object:Gem::Dependency
62
- name: hoe-debugging
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '2.0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '2.0'
75
- - !ruby/object:Gem::Dependency
76
- name: hoe-gemspec
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.0'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.0'
89
- - !ruby/object:Gem::Dependency
90
- name: hoe-git
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '1.6'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '1.6'
103
- - !ruby/object:Gem::Dependency
104
- name: minitest
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '5.8'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '5.8'
38
+ version: 2.8.2
39
+ force_ruby_platform: false
117
40
  - !ruby/object:Gem::Dependency
118
41
  name: racc
119
42
  requirement: !ruby/object:Gem::Requirement
120
43
  requirements:
121
44
  - - "~>"
122
45
  - !ruby/object:Gem::Version
123
- version: 1.4.14
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: 1.4.14
131
- - !ruby/object:Gem::Dependency
132
- name: rake
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '12.0'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '12.0'
145
- - !ruby/object:Gem::Dependency
146
- name: rake-compiler
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: 1.0.3
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: 1.0.3
159
- - !ruby/object:Gem::Dependency
160
- name: rake-compiler-dock
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: 0.7.0
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: 0.7.0
173
- - !ruby/object:Gem::Dependency
174
- name: rexical
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: 1.0.5
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.5
187
- - !ruby/object:Gem::Dependency
188
- name: rubocop
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '0.73'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '0.73'
201
- - !ruby/object:Gem::Dependency
202
- name: simplecov
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '0.16'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '0.16'
215
- - !ruby/object:Gem::Dependency
216
- name: rdoc
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- version: '4.0'
222
- - - "<"
223
- - !ruby/object:Gem::Version
224
- version: '7'
225
- type: :development
226
- prerelease: false
227
- version_requirements: !ruby/object:Gem::Requirement
228
- requirements:
229
- - - ">="
230
- - !ruby/object:Gem::Version
231
- version: '4.0'
232
- - - "<"
233
- - !ruby/object:Gem::Version
234
- version: '7'
235
- - !ruby/object:Gem::Dependency
236
- name: hoe
237
- requirement: !ruby/object:Gem::Requirement
238
- requirements:
239
- - - "~>"
240
- - !ruby/object:Gem::Version
241
- version: '3.20'
242
- type: :development
46
+ version: '1.4'
47
+ type: :runtime
243
48
  prerelease: false
244
49
  version_requirements: !ruby/object:Gem::Requirement
245
50
  requirements:
246
51
  - - "~>"
247
52
  - !ruby/object:Gem::Version
248
- version: '3.20'
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
53
+ version: '1.4'
54
+ force_ruby_platform: false
55
+ description: |
56
+ Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
57
+ sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is
58
+ fast and standards-compliant by relying on native parsers like libxml2, libgumbo, or xerces.
59
+ email: nokogiri-talk@googlegroups.com
261
60
  executables:
262
61
  - nokogiri
263
62
  extensions:
264
63
  - ext/nokogiri/extconf.rb
265
64
  extra_rdoc_files:
266
- - LICENSE-DEPENDENCIES.md
267
- - LICENSE.md
268
- - README.md
269
- - ext/nokogiri/html_document.c
270
- - ext/nokogiri/html_element_description.c
271
- - ext/nokogiri/html_entity_lookup.c
272
- - ext/nokogiri/html_sax_parser_context.c
273
- - ext/nokogiri/html_sax_push_parser.c
65
+ - ext/nokogiri/gumbo.c
66
+ - ext/nokogiri/html4_document.c
67
+ - ext/nokogiri/html4_element_description.c
68
+ - ext/nokogiri/html4_entity_lookup.c
69
+ - ext/nokogiri/html4_sax_parser_context.c
70
+ - ext/nokogiri/html4_sax_push_parser.c
71
+ - ext/nokogiri/libxml2_backwards_compat.c
274
72
  - ext/nokogiri/nokogiri.c
73
+ - ext/nokogiri/test_global_handlers.c
275
74
  - ext/nokogiri/xml_attr.c
276
75
  - ext/nokogiri/xml_attribute_decl.c
277
76
  - ext/nokogiri/xml_cdata.c
@@ -284,8 +83,6 @@ extra_rdoc_files:
284
83
  - ext/nokogiri/xml_encoding_handler.c
285
84
  - ext/nokogiri/xml_entity_decl.c
286
85
  - ext/nokogiri/xml_entity_reference.c
287
- - ext/nokogiri/xml_io.c
288
- - ext/nokogiri/xml_libxml2_hacks.c
289
86
  - ext/nokogiri/xml_namespace.c
290
87
  - ext/nokogiri/xml_node.c
291
88
  - ext/nokogiri/xml_node_set.c
@@ -300,7 +97,9 @@ extra_rdoc_files:
300
97
  - ext/nokogiri/xml_text.c
301
98
  - ext/nokogiri/xml_xpath_context.c
302
99
  - ext/nokogiri/xslt_stylesheet.c
100
+ - README.md
303
101
  files:
102
+ - Gemfile
304
103
  - LICENSE-DEPENDENCIES.md
305
104
  - LICENSE.md
306
105
  - README.md
@@ -308,75 +107,89 @@ files:
308
107
  - dependencies.yml
309
108
  - ext/nokogiri/depend
310
109
  - ext/nokogiri/extconf.rb
311
- - ext/nokogiri/html_document.c
312
- - ext/nokogiri/html_document.h
313
- - ext/nokogiri/html_element_description.c
314
- - ext/nokogiri/html_element_description.h
315
- - ext/nokogiri/html_entity_lookup.c
316
- - ext/nokogiri/html_entity_lookup.h
317
- - ext/nokogiri/html_sax_parser_context.c
318
- - ext/nokogiri/html_sax_parser_context.h
319
- - ext/nokogiri/html_sax_push_parser.c
320
- - ext/nokogiri/html_sax_push_parser.h
110
+ - ext/nokogiri/gumbo.c
111
+ - ext/nokogiri/html4_document.c
112
+ - ext/nokogiri/html4_element_description.c
113
+ - ext/nokogiri/html4_entity_lookup.c
114
+ - ext/nokogiri/html4_sax_parser_context.c
115
+ - ext/nokogiri/html4_sax_push_parser.c
116
+ - ext/nokogiri/libxml2_backwards_compat.c
321
117
  - ext/nokogiri/nokogiri.c
322
118
  - ext/nokogiri/nokogiri.h
119
+ - ext/nokogiri/test_global_handlers.c
323
120
  - ext/nokogiri/xml_attr.c
324
- - ext/nokogiri/xml_attr.h
325
121
  - ext/nokogiri/xml_attribute_decl.c
326
- - ext/nokogiri/xml_attribute_decl.h
327
122
  - ext/nokogiri/xml_cdata.c
328
- - ext/nokogiri/xml_cdata.h
329
123
  - ext/nokogiri/xml_comment.c
330
- - ext/nokogiri/xml_comment.h
331
124
  - ext/nokogiri/xml_document.c
332
- - ext/nokogiri/xml_document.h
333
125
  - ext/nokogiri/xml_document_fragment.c
334
- - ext/nokogiri/xml_document_fragment.h
335
126
  - ext/nokogiri/xml_dtd.c
336
- - ext/nokogiri/xml_dtd.h
337
127
  - ext/nokogiri/xml_element_content.c
338
- - ext/nokogiri/xml_element_content.h
339
128
  - ext/nokogiri/xml_element_decl.c
340
- - ext/nokogiri/xml_element_decl.h
341
129
  - ext/nokogiri/xml_encoding_handler.c
342
- - ext/nokogiri/xml_encoding_handler.h
343
130
  - ext/nokogiri/xml_entity_decl.c
344
- - ext/nokogiri/xml_entity_decl.h
345
131
  - ext/nokogiri/xml_entity_reference.c
346
- - ext/nokogiri/xml_entity_reference.h
347
- - ext/nokogiri/xml_io.c
348
- - ext/nokogiri/xml_io.h
349
- - ext/nokogiri/xml_libxml2_hacks.c
350
- - ext/nokogiri/xml_libxml2_hacks.h
351
132
  - ext/nokogiri/xml_namespace.c
352
- - ext/nokogiri/xml_namespace.h
353
133
  - ext/nokogiri/xml_node.c
354
- - ext/nokogiri/xml_node.h
355
134
  - ext/nokogiri/xml_node_set.c
356
- - ext/nokogiri/xml_node_set.h
357
135
  - ext/nokogiri/xml_processing_instruction.c
358
- - ext/nokogiri/xml_processing_instruction.h
359
136
  - ext/nokogiri/xml_reader.c
360
- - ext/nokogiri/xml_reader.h
361
137
  - ext/nokogiri/xml_relax_ng.c
362
- - ext/nokogiri/xml_relax_ng.h
363
138
  - ext/nokogiri/xml_sax_parser.c
364
- - ext/nokogiri/xml_sax_parser.h
365
139
  - ext/nokogiri/xml_sax_parser_context.c
366
- - ext/nokogiri/xml_sax_parser_context.h
367
140
  - ext/nokogiri/xml_sax_push_parser.c
368
- - ext/nokogiri/xml_sax_push_parser.h
369
141
  - ext/nokogiri/xml_schema.c
370
- - ext/nokogiri/xml_schema.h
371
142
  - ext/nokogiri/xml_syntax_error.c
372
- - ext/nokogiri/xml_syntax_error.h
373
143
  - ext/nokogiri/xml_text.c
374
- - ext/nokogiri/xml_text.h
375
144
  - ext/nokogiri/xml_xpath_context.c
376
- - ext/nokogiri/xml_xpath_context.h
377
145
  - ext/nokogiri/xslt_stylesheet.c
378
- - ext/nokogiri/xslt_stylesheet.h
146
+ - gumbo-parser/CHANGES.md
147
+ - gumbo-parser/Makefile
148
+ - gumbo-parser/THANKS
149
+ - gumbo-parser/src/Makefile
150
+ - gumbo-parser/src/README.md
151
+ - gumbo-parser/src/ascii.c
152
+ - gumbo-parser/src/ascii.h
153
+ - gumbo-parser/src/attribute.c
154
+ - gumbo-parser/src/attribute.h
155
+ - gumbo-parser/src/char_ref.c
156
+ - gumbo-parser/src/char_ref.h
157
+ - gumbo-parser/src/char_ref.rl
158
+ - gumbo-parser/src/error.c
159
+ - gumbo-parser/src/error.h
160
+ - gumbo-parser/src/foreign_attrs.c
161
+ - gumbo-parser/src/foreign_attrs.gperf
162
+ - gumbo-parser/src/insertion_mode.h
163
+ - gumbo-parser/src/macros.h
164
+ - gumbo-parser/src/nokogiri_gumbo.h
165
+ - gumbo-parser/src/parser.c
166
+ - gumbo-parser/src/parser.h
167
+ - gumbo-parser/src/replacement.h
168
+ - gumbo-parser/src/string_buffer.c
169
+ - gumbo-parser/src/string_buffer.h
170
+ - gumbo-parser/src/string_piece.c
171
+ - gumbo-parser/src/svg_attrs.c
172
+ - gumbo-parser/src/svg_attrs.gperf
173
+ - gumbo-parser/src/svg_tags.c
174
+ - gumbo-parser/src/svg_tags.gperf
175
+ - gumbo-parser/src/tag.c
176
+ - gumbo-parser/src/tag_lookup.c
177
+ - gumbo-parser/src/tag_lookup.gperf
178
+ - gumbo-parser/src/tag_lookup.h
179
+ - gumbo-parser/src/token_buffer.c
180
+ - gumbo-parser/src/token_buffer.h
181
+ - gumbo-parser/src/token_type.h
182
+ - gumbo-parser/src/tokenizer.c
183
+ - gumbo-parser/src/tokenizer.h
184
+ - gumbo-parser/src/tokenizer_states.h
185
+ - gumbo-parser/src/utf8.c
186
+ - gumbo-parser/src/utf8.h
187
+ - gumbo-parser/src/util.c
188
+ - gumbo-parser/src/util.h
189
+ - gumbo-parser/src/vector.c
190
+ - gumbo-parser/src/vector.h
379
191
  - lib/nokogiri.rb
192
+ - lib/nokogiri/class_resolver.rb
380
193
  - lib/nokogiri/css.rb
381
194
  - lib/nokogiri/css/node.rb
382
195
  - lib/nokogiri/css/parser.rb
@@ -387,18 +200,31 @@ files:
387
200
  - lib/nokogiri/css/tokenizer.rex
388
201
  - lib/nokogiri/css/xpath_visitor.rb
389
202
  - lib/nokogiri/decorators/slop.rb
203
+ - lib/nokogiri/encoding_handler.rb
204
+ - lib/nokogiri/extension.rb
205
+ - lib/nokogiri/gumbo.rb
390
206
  - lib/nokogiri/html.rb
391
- - lib/nokogiri/html/builder.rb
392
- - lib/nokogiri/html/document.rb
393
- - lib/nokogiri/html/document_fragment.rb
394
- - lib/nokogiri/html/element_description.rb
395
- - lib/nokogiri/html/element_description_defaults.rb
396
- - lib/nokogiri/html/entity_lookup.rb
397
- - lib/nokogiri/html/sax/parser.rb
398
- - lib/nokogiri/html/sax/parser_context.rb
399
- - lib/nokogiri/html/sax/push_parser.rb
207
+ - lib/nokogiri/html4.rb
208
+ - lib/nokogiri/html4/builder.rb
209
+ - lib/nokogiri/html4/document.rb
210
+ - lib/nokogiri/html4/document_fragment.rb
211
+ - lib/nokogiri/html4/element_description.rb
212
+ - lib/nokogiri/html4/element_description_defaults.rb
213
+ - lib/nokogiri/html4/encoding_reader.rb
214
+ - lib/nokogiri/html4/entity_lookup.rb
215
+ - lib/nokogiri/html4/sax/parser.rb
216
+ - lib/nokogiri/html4/sax/parser_context.rb
217
+ - lib/nokogiri/html4/sax/push_parser.rb
218
+ - lib/nokogiri/html5.rb
219
+ - lib/nokogiri/html5/document.rb
220
+ - lib/nokogiri/html5/document_fragment.rb
221
+ - lib/nokogiri/html5/node.rb
222
+ - lib/nokogiri/jruby/dependencies.rb
223
+ - lib/nokogiri/jruby/nokogiri_jars.rb
400
224
  - lib/nokogiri/syntax_error.rb
401
225
  - lib/nokogiri/version.rb
226
+ - lib/nokogiri/version/constant.rb
227
+ - lib/nokogiri/version/info.rb
402
228
  - lib/nokogiri/xml.rb
403
229
  - lib/nokogiri/xml/attr.rb
404
230
  - lib/nokogiri/xml/attribute_decl.rb
@@ -439,12 +265,15 @@ files:
439
265
  - lib/nokogiri/xslt.rb
440
266
  - lib/nokogiri/xslt/stylesheet.rb
441
267
  - lib/xsd/xmlparser/nokogiri.rb
442
- - patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
443
- - patches/libxml2/0002-Remove-script-macro-support.patch
444
- - patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch
445
- - patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch
446
- - ports/archives/libxml2-2.9.10.tar.gz
447
- - ports/archives/libxslt-1.1.34.tar.gz
268
+ - patches/libxml2/0001-Remove-script-macro-support.patch
269
+ - patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch
270
+ - patches/libxml2/0003-libxml2.la-is-in-top_builddir.patch
271
+ - patches/libxml2/0009-allow-wildcard-namespaces.patch
272
+ - patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
273
+ - patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
274
+ - patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
275
+ - ports/archives/libxml2-2.12.3.tar.xz
276
+ - ports/archives/libxslt-1.1.39.tar.xz
448
277
  homepage: https://nokogiri.org
449
278
  licenses:
450
279
  - MIT
@@ -454,6 +283,7 @@ metadata:
454
283
  documentation_uri: https://nokogiri.org/rdoc/index.html
455
284
  changelog_uri: https://nokogiri.org/CHANGELOG.html
456
285
  source_code_uri: https://github.com/sparklemotion/nokogiri
286
+ rubygems_mfa_required: 'true'
457
287
  post_install_message:
458
288
  rdoc_options:
459
289
  - "--main"
@@ -464,15 +294,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
464
294
  requirements:
465
295
  - - ">="
466
296
  - !ruby/object:Gem::Version
467
- version: 2.3.0
297
+ version: 3.0.0
468
298
  required_rubygems_version: !ruby/object:Gem::Requirement
469
299
  requirements:
470
300
  - - ">="
471
301
  - !ruby/object:Gem::Version
472
302
  version: '0'
473
303
  requirements: []
474
- rubygems_version: 3.0.3
304
+ rubygems_version: 3.4.19
475
305
  signing_key:
476
306
  specification_version: 4
477
- summary: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
307
+ summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
478
308
  test_files: []