decidim-antivirus 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/decidim/antivirus.rb +2 -0
- data/lib/decidim/antivirus/engine.rb +2 -0
- data/lib/decidim/antivirus/file_virus_scannable.rb +2 -0
- data/lib/decidim/antivirus/version.rb +4 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16637a93bf7da088a3adff4a122603740fa61608a3ea2faf72298450453c245b
|
4
|
+
data.tar.gz: e3926e57d232ba3d08e078ed264c007d013278c1104e60a7546358bdaa1ac5cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e8283e97221da430bfc3f132c941bb5c42ea89b8880a562a43be0337b3f105e58cac19a9599c3fc49e64b352c7127a9db7950445ed5d2a6de4632897b2ac751
|
7
|
+
data.tar.gz: 6abe98441ae9cb2d35ff4b540372f1ff350303b20f3456cf49c2ed55ad1034e8a2e0d77f927994fe754c61776fe5b98243ec3ba1e82994a14039ed23fb5aa23a
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ https://github.com/mainio/ratonvirus-clamby
|
|
34
34
|
Add this line to your application's Gemfile:
|
35
35
|
|
36
36
|
```ruby
|
37
|
-
gem
|
37
|
+
gem "decidim-antivirus"
|
38
38
|
```
|
39
39
|
|
40
40
|
And then execute:
|
@@ -144,7 +144,7 @@ If you want to generate the code coverage report for the tests, you can use
|
|
144
144
|
the `SIMPLECOV=1` environment variable in the rspec command as follows:
|
145
145
|
|
146
146
|
```bash
|
147
|
-
SIMPLECOV=1 bundle exec rspec
|
147
|
+
$ SIMPLECOV=1 bundle exec rspec
|
148
148
|
```
|
149
149
|
|
150
150
|
This will generate a folder named `coverage` in the project root which contains
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ desc "Generates a development app."
|
|
9
9
|
task development_app: "decidim:generate_external_development_app"
|
10
10
|
|
11
11
|
# Run all tests, include all
|
12
|
-
RSpec::Core::RakeTask.new(:spec) do |t
|
12
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
13
13
|
t.verbose = false
|
14
14
|
end
|
15
15
|
|
data/lib/decidim/antivirus.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-antivirus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antti Hukkanen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.17.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: ratonvirus
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.17.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.17.0
|
69
69
|
description: Adds antivirus checks through ClamAV for Decidim's public file uploads.
|
70
70
|
email:
|
71
71
|
- antti.hukkanen@mainiotech.fi
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.7.
|
103
|
+
rubygems_version: 2.7.6
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Provides antivirus checks for Decidim file uploads.
|