Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Travis-CI references by GHA. #147

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
15 changes: 6 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
```
Expand All @@ -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.
2 changes: 1 addition & 1 deletion mongoid_search.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['[email protected]']
s.homepage = 'https://github.com/mongoid/mongoid_search'
Expand Down
Loading