Skip to content

Commit

Permalink
Drop Ruby 2.0 and 2.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sporkmonger committed Jul 3, 2021
1 parent 4910e22 commit 892861d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,37 +67,13 @@ jobs:
- name: Run specs and report coverage
run: bundle exec rake

test-ruby-2_0:
runs-on: ubuntu-20.04
container:
image: ruby:2.0
env:
LANG: C.UTF-8
steps:
- uses: actions/checkout@v2

- name: Install libidn
run: |
apt-get update
apt-get install -y libidn11-dev
- name: Install bundler 1.17.3
run: gem install bundler -v 1.17.3

- name: Install gems
run: bundle install

- name: Run specs
run: bundle exec rake

test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# the job name is composed by these attributes
ruby:
- 2.1
- 2.2
- 2.3
- 2.4
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Addressable 2.8.0
- dropping support for Ruby 2.0 and 2.1
- adding Ruby 3.0 compatibility for development tasks
- drop support for `rack-mount` and remove related Addressable::Template#generate
- switch CI/CD to GitHub Actions
Expand Down

1 comment on commit 892861d

@dentarg
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably have changed gemspec when doing this?

s.required_ruby_version = Gem::Requirement.new(">= 2.0".freeze)

Made a PR to update it: #463

Please sign in to comment.