logstash-output-custom-solr 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4e4b9ade82563a8c44bf3df221d21180f486ad0ace95d8d17cc660cfdca567d
4
- data.tar.gz: 8fa4578114cd03238c50bacc9436b2fdb8bde9f1123e9480ce683d632f32a252
3
+ metadata.gz: 35e80fb9396d28e256f3711566b0d8bb729cada2b9a32e4f9069476dda97cc3a
4
+ data.tar.gz: 728a130b779fa8dd3f231bb7139d353deb9fb9ed445d18838d6d1872d2432f67
5
5
  SHA512:
6
- metadata.gz: 9b72e8619b943193951c6b6e49b0e4a4d9c8138eee90a5e467c813903d85907833d9519e358aed5c4d7aa88fdbd2b8233260ece598e852794c3fe93ef350edfe
7
- data.tar.gz: 1ee6c2b06e0be9e53fe1c5870c4fac965c4ab6c2c36581af680c96294651a2e5d4af44e3440ebc410c8a73646563f36dd8865ddba2abce4a95bf4317a7e4eba7
6
+ metadata.gz: a40b070243792827c1be3b05bba43cf5a4a00cfbd59d692cce49ab284457565a5cb01967bc5e66918afda25ac64f90ce6c1c723c4de71994a2b34c49d86d0394
7
+ data.tar.gz: cd838abdf107ce39f7b93363113b4dc3bfaaae2a00ef57da3ce53b72c7defdcb7a76ab5b3cf414d63a08ff744b7552a4b9806033fd73c061a46f92a98c8422d7
@@ -95,7 +95,7 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
95
95
 
96
96
  @logger.info 'Record: %s' % document.inspect
97
97
 
98
- if !@collection_field and document.has_key?(@collection_field) then
98
+ if @collection_field and document.has_key?(@collection_field) then
99
99
  collection = document[@collection_field]
100
100
  document.delete(@collection_field)
101
101
  else
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-custom-solr'
3
- s.version = "0.1.11"
3
+ s.version = "0.1.12"
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "Logstash output plugin for sending data to Solr."
6
6
  s.description = "Logstash output plugin for sending data to Solr. It supports SolrCloud, not only Standalone Solr."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-custom-solr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minoru Osuka