elasticsearch-indexstager 1.1.0 → 1.1.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
  SHA1:
3
- metadata.gz: 76c39583b931131ea4295d5e688576aafb1bddd0
4
- data.tar.gz: fd11d8330619935de3806c9d3428d096723a2dd7
3
+ metadata.gz: e053be4eb446c0d947f6c73033aced841a80e9b4
4
+ data.tar.gz: a0da2e598bf71f151012e91e1a76c85088ee942f
5
5
  SHA512:
6
- metadata.gz: 74a48322315750170369c4f8559cfb547b2661615033573c57a214ef89f757b56601e639209bab2605240d44723d925e5adb4c44390f912ad33135d5b248f091
7
- data.tar.gz: c719ff554f84b1f80e01ce7591394521f00d78fafc08491e48b4d3a62b8682568433b865c62decf51725dbd7c2f4a90959b82812d2c350c1d1254363f3262b2b
6
+ metadata.gz: 951fe36de54f59c564a1eee642362b669c4b84dbda32e9f71a7200fb599ccf891d7c35477e82b7763e2fe998c00930a181ec578b44a50e6da1254da52e09fa17
7
+ data.tar.gz: e24b2c128bb726ce758bdcead24f4650553ebbb67a543405bd59c5cc039a20f5061293e250b04202b7702e32cdecf291d792cc6f3f823de44aa3c3a611f5ede6
@@ -2,7 +2,7 @@ require 'securerandom'
2
2
 
3
3
  module Elasticsearch
4
4
  class IndexStager
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
 
7
7
  attr_reader :index_name, :es_client
8
8
 
@@ -75,7 +75,7 @@ module Elasticsearch
75
75
  while( tries < 10 ) do
76
76
  indices = ESHelper.client.indices.get_aliases.keys
77
77
  break if indices.include?(new_name)
78
- tries =+ 1
78
+ tries += 1
79
79
  sleep(1)
80
80
  end
81
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-indexstager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Karman