Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
matrix:
include:
- { ruby: '2.1.9', mongoid: '~> 3.0.0', mongodb: '3.6', bundler: '1.17.3' }
- { ruby: '2.3.8', mongoid: '~> 3.1.0', mongodb: '3.6', bundler: '2.3.26' }
- { ruby: '2.3.8', mongoid: '~> 3.1.0', mongodb: '3.6', bundler: '2.3.26', coverage: true }
- { ruby: '2.3.8', mongoid: '4', mongodb: '3.6', bundler: '2.3.26' }
- { ruby: '2.3.8', mongoid: '5', mongodb: '4.0', bundler: '2.3.26' }
- { ruby: '2.5.9', mongoid: '6', mongodb: '4.0', bundler: default }
- { ruby: '2.7.8', mongoid: '7', mongodb: '4.4', bundler: '2.4.22' }
- { ruby: '3.2', mongoid: '8', mongodb: '6.0', bundler: default }
- { ruby: '3.3', mongoid: '9', mongodb: '7.0', bundler: default }
- { ruby: '3.4', mongoid: '9', mongodb: '8.0', bundler: default }
- { ruby: '4.0', mongoid: '9', mongodb: '8.0', bundler: default }
- { ruby: '4.0', mongoid: '9', mongodb: '8.0', bundler: default, coverage: true }
env:
MONGOID_VERSION: ${{ matrix.mongoid }}
COVERAGE: ${{ (matrix.mongoid == '~> 3.1.0' || matrix.ruby == '4.0') && 'true' || 'false' }}
COVERAGE: ${{ matrix.coverage }}
services:
mongodb:
image: mongo:${{ matrix.mongodb }}
Expand All @@ -43,7 +43,7 @@ jobs:
bundler-cache: true
- run: bundle exec rake spec
- name: Report coverage to Coveralls
if: matrix.mongoid == '~> 3.1.0' || matrix.ruby == '4.0'
if: matrix.coverage
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### 0.9.0 (Next)

* [#68](https://github.com/mongoid/mongoid_fulltext/pull/68): Cover candidate-budget boundaries and standalone version loading, and combine coverage from actual legacy and modern drivers - [@dblock](https://github.com/dblock).
* [#68](https://github.com/mongoid/mongoid_fulltext/pull/68): Cover candidate-budget boundaries and combine coverage from actual legacy and modern drivers - [@dblock](https://github.com/dblock).
* [#61](https://github.com/mongoid/mongoid_fulltext/pull/61): Support weighted fields with configurable maximum or summed field-score aggregation - [@dblock](https://github.com/dblock).
* [#60](https://github.com/mongoid/mongoid_fulltext/pull/60): Extract ngram calculation and index-definition planning for maintainability without changing model APIs or search behavior - [@tomasc](https://github.com/tomasc), [@dblock](https://github.com/dblock).
* [#59](https://github.com/mongoid/mongoid_fulltext/pull/59): Document and cover class-level indexing timeout options - [@dblock](https://github.com/dblock).
Expand Down
4 changes: 1 addition & 3 deletions spec/version_spec.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require 'spec_helper'

describe Mongoid::FullTextSearch do
it 'loads a standalone semantic version' do
stub_const('Mongoid::FullTextSearch', Module.new)
load File.expand_path('../lib/mongoid/full_text_search/version.rb', __dir__)
it 'defines a semantic version' do
expect(Mongoid::FullTextSearch::VERSION).to match(/\A\d+\.\d+\.\d+\z/)
end
end
Loading