forked from mainio/decidim-module-antivirus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
decidim-antivirus.gemspec
33 lines (26 loc) · 1.05 KB
/
decidim-antivirus.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "decidim/antivirus/version"
Gem::Specification.new do |spec|
spec.name = "decidim-antivirus"
spec.version = Decidim::Antivirus::VERSION
spec.required_ruby_version = ">= 2.7"
spec.authors = ["Antti Hukkanen"]
spec.email = ["[email protected]"]
spec.summary = "Provides antivirus checks for Decidim file uploads."
spec.description = "Adds antivirus checks through ClamAV for Decidim's public file uploads."
spec.homepage = "https://github.com/mainio/decidim-module-antivirus"
spec.license = "AGPL-3.0"
spec.files = Dir[
"{app,config,lib}/**/*",
"LICENSE-AGPLv3.txt",
"Rakefile",
"README.md"
]
spec.require_paths = ["lib"]
spec.add_dependency "decidim-core", Decidim::Antivirus::DECIDIM_VERSION
spec.add_dependency "ratonvirus", "~> 0.3.0"
spec.add_dependency "ratonvirus-clamby", "~> 0.3.0"
spec.add_development_dependency "decidim-dev", Decidim::Antivirus::DECIDIM_VERSION
end