elastics-admin 1.0.6 → 1.0.7
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.
- data/VERSION +1 -1
- data/lib/elastics/admin.rb +2 -2
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.7
|
data/lib/elastics/admin.rb
CHANGED
@@ -54,7 +54,7 @@ module Elastics
|
|
54
54
|
file.puts bulk_string
|
55
55
|
if options[:verbose]
|
56
56
|
total_count += batch.size
|
57
|
-
pbar.pbar.
|
57
|
+
pbar.pbar.progress += batch.size
|
58
58
|
end
|
59
59
|
end
|
60
60
|
file_size = file.size if options[:verbose]
|
@@ -62,7 +62,7 @@ module Elastics
|
|
62
62
|
|
63
63
|
if options[:verbose]
|
64
64
|
formatted_file_size = file_size.to_s.reverse.gsub(/...(?=.)/, '\&,').reverse
|
65
|
-
pbar.pbar.finish
|
65
|
+
pbar.pbar.finish unless pbar.pbar.finished?
|
66
66
|
puts "\n***** WARNING: Expected document to dump: #{total_hits}, dumped: #{total_count}. *****" \
|
67
67
|
unless total_hits == total_count
|
68
68
|
puts "\nDumped #{total_count} documents to #{path} (size: #{formatted_file_size} bytes)"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastics-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.
|
21
|
+
version: 1.0.7
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.
|
29
|
+
version: 1.0.7
|
30
30
|
description: Provides binary and rake tasks to dump, load and optionally rename indices.
|
31
31
|
Implements live-reindex with hot-swap of old code/index with new code/index.
|
32
32
|
email: dd.nexus@gmail.com
|
@@ -71,3 +71,4 @@ signing_key:
|
|
71
71
|
specification_version: 3
|
72
72
|
summary: Dump/load/rename/live-redindex one or more elasticsearch indices and types.
|
73
73
|
test_files: []
|
74
|
+
has_rdoc:
|