Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for ruby 2.4.x #407

Merged
merged 7 commits into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
Expand Down Expand Up @@ -63,7 +62,6 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
Expand Down Expand Up @@ -96,7 +94,6 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
Expand Down Expand Up @@ -129,7 +126,6 @@ jobs:
fail-fast: false
matrix:
ruby-version:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.7.0...main)

* [CHANGE] Drop support for Ruby 2.4.x (by [@rishijain][])

# v4.7.0 / 2022-05-06 [(commits)](https://github.com/whitesmith/rubycritic/compare/v4.6.1...v4.7.0)

* [CHANGE] Run test suite with Ruby 3.1 (by [@etagwerker][])
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ See [formatters](docs/formatters.md)

RubyCritic is supporting Ruby versions:

* 2.4
* 2.5
* 2.6
* 2.7
Expand Down
2 changes: 1 addition & 1 deletion rubycritic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.summary = 'RubyCritic is a Ruby code quality reporter'
spec.homepage = 'https://github.com/whitesmith/rubycritic'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.4.0'
spec.required_ruby_version = '> 2.4.0'
nunosilva800 marked this conversation as resolved.
Show resolved Hide resolved

spec.files = [
'CHANGELOG.md',
Expand Down
2 changes: 1 addition & 1 deletion travis_scripts/before_script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -ev
if [ "${TRAVIS_RUBY_VERSION}" != "2.4" ] && [ "${TRAVIS_RUBY_VERSION}" != "3.0" ]; then
if [ "${TRAVIS_RUBY_VERSION}" != "3.0" ]; then
bundle exec appraisal install
fi
4 changes: 2 additions & 2 deletions travis_scripts/script.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -ev
echo "Using Ruby v${TRAVIS_RUBY_VERSION}"
if [ "${TRAVIS_RUBY_VERSION}" = "2.4" ] || [ "${TRAVIS_RUBY_VERSION}" = "3.0" ]; then
if [ "${TRAVIS_RUBY_VERSION}" = "3.0" ]; then
bundle exec rake test
else
bundle exec appraisal rake test
fi
fi