logstash-input-rss 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: d79615ebbf82864a6ccb003e48d377d44d1636af
4
- data.tar.gz: 80648c3a4ee6476894e7467c3c376ef6bcb38fcf
3
+ metadata.gz: ad31bf0caa8ac04ed75bc4053dfba71c9f377b17
4
+ data.tar.gz: 1814beec15efd7453d0ca80ea6a275c4d4caaa99
5
5
  SHA512:
6
- metadata.gz: 2fd43103f33a67f7292dc240a1d2dfe01a31cb33c61e3792cfc73fc5833d86ccbd7550b713228c11fd3a11e4eb993ffbc6ed2a3d1273178f2fee7bd140de7015
7
- data.tar.gz: 508a41d1d90d216a1ac546f1a4b99354610dc6ace1eb3c5a70995c6008a978d3501f6249c095819047b3c0b0c9f19464f29c935d8ba44f82c03fcf63412f7af5
6
+ metadata.gz: 82249d015f99dd856cacb9de50c30ee2b7ae162e56e9ddfe0af5833b3c00cecc26b6bf96e876ef33b12befb8e21353f10680c727f152b31bda2d3aae4f7170cb
7
+ data.tar.gz: 65b77487588dd651363cfbc14f141969b75246cfa41337c99a467cc7964a6d8d6b82dddc4b86f4af7a6685618d52d9b4b0bc3aef76a37aedc263b4cee0b8fd42
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.3
2
+ - Fixed bug where `queue` variable was being used but not initialized in `handle_response`.
3
+ Ref: https://github.com/logstash-plugins/logstash-input-rss/pull/14
4
+
1
5
  ## 2.0.0
2
6
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
7
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Logstash Plugin
2
2
 
3
+ [![Build
4
+ Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-rss-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-rss-unit/)
5
+
3
6
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
7
 
5
8
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
@@ -40,7 +40,7 @@ class LogStash::Inputs::Rss < LogStash::Inputs::Base
40
40
 
41
41
  # Pull down the RSS feed using FTW so we can make use of future cache functions
42
42
  response = Faraday.get @url
43
- handle_response(response)
43
+ handle_response(response, queue)
44
44
 
45
45
  duration = Time.now - start
46
46
  @logger.info? && @logger.info("Command completed", :command => @command,
@@ -59,7 +59,7 @@ class LogStash::Inputs::Rss < LogStash::Inputs::Base
59
59
  end # loop
60
60
  end
61
61
 
62
- def handle_response(response)
62
+ def handle_response(response, queue)
63
63
  body = response.body
64
64
  # @logger.debug("Body", :body => body)
65
65
  # Parse the RSS feed
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-rss'
4
- s.version = '2.0.2'
4
+ s.version = '2.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Poll an RSS/Atom feed."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-rss
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.4.8
140
+ rubygems_version: 2.4.5
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: Poll an RSS/Atom feed.