paper-trail-gem--paper_trail/lib/paper_trail
Jared Beck 94e167b5ac
Touch should honour if and unless options (#1354)
* Honour if: and unless: options in on_touch

The on_touch callback was not honouring the if: or unless: options
that were set in the model config.

* Fix some test descriptions

These tests were actually testing the opposite of what they said they
were testing.

* Doc: changelog entry for #1349

[ci skip]

Co-authored-by: Nigel Williams <nigel.williams@marketplacer.com>
2021-11-27 22:05:13 -05:00
..
attribute_serializers Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
events Extract private method: Events::Update#merge_object_changes_into 2021-10-25 13:13:49 -04:00
frameworks Document and make explicit certain "boot" order 2021-03-18 01:49:53 -04:00
queries/versions Queries: object_changes: Simplify error instantiation 2021-04-06 12:13:04 -04:00
serializers Support Psych version 4 2021-09-15 16:26:07 -04:00
type_serializers Remove vestigial version conditionals 2021-03-21 01:07:08 -04:00
cleaner.rb Lint: Style/FrozenStringLiteralComment 2017-12-10 23:05:39 -05:00
compatibility.rb Drop support for ruby 2.5 2021-10-25 11:37:31 -04:00
config.rb PT-AT is now responsible for testing itself 2019-08-06 02:45:06 -04:00
errors.rb Queries: object_changes: Simplify error instantiation 2021-04-06 12:13:04 -04:00
has_paper_trail.rb No need to send a public method "Object#extend" 2020-10-18 21:24:50 +09:00
model_config.rb Touch should honour if and unless options (#1354) 2021-11-27 22:05:13 -05:00
record_history.rb Lint: Style/FrozenStringLiteralComment 2017-12-10 23:05:39 -05:00
record_trail.rb rubocop 1.20.0 (was 1.17.0) 2021-08-29 21:51:49 -04:00
reifier.rb Extract private method init_model_by_finding_item_id 2021-08-29 23:51:00 -04:00
request.rb Introduce PaperTrail::Error class 2021-04-05 16:14:50 -04:00
version_concern.rb Extract local variable 2021-10-25 13:13:50 -04:00
version_number.rb Release 12.1.0 2021-08-30 00:16:54 -04:00