Commit Graph

8 Commits

Author SHA1 Message Date
Jared Beck d030ba2b02 Remove ruby 1.8 hacks
PaperTrail no longer supports ruby 1.8.
2015-12-13 01:14:59 -05:00
Jared Beck 40bf20beb5 Respect `:skip` re: timestamp-only updates
When attributes are ignored, either by `:ignore` or by `:skip`,
then during updates, timestamp attributes like `updated_at` should
not be considered notable changes.

[Fixes #569]
2015-07-15 22:29:19 -04:00
Ben Atkins 1b1e74dab5 Basic version comparisons for RUBY_VERSION can be done using Strings
As opposed to unnecessarily casting the RUBY_VERSION to a Float
2015-01-14 14:09:30 -05:00
Ben Atkins be5f192bd1 close #438; PaperTrail::Model::ClassMethods#paper_trail_enabled_for_model? should return false if has_paper_trail isn't declared on the class in question 2014-10-31 10:43:24 -04:00
Ben Atkins 716c3e0fb5 Use RSpec 3 for testing; Update syntax in spec suite for RSpec 3 2014-10-09 15:04:17 -04:00
Ben Atkins 8f256d7081 Add some additional testing and comments surrounding the PaperTrail::Model::InstanceMethods#changed_notably? private method changes 2014-10-08 00:09:40 -04:00
Ben Atkins 052f16495b Update Gadget spec with Ruby18 hash syntax 2014-10-07 23:16:36 -04:00
Ben Atkins 049a86f1ab Fix PaperTrail::Model::InstanceMethods#changed_notably? to return proper values when attrs are ignored 2014-10-07 23:16:36 -04:00