Skip to content

Commit

Permalink
Bump version to 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffharcourt committed Jan 10, 2017
1 parent 0899687 commit 59dfb0e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 3.1.2

### Bug fixes

* When the `permit` matcher was used without `#on`, the controller did not use
`params#require`, the params object was duplicated, and the matcher did not
recognize the `#permit` call inside the controller. This behavior happened
because the matcher overwrote double registries with the same parameter hash
whenever ActionController::Parameters was instantiated.

* *Commit: [44c019]*
* *Issue: [#899]*
* *Pull request: [#902]*

# 3.1.1

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/shoulda/matchers/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Shoulda
module Matchers
# @private
VERSION = '3.1.1'.freeze
VERSION = '3.1.2'.freeze
end
end

0 comments on commit 59dfb0e

Please sign in to comment.