-
Notifications
You must be signed in to change notification settings - Fork 3
/
banalize.gemspec
38 lines (33 loc) · 1.33 KB
/
banalize.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
34
35
36
37
38
# Ensure we require the local version and not one we might have installed already
spec = Gem::Specification.new do |s|
s.name = 'banalize'
s.version = File.read('version.txt').chomp.strip
s.author = 'Dmytro Kovalov'
s.email = '[email protected]'
s.homepage = 'http://wizcorp.jp'
s.platform = Gem::Platform::RUBY
s.summary = 'Static syntax analyzer for Bash'
s.description = "Run policies tests on bash scripts and libraries with specified policies and severity"
s.files = ( %w{ bin/banalize version.txt} +
Dir.glob("*.md") +
Dir.glob("./lib/**/*.rb") +
Dir.glob("./lib/policies/**/*")
).uniq
s.require_paths << 'lib'
s.has_rdoc = true
s.extra_rdoc_files = Dir.glob("*.(rdoc|md)")
s.rdoc_options << '--title' << 'Banalize' << '--main' << 'README.md' << '-ri'
s.bindir = 'bin'
s.executables << 'banalize'
s.add_dependency('mash')
s.add_dependency('gli','2.5.4')
s.add_dependency('activesupport','~>3.2.13')
s.add_development_dependency('rake')
s.add_development_dependency('rdoc')
s.add_development_dependency('aruba')
s.add_development_dependency('redcarpet')
s.add_development_dependency('rspec-core')
s.add_development_dependency('rspec-mocks')
s.add_development_dependency('rspec-expectations')
s.add_development_dependency('yard')
end