search_solr_tools 3.1.3.pre2 → 3.2.0.pre3

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: 74bf9594b189bbd05ae04fffaff8a431ee8ad73e
4
- data.tar.gz: 6739088539526ce22e95c1e5e4de024f02509917
3
+ metadata.gz: 87676940487a5e00bc89cb32f617178da4f9cdfc
4
+ data.tar.gz: 2d224328506623b8e5ccb92d3353b0a8649bc569
5
5
  SHA512:
6
- metadata.gz: 01d720a93d61862c78b5494c71b3ed7f09c11ebe4304963b9a8d911643c5f78a8772123babb1ae5316e841be60819190c11c23296b5ecd473f7fb8e0839d6d03
7
- data.tar.gz: d0d4909dd34e3cbe940da7aad635fcc6657fc16ddc15a8a64727b79bac15648542abe95d1900597bdfaf5776c7bcf3d57c693338710cb67d50b82ae88330eb40
6
+ metadata.gz: e7c0f6dfb13350599950439af53db0430321cebd87a74bdd2bce5fbbc31ae2a06e3403c68d68a109cae17c78128a22b7fb4c0f7d61b15464b96ebfcfd681b52f
7
+ data.tar.gz: d160d4fadc84d0d14cfdcd5474099231fb3dee10dda83b9002b52b30eb077f0893bebb621c333a3a6e9d564ad3eacd1c4dfb393b3a15e1e433f5f7836a390c3d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## v3.2.0
2
+
3
+ New Features
4
+
5
+ - Add `harvest` support for
6
+ [Rolling Deck to Repository (R2R)](http://get.rvdata.us/services/cruise/)
7
+ - Add subcommands `-v` and `--version` to display the installed version of the
8
+ gem
9
+
1
10
  ## v3.1.2
2
11
 
3
12
  Changes
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SearchSolrTools
2
- VERSION = '3.1.3.pre2'
2
+ VERSION = '3.2.0.pre3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search_solr_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3.pre2
4
+ version: 3.2.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Chalstrom