elastic_record 5.3.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3667cdd2ffc2ca7e744f74c570aca1de6217ab14f4ca196cacce22828ac09f55
4
- data.tar.gz: 4099515af51acadaa10531d11c82078db1e239be9bb52f27d6211babd1b3774f
3
+ metadata.gz: e8877637e666a191a2b01fb967d998d36fe0a12023fdb8030a4c719bb77ae246
4
+ data.tar.gz: 8f0136038c8d2b540c0e53e7c650a16ec7e5668274ae07631c2bc63ed3e4469b
5
5
  SHA512:
6
- metadata.gz: e41404a6079677a0e0235c59217c0eebc42829bd07f0b57bff25b9da47cdd1585c29dfa83b614229f4be33da8e2335d58522a4e27a2c00cc3baad5c58bdd3838
7
- data.tar.gz: 5ffbe7ee7525c9319d3b7db41e7ca4e0279f188aefe547b75bdccb1af1798c43564e83611366dcb5900b28c0bc0baf7d768a12da85a004e6060982e8dc086909
6
+ metadata.gz: 8e559697ea16610802ff1e7422cc5365f60098fbbda49565fc7227c1973c90bcacd0f893ee5a221316dde4e14a89338956134698dd5705a01581898f30a0bbb9
7
+ data.tar.gz: ab182a767408f8843d854d79ac2f7f4f19d17ddbde11bbe52393d9eac12360fee38292a09c03a97ef726b76ddaea12ba4fb829a059c2ee505e6541f0cd4dd17c
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'elastic_record'
5
- s.version = '5.3.0'
5
+ s.version = '5.3.1'
6
6
  s.summary = 'An Elasticsearch querying ORM'
7
7
  s.description = 'Find your records with Elasticsearch'
8
8
 
@@ -18,6 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.test_files = `git ls-files -- {test}/*`.split("\n")
20
20
 
21
- s.add_dependency 'arelastic', '>= 2.5.0'
21
+ s.add_dependency 'arelastic', '>= 2.6.0'
22
22
  s.add_dependency 'activemodel'
23
23
  end
@@ -197,11 +197,11 @@ module ElasticRecord
197
197
  filter = build_filter(filters)
198
198
 
199
199
  query_and_filter = if filter
200
- arelastic.query.bool(filter: filter, must: query)
200
+ arelastic.queries.bool(filter: filter, must: query)
201
201
  elsif query
202
202
  query
203
203
  else
204
- arelastic.query.match_all
204
+ arelastic.queries.match_all
205
205
  end
206
206
 
207
207
  Arelastic::Searches::Query.new query_and_filter
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infogroup
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 2.5.0
20
+ version: 2.6.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 2.5.0
27
+ version: 2.6.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activemodel
30
30
  requirement: !ruby/object:Gem::Requirement