svg_guardian 0.0.3-aarch64-linux → 0.0.4-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f22be2bc045b2f0ffaddd59b8d3ca566c3b22fa346d2aed478aface21be446a1
|
4
|
+
data.tar.gz: 3f89043817c75e68d5c41eaefb826441bfbab7aaba312154b902b87bef9b1888
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a49b155cea46f2afbd233e2e12522ffb87b02690ecbf6a694934c965a3d651e23b95b11c987dec9d6531d0178a7d018df720bd5af962adf97bc2e291fcac3c2
|
7
|
+
data.tar.gz: 95cffa8cc101847397ef4d441d4d512029b183076156054514aed8386ddd56ef0d251ee998a42257098b00bfb6f8716363c8820e564f553e5793bf7a85cecb20
|
Binary file
|
Binary file
|
Binary file
|
data/lib/svg_guardian/version.rb
CHANGED
data/lib/svg_guardian.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
begin
|
4
|
+
# load the precompiled extension file
|
5
|
+
ruby_version = /(\d+\.\d+)/.match(::RUBY_VERSION)
|
6
|
+
require_relative "svg_guardian/#{ruby_version}/svg_guardian"
|
7
|
+
rescue LoadError
|
8
|
+
require "svg_guardian/svg_guardian"
|
9
|
+
end
|
10
|
+
|
3
11
|
require_relative "svg_guardian/version"
|
4
|
-
require_relative "svg_guardian/svg_guardian"
|
5
12
|
|
6
13
|
module SvgGuardian
|
7
14
|
class SanitizeError < StandardError; end
|