Skip to content

Commit

Permalink
Bump version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanl committed Apr 15, 2014
1 parent c146237 commit 37e1997
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Expand Up @@ -2,9 +2,13 @@

Searchlight does its best to use [semantic versioning](http://semver.org).

## Unreleased
## v3.0.0

Inputs generated using ActionView forms are now named after your search form. Eg, the form for 'UserSearch' will submit parameters under 'user_search', not just 'search'. This makes the code more standard and namespaces the form, in case, eg, you want to have two forms on the same page.
Two major releases in two days!? Well, I thought of another good, but breaking, change. To the major version bump, Robin!

Inputs generated using `ActionView` forms are now named after your search form. Eg, the form for 'UserSearch' will submit parameters under 'user_search', not just 'search'. This makes the code more standard and namespaces the form, in case, eg, you want to have two forms on the same page.

Note that to upgrade, Rails users will need to change references to `params[:search]` to something like `params[:user_search]` (depending on name of the search class).

## v2.0.0

Expand Down
5 changes: 1 addition & 4 deletions TODO.md
@@ -1,7 +1,4 @@
# TODO

- Only have `options` method return values that map to search methods; it doesn't track any `attr_accessor` you may have. This guarantees consistent contents.
- Run rcov and mutant
- Do some mutation testing
- Make nice Github page
- Test with ActiveRecord 4
- Add more complex example searches to show where Searchlight shines. Eg: for a given disease, find people who've traveled in a given time period and visited countries that had an outbreak of that disease during their visit.
2 changes: 1 addition & 1 deletion lib/searchlight/version.rb
@@ -1,3 +1,3 @@
module Searchlight
VERSION = "2.0.0"
VERSION = "3.0.0"
end

0 comments on commit 37e1997

Please sign in to comment.