es_dump_restore 2.2.1 → 2.2.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: 1c188ed29e05a09e425c2003846c579f2ba26ffc
4
- data.tar.gz: 07806afb5097778e4251b7782954db47d248f5fc
3
+ metadata.gz: a4965b79edc9ae5cc1f6eaf0f27199792ee991d9
4
+ data.tar.gz: 1f061a54c152128037b5510e0ec901ebef0d5799
5
5
  SHA512:
6
- metadata.gz: e253d22358036f4186cd32ff576712fb52cf9314ff16fd64c9e074cd1759625684e39278e4110032abb4271c1815d70d09967022d055d7150d3ff60d3205d2ca
7
- data.tar.gz: 9e6090b5add8353d9f19a1ca7669b0445e75cb3a6036cfe9e3ef25dd31a73f13e38704db410bac4e154bc3de53c4c385984504f74ab1873af5a2fb467d681a7c
6
+ metadata.gz: 5b1609965037f9a4e0acf23fa29e3ebcb7c5756d5098e90edd255de74c353eb9823070922fe2e444537120d832bd43c51923c23297d09f881fdf683551c7b8f9
7
+ data.tar.gz: aa4cc30bf4c3299a4f388b9103e1d043525f27003a8d72cd2286252fdae1c6497ccb42de2980b618b95229aab55d84b4cad5dcf8937abfd41181a253f7b06cda
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # Version 2.2.2 - November 13, 2017
2
+
3
+ * Fix for incorrect parsing of the retry command-line parameter (thanks to Mat Moore!)
4
+
1
5
  # Version 2.2.1 - November 10, 2017
2
6
 
3
7
  * Add a 5-second sleep between retries (thanks to David Henry!)
@@ -43,6 +43,7 @@ module EsDumpRestore
43
43
  desc "restore_alias URL ALIAS_NAME INDEX_NAME FILENAME", "Restores a dumpfile into the given ElasticSearch index, and then sets the alias to point at that index, removing any existing indexes pointed at by the alias"
44
44
  def restore_alias(url, alias_name, index_name, filename, overrides = nil,
45
45
  batch_size = 1000, exception_retries = 1)
46
+ exception_retries = exception_retries.to_i
46
47
  client = EsClient.new(url, index_name, nil, exception_retries)
47
48
  client.check_alias alias_name
48
49
 
@@ -1,3 +1,3 @@
1
1
  module EsDumpRestore
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: es_dump_restore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Budin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-10 00:00:00.000000000 Z
11
+ date: 2017-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json