diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b0c072..472d6d4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,9 @@ jobs: ruby-version: ${{ matrix.entry.ruby }} bundler-cache: true + - name: Bundle install + run: bundle install + - name: Run tests run: bundle exec rspec diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d23b10..ac76d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ ## 0.5.0 (next) -* Your contribution here. * [#146](https://github.com/mongoid/mongoid_search/pull/146): Update dependencies and switch to Github Actions - [@yads](https://github.com/yads). +* Your contribution here. ## 0.4.0 -* [#138](https://github.com/mongoid/mongoid_search/pull/138): Update mongoid::search::util.normalize_keywords - [@yads](https://github.com/yads). +* [#138](https://github.com/mongoid/mongoid_search/pull/138): Update `Mongoid::Search::Util.normalize_keywords` - [@yads](https://github.com/yads). * [#132](https://github.com/mongoid/mongoid_search/pull/132): Add RELEASING and CONTRIBUTING - [@rtrv](https://github.com/rtrv). ## 0.3.6 diff --git a/README.md b/README.md index aeef35b..a356136 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Mongoid Search -Mongoid Search is a simple full text search implementation for Mongoid ORM. It supports Mongoid 3, 4, 5 and 6 and performs well for small data sets. If your searchable model is big (i.e. 1.000.000+ records), [mongoid_fulltext](https://github.com/mongoid/mongoid_fulltext), ElasticSearch, Solr or Sphinx may suit you better. +Mongoid Search is a simple full text search implementation for Mongoid ORM. It supports Mongoid 3, 4, 5, 6, 7 and 8 and performs well for small data sets. If your searchable model is big (i.e. 1.000.000+ records), [mongoid_fulltext](https://github.com/mongoid/mongoid_fulltext), ElasticSearch, Solr or Sphinx may suit you better. -[![Build Status](https://travis-ci.org/mongoid/mongoid_search.svg?branch=master)](https://travis-ci.org/mongoid/mongoid_search) +[![Test](https://github.com/mongoid/mongoid_search/actions/workflows/test.yml/badge.svg)](https://github.com/mongoid/mongoid_search/actions/workflows/test.yml) ## Installation diff --git a/RELEASING.md b/RELEASING.md index 1f460de..87bd333 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -12,12 +12,7 @@ bundle install bundle exec rake ``` -Check that the last build succeeded in [Travis CI](https://travis-ci.org/mongoid/mongoid-search) for all supported platforms. - -Increment the version, modify [lib/mongoid/search/version.rb](lib/mongoid/search/version.rb). - -* Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.5.1` to `0.5.2`). -* Increment the second number if the release contains major features or breaking API changes (eg. change `0.5.1` to `0.4.0`). +Check that the last build succeeded in [GitHub Actions](https://github.com/mongoid/mongoid_search/actions) for all supported platforms. Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version. @@ -30,7 +25,7 @@ Remove the line with "Your contribution here.", since there will be no more cont Commit your changes. ``` -git add CHANGELOG.md lib/mongoid/search/version.rb +git add CHANGELOG.md git commit -m "Preparing for release, 0.4.0." git push origin master ``` @@ -56,12 +51,14 @@ Add the next release to [CHANGELOG.md](CHANGELOG.md). * Your contribution here. ``` -Increment the minor version, modify [lib/mongoid/search/version.rb](lib/mongoid/search/version.rb). +Increment the minor version, modify [mongoid_search.gemspec](mongoid_search.gemspec). Commit your changes. ``` -git add CHANGELOG.md lib/mongoid/search/version.rb +git add CHANGELOG.md mongoid_search.gemspec git commit -m "Preparing for next release, 0.4.1." git push origin master ``` + +Major version numbers are incremented with the first new feature. diff --git a/mongoid_search.gemspec b/mongoid_search.gemspec index 7f5e965..5c9fc9e 100644 --- a/mongoid_search.gemspec +++ b/mongoid_search.gemspec @@ -5,7 +5,7 @@ $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) Gem::Specification.new do |s| s.name = 'mongoid_search' - s.version = '0.4.0' + s.version = '0.5.0' s.authors = ['Mauricio Zaffari'] s.email = ['mauricio@papodenerd.net'] s.homepage = 'https://github.com/mongoid/mongoid_search'