peek-elasticsearch 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module Peek
34
34
  end
35
35
 
36
36
  def number_of_replicas
37
- index_health["number_of_replicas"]
37
+ index_health["number_of_replicas"] * number_of_shards
38
38
  end
39
39
 
40
40
  def context
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "peek-elasticsearch"
5
- spec.version = "0.2.0"
5
+ spec.version = "0.2.1"
6
6
  spec.authors = ["Will Farrington"]
7
7
  spec.email = ["wfarr@github.com"]
8
8
  spec.description = %q{Take a peek into your Elasticsearch indices.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peek-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: