Remove Ruby 2.2 support

This commit is contained in:
Gui Vieira 2019-01-08 18:15:10 -02:00 committed by Elliot Winkler
parent 2ade5e20ae
commit 2f79c837c4
3 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,6 @@ rvm:
- 2.5.1
- 2.4.4
- 2.3.7
- 2.2.8
gemfile:
- gemfiles/4.2.gemfile

View File

@ -4,13 +4,13 @@ This release mainly brings the gem up to date with modern versions of Ruby and
Rails and drops support for older, unsupported versions. The compatibility list
is now:
* **Ruby:** 2.5.1, 2.4.4, 2.3.7, 2.2.8
* **Ruby:** 2.5.1, 2.4.4, 2.3.7
* **Rails:** 5.2.1, 5.1.6, 5.0.6, 4.2.9
### Backward-incompatible changes
* Drop support for Rails 4.0 and 4.1 as well as Ruby 2.0 and 2.1, since they've
been end-of-lifed. The gem now supports Ruby 2.2+ and Rails 4.2+.
* Drop support for Rails 4.0 and 4.1 as well as Ruby 2.0, 2.1, and 2.2, since
they've been end-of-lifed. The gem now supports Ruby 2.3+ and Rails 4.2+.
* `use_before_filter`, `use_after_filter`, and `use_around_filter` are no longer
usable when using shoulda-matchers under Rails 5.x, as the corresponding

View File

@ -30,9 +30,9 @@ complex, and error-prone.
## Compatibility
Shoulda Matchers 4 is tested and supported against Rails 5.x, Rails 4.2, RSpec
3.x, Minitest 5, Minitest 4, and Ruby 2.2+.
3.x, Minitest 5, Minitest 4, and Ruby 2.3+.
For Rails 4.0/4.1 and Ruby 2.0/2.1 compatibility, please use shoulda-matchers
For Rails 4.0/4.1 and Ruby 2.0/2.1/2.2 compatibility, please use shoulda-matchers
[3.1.2](https://github.com/thoughtbot/shoulda-matchers/releases/tag/v3.1.2).
## Getting started