nokogiri 1.14.1-x86-mingw32 → 1.14.2-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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05ae1c546f33faf58f4697f82d6e59252d98e3e471ad4250fa6e76257511443e
4
- data.tar.gz: ca4d148b1d548661d5b3e168e06c107bceb02d95e998325c1d514a3fb57e27a4
3
+ metadata.gz: fbd1ed4553ca8ac63190bc671d3189815034ea201abdc74fa3e1c1e869fa93b3
4
+ data.tar.gz: 520621bb1e11c20af10d8f5c04feb3d1e4834675cd47ab93825709cf5b64de77
5
5
  SHA512:
6
- metadata.gz: a9f8405cdd5b7c51244c6c402f4e19a3b54b0434891ce2da977798c2d13285af4140bc10e203c7c0b1389912f4908f4a653e7a566d327f037ac8b18c582a910e
7
- data.tar.gz: dd177bd180991799352247133f89c6d1d8bf1e362d85cca7bbfc6126165f1cd01b25d32cbd466fa273fae1708b4573bd5733368ee941df72d357399a509aba28
6
+ metadata.gz: 100db5818c36d8fb28eab8a9b46cf39bf262a3e32405bb8f532fe30f0bb697fb7deb8a6d364494e5c949967fa803f8e235ca6c9c73425e3230c4bac79f91df01
7
+ data.tar.gz: 7c4491cfd09bbbf739d1f0e506927082f73aae81513a4c4b61f6f54af59dd919ecee1a7aa9f672791431e6cf9254b83a6426d5f2a1c1576ea96283f0cc255fba
Binary file
Binary file
Binary file
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.14.1"
5
+ VERSION = "1.14.2"
6
6
  end
@@ -345,8 +345,9 @@ module Nokogiri
345
345
  args.insert(0, options)
346
346
  end
347
347
  if empty?
348
- encoding = (args.first.is_a?(Hash) ? args.first[:encoding] : nil) || document.encoding
349
- "".encode(encoding)
348
+ encoding = (args.first.is_a?(Hash) ? args.first[:encoding] : nil)
349
+ encoding ||= document.encoding
350
+ encoding.nil? ? "" : "".encode(encoding)
350
351
  else
351
352
  map { |x| x.to_html(*args) }.join
352
353
  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.14.1
4
+ version: 1.14.2
5
5
  platform: x86-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: 2023-01-30 00:00:00.000000000 Z
23
+ date: 2023-02-13 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc