elastic-util 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/elastic-util +2 -2
- data/lib/elastic_util.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1605712be564451df792a694f30b74bf78befa6b
|
|
4
|
+
data.tar.gz: 804fc6fe444d9624dbebe7610428baeeb6f80d13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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}
|
|
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}
|
|
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