Skip to content

Commit

Permalink
Bump version to 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bliof-fc committed Oct 19, 2020
1 parent 13c29cc commit 8f51125
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Vault Rails Changelog

## 2.0.5 (October 19, 2020)

- Fix compatibility with `#with_lock` / `#lock!` - on initialization the `#changes` is no longer polluted. Fixed error:
```
RuntimeError: Locking a record with unpersisted changes is not supported. Use `save` to persist the changes, or `reload` to discard them explicitly.
```

## 2.0.4 (December 2, 2019)

IMPROVEMENTS
Expand Down
2 changes: 1 addition & 1 deletion lib/vault/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Vault
module Rails
VERSION = "2.0.4"
VERSION = "2.0.5"

def self.latest?
ActiveRecord.version >= Gem::Version.new('5.0.0')
Expand Down

0 comments on commit 8f51125

Please sign in to comment.