-
Notifications
You must be signed in to change notification settings - Fork 42
/
sensu-cli.gemspec
31 lines (27 loc) · 1.08 KB
/
sensu-cli.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
require File.join(File.dirname(__FILE__), 'lib', 'sensu-cli', 'version')
Gem::Specification.new do |s|
s.name = 'sensu-cli'
s.version = SensuCli::VERSION
s.platform = Gem::Platform::RUBY
s.summary = 'A command line utility for Sensu.'
s.description = 'A command line utility for interacting with the Sensu api.'
s.authors = ['Bryan Brandau']
s.email = '[email protected]'
s.has_rdoc = false
s.licenses = %w(MIT APACHE)
s.homepage = 'http://github.com/agent462/sensu-cli'
if RUBY_VERSION < '1.9'
s.add_dependency('rainbow', '1.99.2')
else
s.add_dependency('rainbow', '~> 2.0')
end
s.add_dependency('optimist', '~> 3.0')
s.add_dependency('mixlib-config', '~> 2.1')
s.add_dependency('hirb', '~> 0.7')
s.add_dependency('erubis', '~> 2.7')
s.add_development_dependency('rspec')
s.add_development_dependency('rubocop')
s.files = Dir.glob('{bin,lib}/**/*') + %w(sensu-cli.gemspec README.md settings.example.rb)
s.executables = Dir.glob('bin/**/*').map { |file| File.basename(file) }
s.require_paths = ['lib']
end