-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdradis-calculator_dread.gemspec
30 lines (23 loc) · 1.17 KB
/
dradis-calculator_dread.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
$:.push File.expand_path('../lib', __FILE__)
require 'dradis/plugins/calculators/dread/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = 'dradis-calculator_dread'
spec.version = Dradis::Plugins::Calculators::DREAD::VERSION::STRING
spec.summary = 'This plugin adds a DREAD score calculator to Dradis.'
spec.description = 'Display a DREAD score calculator in Dradis Framework.'
spec.license = 'GPL-2'
spec.authors = ['Daniel Martin']
spec.homepage = 'https://dradis.com/support/guides/projects/calculators.html'
spec.files = `git ls-files`.split($\)
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
# By not including Rails as a dependency, we can use the gem with different
# versions of Rails (a sure recipe for disaster, I'm sure), which is needed
# until we bump Dradis Pro to 4.1.
# s.add_dependency 'rails', '~> 4.1.1'
spec.add_dependency 'dradis-plugins', '~> 4.0'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 10.0'
end