logstash-input-http_poller 3.3.0 → 3.3.1

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: 09b540a6301e1a170482fffda921fbcc39c62b87
4
- data.tar.gz: 7cb5b2d7a4693442739a74526180479c746ae6d3
3
+ metadata.gz: 7b0d65435aae038dc4f93fc497421782acc65d9a
4
+ data.tar.gz: d1c6ddc5c34e64266abbbdf218b4595262778fc1
5
5
  SHA512:
6
- metadata.gz: b84692ebad4fcc442cbbb5e7909c57f105cdaaa029ad2a9af467544e2b41407f798c3938b25f32429b4fa5d72996e6524b054bc589fd71a5b0cb491d9b83af7a
7
- data.tar.gz: 7760092c26313343a5a994a87a44af5fc25c32de9636596e8c30d510a41882a03d4beda53a4a9aa8e7458ab4a8510f77cb0a8ddbd27d2d7562ef8b4108176ac0
6
+ metadata.gz: 6b85ca1a7e338a3bb6aec056e2c7e345ec5308a98322f83996ce76158ffdd59495b686f85da10a5ce2d921b7ea5ac69a426232bfdf164fee533539a16b532f50
7
+ data.tar.gz: 43b5fcd0a9b248d3e1d29c4b81ae7a99bd9398906bcb92417d5a3a1825453a2988f1b85c7e84f044314c33e08a0fd742e341c501f53bd601c3efca4087eb245e
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
3
  gemspec
4
+
5
+ logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
6
+ use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
7
+
8
+ if Dir.exist?(logstash_path) && use_logstash_source
9
+ gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
10
+ gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
11
+ end
data/docs/index.asciidoc CHANGED
@@ -7,14 +7,14 @@ START - GENERATED VARIABLES, DO NOT EDIT!
7
7
  :version: %VERSION%
8
8
  :release_date: %RELEASE_DATE%
9
9
  :changelog_url: %CHANGELOG_URL%
10
- :include_path: ../../../logstash/docs/include
10
+ :include_path: ../../../../logstash/docs/include
11
11
  ///////////////////////////////////////////
12
12
  END - GENERATED VARIABLES, DO NOT EDIT!
13
13
  ///////////////////////////////////////////
14
14
 
15
15
  [id="plugins-{type}-{plugin}"]
16
16
 
17
- === Http_poller
17
+ === Http_poller input plugin
18
18
 
19
19
  include::{include_path}/plugin_header.asciidoc[]
20
20
 
@@ -89,7 +89,7 @@ The above snippet will create two files `downloaded_cert.pem` and `downloaded_tr
89
89
  [id="plugins-{type}s-{plugin}-options"]
90
90
  ==== Http_poller Input Configuration Options
91
91
 
92
- This plugin supports the following configuration options plus the <<plugins-{type}s-common-options>> described later.
92
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
93
93
 
94
94
  [cols="<,<,<",options="header",]
95
95
  |=======================================================================
@@ -124,7 +124,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
124
124
  | <<plugins-{type}s-{plugin}-validate_after_inactivity>> |<<number,number>>|No
125
125
  |=======================================================================
126
126
 
127
- Also see <<plugins-{type}s-common-options>> for a list of options supported by all
127
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
128
128
  input plugins.
129
129
 
130
130
  &nbsp;
@@ -397,4 +397,5 @@ See https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache
397
397
 
398
398
 
399
399
 
400
- include::{include_path}/{type}.asciidoc[]
400
+ [id="plugins-{type}s-{plugin}-common-options"]
401
+ include::{include_path}/{type}.asciidoc[]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-http_poller'
3
- s.version = '3.3.0'
3
+ s.version = '3.3.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Poll HTTP endpoints with Logstash."
6
6
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -2,6 +2,8 @@ require "logstash/devutils/rspec/spec_helper"
2
2
  require 'logstash/inputs/http_poller'
3
3
  require 'flores/random'
4
4
  require "timecop"
5
+ # Workaround for the bug reported in https://github.com/jruby/jruby/issues/4637
6
+ require 'rspec/matchers/built_in/raise_error.rb'
5
7
 
6
8
  describe LogStash::Inputs::HTTP_Poller do
7
9
  let(:metadata_target) { "_http_poller_metadata" }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-http_poller
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-08 00:00:00.000000000 Z
12
+ date: 2017-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement