-
Notifications
You must be signed in to change notification settings - Fork 11
/
chef-handler-sns.gemspec
42 lines (39 loc) · 1.65 KB
/
chef-handler-sns.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
39
40
41
42
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'chef/handler/sns/version'
chef_version = ENV.key?('CHEF_VERSION') ? ENV['CHEF_VERSION'] : ['>= 0.9.0']
# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |s|
s.name = 'chef-handler-sns'
s.version = ::Chef::Handler::Sns::VERSION
s.date = '2017-02-18'
s.platform = Gem::Platform::RUBY
s.summary = 'Chef SNS reports'
s.description =
'Chef report handler to send Amazon SNS notifications on failures or '\
'changes, includes IAM roles support.'
s.license = 'Apache-2.0'
s.authors = %(Xabier de Zuazo)
s.email = 'xabier@zuazo.org'
s.homepage = 'http://zuazo.github.io/chef-handler-sns'
s.require_path = 'lib'
s.files = %w(LICENSE README.md) + Dir.glob('lib/**/*')
s.test_files = Dir.glob('{test,spec,features}/*')
s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
s.add_dependency 'aws-sdk', '~> 2.0'
s.add_dependency 'erubis', '~> 2.0'
s.add_development_dependency 'chef', chef_version
s.add_development_dependency 'rake', '~> 12.0'
s.add_development_dependency 'minitest', '~> 5.7'
s.add_development_dependency 'minitest-stub-const', '~> 0.6.0'
s.add_development_dependency 'mocha', '~> 1.1'
s.add_development_dependency 'coveralls', '~> 0.7'
s.add_development_dependency 'simplecov', '~> 0.9'
s.add_development_dependency 'rubocop', '~> 0.47.0'
s.add_development_dependency 'should_not', '~> 1.1'
s.add_development_dependency 'yard', '~> 0.8'
if Gem::Requirement.new('< 2.2.2')
.satisfied_by?(Gem::Version.new(RUBY_VERSION))
s.add_development_dependency 'rack', '~> 1.0'
end
end
# rubocop:enable Metrics/BlockLength