es_dump_restore 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@ module EsDumpRestore
59
59
 
60
60
  desc "restore URL INDEX_NAME FILENAME", "Restores a dumpfile into the given ElasticSearch index"
61
61
  def restore(url, index_name, filename)
62
- client = EsClient.new(url, index_name)
62
+ client = EsClient.new(url, index_name, nil)
63
63
 
64
64
  Dumpfile.read(filename) do |dumpfile|
65
65
  client.create_index(dumpfile.index)
@@ -1,3 +1,3 @@
1
1
  module EsDumpRestore
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: es_dump_restore
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nat Budin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-27 00:00:00.000000000 Z
12
+ date: 2013-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  version_requirements: !ruby/object:Gem::Requirement