nokogiri 1.12.1 → 1.12.2
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/lib/nokogiri/extension.rb +6 -1
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6685cffdafe1d8bd0a9c813904e74b56a8f6db8e4cccc2c3f9a54418bd46c38
|
4
|
+
data.tar.gz: 11dab171a5fa8be212ae8d33c2e949aa7c26a3bcd7a7f82afcaaee7e419e9af2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be759e17c515130f2a1b15398e4185ec2546ab12b70c6c55d682e88e9ebb11aee47c11d524b0f4ac2e0892c8c5a340a90dd3a1609e1169b424facabd2b24d2a
|
7
|
+
data.tar.gz: 91f864d6c7f2cc7c08a4aeb0bedb4ddf82fde037c97768c9364943d18c9018144e8b0661acaeece853fe91f0dbbb30f4cdb441c3aa776f62f9f990443d8f29bd
|
data/lib/nokogiri/extension.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
# load the C or Java extension
|
4
4
|
begin
|
5
|
+
# native precompiled gems package shared libraries in <gem_dir>/lib/nokogiri/<ruby_version>
|
5
6
|
::RUBY_VERSION =~ /(\d+\.\d+)/
|
6
7
|
require_relative "#{Regexp.last_match(1)}/nokogiri"
|
7
8
|
rescue LoadError => e
|
@@ -22,5 +23,9 @@ rescue LoadError => e
|
|
22
23
|
EOM
|
23
24
|
raise e
|
24
25
|
end
|
25
|
-
|
26
|
+
|
27
|
+
# use "require" instead of "require_relative" because non-native gems will place C extension files
|
28
|
+
# in Gem::BasicSpecification#extension_dir after compilation (during normal installation), which
|
29
|
+
# is in $LOAD_PATH but not necessarily relative to this file (see #2300)
|
30
|
+
require "nokogiri/nokogiri"
|
26
31
|
end
|
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.12.
|
4
|
+
version: 1.12.2
|
5
5
|
platform: ruby
|
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: 2021-08-
|
23
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|