arelastic 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 425f1a7be6e0fec994a3283b8e3cc9b8b173029e440b085e70c4ae5527e21f28
4
- data.tar.gz: fa0fa7ec5b9c51059cd90794fb0c79f1b02c57709a54f227a4966874a7701df9
3
+ metadata.gz: '06329030565acadfbe92651b4980a1f51d1359c9817b01f78cdae14cd703f091'
4
+ data.tar.gz: 2b8461745e65260efbc515197a0cc3a3af6aae75c7f8a10db9befab84ebcf175
5
5
  SHA512:
6
- metadata.gz: 142ab29eec840ae2b42ed8692582405e5f89b402929dd4dcc7eebd67045bde4dbf1617e5fb6a705f4aeb403a615017ba0232073f9e51ff88aeca7300b8aeb6de
7
- data.tar.gz: ae54f4827a0498e3ef6b3e4098c8e7a161afe563a35fb85921b2c10c45519b69c99012625c9f07b45ae0779bad46b9cfb2354d6435c27004054f9b1c540fa94f
6
+ metadata.gz: 58cf7a1fd5e96cf239cb8ec364c92c95ae8d06f14805ee2680e31e9712600f36fe623ee3294b911eafd6d6c4bb9243558dc9a969d97062d344f4faedeabc13e8
7
+ data.tar.gz: 959f924208f445d4941e157099f4322c76d324bb2c592be61e1f225591dfbf0be0a9005db9bb228d584c5737b494eaeeed8a896e97a24618d9751a589e2a3578
@@ -12,3 +12,4 @@ require 'arelastic/aggregations/range'
12
12
  require 'arelastic/aggregations/reverse_nested'
13
13
  require 'arelastic/aggregations/sampler'
14
14
  require 'arelastic/aggregations/terms'
15
+ require 'arelastic/aggregations/value_count'
@@ -0,0 +1,9 @@
1
+ module Arelastic
2
+ module Aggregations
3
+ class ValueCount < Arelastic::Aggregations::Aggregation
4
+ def as_elastic_aggregation
5
+ {'value_count' => options}
6
+ end
7
+ end
8
+ end
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arelastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Higgins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-02 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Build Elastic Search queries with objects
14
14
  email: developer@matthewhiggins.com
@@ -33,6 +33,7 @@ files:
33
33
  - lib/arelastic/aggregations/reverse_nested.rb
34
34
  - lib/arelastic/aggregations/sampler.rb
35
35
  - lib/arelastic/aggregations/terms.rb
36
+ - lib/arelastic/aggregations/value_count.rb
36
37
  - lib/arelastic/arities.rb
37
38
  - lib/arelastic/arities/binary.rb
38
39
  - lib/arelastic/arities/polyadic.rb