svg_guardian 0.0.3-arm64-darwin → 0.0.5-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -3
- data/lib/svg_guardian/3.1/svg_guardian.bundle +0 -0
- data/lib/svg_guardian/3.2/svg_guardian.bundle +0 -0
- data/lib/svg_guardian/3.3/svg_guardian.bundle +0 -0
- data/lib/svg_guardian/version.rb +1 -1
- data/lib/svg_guardian.rb +8 -1
- metadata +5 -5
- data/lib/svg_guardian/3.0/svg_guardian.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6cde68d02f151b457729d24abf6f30a96acd225b238a9098486449bf75a5e724
|
4
|
+
data.tar.gz: bcf239736c3a58e7f2d23d3e65b84b1095cb5e145495aa2ff9941798da246261
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acb061ff3137532b7dc55b8678c6e6c4b5b4a6f9551728c7f32e68aca504bf9dfe49e4201710dd3d2a3c4faeacf6367c17455b288f0a2ee3dd44a93ae73f9b2a
|
7
|
+
data.tar.gz: 8168e2c9f69587b0c704d9cc3655db8f52b86d4ba0a5216348a7f72c77b1a3115b596af83b98b549d8bb89f35f36c69d48175dab3c54ac9b57086317afc1710f
|
data/Rakefile
CHANGED
@@ -10,8 +10,6 @@ Rake::TestTask.new(:test) do |t|
|
|
10
10
|
t.test_files = FileList["test/**/test_*.rb"]
|
11
11
|
end
|
12
12
|
|
13
|
-
require "standard/rake"
|
14
|
-
|
15
13
|
spec = Bundler.load_gemspec("svg_guardian.gemspec")
|
16
14
|
|
17
15
|
RbSys::ExtensionTask.new("svg_guardian", spec) do |ext|
|
@@ -20,4 +18,4 @@ RbSys::ExtensionTask.new("svg_guardian", spec) do |ext|
|
|
20
18
|
end
|
21
19
|
|
22
20
|
task build: :compile
|
23
|
-
task default: %i[compile test
|
21
|
+
task default: %i[compile test]
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svg_guardian
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Alex Beznos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -21,9 +21,9 @@ files:
|
|
21
21
|
- README.md
|
22
22
|
- Rakefile
|
23
23
|
- lib/svg_guardian.rb
|
24
|
-
- lib/svg_guardian/3.0/svg_guardian.bundle
|
25
24
|
- lib/svg_guardian/3.1/svg_guardian.bundle
|
26
25
|
- lib/svg_guardian/3.2/svg_guardian.bundle
|
26
|
+
- lib/svg_guardian/3.3/svg_guardian.bundle
|
27
27
|
- lib/svg_guardian/version.rb
|
28
28
|
homepage: https://github.com/Yuma-AI/svg_guardian
|
29
29
|
licenses:
|
@@ -39,10 +39,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '3.
|
42
|
+
version: '3.1'
|
43
43
|
- - "<"
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.
|
45
|
+
version: 3.4.dev
|
46
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
Binary file
|