artirix_data_models 0.7.1 → 0.7.2

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
  SHA1:
3
- metadata.gz: f15642b0096a000e01eb83c1ce3016f0af83b001
4
- data.tar.gz: afdfc74dd09d32112a198cf4a5f9c89b2437b84c
3
+ metadata.gz: 380fa6d37b4671df8501052851a1d42394c369f5
4
+ data.tar.gz: b440399a0443708118af1764fd357c09198af1a9
5
5
  SHA512:
6
- metadata.gz: 6484979971c7378ad68acf26d6a9ca4be25869643a111a049b66efd85fce6a2fb80222fb0d039ea8389cd20592dd258f8d95de00e5988aa309cff2540c235ddf
7
- data.tar.gz: d15b73a1ac5588b68178842a2c456055ba4bfe674b516425dabf4baab8ed5ccdef82b89e14e8669b5c1f81ee9abb228b132be92e3767953194957ab7571aa11b
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
@@ -1,3 +1,3 @@
1
1
  module ArtirixDataModels
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
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.1
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-24 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport