Skip to content

Commit

Permalink
Prepare for v1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jun 14, 2012
1 parent 2185ea3 commit cdfd7f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
shoulda-matchers (1.1.0)
shoulda-matchers (1.2.0)
activesupport (>= 3.0.0)

GEM
Expand Down
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HEAD
# v1.2.0

* `ensure_inclusion_of` now has an `in_array` parameter:
`ensure_inclusion_of(:attr).in_array(['foo', 'bar'])`. It cannot be used with
Expand All @@ -14,6 +14,9 @@ HEAD
`have_db_index` with no unique option. It now functions the same as
`have_db_index.unique(false)`.

* In 1.1.0, `have_sent_email` checked all emails to ensure they matched. It now
checks that only one email matches, which restores 1.0.0 behavior.

# v1.1.0

* Added `only_integer` option to `validate_numericality_of`:
Expand Down
2 changes: 1 addition & 1 deletion lib/shoulda/matchers/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Shoulda
module Matchers
VERSION = '1.1.0'.freeze
VERSION = '1.2.0'.freeze
end
end

0 comments on commit cdfd7f3

Please sign in to comment.