ratonvirus 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -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: 58abd4cac8d4f8e796d0bada9f5286e5b8dddd2293f436d61a57ce26f985349b
|
|
4
|
+
data.tar.gz: '01826556782f908972f799613690104a239625d4e6dd774ae0dad438dfc7b8f9'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7431d9cd81d0132175ff71f05752fa4032dd96c4a341c335223c83c1f65cd4008c48aa89f45539c3bbd0dc819f83a68be2dd6de6183ff5d2d24bf28588d511ae
|
|
7
|
+
data.tar.gz: ca01bf5032d79bd5ceb5ca6605fb13e66b81ce43f8936a4bad31b00d7a09ab6eedf3f42399c5cd56166beddb3da9070147cfafc0ba39a0e7d13d7f1c78589220
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
# v0.3.2
|
|
2
|
+
|
|
3
|
+
Fixed:
|
|
4
|
+
|
|
5
|
+
- Backport: Issue with ActiveStorage file integrity check due to IO position change after the virus check
|
|
6
|
+
|
|
1
7
|
# v0.3.1
|
|
2
8
|
|
|
3
9
|
Fixed:
|
|
4
10
|
|
|
5
|
-
- Issue related to the EICAR test scanner. Related to [#16](https://github.com/mainio/ratonvirus/pull/16)
|
|
11
|
+
- Backport: Issue related to the EICAR test scanner. Related to [#16](https://github.com/mainio/ratonvirus/pull/16)
|
|
6
12
|
|
|
7
13
|
# v0.3.0
|
|
8
14
|
|
|
@@ -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.3.
|
|
4
|
+
version: 0.3.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
|