elastic-util 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65b4319be21549be3a86ed896834f464f1d36542
4
- data.tar.gz: 40d05eb1c8f6db2d98b5606f14ab5fe26eda6a2d
3
+ metadata.gz: 86b2acc63f7a0ca1b6b9664c0f88f124e87e93cd
4
+ data.tar.gz: c96da7fa8d85ba9c2c3555d61165e4804ef6b6ea
5
5
  SHA512:
6
- metadata.gz: 72cfa5a35d7746aeea475972a132966b120ea9571a3176d218d5c138a13a6661085900856b02ec41a1b10dc7f886c136f4d274d5e2c4e40c33258c8539379b40
7
- data.tar.gz: 96da3e80ab3dfa74f214e6d5d27cd7ec5e3b0b2523faa664ec3894a4eea631d8d2bd005d7ef398f72f0aef09afc20395ba1ae61f52352b520f92085ff5182e1d
6
+ metadata.gz: f34401fb4c4e3b103a1943fc6a5911a0ae8f6289679c86c403c4737fb60c62501cfc7d563b92ec44dc2d8be48136e8a2f35550f53f0cc5928e3b9097827d95b9
7
+ data.tar.gz: ca82e26dc8f73e6ef7437655ded818727a65934797b94f79500db39021ed453362f5fa793ecb4c607721e30a173d5bb367e2311239f9dd53e2eb56de04862c23
data/bin/elastic-util CHANGED
@@ -100,6 +100,8 @@ when "restore"
100
100
  exit 1
101
101
  end
102
102
 
103
+ when "-v"
104
+ puts ElasticUtil::VERSION
103
105
  else
104
106
  $stderr.puts usage
105
107
  exit 1
data/lib/elastic_util.rb CHANGED
@@ -12,7 +12,7 @@ require 'fileutils'
12
12
  #
13
13
  module ElasticUtil
14
14
 
15
- VERSION = "0.1.2"
15
+ VERSION = "0.1.3"
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Dickson