svg_guardian 0.0.3-aarch64-linux → 0.0.5-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: fe1753f565c0eff2fdfcead2fb0c485456bdb5b31f4ee88472fe8bfc38f853a2
4
- data.tar.gz: 89225f744391b1779c783f21e9c845ed3fddd1f9ab02e8a0519675acb2f7abbf
3
+ metadata.gz: 597c505731bb2695f733b64e11afcbeeca1fb0a7f0b02a579cc54593d965d3c3
4
+ data.tar.gz: 21dfadb759fc6798c657705ab0e6ada877955048cfed687390b6515065ee2bbb
5
5
  SHA512:
6
- metadata.gz: a8c67ea35c328c55688c13298af29d5e63287bbf65484b930e288bfe2be74451e09a3446836d92d0870924f2e38ffcd2eede9342c3c7c20b4d9b2407ca213fe0
7
- data.tar.gz: 62524998b6ded43cea0dd9be71458fb7897f9a35dfe485ca1418cf037b194a17a45e063a011d7c8969e77412d776ce463eb6c9ed269ec77d0d9eb370d8551414
6
+ metadata.gz: d041b805eaef1be611e1c90aa6c726b1886aa961b2c822217806e82d35a08cdd3f98be2c9a135db11152ae22b475d3129b058535df599bcb8203fc6effe46959
7
+ data.tar.gz: be2b2eedffaf51e6f87b158e50bd12f496d17de6908ec114b8e4fd5eed98c9f322dc9cb164afeb1e44a8ce6dbc268769acf2aec7c45e93493b67c58d6bf1a4d0
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 standard]
21
+ task default: %i[compile test]
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SvgGuardian
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.5"
5
5
  end
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.3
4
+ version: 0.0.5
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Alex Beznos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-08 00:00:00.000000000 Z
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.so
25
24
  - lib/svg_guardian/3.1/svg_guardian.so
26
25
  - lib/svg_guardian/3.2/svg_guardian.so
26
+ - lib/svg_guardian/3.3/svg_guardian.so
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.0'
42
+ version: '3.1'
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
- version: 3.3.dev
45
+ version: 3.4.dev
46
46
  required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - ">="
Binary file