nokogiri 1.13.9-x86_64-linux → 1.14.0.rc1-x86_64-linux

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 (68) 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.so +0 -0
  33. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  34. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  35. data/lib/nokogiri/3.2/nokogiri.so +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
  68. data/lib/nokogiri/2.6/nokogiri.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1956061feab520c975c8f59c182d757d0ffdd199b4a106af9ecd1ce7d4b69107
4
- data.tar.gz: 7fa830dccf83572fab354606b96f7ad4c7b79678fc2bf3b99157cccad9799c5a
3
+ metadata.gz: bd2894fea8361591cef448c039316ef6d51ae5bf37b59a79485ed36bf8118da0
4
+ data.tar.gz: 96baf215a67badc4319f2b3e4cc357a426770d67f7e6bdc871e3ee2e04f75162
5
5
  SHA512:
6
- metadata.gz: 24e1fd47d74bbd989928f7cff188278f2ce5481704f108ed822ef65b10167e2da3b6e96e1cef307f452222c2b041383804ba441068c0849b2a362eb1101c32ac
7
- data.tar.gz: ed18f4b9dab69a265fced26e0672299aced8abe3b1c6aa9367ff78cac879024408968e1af4780b651e4b036c24804079660f7c67e6d0bea4428e993e785a23f4
6
+ metadata.gz: 3bc94bf4393545505e094cc1bb71ae86eb462c01318c14f63811205fab1a225467849daa5e873df148fe6563aa5109c7b316368828b2a81177b3b3f913575f84
7
+ data.tar.gz: da63fadddb3e6f5d86cceb29508d980b8124ae2c025ea12b599b21bedda7a55fcf578c85fcf2b5f80cffbe27f658f8ca45859c2f8f3707a52a5809be83d0f2ab
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.2.2"
15
+
16
+ # documentation
17
+ gem "hoe-markdown", "= 1.4.0"
18
+ gem "rdoc", "6.5.0"
19
+ gem "psych", "~> 4.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.16.3"
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.40.0"
33
+ gem "rubocop-minitest", "0.25.0"
34
+ gem "rubocop-performance", "1.15.1"
35
+ gem "rubocop-rake", "= 0.6.0"
36
+ gem "rubocop-shopify", "= 2.9.0"
37
+ end
38
+ end