nokogiri 1.14.0.rc1-x64-mingw32 → 1.14.0-x64-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.
- checksums.yaml +4 -4
- data/Gemfile +6 -6
- data/LICENSE.md +1 -1
- data/ext/nokogiri/extconf.rb +1 -1
- data/ext/nokogiri/include/libxslt/xsltconfig.h +1 -1
- data/ext/nokogiri/nokogiri.c +2 -1
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/css/xpath_visitor.rb +2 -2
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/node/save_options.rb +2 -2
- data/lib/nokogiri/xml/parse_options.rb +2 -2
- data/lib/xsd/xmlparser/nokogiri.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3228e8ae7671ad5f417e854d8c21dea96bb0792ba4bde4dc94e1dcb2b1728b30
|
4
|
+
data.tar.gz: af6140f283f9345ed6ac43a5f5eb78fcf45803d03047f4b7462e649150f6de5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9846e6d79c838f0d3ff4397d974d113ccf427188613a578e86a3c469e83666f8160eb641243a38e8e3c9d94ffe4fe48d1b75d4abbd8d972562e0a8a2a8e7b584
|
7
|
+
data.tar.gz: f1db813165738e159b6b5ea996af6c052b1ac7bdbac5a0236514de67c82fa9fbcd1aff8c26b63aee1ac14739664705f76d4b6df8a018ebde28f3c50870b2ad9d
|
data/Gemfile
CHANGED
@@ -11,27 +11,27 @@ group :development do
|
|
11
11
|
|
12
12
|
# building extensions
|
13
13
|
gem "rake-compiler", "= 1.2.1"
|
14
|
-
gem "rake-compiler-dock", "= 1.
|
14
|
+
gem "rake-compiler-dock", "= 1.3.0"
|
15
15
|
|
16
16
|
# documentation
|
17
17
|
gem "hoe-markdown", "= 1.4.0"
|
18
18
|
gem "rdoc", "6.5.0"
|
19
|
-
gem "psych", "~>
|
19
|
+
gem "psych", "~> 5.0" # psych 5 isn't building in places yet https://github.com/ruby/setup-ruby/issues/409
|
20
20
|
|
21
21
|
# parser generator
|
22
22
|
gem "rexical", "= 1.0.7"
|
23
23
|
|
24
24
|
# tests
|
25
|
-
gem "minitest", "
|
25
|
+
gem "minitest", "5.17.0"
|
26
26
|
gem "minitest-reporters", "= 1.5.0"
|
27
27
|
gem "ruby_memcheck", "1.2.0" unless RUBY_PLATFORM == "java"
|
28
28
|
gem "simplecov", "= 0.21.2"
|
29
29
|
|
30
30
|
# rubocop
|
31
31
|
if Gem::Requirement.new("~> 3.0").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
32
|
-
gem "rubocop", "1.
|
33
|
-
gem "rubocop-minitest", "0.25.
|
34
|
-
gem "rubocop-performance", "1.15.
|
32
|
+
gem "rubocop", "1.41.1"
|
33
|
+
gem "rubocop-minitest", "0.25.1"
|
34
|
+
gem "rubocop-performance", "1.15.2"
|
35
35
|
gem "rubocop-rake", "= 0.6.0"
|
36
36
|
gem "rubocop-shopify", "= 2.9.0"
|
37
37
|
end
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
|
-
Copyright 2008 --
|
3
|
+
Copyright 2008 -- 2023 by Mike Dalessio, Aaron Patterson, Yoko Harada, Akinori MUSHA, John Shahid, Karol Bucek, Sam Ruby, Craig Barnes, Stephen Checkoway, Lars Kanis, Sergio Arbeo, Timothy Elliott, Nobuyoshi Nakada, Charles Nutter, Patrick Mahoney.
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
6
|
|
data/ext/nokogiri/extconf.rb
CHANGED
@@ -619,7 +619,7 @@ do_help if arg_config("--help")
|
|
619
619
|
do_clean if arg_config("--clean")
|
620
620
|
|
621
621
|
if openbsd? && !config_system_libraries?
|
622
|
-
|
622
|
+
unless %x(#{ENV["CC"] || "/usr/bin/cc"} -v 2>&1).include?("clang")
|
623
623
|
(ENV["CC"] ||= find_executable("egcc")) ||
|
624
624
|
abort("Please install gcc 4.9+ from ports using `pkg_add -v gcc`")
|
625
625
|
end
|
@@ -132,7 +132,7 @@ extern "C" {
|
|
132
132
|
#ifndef WITH_MODULES
|
133
133
|
#define WITH_MODULES
|
134
134
|
#endif
|
135
|
-
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-
|
135
|
+
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw32/libxslt/1.1.37/lib/libxslt-plugins"
|
136
136
|
#endif
|
137
137
|
|
138
138
|
/**
|
data/ext/nokogiri/nokogiri.c
CHANGED
@@ -112,7 +112,8 @@ noko_io_write(void *io, char *c_buffer, int c_buffer_len)
|
|
112
112
|
{
|
113
113
|
VALUE rb_args[2], rb_n_bytes_written;
|
114
114
|
VALUE rb_io = (VALUE)io;
|
115
|
-
|
115
|
+
VALUE rb_enc = rb_funcall(rb_io, id_external_encoding, 0);
|
116
|
+
rb_encoding *io_encoding = RB_NIL_P(rb_enc) ? rb_ascii8bit_encoding() : rb_to_encoding(rb_enc);
|
116
117
|
|
117
118
|
rb_args[0] = rb_io;
|
118
119
|
rb_args[1] = rb_enc_str_new(c_buffer, (long)c_buffer_len, io_encoding);
|
Binary file
|
Binary file
|
@@ -230,11 +230,11 @@ module Nokogiri
|
|
230
230
|
"descendant_selector" => "//",
|
231
231
|
"child_selector" => "/",
|
232
232
|
}.each do |k, v|
|
233
|
-
class_eval
|
233
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
234
234
|
def visit_#{k} node
|
235
235
|
"\#{node.value.first.accept(self) if node.value.first}#{v}\#{node.value.last.accept(self)}"
|
236
236
|
end
|
237
|
-
|
237
|
+
RUBY
|
238
238
|
end
|
239
239
|
|
240
240
|
def visit_conditional_selector(node)
|
@@ -49,7 +49,7 @@ module Nokogiri
|
|
49
49
|
end
|
50
50
|
|
51
51
|
constants.each do |constant|
|
52
|
-
class_eval
|
52
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
53
53
|
def #{constant.downcase}
|
54
54
|
@options |= #{constant}
|
55
55
|
self
|
@@ -58,7 +58,7 @@ module Nokogiri
|
|
58
58
|
def #{constant.downcase}?
|
59
59
|
#{constant} & @options == #{constant}
|
60
60
|
end
|
61
|
-
|
61
|
+
RUBY
|
62
62
|
end
|
63
63
|
|
64
64
|
alias_method :to_i, :options
|
@@ -169,7 +169,7 @@ module Nokogiri
|
|
169
169
|
constants.each do |constant|
|
170
170
|
next if constant.to_sym == :STRICT
|
171
171
|
|
172
|
-
class_eval
|
172
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
173
173
|
def #{constant.downcase}
|
174
174
|
@options |= #{constant}
|
175
175
|
self
|
@@ -183,7 +183,7 @@ module Nokogiri
|
|
183
183
|
def #{constant.downcase}?
|
184
184
|
#{constant} & @options == #{constant}
|
185
185
|
end
|
186
|
-
|
186
|
+
RUBY
|
187
187
|
end
|
188
188
|
|
189
189
|
def strict
|
@@ -95,7 +95,9 @@ module XSD
|
|
95
95
|
end
|
96
96
|
|
97
97
|
["xmldecl", "start_document", "end_document", "comment"].each do |name|
|
98
|
-
class_eval
|
98
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
99
|
+
def #{name}(*args); end
|
100
|
+
RUBY
|
99
101
|
end
|
100
102
|
|
101
103
|
add_factory(self)
|
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.14.0
|
4
|
+
version: 1.14.0
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date:
|
23
|
+
date: 2023-01-12 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|
@@ -304,9 +304,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
304
304
|
version: 3.1.dev
|
305
305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
306
306
|
requirements:
|
307
|
-
- - "
|
307
|
+
- - ">="
|
308
308
|
- !ruby/object:Gem::Version
|
309
|
-
version:
|
309
|
+
version: '0'
|
310
310
|
requirements: []
|
311
311
|
rubygems_version: 3.3.26
|
312
312
|
signing_key:
|