nokogiri 1.13.9-x86_64-darwin → 1.14.0.rc1-x86_64-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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +33 -0
  3. data/LICENSE-DEPENDENCIES.md +830 -509
  4. data/README.md +18 -11
  5. data/dependencies.yml +25 -7
  6. data/ext/nokogiri/extconf.rb +79 -20
  7. data/ext/nokogiri/gumbo.c +19 -9
  8. data/ext/nokogiri/html4_document.c +1 -1
  9. data/ext/nokogiri/html4_entity_lookup.c +1 -1
  10. data/ext/nokogiri/html4_sax_parser_context.c +0 -5
  11. data/ext/nokogiri/include/libxslt/xsltconfig.h +1 -1
  12. data/ext/nokogiri/nokogiri.c +32 -51
  13. data/ext/nokogiri/nokogiri.h +17 -14
  14. data/ext/nokogiri/xml_attribute_decl.c +1 -1
  15. data/ext/nokogiri/xml_cdata.c +1 -1
  16. data/ext/nokogiri/xml_document.c +16 -11
  17. data/ext/nokogiri/xml_element_content.c +2 -2
  18. data/ext/nokogiri/xml_element_decl.c +1 -1
  19. data/ext/nokogiri/xml_encoding_handler.c +2 -2
  20. data/ext/nokogiri/xml_namespace.c +38 -8
  21. data/ext/nokogiri/xml_node.c +286 -26
  22. data/ext/nokogiri/xml_node_set.c +0 -2
  23. data/ext/nokogiri/xml_reader.c +44 -20
  24. data/ext/nokogiri/xml_relax_ng.c +0 -2
  25. data/ext/nokogiri/xml_sax_parser.c +22 -16
  26. data/ext/nokogiri/xml_sax_parser_context.c +0 -5
  27. data/ext/nokogiri/xml_sax_push_parser.c +0 -2
  28. data/ext/nokogiri/xml_schema.c +0 -2
  29. data/ext/nokogiri/xml_xpath_context.c +87 -83
  30. data/ext/nokogiri/xslt_stylesheet.c +14 -13
  31. data/gumbo-parser/Makefile +10 -0
  32. data/lib/nokogiri/2.7/nokogiri.bundle +0 -0
  33. data/lib/nokogiri/3.0/nokogiri.bundle +0 -0
  34. data/lib/nokogiri/3.1/nokogiri.bundle +0 -0
  35. data/lib/nokogiri/{2.6 → 3.2}/nokogiri.bundle +0 -0
  36. data/lib/nokogiri/css/node.rb +2 -2
  37. data/lib/nokogiri/css/xpath_visitor.rb +3 -1
  38. data/lib/nokogiri/css.rb +6 -0
  39. data/lib/nokogiri/encoding_handler.rb +57 -0
  40. data/lib/nokogiri/extension.rb +3 -2
  41. data/lib/nokogiri/html4/document.rb +2 -121
  42. data/lib/nokogiri/html4/element_description_defaults.rb +6 -12
  43. data/lib/nokogiri/html4/encoding_reader.rb +121 -0
  44. data/lib/nokogiri/html4.rb +1 -0
  45. data/lib/nokogiri/html5/document.rb +113 -36
  46. data/lib/nokogiri/html5/document_fragment.rb +9 -2
  47. data/lib/nokogiri/html5/node.rb +3 -5
  48. data/lib/nokogiri/html5.rb +127 -216
  49. data/lib/nokogiri/jruby/dependencies.rb +1 -19
  50. data/lib/nokogiri/jruby/nokogiri_jars.rb +43 -0
  51. data/lib/nokogiri/version/constant.rb +1 -1
  52. data/lib/nokogiri/version/info.rb +11 -10
  53. data/lib/nokogiri/xml/attr.rb +49 -0
  54. data/lib/nokogiri/xml/builder.rb +1 -1
  55. data/lib/nokogiri/xml/document.rb +102 -54
  56. data/lib/nokogiri/xml/document_fragment.rb +49 -6
  57. data/lib/nokogiri/xml/namespace.rb +42 -0
  58. data/lib/nokogiri/xml/node/save_options.rb +4 -2
  59. data/lib/nokogiri/xml/node.rb +190 -35
  60. data/lib/nokogiri/xml/node_set.rb +87 -9
  61. data/lib/nokogiri/xml/parse_options.rb +127 -48
  62. data/lib/nokogiri/xml/pp/node.rb +6 -4
  63. data/lib/nokogiri/xml/processing_instruction.rb +2 -1
  64. data/lib/nokogiri/xml/sax/parser.rb +2 -3
  65. data/lib/nokogiri/xslt.rb +1 -1
  66. data/lib/nokogiri.rb +3 -11
  67. metadata +15 -236
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.9
4
+ version: 1.14.0.rc1
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Mike Dalessio
@@ -17,10 +17,10 @@ authors:
17
17
  - Sergio Arbeo
18
18
  - Timothy Elliott
19
19
  - Nobuyoshi Nakada
20
- autorequire:
20
+ autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2022-10-18 00:00:00.000000000 Z
23
+ date: 2022-12-28 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc
@@ -36,234 +36,10 @@ dependencies:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
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.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.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.30.1
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: 1.30.1
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.5.0
228
- type: :development
229
- prerelease: false
230
- version_requirements: !ruby/object:Gem::Requirement
231
- requirements:
232
- - - '='
233
- - !ruby/object:Gem::Version
234
- version: 2.5.0
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
39
  description: |
264
40
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
265
41
  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).
42
+ fast and standards-compliant by relying on native parsers like libxml2, libgumbo, or xerces.
267
43
  email: nokogiri-talk@googlegroups.com
268
44
  executables:
269
45
  - nokogiri
@@ -424,10 +200,10 @@ files:
424
200
  - gumbo-parser/Makefile
425
201
  - gumbo-parser/THANKS
426
202
  - lib/nokogiri.rb
427
- - lib/nokogiri/2.6/nokogiri.bundle
428
203
  - lib/nokogiri/2.7/nokogiri.bundle
429
204
  - lib/nokogiri/3.0/nokogiri.bundle
430
205
  - lib/nokogiri/3.1/nokogiri.bundle
206
+ - lib/nokogiri/3.2/nokogiri.bundle
431
207
  - lib/nokogiri/class_resolver.rb
432
208
  - lib/nokogiri/css.rb
433
209
  - lib/nokogiri/css/node.rb
@@ -439,6 +215,7 @@ files:
439
215
  - lib/nokogiri/css/tokenizer.rex
440
216
  - lib/nokogiri/css/xpath_visitor.rb
441
217
  - lib/nokogiri/decorators/slop.rb
218
+ - lib/nokogiri/encoding_handler.rb
442
219
  - lib/nokogiri/extension.rb
443
220
  - lib/nokogiri/gumbo.rb
444
221
  - lib/nokogiri/html.rb
@@ -448,6 +225,7 @@ files:
448
225
  - lib/nokogiri/html4/document_fragment.rb
449
226
  - lib/nokogiri/html4/element_description.rb
450
227
  - lib/nokogiri/html4/element_description_defaults.rb
228
+ - lib/nokogiri/html4/encoding_reader.rb
451
229
  - lib/nokogiri/html4/entity_lookup.rb
452
230
  - lib/nokogiri/html4/sax/parser.rb
453
231
  - lib/nokogiri/html4/sax/parser_context.rb
@@ -457,6 +235,7 @@ files:
457
235
  - lib/nokogiri/html5/document_fragment.rb
458
236
  - lib/nokogiri/html5/node.rb
459
237
  - lib/nokogiri/jruby/dependencies.rb
238
+ - lib/nokogiri/jruby/nokogiri_jars.rb
460
239
  - lib/nokogiri/syntax_error.rb
461
240
  - lib/nokogiri/version.rb
462
241
  - lib/nokogiri/version/constant.rb
@@ -511,7 +290,7 @@ metadata:
511
290
  changelog_uri: https://nokogiri.org/CHANGELOG.html
512
291
  source_code_uri: https://github.com/sparklemotion/nokogiri
513
292
  rubygems_mfa_required: 'true'
514
- post_install_message:
293
+ post_install_message:
515
294
  rdoc_options:
516
295
  - "--main"
517
296
  - README.md
@@ -521,18 +300,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
521
300
  requirements:
522
301
  - - ">="
523
302
  - !ruby/object:Gem::Version
524
- version: '2.6'
303
+ version: '2.7'
525
304
  - - "<"
526
305
  - !ruby/object:Gem::Version
527
- version: 3.2.dev
306
+ version: 3.3.dev
528
307
  required_rubygems_version: !ruby/object:Gem::Requirement
529
308
  requirements:
530
- - - ">="
309
+ - - ">"
531
310
  - !ruby/object:Gem::Version
532
- version: '0'
311
+ version: 1.3.1
533
312
  requirements: []
534
- rubygems_version: 3.3.4
535
- signing_key:
313
+ rubygems_version: 3.3.26
314
+ signing_key:
536
315
  specification_version: 4
537
316
  summary: Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
538
317
  test_files: []