solr_wrapper 0.14.1 → 0.14.2

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: 7fb9fd924bd9d51879c179073f0cb85a3350411c
4
- data.tar.gz: 15a139f481043b67f04cef95604d3fde79338e9c
3
+ metadata.gz: e193e8dddad4fbf0cc71dfac3d804ed512365926
4
+ data.tar.gz: 549e546982fa947bcb91924370adbef503a73406
5
5
  SHA512:
6
- metadata.gz: bc5b7d1097e8e828cc202ddc9d20218ff0e19d0214000ac270b3c63e3642bb2f0bac496ff1aca5495eb5366545062c24e7fa9c631236e2bea561a152c2739462
7
- data.tar.gz: 5015ad39924eb0ff71589029ceb344901a80876b51635be1d1a9c1548b50bd1128f6641bcb191bfc4d3a9738bf5ffe9406595aacf9010f8501df4732698f4d2e
6
+ metadata.gz: 0b38499e3b53ac515efd53db94aacf8ff4114015c6485e1cf1b3111beb596d57ce694a38e9fc36b4f9a43cf2f20479aa6e0711884533e0dabeca371a58b1a023
7
+ data.tar.gz: 93a343f6b731a1e9c5b3da08ce8b3929510f993a75fcc8da552551d61be6e046afbb8df3f176dd42ab21f0411305b2649a13e64aefc3242e0678344bd28b24f3
data/exe/solr_wrapper CHANGED
@@ -81,7 +81,10 @@ subcommands = {
81
81
  begin
82
82
  args.order!
83
83
  command = ARGV.shift
84
- subcommands[command].order! if command
84
+ if command
85
+ raise "Bad subcommand: #{command}" unless subcommands[command]
86
+ subcommands[command].order!
87
+ end
85
88
  args.parse!
86
89
  rescue => error
87
90
  $stderr.puts "ERROR: #{error}\n"
@@ -1,3 +1,3 @@
1
1
  module SolrWrapper
2
- VERSION = '0.14.1'
2
+ VERSION = '0.14.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-07 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday