Merge pull request #1087 from paper-trail-gem/release_9.0.2

Release 9.0.2
This commit is contained in:
Jared Beck 2018-05-14 21:47:35 -04:00 committed by GitHub
commit fd9785f8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 2 deletions

View File

@ -15,6 +15,20 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
### Fixed
- None
## 9.0.2 (2018-05-14)
### Breaking Changes
- None
### Added
- None
### Fixed
- [#1084](https://github.com/paper-trail-gem/paper_trail/pull/1084)
The `touch` callback (added in 9.0.0) now inserts the correct value into
the `versions.object` column.

View File

@ -11,7 +11,7 @@ has been destroyed.
| Version | Documentation |
| -------------- | ------------- |
| Unreleased | https://github.com/paper-trail-gem/paper_trail/blob/master/README.md |
| 9.0.1 | https://github.com/paper-trail-gem/paper_trail/blob/v9.0.1/README.md |
| 9.0.2 | https://github.com/paper-trail-gem/paper_trail/blob/v9.0.2/README.md |
| 8.1.2 | https://github.com/paper-trail-gem/paper_trail/blob/v8.1.2/README.md |
| 7.1.3 | https://github.com/paper-trail-gem/paper_trail/blob/v7.1.3/README.md |
| 6.0.2 | https://github.com/paper-trail-gem/paper_trail/blob/v6.0.2/README.md |

View File

@ -110,6 +110,9 @@ module PaperTrail
# Returns PaperTrail's `::Gem::Version`, convenient for comparisons. This is
# recommended over `::PaperTrail::VERSION::STRING`.
#
# Added in 7.0.0
#
# @api public
def gem_version
::Gem::Version.new(VERSION::STRING)

View File

@ -9,7 +9,7 @@ module PaperTrail
module VERSION
MAJOR = 9
MINOR = 0
TINY = 1
TINY = 2
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".").freeze