nokogiri 1.12.1-x86-linux → 1.12.2-x86-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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5050929ea194c57a0656201d8641a81b1eee8ab986ad54721796d634ff7d08e
4
- data.tar.gz: 3d4370be653cd847f9d4c9fed5c9a3f23f2254dfc7d0abddda49dd14514ddb51
3
+ metadata.gz: ca56bce64b5f84b05fa0b25aa4b11eabd4e712747e1a6f003fbfb48837eb82a1
4
+ data.tar.gz: ce0cf2362b1d512fee329233531768bc44f2c304cf83214774c1ce96ca2aadde
5
5
  SHA512:
6
- metadata.gz: 8925b913b25363d1a126610d55040e71ca31f89f7956613e45debc5a6d858c086ee9971605d16dbd6163419bfd411bbbde4ff983ecdf034ceb06b0ceadbd646d
7
- data.tar.gz: e6dc3335a81ec4e8d5c7f584d32caa8eb122b387c5c656730ac0fe5996e6766b066909472dac9f36c0fb2f047d0f7b0d1a4786a19ded2913b97646d0a6159efb
6
+ metadata.gz: 1ee420b2b1d8ce5013d702d4406181f93516e836e21a44428ecfa805abbae0da3a94923684ac07076b32794c0f79b70825a5b9e38ee9f41f196d440940457aea
7
+ data.tar.gz: 0ebe3891a1ef26fe34450c830fec1c51186c0a80aaf8c2407bb0ad44a30746a1919afffff3ef82dbca3957b33440514fcc0ca4ef835433319ec284c51afa4a12
@@ -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
- require_relative "nokogiri"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module Nokogiri
3
3
  # The version of Nokogiri you are using
4
- VERSION = "1.12.1"
4
+ VERSION = "1.12.2"
5
5
  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.1
4
+ version: 1.12.2
5
5
  platform: x86-linux
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-03 00:00:00.000000000 Z
23
+ date: 2021-08-04 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc