artirix_data_models 0.7.1 → 0.7.2
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 +4 -4
- data/README.md +4 -0
- data/lib/artirix_data_models/es_collection.rb +1 -1
- data/lib/artirix_data_models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380fa6d37b4671df8501052851a1d42394c369f5
|
4
|
+
data.tar.gz: b440399a0443708118af1764fd357c09198af1a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c57dae992fcf23e2e63452a1b35e0573074864b32419246d44dd73c79e35683f60e9c82d2a3899553474f5594cf6b051fcf33704576a11e6c2831087f601db6
|
7
|
+
data.tar.gz: 3581671f094cd423ec2a2ed5b9aebc0fc241d5c367bdd57d7731c9ef0bddb4b09d858c4e1a1cce68c14cb7955071e240f9e1877ee67ebcdceec676dd2cab2f20
|
data/README.md
CHANGED
@@ -250,6 +250,10 @@ end
|
|
250
250
|
|
251
251
|
## Changes
|
252
252
|
|
253
|
+
### 0.7.2
|
254
|
+
|
255
|
+
- `EsCollection` now delegates `empty?` to the results.
|
256
|
+
|
253
257
|
### 0.7.1
|
254
258
|
|
255
259
|
- added `MetricAggregation`. Normal `AggregationBuilder` will build an aggregation with that class if instead of `buckets` it finds `value` in the JSON.
|
@@ -118,7 +118,7 @@ module ArtirixDataModels
|
|
118
118
|
@results ||= load_results
|
119
119
|
end
|
120
120
|
|
121
|
-
delegate :first, :drop, :take, :last, :[], :each, :present?, :blank?, to: :results
|
121
|
+
delegate :first, :drop, :take, :last, :[], :each, :present?, :blank?, :empty?, to: :results
|
122
122
|
|
123
123
|
def data_hash(&block)
|
124
124
|
block ||= :data_hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artirix_data_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Turiño
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|