elastic-util 0.1 → 0.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: e7e92f652cfa5c6bcf9c4c66c9d11908f8b793ba
4
- data.tar.gz: 64a823c77a5a7f37f50256f47f800138a1b9d166
3
+ metadata.gz: 1605712be564451df792a694f30b74bf78befa6b
4
+ data.tar.gz: 804fc6fe444d9624dbebe7610428baeeb6f80d13
5
5
  SHA512:
6
- metadata.gz: 49efe68f26f5b18fa7ee9e5a16b921cf564f3b656abb34e9ff6417387ee60f8d0ac69f3f0f4bb9e2bd2b9a2fab9e2986e9302114b02d969999f022eeab2df788
7
- data.tar.gz: 93f14448ac08283321f8a66453f2fc7ed8919388a4607b56cef1ea136acce26077a60093b2e3106611ba5e1cb5e1b17476009dcabd81c40edf7895bb693a5e5d
6
+ metadata.gz: a86df992ead1805df8ad5faccb5ed1b6e7f898ed14ce79b5a8f8be37ca79a4cb14fb0691f1df900800cf0d4bd5c446eccbdb3172f60b1b3f3aba57c166cbf26b
7
+ data.tar.gz: 80179b4b84e18b2f899d5be506b0e81d2c47dbcdddc6b631c23df118c9bcbcb6d757e33047e26927e071a7a4c4ece760f1c2422f99acbc98d844997508c713de
data/bin/elastic-util CHANGED
@@ -13,7 +13,7 @@ when "backup"
13
13
 
14
14
  options = {}
15
15
  optparse = OptionParser.new do |opts|
16
- opts.banner = "Usage: #{prog_name} backup [url] [directory] [options]"
16
+ opts.banner = "Usage: #{prog_name} #{command_name} [url] [directory] [options]"
17
17
  opts.on('--indices x,y,z', Array, "The indices to backup. Default is all.") do |val|
18
18
  options[:indices] = val.collect {|it| it.strip }
19
19
  end
@@ -65,7 +65,7 @@ when "restore"
65
65
 
66
66
  options = {}
67
67
  optparse = OptionParser.new do |opts|
68
- opts.banner = "Usage: #{prog_name} backup [url] [directory] [options]"
68
+ opts.banner = "Usage: #{prog_name} #{command_name} [url] [directory] [options]"
69
69
  opts.on( '-q', '--quiet', "Don't print to stdout. Default is false." ) do |val|
70
70
  options[:quiet] = true
71
71
  end
data/lib/elastic_util.rb CHANGED
@@ -12,7 +12,7 @@ require 'fileutils'
12
12
  #
13
13
  module ElasticUtil
14
14
 
15
- VERSION = "0.1"
15
+ VERSION = "0.1.1"
16
16
 
17
17
  # The name of the data directory, relative to the user provided backup directory.
18
18
  DUMP_DIR = "es_data"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-util
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Dickson