diff --git a/CHANGES.md b/CHANGES.md index 93b7bfb..fdf54c9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,10 @@ * Raises a more helpful error if the column is not found when calling `DbTextSearch::CaseInsensitive`. +## v0.3.0 + +* * **Feature** Case insensitive sorting via the new `CaseInsensitive#column_for_order(asc_or_desc)` method. Use it like `SomeModel.some_scope.order(CaseInsensitive.new(SomeModel, :some_field).column_for_order(:asc))` + ## v0.2.1 * Support for PostGIS adapters. diff --git a/README.md b/README.md index 623a29f..f769146 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ DbTextSearch provides a unified interface on top of ActiveRecord for SQLite, MyS Add this line to your application's Gemfile: ```ruby -gem 'db_text_search', '~> 0.2.2' +gem 'db_text_search', '~> 0.3.0' ``` ## Usage diff --git a/RELEASE-CHECKLIST.md b/RELEASE-CHECKLIST.md new file mode 100644 index 0000000..3cf38d7 --- /dev/null +++ b/RELEASE-CHECKLIST.md @@ -0,0 +1,17 @@ +The checklist for releasing a new version of db_text_search. + +Pre-requisites for the releaser: + +* Push access to RubyGems. + +Release checklist: + +- [ ] Update gem version in `version.rb` and `README.md`. +- [ ] Update `CHANGELOG.md`. +- [ ] Wait for the Travis build to come back green. +- [ ] Tag the release and push it to rubygems: + + ```bash + rake release + ``` +- [ ] Copy the release notes from the changelog to [GitHub Releases](https://github.com/thredded/thredded/releases). diff --git a/lib/db_text_search/version.rb b/lib/db_text_search/version.rb index dabc6fe..e9b3e64 100644 --- a/lib/db_text_search/version.rb +++ b/lib/db_text_search/version.rb @@ -2,5 +2,5 @@ module DbTextSearch # Gem version - VERSION = '0.2.2' + VERSION = '0.3.0' end