Skip to content

Commit

Permalink
Support Ruby 3.0 (Fixes Issue #509) (#514)
Browse files Browse the repository at this point in the history
-Remove support for EOL ruby versions
  • Loading branch information
arothian authored Jan 19, 2021
1 parent 427e432 commit 7cef205
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
24 changes: 13 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PATH
specs:
cfn-nag (0.0.0)
aws-sdk-s3 (~> 1.76)
cfn-model (= 0.5.2)
cfn-model (= 0.6.0)
lightly (~> 0.3.2)
logging (~> 2.2.2)
netaddr (~> 2.0.4)
Expand All @@ -14,26 +14,26 @@ GEM
specs:
ast (2.4.1)
aws-eventstream (1.1.0)
aws-partitions (1.381.0)
aws-sdk-core (3.109.1)
aws-partitions (1.416.0)
aws-sdk-core (3.111.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.39.0)
aws-sdk-kms (1.41.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.83.0)
aws-sdk-s3 (1.87.0)
aws-sdk-core (~> 3, >= 3.109.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.2)
aws-eventstream (~> 1, >= 1.0.2)
cfn-model (0.5.2)
cfn-model (0.6.0)
kwalify (= 0.7.2)
psych (~> 3)
diff-lcs (1.3)
docile (1.3.2)
docile (1.3.5)
jmespath (1.4.0)
kwalify (0.7.2)
lightly (0.3.3)
Expand All @@ -47,7 +47,7 @@ GEM
parallel (1.19.2)
parser (2.7.2.0)
ast (~> 2.4.1)
psych (3.2.0)
psych (3.3.0)
rainbow (3.0.0)
rake (13.0.1)
regexp_parser (1.8.2)
Expand Down Expand Up @@ -77,10 +77,12 @@ GEM
rubocop-ast (1.1.0)
parser (>= 2.7.1.5)
ruby-progressbar (1.10.1)
simplecov (0.18.5)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.2)
unicode-display_width (1.7.0)

PLATFORMS
Expand All @@ -91,7 +93,7 @@ DEPENDENCIES
rake
rspec (~> 3.4)
rubocop
simplecov (~> 0.11)
simplecov (~> 0.21)

BUNDLED WITH
2.1.4
6 changes: 3 additions & 3 deletions cfn-nag.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ Gem::Specification.new do |s|

s.require_paths << 'lib'

s.required_ruby_version = '>= 2.2'
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.11')
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.5.4')
s.add_runtime_dependency('cfn-model', '0.6.0')
s.add_runtime_dependency('logging', '~> 2.2.2')
s.add_runtime_dependency('netaddr', '~> 2.0.4')
s.add_runtime_dependency('optimist', '~> 3.0.0')
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -ex
set -o pipefail
export minor_version="0.6"
export minor_version="0.7"

set +x
if [[ -z ${rubygems_api_key} ]];
Expand Down

0 comments on commit 7cef205

Please sign in to comment.