Commit
795190bf360043360a9a55cec55f936e36893510
Authored by
Andrew
Exists in
master
and in
19 other branches
allow_missing, conversions_period, conversions_v2, eager_load, find_in_batches, highlighted, index_name, lazy_index_name, less_deps, nested, reindex_refactor, relation, relation_search, routing_queue, scope_attributes, search_as_you_type, synonyms_ci, test_language, wildcard
Cleaning up tests
| @@ -20,7 +20,7 @@ gemfile: |
| @@ -20,7 +20,7 @@ gemfile: |
20
| - test/gemfiles/mongoid5.gemfile |
20
| - test/gemfiles/mongoid5.gemfile |
21
| - test/gemfiles/mongoid6.gemfile |
21
| - test/gemfiles/mongoid6.gemfile |
22
| env: |
22
| env: |
23
| - - ELASTICSEARCH_VERSION=6.2.1 |
23
| + - ELASTICSEARCH_VERSION=6.2.2 |
24
| jdk: oraclejdk8 |
24
| jdk: oraclejdk8 |
25
| matrix: |
25
| matrix: |
26
| include: |
26
| include: |
1
| ## 3.0.0 [unreleased] |
1
| ## 3.0.0 [unreleased] |
2
| |
2
| |
3
| - Removed support for Elasticsearch 2 |
3
| - Removed support for Elasticsearch 2 |
4
| -- Removed support for ActiveRecord < 4.2 |
4
| +- Removed support for ActiveRecord < 4.2 and Mongoid < 5 |
5
| - Removed `reindex_async` method. `reindex` now defaults to mode specified by model. Use `reindex(mode: :async)` to force async reindex. |
5
| - Removed `reindex_async` method. `reindex` now defaults to mode specified by model. Use `reindex(mode: :async)` to force async reindex. |
6
| |
6
| |
7
| ## 2.5.1 [unreleased] |
7
| ## 2.5.1 [unreleased] |
| @@ -1,7 +0,0 @@ |
| @@ -1,7 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "sqlite3" |
| |
7
| -gem "activerecord", "~> 3.1.0" |
| |
| @@ -1,7 +0,0 @@ |
| @@ -1,7 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "sqlite3" |
| |
7
| -gem "activerecord", "~> 3.2.0" |
| |
| @@ -1,8 +0,0 @@ |
| @@ -1,8 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "sqlite3" |
| |
7
| -gem "activerecord", "~> 4.0.0" |
| |
8
| -gem "activejob_backport" |
| |
| @@ -1,8 +0,0 @@ |
| @@ -1,8 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "sqlite3" |
| |
7
| -gem "activerecord", "~> 4.1.0" |
| |
8
| -gem "activejob_backport" |
| |
| @@ -1,7 +0,0 @@ |
| @@ -1,7 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "mongoid", "~> 2" |
| |
7
| -gem "bson_ext" |
| |
| @@ -1,6 +0,0 @@ |
| @@ -1,6 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "mongoid", "~> 3.1.0" |
| |
| @@ -1,7 +0,0 @@ |
| @@ -1,7 +0,0 @@ |
1
| -source 'https://rubygems.org' |
| |
2
| - |
| |
3
| -# Specify your gem's dependencies in searchkick.gemspec |
| |
4
| -gemspec path: "../../" |
| |
5
| - |
| |
6
| -gem "mongoid", "~> 4.0.0" |
| |
7
| -gem "activejob_backport" |
| |
| @@ -1,10 +0,0 @@ |
| @@ -1,10 +0,0 @@ |
1
| -require_relative "test_helper" |
| |
2
| - |
| |
3
| -class RecordsTest < Minitest::Test |
| |
4
| - def test_records |
| |
5
| - skip if cequel? |
| |
6
| - |
| |
7
| - store_names ["Milk", "Apple"] |
| |
8
| - assert_equal Product.search("milk").records.where(name: "Milk").count, 1 |
| |
9
| - end |
| |
10
| -end |
| |