forked from presidentbeef/brakeman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gem_common.rb
25 lines (23 loc) · 834 Bytes
/
gem_common.rb
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
module Brakeman
module GemDependencies
def self.dev_dependencies spec
spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-ci"
spec.add_development_dependency "simplecov"
end
def self.base_dependencies spec
spec.add_dependency "ruby_parser", "~>3.13"
spec.add_dependency "ruby_parser-legacy", "~>1.0"
spec.add_dependency "sexp_processor", "~> 4.7"
spec.add_dependency "ruby2ruby", "~>2.4.0"
spec.add_dependency "safe_yaml", ">= 1.0"
end
def self.extended_dependencies spec
spec.add_dependency "terminal-table", "~>1.4"
spec.add_dependency "highline", "~>2.0"
spec.add_dependency "erubis", "~>2.6"
spec.add_dependency "haml", "~>5.1"
spec.add_dependency "slim", ">=1.3.6", "<=4.0.1"
end
end
end