Merged a few PRs. Shouldn't break anything.
- Appraisal: add rails 5.1 and 5.2
- Appraisal: bundle update
- Fix: alias_method_chain was deprecated a long time ago
- Fix: clearing the cache will also clear the reverse lookup cache
- Dev: .ruby-version 2.6.1
- Doc: docs for :scope and :inverse_scope options on
lookup_for
method - Doc: add changelog
Version 0.11.0 breaks Model.where(field: 'value').first_or_create! when
Model is configured with lookup_by :field, cache: true
.
Update .count signature to support Rails 5.
- Require ruby 2.2.2+
- PostgreSQL 9.2+
- Drop support for JRuby