-
Notifications
You must be signed in to change notification settings - Fork 212
/
cfn-nag.gemspec
44 lines (36 loc) · 1.75 KB
/
cfn-nag.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
43
44
# frozen_string_literal: true
require_relative 'lib/cfn-nag/version'
Gem::Specification.new do |s|
s.name = 'cfn-nag'
s.license = 'MIT'
s.version = CfnNagVersion::VERSION
s.bindir = 'bin'
s.executables = %w[cfn_nag cfn_nag_rules cfn_nag_scan spcm_scan]
s.authors = ['Eric Kascic']
s.summary = 'cfn-nag'
s.description = 'Auditing tool for CloudFormation templates'
s.homepage = 'https://github.com/stelligent/cfn_nag'
s.files = Dir.glob('lib/**/*.rb')
s.require_paths << 'lib'
s.required_ruby_version = '>= 2.5'
s.add_development_dependency('rake')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('rubocop')
s.add_development_dependency('simplecov', '~> 0.21')
# don't relax this, i don't want different versions of cfn-model being installed after the fact
# versus what we used to run tests in cfn-nag before publishing cfn-nag
# they are coupled and we are doing a good bit of experimenting in cfn-model
# i might consider collapsing them again....
s.add_runtime_dependency('cfn-model', '0.6.6')
s.add_runtime_dependency('logging', '~> 2.2.2')
s.add_runtime_dependency('netaddr', '~> 2.0.4')
s.add_runtime_dependency('optimist', '~> 3.0.0')
# this is NOT an invitation to make requests to AWS...
# this dependency is here only to optionally retrieve rules from s3
# cfn_nag is a static analysis tool that must be workable with NO network connectivity
s.add_runtime_dependency('aws-sdk-s3', '~> 1.76')
s.add_runtime_dependency('lightly', '~> 0.3.2')
# Undeclared dependency of aws-sdk-core needed explicity for Ruby 3+ support
s.add_runtime_dependency('rexml', '>= 0')
# WARNING: don't add any gems with poisonous GPL licenses
end