nokogiri 1.13.10-x86-mingw32 → 1.14.0-x86-mingw32

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +33 -0
  3. data/LICENSE-DEPENDENCIES.md +830 -509
  4. data/LICENSE.md +1 -1
  5. data/README.md +18 -11
  6. data/dependencies.yml +25 -7
  7. data/ext/nokogiri/extconf.rb +80 -21
  8. data/ext/nokogiri/gumbo.c +19 -9
  9. data/ext/nokogiri/html4_document.c +1 -1
  10. data/ext/nokogiri/html4_entity_lookup.c +1 -1
  11. data/ext/nokogiri/html4_sax_parser_context.c +0 -5
  12. data/ext/nokogiri/include/libxslt/xsltconfig.h +1 -1
  13. data/ext/nokogiri/nokogiri.c +33 -51
  14. data/ext/nokogiri/nokogiri.h +17 -14
  15. data/ext/nokogiri/xml_attribute_decl.c +1 -1
  16. data/ext/nokogiri/xml_cdata.c +1 -1
  17. data/ext/nokogiri/xml_document.c +16 -11
  18. data/ext/nokogiri/xml_element_content.c +2 -2
  19. data/ext/nokogiri/xml_element_decl.c +1 -1
  20. data/ext/nokogiri/xml_encoding_handler.c +2 -2
  21. data/ext/nokogiri/xml_namespace.c +38 -8
  22. data/ext/nokogiri/xml_node.c +286 -26
  23. data/ext/nokogiri/xml_node_set.c +0 -2
  24. data/ext/nokogiri/xml_reader.c +40 -20
  25. data/ext/nokogiri/xml_relax_ng.c +0 -2
  26. data/ext/nokogiri/xml_sax_parser.c +22 -16
  27. data/ext/nokogiri/xml_sax_parser_context.c +0 -5
  28. data/ext/nokogiri/xml_sax_push_parser.c +0 -2
  29. data/ext/nokogiri/xml_schema.c +0 -2
  30. data/ext/nokogiri/xml_xpath_context.c +87 -83
  31. data/ext/nokogiri/xslt_stylesheet.c +14 -13
  32. data/gumbo-parser/Makefile +10 -0
  33. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  34. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  35. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  36. data/lib/nokogiri/{2.6 → 3.2}/nokogiri.so +0 -0
  37. data/lib/nokogiri/css/node.rb +2 -2
  38. data/lib/nokogiri/css/xpath_visitor.rb +5 -3
  39. data/lib/nokogiri/css.rb +6 -0
  40. data/lib/nokogiri/encoding_handler.rb +57 -0
  41. data/lib/nokogiri/extension.rb +3 -2
  42. data/lib/nokogiri/html4/document.rb +2 -121
  43. data/lib/nokogiri/html4/element_description_defaults.rb +6 -12
  44. data/lib/nokogiri/html4/encoding_reader.rb +121 -0
  45. data/lib/nokogiri/html4.rb +1 -0
  46. data/lib/nokogiri/html5/document.rb +113 -36
  47. data/lib/nokogiri/html5/document_fragment.rb +9 -2
  48. data/lib/nokogiri/html5/node.rb +3 -5
  49. data/lib/nokogiri/html5.rb +127 -216
  50. data/lib/nokogiri/jruby/dependencies.rb +1 -19
  51. data/lib/nokogiri/jruby/nokogiri_jars.rb +43 -0
  52. data/lib/nokogiri/version/constant.rb +1 -1
  53. data/lib/nokogiri/version/info.rb +11 -10
  54. data/lib/nokogiri/xml/attr.rb +49 -0
  55. data/lib/nokogiri/xml/builder.rb +1 -1
  56. data/lib/nokogiri/xml/document.rb +102 -54
  57. data/lib/nokogiri/xml/document_fragment.rb +49 -6
  58. data/lib/nokogiri/xml/namespace.rb +42 -0
  59. data/lib/nokogiri/xml/node/save_options.rb +6 -4
  60. data/lib/nokogiri/xml/node.rb +190 -35
  61. data/lib/nokogiri/xml/node_set.rb +87 -9
  62. data/lib/nokogiri/xml/parse_options.rb +129 -50
  63. data/lib/nokogiri/xml/pp/node.rb +6 -4
  64. data/lib/nokogiri/xml/processing_instruction.rb +2 -1
  65. data/lib/nokogiri/xml/sax/parser.rb +2 -3
  66. data/lib/nokogiri/xslt.rb +1 -1
  67. data/lib/nokogiri.rb +3 -11
  68. data/lib/xsd/xmlparser/nokogiri.rb +3 -1
  69. metadata +13 -248
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a38e5381e1d6561629e850c2a224f698f718988cc54e92e28af4f3563885b11
4
- data.tar.gz: 9312fa1640fbd4e7743162733c5ed8a5947521d3d1ddd5e6a1621b4ef56b9fd3
3
+ metadata.gz: '0436890565da64bb8ca25904e742624a1f7a46a65f729dcedabb31e3665635f6'
4
+ data.tar.gz: 8ee3080a05145bdb8185df137719d4e924d0afd4237970ec5b9d9d47d432d43f
5
5
  SHA512:
6
- metadata.gz: 714895b6269d041ac6e9a8343ed4d52201d646a651d97e154d0e6eb38d1f8dd915350c1d67b00a09cbadf19cbf63a073fa98cabc214ff86e8c48c155887161ed
7
- data.tar.gz: c4ed924b38dde5985ac7c2779d68b19ddedf2bac597d2e44e779e4f0a2a16198e18dffbcfc4355eeb4cee42122ae3a46d531a1f80b84fc9e3af39afa14212724
6
+ metadata.gz: 64ecab0a60a901f6e33f3986ffa3b32ed8083d302344bd367d1e02f962efcf43be4ee16c66e4e5159c11be25b1006b3d45b073034ba17161b79c64ce619b02cb
7
+ data.tar.gz: bee384054541ca9d4e32f8ad76fc0da88a0a57abe3e581490092dc805bfee64dc93938daacb07871fcdadd13a3ebf61feee9e9262391ba10caeb62213cd31b69
data/Gemfile CHANGED
@@ -3,3 +3,36 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
+
7
+ group :development do
8
+ # bootstrapping
9
+ gem "bundler", "~> 2.3"
10
+ gem "rake", "= 13.0.6"
11
+
12
+ # building extensions
13
+ gem "rake-compiler", "= 1.2.1"
14
+ gem "rake-compiler-dock", "= 1.3.0"
15
+
16
+ # documentation
17
+ gem "hoe-markdown", "= 1.4.0"
18
+ gem "rdoc", "6.5.0"
19
+ gem "psych", "~> 5.0" # psych 5 isn't building in places yet https://github.com/ruby/setup-ruby/issues/409
20
+
21
+ # parser generator
22
+ gem "rexical", "= 1.0.7"
23
+
24
+ # tests
25
+ gem "minitest", "5.17.0"
26
+ gem "minitest-reporters", "= 1.5.0"
27
+ gem "ruby_memcheck", "1.2.0" unless RUBY_PLATFORM == "java"
28
+ gem "simplecov", "= 0.21.2"
29
+
30
+ # rubocop
31
+ if Gem::Requirement.new("~> 3.0").satisfied_by?(Gem::Version.new(RUBY_VERSION))
32
+ gem "rubocop", "1.41.1"
33
+ gem "rubocop-minitest", "0.25.1"
34
+ gem "rubocop-performance", "1.15.2"
35
+ gem "rubocop-rake", "= 0.6.0"
36
+ gem "rubocop-shopify", "= 2.9.0"
37
+ end
38
+ end