search_solr_tools 3.1.3.pre2 → 3.2.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/bin/search_solr_tools +7 -1
- data/lib/search_solr_tools/version.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: 87676940487a5e00bc89cb32f617178da4f9cdfc
|
4
|
+
data.tar.gz: 2d224328506623b8e5ccb92d3353b0a8649bc569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c0f6dfb13350599950439af53db0430321cebd87a74bdd2bce5fbbc31ae2a06e3403c68d68a109cae17c78128a22b7fb4c0f7d61b15464b96ebfcfd681b52f
|
7
|
+
data.tar.gz: d160d4fadc84d0d14cfdcd5474099231fb3dee10dda83b9002b52b30eb077f0893bebb621c333a3a6e9d564ad3eacd1c4dfb393b3a15e1e433f5f7836a390c3d
|
data/CHANGELOG.md
CHANGED
data/bin/search_solr_tools
CHANGED
@@ -3,11 +3,17 @@ require 'search_solr_tools'
|
|
3
3
|
require 'thor'
|
4
4
|
|
5
5
|
class SolrHarvestCLI < Thor
|
6
|
+
map %w[--version -v] => :__print_version
|
7
|
+
|
8
|
+
desc "--version, -v", "print the version"
|
9
|
+
def __print_version
|
10
|
+
puts SearchSolrTools::VERSION
|
11
|
+
end
|
12
|
+
|
6
13
|
desc 'harvest', 'Harvest from one of the ADE harvesters'
|
7
14
|
option :data_center, type: :array, required: true
|
8
15
|
option :environment, required: true
|
9
16
|
option :die_on_failure, type: :boolean
|
10
|
-
|
11
17
|
def harvest(die_on_failure = options[:die_on_failure] || false)
|
12
18
|
options[:data_center].each do |target|
|
13
19
|
puts target
|