ratonvirus 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/ratonvirus/storage/support/io_handling.rb +6 -1
- data/lib/ratonvirus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf996f1b6f63fe570fb46f62c91625c0e8ad3ec073f595802d580c399c1fca27
|
4
|
+
data.tar.gz: 6ad46dd7435948e0750b00cb78820f550b1edd8229923ed84e118ac09feacbde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eacdeb037efa1a36dc2c7c600d39cd29c52ca23abebe2f28b054046de9e73553dcb7b53b1907f2db6075df7af0cb85b9be2c869dcf3c0a8ed6dc747580caa27
|
7
|
+
data.tar.gz: 47e950609423daec9177c450bcf96d7dab1273ec288ecf4becc8f881f04121207487b05271bd035c2fe8036d1f198f6a0202e2d6a5e458bcd9d2338ac21933e7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# v0.4.2
|
2
|
+
|
3
|
+
Fixed:
|
4
|
+
|
5
|
+
- Issue with ActiveStorage file integrity check due to IO position change after the virus check
|
6
|
+
|
1
7
|
# v0.4.1
|
2
8
|
|
3
9
|
Fixed:
|
@@ -12,11 +18,17 @@ Changed:
|
|
12
18
|
|
13
19
|
- The minimum Ruby version is now set to 2.7 as it is a requirement of Rails 7
|
14
20
|
|
21
|
+
# v0.3.2
|
22
|
+
|
23
|
+
Fixed:
|
24
|
+
|
25
|
+
- Backport: Issue with ActiveStorage file integrity check due to IO position change after the virus check
|
26
|
+
|
15
27
|
# v0.3.1
|
16
28
|
|
17
29
|
Fixed:
|
18
30
|
|
19
|
-
- Issue related to the EICAR test scanner. Related to [#16](https://github.com/mainio/ratonvirus/pull/16)
|
31
|
+
- Backport: Issue related to the EICAR test scanner. Related to [#16](https://github.com/mainio/ratonvirus/pull/16)
|
20
32
|
|
21
33
|
# v0.3.0
|
22
34
|
|
@@ -22,7 +22,12 @@ module Ratonvirus
|
|
22
22
|
|
23
23
|
begin
|
24
24
|
tempfile.binmode
|
25
|
-
|
25
|
+
if io.is_a?(StringIO)
|
26
|
+
# cannot specify src_offset for non-IO
|
27
|
+
IO.copy_stream(io, tempfile)
|
28
|
+
else
|
29
|
+
IO.copy_stream(io, tempfile, nil, 0)
|
30
|
+
end
|
26
31
|
tempfile.flush
|
27
32
|
tempfile.rewind
|
28
33
|
|
data/lib/ratonvirus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratonvirus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antti Hukkanen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|