Skip to content

Commit

Permalink
remove ruby 2.5 support
Browse files Browse the repository at this point in the history
Update the project to officially drop Ruby 2.5.
  • Loading branch information
jmartin-tech committed Jan 10, 2022
1 parent 9c1316d commit 370d0b4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: true
matrix:
ruby:
- 2.5
- 2.6

name: Lint msftidy
steps:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
fail-fast: true
matrix:
ruby:
- 2.5
- 2.6
- 2.7
- 3.0.3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.6
SuggestExtensions: false
NewCops: disable

Expand Down
2 changes: 1 addition & 1 deletion metasploit-framework.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^spec/})
spec.require_paths = ["lib"]

spec.required_ruby_version = '>= 2.5'
spec.required_ruby_version = '>= 2.6'

# Database support
spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
Expand Down

0 comments on commit 370d0b4

Please sign in to comment.