chewy 0.8.4 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +56 -0
- data/.rubocop_todo.yml +44 -0
- data/.travis.yml +36 -67
- data/.yardopts +5 -0
- data/Appraisals +63 -58
- data/CHANGELOG.md +168 -11
- data/Gemfile +16 -9
- data/Guardfile +5 -5
- data/LEGACY_DSL.md +497 -0
- data/README.md +403 -470
- data/Rakefile +11 -1
- data/chewy.gemspec +12 -15
- data/gemfiles/rails.4.0.activerecord.gemfile +9 -9
- data/gemfiles/rails.4.1.activerecord.gemfile +9 -9
- data/gemfiles/rails.4.2.activerecord.gemfile +8 -8
- data/gemfiles/rails.4.2.mongoid.5.2.gemfile +16 -0
- data/gemfiles/rails.5.0.activerecord.gemfile +16 -0
- data/gemfiles/rails.5.0.mongoid.6.1.gemfile +16 -0
- data/gemfiles/rails.5.1.activerecord.gemfile +16 -0
- data/gemfiles/rails.5.1.mongoid.6.3.gemfile +16 -0
- data/gemfiles/rails.5.2.activerecord.gemfile +16 -0
- data/gemfiles/sequel.4.45.gemfile +11 -0
- data/lib/chewy/backports/deep_dup.rb +1 -1
- data/lib/chewy/backports/duplicable.rb +1 -0
- data/lib/chewy/config.rb +53 -21
- data/lib/chewy/errors.rb +6 -6
- data/lib/chewy/fields/base.rb +59 -29
- data/lib/chewy/fields/root.rb +49 -14
- data/lib/chewy/index/actions.rb +95 -36
- data/lib/chewy/index/aliases.rb +2 -1
- data/lib/chewy/index/settings.rb +10 -5
- data/lib/chewy/index/specification.rb +60 -0
- data/lib/chewy/index.rb +239 -138
- data/lib/chewy/journal.rb +55 -0
- data/lib/chewy/log_subscriber.rb +8 -8
- data/lib/chewy/minitest/helpers.rb +77 -0
- data/lib/chewy/minitest/search_index_receiver.rb +80 -0
- data/lib/chewy/minitest.rb +1 -0
- data/lib/chewy/query/compose.rb +18 -19
- data/lib/chewy/query/criteria.rb +34 -24
- data/lib/chewy/query/filters.rb +28 -11
- data/lib/chewy/query/loading.rb +3 -4
- data/lib/chewy/query/nodes/and.rb +1 -1
- data/lib/chewy/query/nodes/base.rb +1 -1
- data/lib/chewy/query/nodes/bool.rb +6 -4
- data/lib/chewy/query/nodes/equal.rb +4 -4
- data/lib/chewy/query/nodes/exists.rb +1 -1
- data/lib/chewy/query/nodes/expr.rb +2 -2
- data/lib/chewy/query/nodes/field.rb +35 -31
- data/lib/chewy/query/nodes/has_child.rb +1 -0
- data/lib/chewy/query/nodes/has_parent.rb +1 -0
- data/lib/chewy/query/nodes/has_relation.rb +10 -12
- data/lib/chewy/query/nodes/missing.rb +1 -1
- data/lib/chewy/query/nodes/not.rb +1 -1
- data/lib/chewy/query/nodes/or.rb +1 -1
- data/lib/chewy/query/nodes/prefix.rb +3 -2
- data/lib/chewy/query/nodes/query.rb +1 -1
- data/lib/chewy/query/nodes/range.rb +9 -9
- data/lib/chewy/query/nodes/raw.rb +1 -1
- data/lib/chewy/query/nodes/regexp.rb +13 -9
- data/lib/chewy/query/nodes/script.rb +4 -4
- data/lib/chewy/query/pagination.rb +10 -1
- data/lib/chewy/query.rb +286 -170
- data/lib/chewy/railtie.rb +7 -6
- data/lib/chewy/rake_helper.rb +275 -37
- data/lib/chewy/repository.rb +2 -2
- data/lib/chewy/rspec/update_index.rb +70 -65
- data/lib/chewy/rspec.rb +1 -1
- data/lib/chewy/runtime/version.rb +4 -4
- data/lib/chewy/search/loader.rb +83 -0
- data/lib/chewy/{query → search}/pagination/kaminari.rb +13 -5
- data/lib/chewy/search/pagination/will_paginate.rb +43 -0
- data/lib/chewy/search/parameters/aggs.rb +16 -0
- data/lib/chewy/search/parameters/allow_partial_search_results.rb +27 -0
- data/lib/chewy/search/parameters/concerns/bool_storage.rb +24 -0
- data/lib/chewy/search/parameters/concerns/hash_storage.rb +23 -0
- data/lib/chewy/search/parameters/concerns/integer_storage.rb +14 -0
- data/lib/chewy/search/parameters/concerns/query_storage.rb +238 -0
- data/lib/chewy/search/parameters/concerns/string_array_storage.rb +23 -0
- data/lib/chewy/search/parameters/concerns/string_storage.rb +14 -0
- data/lib/chewy/search/parameters/docvalue_fields.rb +12 -0
- data/lib/chewy/search/parameters/explain.rb +16 -0
- data/lib/chewy/search/parameters/filter.rb +47 -0
- data/lib/chewy/search/parameters/highlight.rb +16 -0
- data/lib/chewy/search/parameters/indices.rb +123 -0
- data/lib/chewy/search/parameters/indices_boost.rb +52 -0
- data/lib/chewy/search/parameters/limit.rb +17 -0
- data/lib/chewy/search/parameters/load.rb +32 -0
- data/lib/chewy/search/parameters/min_score.rb +16 -0
- data/lib/chewy/search/parameters/none.rb +27 -0
- data/lib/chewy/search/parameters/offset.rb +17 -0
- data/lib/chewy/search/parameters/order.rb +64 -0
- data/lib/chewy/search/parameters/post_filter.rb +19 -0
- data/lib/chewy/search/parameters/preference.rb +16 -0
- data/lib/chewy/search/parameters/profile.rb +16 -0
- data/lib/chewy/search/parameters/query.rb +19 -0
- data/lib/chewy/search/parameters/request_cache.rb +27 -0
- data/lib/chewy/search/parameters/rescore.rb +29 -0
- data/lib/chewy/search/parameters/script_fields.rb +16 -0
- data/lib/chewy/search/parameters/search_after.rb +20 -0
- data/lib/chewy/search/parameters/search_type.rb +16 -0
- data/lib/chewy/search/parameters/source.rb +73 -0
- data/lib/chewy/search/parameters/storage.rb +95 -0
- data/lib/chewy/search/parameters/stored_fields.rb +63 -0
- data/lib/chewy/search/parameters/suggest.rb +16 -0
- data/lib/chewy/search/parameters/terminate_after.rb +16 -0
- data/lib/chewy/search/parameters/timeout.rb +16 -0
- data/lib/chewy/search/parameters/track_scores.rb +16 -0
- data/lib/chewy/search/parameters/types.rb +20 -0
- data/lib/chewy/search/parameters/version.rb +16 -0
- data/lib/chewy/search/parameters.rb +167 -0
- data/lib/chewy/search/query_proxy.rb +257 -0
- data/lib/chewy/search/request.rb +1045 -0
- data/lib/chewy/search/response.rb +119 -0
- data/lib/chewy/search/scoping.rb +50 -0
- data/lib/chewy/search/scrolling.rb +134 -0
- data/lib/chewy/search.rb +81 -26
- data/lib/chewy/stash.rb +79 -0
- data/lib/chewy/strategy/active_job.rb +1 -0
- data/lib/chewy/strategy/atomic.rb +2 -4
- data/lib/chewy/strategy/base.rb +4 -4
- data/lib/chewy/strategy/bypass.rb +1 -2
- data/lib/chewy/strategy/resque.rb +1 -0
- data/lib/chewy/strategy/shoryuken.rb +40 -0
- data/lib/chewy/strategy/sidekiq.rb +13 -1
- data/lib/chewy/strategy/urgent.rb +1 -1
- data/lib/chewy/strategy.rb +19 -10
- data/lib/chewy/type/actions.rb +26 -2
- data/lib/chewy/type/adapter/active_record.rb +50 -24
- data/lib/chewy/type/adapter/base.rb +29 -9
- data/lib/chewy/type/adapter/mongoid.rb +19 -10
- data/lib/chewy/type/adapter/object.rb +195 -31
- data/lib/chewy/type/adapter/orm.rb +69 -33
- data/lib/chewy/type/adapter/sequel.rb +37 -19
- data/lib/chewy/type/crutch.rb +5 -4
- data/lib/chewy/type/import/bulk_builder.rb +122 -0
- data/lib/chewy/type/import/bulk_request.rb +78 -0
- data/lib/chewy/type/import/journal_builder.rb +45 -0
- data/lib/chewy/type/import/routine.rb +138 -0
- data/lib/chewy/type/import.rb +150 -176
- data/lib/chewy/type/mapping.rb +58 -42
- data/lib/chewy/type/observe.rb +21 -15
- data/lib/chewy/type/syncer.rb +222 -0
- data/lib/chewy/type/witchcraft.rb +89 -34
- data/lib/chewy/type/wrapper.rb +48 -16
- data/lib/chewy/type.rb +77 -49
- data/lib/chewy/version.rb +1 -1
- data/lib/chewy.rb +95 -52
- data/lib/generators/chewy/install_generator.rb +3 -3
- data/lib/sequel/plugins/chewy_observe.rb +4 -19
- data/lib/tasks/chewy.rake +91 -28
- data/spec/chewy/config_spec.rb +130 -12
- data/spec/chewy/fields/base_spec.rb +194 -172
- data/spec/chewy/fields/root_spec.rb +123 -17
- data/spec/chewy/fields/time_fields_spec.rb +10 -9
- data/spec/chewy/index/actions_spec.rb +228 -43
- data/spec/chewy/index/aliases_spec.rb +2 -2
- data/spec/chewy/index/settings_spec.rb +100 -49
- data/spec/chewy/index/specification_spec.rb +169 -0
- data/spec/chewy/index_spec.rb +159 -63
- data/spec/chewy/journal_spec.rb +268 -0
- data/spec/chewy/minitest/helpers_spec.rb +90 -0
- data/spec/chewy/minitest/search_index_receiver_spec.rb +120 -0
- data/spec/chewy/query/criteria_spec.rb +503 -236
- data/spec/chewy/query/filters_spec.rb +96 -68
- data/spec/chewy/query/loading_spec.rb +80 -42
- data/spec/chewy/query/nodes/and_spec.rb +3 -7
- data/spec/chewy/query/nodes/bool_spec.rb +5 -13
- data/spec/chewy/query/nodes/equal_spec.rb +20 -20
- data/spec/chewy/query/nodes/exists_spec.rb +7 -7
- data/spec/chewy/query/nodes/has_child_spec.rb +42 -23
- data/spec/chewy/query/nodes/has_parent_spec.rb +42 -23
- data/spec/chewy/query/nodes/match_all_spec.rb +2 -2
- data/spec/chewy/query/nodes/missing_spec.rb +6 -5
- data/spec/chewy/query/nodes/not_spec.rb +5 -7
- data/spec/chewy/query/nodes/or_spec.rb +3 -7
- data/spec/chewy/query/nodes/prefix_spec.rb +6 -6
- data/spec/chewy/query/nodes/query_spec.rb +3 -3
- data/spec/chewy/query/nodes/range_spec.rb +19 -19
- data/spec/chewy/query/nodes/raw_spec.rb +2 -2
- data/spec/chewy/query/nodes/regexp_spec.rb +31 -19
- data/spec/chewy/query/nodes/script_spec.rb +5 -5
- data/spec/chewy/query/pagination/kaminari_spec.rb +3 -55
- data/spec/chewy/query/pagination/will_paginate_spec.rb +5 -0
- data/spec/chewy/query/pagination_spec.rb +25 -22
- data/spec/chewy/query_spec.rb +510 -505
- data/spec/chewy/rake_helper_spec.rb +381 -0
- data/spec/chewy/repository_spec.rb +8 -8
- data/spec/chewy/rspec/update_index_spec.rb +215 -113
- data/spec/chewy/runtime_spec.rb +2 -2
- data/spec/chewy/search/loader_spec.rb +117 -0
- data/spec/chewy/search/pagination/kaminari_examples.rb +71 -0
- data/spec/chewy/search/pagination/kaminari_spec.rb +21 -0
- data/spec/chewy/search/pagination/will_paginate_examples.rb +63 -0
- data/spec/chewy/search/pagination/will_paginate_spec.rb +23 -0
- data/spec/chewy/search/parameters/aggs_spec.rb +5 -0
- data/spec/chewy/search/parameters/bool_storage_examples.rb +53 -0
- data/spec/chewy/search/parameters/docvalue_fields_spec.rb +5 -0
- data/spec/chewy/search/parameters/explain_spec.rb +5 -0
- data/spec/chewy/search/parameters/filter_spec.rb +5 -0
- data/spec/chewy/search/parameters/hash_storage_examples.rb +59 -0
- data/spec/chewy/search/parameters/highlight_spec.rb +5 -0
- data/spec/chewy/search/parameters/indices_spec.rb +191 -0
- data/spec/chewy/search/parameters/integer_storage_examples.rb +32 -0
- data/spec/chewy/search/parameters/limit_spec.rb +5 -0
- data/spec/chewy/search/parameters/load_spec.rb +60 -0
- data/spec/chewy/search/parameters/min_score_spec.rb +32 -0
- data/spec/chewy/search/parameters/none_spec.rb +5 -0
- data/spec/chewy/search/parameters/offset_spec.rb +5 -0
- data/spec/chewy/search/parameters/order_spec.rb +65 -0
- data/spec/chewy/search/parameters/post_filter_spec.rb +5 -0
- data/spec/chewy/search/parameters/preference_spec.rb +5 -0
- data/spec/chewy/search/parameters/profile_spec.rb +5 -0
- data/spec/chewy/search/parameters/query_spec.rb +5 -0
- data/spec/chewy/search/parameters/query_storage_examples.rb +388 -0
- data/spec/chewy/search/parameters/request_cache_spec.rb +67 -0
- data/spec/chewy/search/parameters/rescore_spec.rb +62 -0
- data/spec/chewy/search/parameters/script_fields_spec.rb +5 -0
- data/spec/chewy/search/parameters/search_after_spec.rb +32 -0
- data/spec/chewy/search/parameters/search_type_spec.rb +5 -0
- data/spec/chewy/search/parameters/source_spec.rb +156 -0
- data/spec/chewy/search/parameters/storage_spec.rb +60 -0
- data/spec/chewy/search/parameters/stored_fields_spec.rb +126 -0
- data/spec/chewy/search/parameters/string_array_storage_examples.rb +63 -0
- data/spec/chewy/search/parameters/string_storage_examples.rb +32 -0
- data/spec/chewy/search/parameters/suggest_spec.rb +5 -0
- data/spec/chewy/search/parameters/terminate_after_spec.rb +5 -0
- data/spec/chewy/search/parameters/timeout_spec.rb +5 -0
- data/spec/chewy/search/parameters/track_scores_spec.rb +5 -0
- data/spec/chewy/search/parameters/types_spec.rb +5 -0
- data/spec/chewy/search/parameters/version_spec.rb +5 -0
- data/spec/chewy/search/parameters_spec.rb +145 -0
- data/spec/chewy/search/query_proxy_spec.rb +68 -0
- data/spec/chewy/search/request_spec.rb +685 -0
- data/spec/chewy/search/response_spec.rb +192 -0
- data/spec/chewy/search/scrolling_spec.rb +169 -0
- data/spec/chewy/search_spec.rb +37 -20
- data/spec/chewy/stash_spec.rb +95 -0
- data/spec/chewy/strategy/active_job_spec.rb +8 -2
- data/spec/chewy/strategy/atomic_spec.rb +4 -1
- data/spec/chewy/strategy/resque_spec.rb +8 -2
- data/spec/chewy/strategy/shoryuken_spec.rb +66 -0
- data/spec/chewy/strategy/sidekiq_spec.rb +10 -2
- data/spec/chewy/strategy_spec.rb +6 -6
- data/spec/chewy/type/actions_spec.rb +29 -10
- data/spec/chewy/type/adapter/active_record_spec.rb +357 -139
- data/spec/chewy/type/adapter/mongoid_spec.rb +220 -101
- data/spec/chewy/type/adapter/object_spec.rb +129 -40
- data/spec/chewy/type/adapter/sequel_spec.rb +304 -152
- data/spec/chewy/type/import/bulk_builder_spec.rb +279 -0
- data/spec/chewy/type/import/bulk_request_spec.rb +102 -0
- data/spec/chewy/type/import/journal_builder_spec.rb +95 -0
- data/spec/chewy/type/import/routine_spec.rb +110 -0
- data/spec/chewy/type/import_spec.rb +360 -244
- data/spec/chewy/type/mapping_spec.rb +96 -29
- data/spec/chewy/type/observe_spec.rb +25 -15
- data/spec/chewy/type/syncer_spec.rb +123 -0
- data/spec/chewy/type/witchcraft_spec.rb +122 -44
- data/spec/chewy/type/wrapper_spec.rb +63 -23
- data/spec/chewy/type_spec.rb +32 -10
- data/spec/chewy_spec.rb +82 -12
- data/spec/spec_helper.rb +16 -2
- data/spec/support/active_record.rb +6 -2
- data/spec/support/class_helpers.rb +4 -19
- data/spec/support/mongoid.rb +17 -5
- data/spec/support/sequel.rb +6 -1
- metadata +250 -57
- data/gemfiles/rails.3.2.activerecord.gemfile +0 -15
- data/gemfiles/rails.3.2.activerecord.kaminari.gemfile +0 -14
- data/gemfiles/rails.3.2.activerecord.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.0.activerecord.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.0.activerecord.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.0.mongoid.4.0.0.gemfile +0 -15
- data/gemfiles/rails.4.0.mongoid.4.0.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.0.mongoid.4.0.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.0.mongoid.5.1.0.gemfile +0 -15
- data/gemfiles/rails.4.0.mongoid.5.1.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.0.mongoid.5.1.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.1.activerecord.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.1.activerecord.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.1.mongoid.4.0.0.gemfile +0 -15
- data/gemfiles/rails.4.1.mongoid.4.0.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.1.mongoid.4.0.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.1.mongoid.5.1.0.gemfile +0 -15
- data/gemfiles/rails.4.1.mongoid.5.1.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.1.mongoid.5.1.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.2.activerecord.kaminari.gemfile +0 -15
- data/gemfiles/rails.4.2.activerecord.will_paginate.gemfile +0 -15
- data/gemfiles/rails.4.2.mongoid.4.0.0.gemfile +0 -15
- data/gemfiles/rails.4.2.mongoid.4.0.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.2.mongoid.4.0.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.4.2.mongoid.5.1.0.gemfile +0 -15
- data/gemfiles/rails.4.2.mongoid.5.1.0.kaminari.gemfile +0 -14
- data/gemfiles/rails.4.2.mongoid.5.1.0.will_paginate.gemfile +0 -14
- data/gemfiles/rails.5.0.0.beta3.activerecord.gemfile +0 -16
- data/gemfiles/rails.5.0.0.beta3.activerecord.kaminari.gemfile +0 -16
- data/gemfiles/rails.5.0.0.beta3.activerecord.will_paginate.gemfile +0 -15
- data/gemfiles/sequel.4.31.gemfile +0 -13
- data/lib/chewy/query/pagination/will_paginate.rb +0 -27
- data/lib/chewy/query/scoping.rb +0 -20
- data/spec/chewy/query/pagination/will_paginage_spec.rb +0 -60
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chewy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pyromaniac
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: appraisal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: database_cleaner
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,21 +39,21 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: elasticsearch-extensions
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: resque_spec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,21 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.7.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.7.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-collection_matchers
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
@@ -95,7 +109,7 @@ dependencies:
|
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: rspec-its
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
@@ -109,7 +123,21 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.52.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.52.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sqlite3
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
114
142
|
requirements:
|
115
143
|
- - ">="
|
@@ -123,7 +151,7 @@ dependencies:
|
|
123
151
|
- !ruby/object:Gem::Version
|
124
152
|
version: '0'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
154
|
+
name: timecop
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
157
|
- - ">="
|
@@ -170,28 +198,42 @@ dependencies:
|
|
170
198
|
requirements:
|
171
199
|
- - ">="
|
172
200
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
201
|
+
version: '4.0'
|
174
202
|
type: :runtime
|
175
203
|
prerelease: false
|
176
204
|
version_requirements: !ruby/object:Gem::Requirement
|
177
205
|
requirements:
|
178
206
|
- - ">="
|
179
207
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
208
|
+
version: '4.0'
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
210
|
name: elasticsearch
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
184
212
|
requirements:
|
185
213
|
- - ">="
|
186
214
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
215
|
+
version: 2.0.0
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 2.0.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: elasticsearch-dsl
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
188
230
|
type: :runtime
|
189
231
|
prerelease: false
|
190
232
|
version_requirements: !ruby/object:Gem::Requirement
|
191
233
|
requirements:
|
192
234
|
- - ">="
|
193
235
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
236
|
+
version: '0'
|
195
237
|
description: Chewy provides functionality for Elasticsearch index handling, documents
|
196
238
|
import mappings and chainable query DSL
|
197
239
|
email:
|
@@ -202,50 +244,30 @@ extra_rdoc_files: []
|
|
202
244
|
files:
|
203
245
|
- ".gitignore"
|
204
246
|
- ".rspec"
|
247
|
+
- ".rubocop.yml"
|
248
|
+
- ".rubocop_todo.yml"
|
205
249
|
- ".travis.yml"
|
250
|
+
- ".yardopts"
|
206
251
|
- Appraisals
|
207
252
|
- CHANGELOG.md
|
208
253
|
- Gemfile
|
209
254
|
- Guardfile
|
255
|
+
- LEGACY_DSL.md
|
210
256
|
- LICENSE.txt
|
211
257
|
- README.md
|
212
258
|
- Rakefile
|
213
259
|
- chewy.gemspec
|
214
260
|
- filters
|
215
|
-
- gemfiles/rails.3.2.activerecord.gemfile
|
216
|
-
- gemfiles/rails.3.2.activerecord.kaminari.gemfile
|
217
|
-
- gemfiles/rails.3.2.activerecord.will_paginate.gemfile
|
218
261
|
- gemfiles/rails.4.0.activerecord.gemfile
|
219
|
-
- gemfiles/rails.4.0.activerecord.kaminari.gemfile
|
220
|
-
- gemfiles/rails.4.0.activerecord.will_paginate.gemfile
|
221
|
-
- gemfiles/rails.4.0.mongoid.4.0.0.gemfile
|
222
|
-
- gemfiles/rails.4.0.mongoid.4.0.0.kaminari.gemfile
|
223
|
-
- gemfiles/rails.4.0.mongoid.4.0.0.will_paginate.gemfile
|
224
|
-
- gemfiles/rails.4.0.mongoid.5.1.0.gemfile
|
225
|
-
- gemfiles/rails.4.0.mongoid.5.1.0.kaminari.gemfile
|
226
|
-
- gemfiles/rails.4.0.mongoid.5.1.0.will_paginate.gemfile
|
227
262
|
- gemfiles/rails.4.1.activerecord.gemfile
|
228
|
-
- gemfiles/rails.4.1.activerecord.kaminari.gemfile
|
229
|
-
- gemfiles/rails.4.1.activerecord.will_paginate.gemfile
|
230
|
-
- gemfiles/rails.4.1.mongoid.4.0.0.gemfile
|
231
|
-
- gemfiles/rails.4.1.mongoid.4.0.0.kaminari.gemfile
|
232
|
-
- gemfiles/rails.4.1.mongoid.4.0.0.will_paginate.gemfile
|
233
|
-
- gemfiles/rails.4.1.mongoid.5.1.0.gemfile
|
234
|
-
- gemfiles/rails.4.1.mongoid.5.1.0.kaminari.gemfile
|
235
|
-
- gemfiles/rails.4.1.mongoid.5.1.0.will_paginate.gemfile
|
236
263
|
- gemfiles/rails.4.2.activerecord.gemfile
|
237
|
-
- gemfiles/rails.4.2.
|
238
|
-
- gemfiles/rails.
|
239
|
-
- gemfiles/rails.
|
240
|
-
- gemfiles/rails.
|
241
|
-
- gemfiles/rails.
|
242
|
-
- gemfiles/rails.
|
243
|
-
- gemfiles/
|
244
|
-
- gemfiles/rails.4.2.mongoid.5.1.0.will_paginate.gemfile
|
245
|
-
- gemfiles/rails.5.0.0.beta3.activerecord.gemfile
|
246
|
-
- gemfiles/rails.5.0.0.beta3.activerecord.kaminari.gemfile
|
247
|
-
- gemfiles/rails.5.0.0.beta3.activerecord.will_paginate.gemfile
|
248
|
-
- gemfiles/sequel.4.31.gemfile
|
264
|
+
- gemfiles/rails.4.2.mongoid.5.2.gemfile
|
265
|
+
- gemfiles/rails.5.0.activerecord.gemfile
|
266
|
+
- gemfiles/rails.5.0.mongoid.6.1.gemfile
|
267
|
+
- gemfiles/rails.5.1.activerecord.gemfile
|
268
|
+
- gemfiles/rails.5.1.mongoid.6.3.gemfile
|
269
|
+
- gemfiles/rails.5.2.activerecord.gemfile
|
270
|
+
- gemfiles/sequel.4.45.gemfile
|
249
271
|
- lib/chewy.rb
|
250
272
|
- lib/chewy/backports/deep_dup.rb
|
251
273
|
- lib/chewy/backports/duplicable.rb
|
@@ -257,7 +279,12 @@ files:
|
|
257
279
|
- lib/chewy/index/actions.rb
|
258
280
|
- lib/chewy/index/aliases.rb
|
259
281
|
- lib/chewy/index/settings.rb
|
282
|
+
- lib/chewy/index/specification.rb
|
283
|
+
- lib/chewy/journal.rb
|
260
284
|
- lib/chewy/log_subscriber.rb
|
285
|
+
- lib/chewy/minitest.rb
|
286
|
+
- lib/chewy/minitest/helpers.rb
|
287
|
+
- lib/chewy/minitest/search_index_receiver.rb
|
261
288
|
- lib/chewy/query.rb
|
262
289
|
- lib/chewy/query/compose.rb
|
263
290
|
- lib/chewy/query/criteria.rb
|
@@ -284,9 +311,6 @@ files:
|
|
284
311
|
- lib/chewy/query/nodes/regexp.rb
|
285
312
|
- lib/chewy/query/nodes/script.rb
|
286
313
|
- lib/chewy/query/pagination.rb
|
287
|
-
- lib/chewy/query/pagination/kaminari.rb
|
288
|
-
- lib/chewy/query/pagination/will_paginate.rb
|
289
|
-
- lib/chewy/query/scoping.rb
|
290
314
|
- lib/chewy/railtie.rb
|
291
315
|
- lib/chewy/rake_helper.rb
|
292
316
|
- lib/chewy/repository.rb
|
@@ -295,12 +319,61 @@ files:
|
|
295
319
|
- lib/chewy/runtime.rb
|
296
320
|
- lib/chewy/runtime/version.rb
|
297
321
|
- lib/chewy/search.rb
|
322
|
+
- lib/chewy/search/loader.rb
|
323
|
+
- lib/chewy/search/pagination/kaminari.rb
|
324
|
+
- lib/chewy/search/pagination/will_paginate.rb
|
325
|
+
- lib/chewy/search/parameters.rb
|
326
|
+
- lib/chewy/search/parameters/aggs.rb
|
327
|
+
- lib/chewy/search/parameters/allow_partial_search_results.rb
|
328
|
+
- lib/chewy/search/parameters/concerns/bool_storage.rb
|
329
|
+
- lib/chewy/search/parameters/concerns/hash_storage.rb
|
330
|
+
- lib/chewy/search/parameters/concerns/integer_storage.rb
|
331
|
+
- lib/chewy/search/parameters/concerns/query_storage.rb
|
332
|
+
- lib/chewy/search/parameters/concerns/string_array_storage.rb
|
333
|
+
- lib/chewy/search/parameters/concerns/string_storage.rb
|
334
|
+
- lib/chewy/search/parameters/docvalue_fields.rb
|
335
|
+
- lib/chewy/search/parameters/explain.rb
|
336
|
+
- lib/chewy/search/parameters/filter.rb
|
337
|
+
- lib/chewy/search/parameters/highlight.rb
|
338
|
+
- lib/chewy/search/parameters/indices.rb
|
339
|
+
- lib/chewy/search/parameters/indices_boost.rb
|
340
|
+
- lib/chewy/search/parameters/limit.rb
|
341
|
+
- lib/chewy/search/parameters/load.rb
|
342
|
+
- lib/chewy/search/parameters/min_score.rb
|
343
|
+
- lib/chewy/search/parameters/none.rb
|
344
|
+
- lib/chewy/search/parameters/offset.rb
|
345
|
+
- lib/chewy/search/parameters/order.rb
|
346
|
+
- lib/chewy/search/parameters/post_filter.rb
|
347
|
+
- lib/chewy/search/parameters/preference.rb
|
348
|
+
- lib/chewy/search/parameters/profile.rb
|
349
|
+
- lib/chewy/search/parameters/query.rb
|
350
|
+
- lib/chewy/search/parameters/request_cache.rb
|
351
|
+
- lib/chewy/search/parameters/rescore.rb
|
352
|
+
- lib/chewy/search/parameters/script_fields.rb
|
353
|
+
- lib/chewy/search/parameters/search_after.rb
|
354
|
+
- lib/chewy/search/parameters/search_type.rb
|
355
|
+
- lib/chewy/search/parameters/source.rb
|
356
|
+
- lib/chewy/search/parameters/storage.rb
|
357
|
+
- lib/chewy/search/parameters/stored_fields.rb
|
358
|
+
- lib/chewy/search/parameters/suggest.rb
|
359
|
+
- lib/chewy/search/parameters/terminate_after.rb
|
360
|
+
- lib/chewy/search/parameters/timeout.rb
|
361
|
+
- lib/chewy/search/parameters/track_scores.rb
|
362
|
+
- lib/chewy/search/parameters/types.rb
|
363
|
+
- lib/chewy/search/parameters/version.rb
|
364
|
+
- lib/chewy/search/query_proxy.rb
|
365
|
+
- lib/chewy/search/request.rb
|
366
|
+
- lib/chewy/search/response.rb
|
367
|
+
- lib/chewy/search/scoping.rb
|
368
|
+
- lib/chewy/search/scrolling.rb
|
369
|
+
- lib/chewy/stash.rb
|
298
370
|
- lib/chewy/strategy.rb
|
299
371
|
- lib/chewy/strategy/active_job.rb
|
300
372
|
- lib/chewy/strategy/atomic.rb
|
301
373
|
- lib/chewy/strategy/base.rb
|
302
374
|
- lib/chewy/strategy/bypass.rb
|
303
375
|
- lib/chewy/strategy/resque.rb
|
376
|
+
- lib/chewy/strategy/shoryuken.rb
|
304
377
|
- lib/chewy/strategy/sidekiq.rb
|
305
378
|
- lib/chewy/strategy/urgent.rb
|
306
379
|
- lib/chewy/type.rb
|
@@ -313,8 +386,13 @@ files:
|
|
313
386
|
- lib/chewy/type/adapter/sequel.rb
|
314
387
|
- lib/chewy/type/crutch.rb
|
315
388
|
- lib/chewy/type/import.rb
|
389
|
+
- lib/chewy/type/import/bulk_builder.rb
|
390
|
+
- lib/chewy/type/import/bulk_request.rb
|
391
|
+
- lib/chewy/type/import/journal_builder.rb
|
392
|
+
- lib/chewy/type/import/routine.rb
|
316
393
|
- lib/chewy/type/mapping.rb
|
317
394
|
- lib/chewy/type/observe.rb
|
395
|
+
- lib/chewy/type/syncer.rb
|
318
396
|
- lib/chewy/type/witchcraft.rb
|
319
397
|
- lib/chewy/type/wrapper.rb
|
320
398
|
- lib/chewy/version.rb
|
@@ -329,7 +407,11 @@ files:
|
|
329
407
|
- spec/chewy/index/actions_spec.rb
|
330
408
|
- spec/chewy/index/aliases_spec.rb
|
331
409
|
- spec/chewy/index/settings_spec.rb
|
410
|
+
- spec/chewy/index/specification_spec.rb
|
332
411
|
- spec/chewy/index_spec.rb
|
412
|
+
- spec/chewy/journal_spec.rb
|
413
|
+
- spec/chewy/minitest/helpers_spec.rb
|
414
|
+
- spec/chewy/minitest/search_index_receiver_spec.rb
|
333
415
|
- spec/chewy/query/criteria_spec.rb
|
334
416
|
- spec/chewy/query/filters_spec.rb
|
335
417
|
- spec/chewy/query/loading_spec.rb
|
@@ -350,17 +432,66 @@ files:
|
|
350
432
|
- spec/chewy/query/nodes/regexp_spec.rb
|
351
433
|
- spec/chewy/query/nodes/script_spec.rb
|
352
434
|
- spec/chewy/query/pagination/kaminari_spec.rb
|
353
|
-
- spec/chewy/query/pagination/
|
435
|
+
- spec/chewy/query/pagination/will_paginate_spec.rb
|
354
436
|
- spec/chewy/query/pagination_spec.rb
|
355
437
|
- spec/chewy/query_spec.rb
|
438
|
+
- spec/chewy/rake_helper_spec.rb
|
356
439
|
- spec/chewy/repository_spec.rb
|
357
440
|
- spec/chewy/rspec/update_index_spec.rb
|
358
441
|
- spec/chewy/runtime/version_spec.rb
|
359
442
|
- spec/chewy/runtime_spec.rb
|
443
|
+
- spec/chewy/search/loader_spec.rb
|
444
|
+
- spec/chewy/search/pagination/kaminari_examples.rb
|
445
|
+
- spec/chewy/search/pagination/kaminari_spec.rb
|
446
|
+
- spec/chewy/search/pagination/will_paginate_examples.rb
|
447
|
+
- spec/chewy/search/pagination/will_paginate_spec.rb
|
448
|
+
- spec/chewy/search/parameters/aggs_spec.rb
|
449
|
+
- spec/chewy/search/parameters/bool_storage_examples.rb
|
450
|
+
- spec/chewy/search/parameters/docvalue_fields_spec.rb
|
451
|
+
- spec/chewy/search/parameters/explain_spec.rb
|
452
|
+
- spec/chewy/search/parameters/filter_spec.rb
|
453
|
+
- spec/chewy/search/parameters/hash_storage_examples.rb
|
454
|
+
- spec/chewy/search/parameters/highlight_spec.rb
|
455
|
+
- spec/chewy/search/parameters/indices_spec.rb
|
456
|
+
- spec/chewy/search/parameters/integer_storage_examples.rb
|
457
|
+
- spec/chewy/search/parameters/limit_spec.rb
|
458
|
+
- spec/chewy/search/parameters/load_spec.rb
|
459
|
+
- spec/chewy/search/parameters/min_score_spec.rb
|
460
|
+
- spec/chewy/search/parameters/none_spec.rb
|
461
|
+
- spec/chewy/search/parameters/offset_spec.rb
|
462
|
+
- spec/chewy/search/parameters/order_spec.rb
|
463
|
+
- spec/chewy/search/parameters/post_filter_spec.rb
|
464
|
+
- spec/chewy/search/parameters/preference_spec.rb
|
465
|
+
- spec/chewy/search/parameters/profile_spec.rb
|
466
|
+
- spec/chewy/search/parameters/query_spec.rb
|
467
|
+
- spec/chewy/search/parameters/query_storage_examples.rb
|
468
|
+
- spec/chewy/search/parameters/request_cache_spec.rb
|
469
|
+
- spec/chewy/search/parameters/rescore_spec.rb
|
470
|
+
- spec/chewy/search/parameters/script_fields_spec.rb
|
471
|
+
- spec/chewy/search/parameters/search_after_spec.rb
|
472
|
+
- spec/chewy/search/parameters/search_type_spec.rb
|
473
|
+
- spec/chewy/search/parameters/source_spec.rb
|
474
|
+
- spec/chewy/search/parameters/storage_spec.rb
|
475
|
+
- spec/chewy/search/parameters/stored_fields_spec.rb
|
476
|
+
- spec/chewy/search/parameters/string_array_storage_examples.rb
|
477
|
+
- spec/chewy/search/parameters/string_storage_examples.rb
|
478
|
+
- spec/chewy/search/parameters/suggest_spec.rb
|
479
|
+
- spec/chewy/search/parameters/terminate_after_spec.rb
|
480
|
+
- spec/chewy/search/parameters/timeout_spec.rb
|
481
|
+
- spec/chewy/search/parameters/track_scores_spec.rb
|
482
|
+
- spec/chewy/search/parameters/types_spec.rb
|
483
|
+
- spec/chewy/search/parameters/version_spec.rb
|
484
|
+
- spec/chewy/search/parameters_spec.rb
|
485
|
+
- spec/chewy/search/query_proxy_spec.rb
|
486
|
+
- spec/chewy/search/request_spec.rb
|
487
|
+
- spec/chewy/search/response_spec.rb
|
488
|
+
- spec/chewy/search/scrolling_spec.rb
|
360
489
|
- spec/chewy/search_spec.rb
|
490
|
+
- spec/chewy/stash_spec.rb
|
361
491
|
- spec/chewy/strategy/active_job_spec.rb
|
362
492
|
- spec/chewy/strategy/atomic_spec.rb
|
363
493
|
- spec/chewy/strategy/resque_spec.rb
|
494
|
+
- spec/chewy/strategy/shoryuken_spec.rb
|
364
495
|
- spec/chewy/strategy/sidekiq_spec.rb
|
365
496
|
- spec/chewy/strategy_spec.rb
|
366
497
|
- spec/chewy/type/actions_spec.rb
|
@@ -368,9 +499,14 @@ files:
|
|
368
499
|
- spec/chewy/type/adapter/mongoid_spec.rb
|
369
500
|
- spec/chewy/type/adapter/object_spec.rb
|
370
501
|
- spec/chewy/type/adapter/sequel_spec.rb
|
502
|
+
- spec/chewy/type/import/bulk_builder_spec.rb
|
503
|
+
- spec/chewy/type/import/bulk_request_spec.rb
|
504
|
+
- spec/chewy/type/import/journal_builder_spec.rb
|
505
|
+
- spec/chewy/type/import/routine_spec.rb
|
371
506
|
- spec/chewy/type/import_spec.rb
|
372
507
|
- spec/chewy/type/mapping_spec.rb
|
373
508
|
- spec/chewy/type/observe_spec.rb
|
509
|
+
- spec/chewy/type/syncer_spec.rb
|
374
510
|
- spec/chewy/type/witchcraft_spec.rb
|
375
511
|
- spec/chewy/type/wrapper_spec.rb
|
376
512
|
- spec/chewy/type_spec.rb
|
@@ -400,8 +536,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
400
536
|
- !ruby/object:Gem::Version
|
401
537
|
version: '0'
|
402
538
|
requirements: []
|
403
|
-
|
404
|
-
rubygems_version: 2.4.8
|
539
|
+
rubygems_version: 3.0.6
|
405
540
|
signing_key:
|
406
541
|
specification_version: 4
|
407
542
|
summary: Elasticsearch ODM client wrapper
|
@@ -413,7 +548,11 @@ test_files:
|
|
413
548
|
- spec/chewy/index/actions_spec.rb
|
414
549
|
- spec/chewy/index/aliases_spec.rb
|
415
550
|
- spec/chewy/index/settings_spec.rb
|
551
|
+
- spec/chewy/index/specification_spec.rb
|
416
552
|
- spec/chewy/index_spec.rb
|
553
|
+
- spec/chewy/journal_spec.rb
|
554
|
+
- spec/chewy/minitest/helpers_spec.rb
|
555
|
+
- spec/chewy/minitest/search_index_receiver_spec.rb
|
417
556
|
- spec/chewy/query/criteria_spec.rb
|
418
557
|
- spec/chewy/query/filters_spec.rb
|
419
558
|
- spec/chewy/query/loading_spec.rb
|
@@ -434,17 +573,66 @@ test_files:
|
|
434
573
|
- spec/chewy/query/nodes/regexp_spec.rb
|
435
574
|
- spec/chewy/query/nodes/script_spec.rb
|
436
575
|
- spec/chewy/query/pagination/kaminari_spec.rb
|
437
|
-
- spec/chewy/query/pagination/
|
576
|
+
- spec/chewy/query/pagination/will_paginate_spec.rb
|
438
577
|
- spec/chewy/query/pagination_spec.rb
|
439
578
|
- spec/chewy/query_spec.rb
|
579
|
+
- spec/chewy/rake_helper_spec.rb
|
440
580
|
- spec/chewy/repository_spec.rb
|
441
581
|
- spec/chewy/rspec/update_index_spec.rb
|
442
582
|
- spec/chewy/runtime/version_spec.rb
|
443
583
|
- spec/chewy/runtime_spec.rb
|
584
|
+
- spec/chewy/search/loader_spec.rb
|
585
|
+
- spec/chewy/search/pagination/kaminari_examples.rb
|
586
|
+
- spec/chewy/search/pagination/kaminari_spec.rb
|
587
|
+
- spec/chewy/search/pagination/will_paginate_examples.rb
|
588
|
+
- spec/chewy/search/pagination/will_paginate_spec.rb
|
589
|
+
- spec/chewy/search/parameters/aggs_spec.rb
|
590
|
+
- spec/chewy/search/parameters/bool_storage_examples.rb
|
591
|
+
- spec/chewy/search/parameters/docvalue_fields_spec.rb
|
592
|
+
- spec/chewy/search/parameters/explain_spec.rb
|
593
|
+
- spec/chewy/search/parameters/filter_spec.rb
|
594
|
+
- spec/chewy/search/parameters/hash_storage_examples.rb
|
595
|
+
- spec/chewy/search/parameters/highlight_spec.rb
|
596
|
+
- spec/chewy/search/parameters/indices_spec.rb
|
597
|
+
- spec/chewy/search/parameters/integer_storage_examples.rb
|
598
|
+
- spec/chewy/search/parameters/limit_spec.rb
|
599
|
+
- spec/chewy/search/parameters/load_spec.rb
|
600
|
+
- spec/chewy/search/parameters/min_score_spec.rb
|
601
|
+
- spec/chewy/search/parameters/none_spec.rb
|
602
|
+
- spec/chewy/search/parameters/offset_spec.rb
|
603
|
+
- spec/chewy/search/parameters/order_spec.rb
|
604
|
+
- spec/chewy/search/parameters/post_filter_spec.rb
|
605
|
+
- spec/chewy/search/parameters/preference_spec.rb
|
606
|
+
- spec/chewy/search/parameters/profile_spec.rb
|
607
|
+
- spec/chewy/search/parameters/query_spec.rb
|
608
|
+
- spec/chewy/search/parameters/query_storage_examples.rb
|
609
|
+
- spec/chewy/search/parameters/request_cache_spec.rb
|
610
|
+
- spec/chewy/search/parameters/rescore_spec.rb
|
611
|
+
- spec/chewy/search/parameters/script_fields_spec.rb
|
612
|
+
- spec/chewy/search/parameters/search_after_spec.rb
|
613
|
+
- spec/chewy/search/parameters/search_type_spec.rb
|
614
|
+
- spec/chewy/search/parameters/source_spec.rb
|
615
|
+
- spec/chewy/search/parameters/storage_spec.rb
|
616
|
+
- spec/chewy/search/parameters/stored_fields_spec.rb
|
617
|
+
- spec/chewy/search/parameters/string_array_storage_examples.rb
|
618
|
+
- spec/chewy/search/parameters/string_storage_examples.rb
|
619
|
+
- spec/chewy/search/parameters/suggest_spec.rb
|
620
|
+
- spec/chewy/search/parameters/terminate_after_spec.rb
|
621
|
+
- spec/chewy/search/parameters/timeout_spec.rb
|
622
|
+
- spec/chewy/search/parameters/track_scores_spec.rb
|
623
|
+
- spec/chewy/search/parameters/types_spec.rb
|
624
|
+
- spec/chewy/search/parameters/version_spec.rb
|
625
|
+
- spec/chewy/search/parameters_spec.rb
|
626
|
+
- spec/chewy/search/query_proxy_spec.rb
|
627
|
+
- spec/chewy/search/request_spec.rb
|
628
|
+
- spec/chewy/search/response_spec.rb
|
629
|
+
- spec/chewy/search/scrolling_spec.rb
|
444
630
|
- spec/chewy/search_spec.rb
|
631
|
+
- spec/chewy/stash_spec.rb
|
445
632
|
- spec/chewy/strategy/active_job_spec.rb
|
446
633
|
- spec/chewy/strategy/atomic_spec.rb
|
447
634
|
- spec/chewy/strategy/resque_spec.rb
|
635
|
+
- spec/chewy/strategy/shoryuken_spec.rb
|
448
636
|
- spec/chewy/strategy/sidekiq_spec.rb
|
449
637
|
- spec/chewy/strategy_spec.rb
|
450
638
|
- spec/chewy/type/actions_spec.rb
|
@@ -452,9 +640,14 @@ test_files:
|
|
452
640
|
- spec/chewy/type/adapter/mongoid_spec.rb
|
453
641
|
- spec/chewy/type/adapter/object_spec.rb
|
454
642
|
- spec/chewy/type/adapter/sequel_spec.rb
|
643
|
+
- spec/chewy/type/import/bulk_builder_spec.rb
|
644
|
+
- spec/chewy/type/import/bulk_request_spec.rb
|
645
|
+
- spec/chewy/type/import/journal_builder_spec.rb
|
646
|
+
- spec/chewy/type/import/routine_spec.rb
|
455
647
|
- spec/chewy/type/import_spec.rb
|
456
648
|
- spec/chewy/type/mapping_spec.rb
|
457
649
|
- spec/chewy/type/observe_spec.rb
|
650
|
+
- spec/chewy/type/syncer_spec.rb
|
458
651
|
- spec/chewy/type/witchcraft_spec.rb
|
459
652
|
- spec/chewy/type/wrapper_spec.rb
|
460
653
|
- spec/chewy/type_spec.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "activerecord", "~> 3.2.0"
|
6
|
-
gem "activesupport", "~> 3.2.0"
|
7
|
-
gem "resque", :require => false
|
8
|
-
gem "sidekiq", :require => false
|
9
|
-
|
10
|
-
group :test do
|
11
|
-
gem "guard"
|
12
|
-
gem "guard-rspec"
|
13
|
-
end
|
14
|
-
|
15
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "activerecord", "~> 3.2.0"
|
6
|
-
gem "activesupport", "~> 3.2.0"
|
7
|
-
gem "kaminari", "0.16.3", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "activerecord", "~> 3.2.0"
|
6
|
-
gem "activesupport", "~> 3.2.0"
|
7
|
-
gem "will_paginate", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "activerecord", "~> 4.0.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "kaminari", "0.16.3", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "activerecord", "~> 4.0.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "will_paginate", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "mongoid", "> 4.0.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "resque", :require => false
|
8
|
-
gem "sidekiq", :require => false
|
9
|
-
|
10
|
-
group :test do
|
11
|
-
gem "guard"
|
12
|
-
gem "guard-rspec"
|
13
|
-
end
|
14
|
-
|
15
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "mongoid", "> 4.0.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "kaminari", "0.16.3", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "mongoid", "> 4.0.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "will_paginate", :require => false
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem "guard"
|
11
|
-
gem "guard-rspec"
|
12
|
-
end
|
13
|
-
|
14
|
-
gemspec :path => "../"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "mongoid", "> 5.1.0"
|
6
|
-
gem "activesupport", "~> 4.0.0"
|
7
|
-
gem "resque", :require => false
|
8
|
-
gem "sidekiq", :require => false
|
9
|
-
|
10
|
-
group :test do
|
11
|
-
gem "guard"
|
12
|
-
gem "guard-rspec"
|
13
|
-
end
|
14
|
-
|
15
|
-
gemspec :path => "../"
|