Commit Graph

7 Commits

Author SHA1 Message Date
Jared Beck 3f0e3aba2e Drop support for Rails 5.2 (reached EoL on 2022-06-01) 2022-10-16 00:54:14 -04:00
David Furber c10a8573f1
Rails 7.0 Compatibility (#1365)
* Make paper_trail work with Rails 7.0

* from class_methods do back to module ClassMethods

* add spec for PostgresArraySerializer to boost coverage

* lint the spec for PostgresArraySerializer

* lint the spec for PostgresArraySerializer again

* and now make that linted spec pass again

* test object change scopes a bit

* round out json and jsonb testing of object scopes

* test some other code paths to increase coverage

* linting

* linting

* mess with yaml loading in test

* oddball cop for double quotes

* use Rails public API for compatibility rather than instance_variable_set

Co-authored-by: dfurber <dfurber@truecar.com>
2022-01-21 00:10:53 -05:00
Jared Beck 4e96041c07 Drop support for ruby 2.5
Ruby 2.5 reached EoL on 2021-03-31.
2021-10-25 11:37:31 -04:00
Alex Ghiculescu 3669542b6e
Tweak `ACTIVERECORD_LT` as there won't be a Rails 6.2 2021-04-21 13:07:17 -05:00
Sebastien Dubois ea618650c2 Add compatibility with Rails 6.1 2020-12-15 11:49:05 -05:00
Jared Beck f92037c048
Prepare for v11 (#1235)
* Drop support for ruby 2.3

* Docs: appraisal

* Drop support for rails <= 5.1

* Upgrade rubocop to 0.80

* Remove defunct code for EoL rails versions

* Rails 5+ style controller test params keyword

* Squash me

Co-Authored-By: Todd Lynam <TLynam@gmail.com>

Co-authored-by: Todd Lynam <TLynam@gmail.com>
2020-03-02 21:58:33 -05:00
Jared Beck a107146ded Allow incompatible versions of ActiveRecord
For advanced users only. A warning is produced. See discussion
in paper_trail/compatibility.rb
2019-07-29 11:59:03 -04:00