From 323a289d3b1c8a41e7d42609b5c73ed31fe90f2d Mon Sep 17 00:00:00 2001 From: Weston Ganger Date: Thu, 1 Oct 2020 13:59:32 -0700 Subject: [PATCH] Add travis.yml matrix[exclude] for Rails 6+ and Ruby <= 2.4 --- .travis.yml | 5 +++++ README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 78e0caf..dc696b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,11 @@ gemfile: matrix: allow_failures: - rvm: ruby-head + exclude: + - rvm: 2.3 + gemfile: gemfiles/Rails_6.0.x.gemfile + - rvm: 2.4 + gemfile: gemfiles/Rails_6.0.x.gemfile notifications: email: diff --git a/README.md b/README.md index 30c0268..450c5a2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Protected Attributes Continued Gem Version -Build Status +Build Status RubyGems Downloads > This is the community continued version of `protected_attributes` for Rails 5+. I recommend you only use it to support legacy portions of your application that you do not want to upgrade. The Rails team dropped this feature and switched to `strong_parameters` because of security issues. However some applications simply cannot be upgraded or security like this is a non-issue. To continue supporting this feature going forward lets continue the work here.