logstash-output-websocket 2.0.4 → 3.0.0

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: 5412c70a9857925b8f1784a82e025bfc225e071c
4
- data.tar.gz: 49e58bcef6c9b03d96e9b8e3f9886cac4a439bf3
3
+ metadata.gz: 488876c6f1c717695a3074258e7f00560bcee40b
4
+ data.tar.gz: 5c11843095b38ffe2481113883aedbe81f9913b7
5
5
  SHA512:
6
- metadata.gz: 25901df6019b6c4fea6bd79595e17c8103f49fd09a77caf57c964aded1cdf9b131dc7b240f813ad64a9573322ce7f6e2687d14f17c824e5dfd9827c4f7c15c49
7
- data.tar.gz: a53c2d25ac8f4e0c9a1bed8e0d60f67c493106e608c4c93ac20d3f9bc24ed38d9f15f852c2dce263a1360645d7723f49339358b06b2b722e4f39354d64c3ca84
6
+ metadata.gz: dbda665a54f7fee54cb05f4f26b6797ba5049406438502818ff60caf2cd5b3a3ca6f3113bec4b36b1f28270dd54e81bf4c34c39a8f18476080ba7c6f9aec33cb
7
+ data.tar.gz: c1590e9779819977ebc7d21a0f692cf58449ea705faaece5876bf18a84cf942cc3fa6bfa31cd81b921b275c86b222d40e2332074741b48d33d5ebc942b2caac1
@@ -1,9 +1,11 @@
1
+ # 3.0.0
2
+ - Breaking: Updated plugin to use new Java Event APIs
3
+ - Make TravisCI use JRuby 1.7.25
1
4
  # 2.0.4
2
5
  - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
3
6
  # 2.0.3
4
7
  - New dependency requirements for logstash-core for the 5.0 release
5
8
  ## 2.0.0
6
- - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
9
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
7
10
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
8
11
  - Dependency on logstash-core update to 2.0
9
-
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build
4
- Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-websocket-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-websocket-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-output-websocket.svg)](https://travis-ci.org/logstash-plugins/logstash-output-websocket)
5
4
 
6
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
7
6
 
@@ -56,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
56
55
  ```
57
56
  - Install plugin
58
57
  ```sh
58
+ # Logstash 2.3 and higher
59
+ bin/logstash-plugin install --no-verify
60
+
61
+ # Prior to Logstash 2.3
59
62
  bin/plugin install --no-verify
63
+
60
64
  ```
61
65
  - Run Logstash with your plugin
62
66
  ```sh
@@ -74,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
74
78
  ```
75
79
  - Install the plugin from the Logstash home
76
80
  ```sh
77
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
81
+ # Logstash 2.3 and higher
82
+ bin/logstash-plugin install --no-verify
83
+
84
+ # Prior to Logstash 2.3
85
+ bin/plugin install --no-verify
86
+
78
87
  ```
79
88
  - Start Logstash and proceed to test the plugin
80
89
 
@@ -3,7 +3,7 @@ require "logstash/namespace"
3
3
  require "logstash/outputs/base"
4
4
 
5
5
 
6
- # This output runs a websocket server and publishes any
6
+ # This output runs a websocket server and publishes any
7
7
  # messages to all connected websocket clients.
8
8
  #
9
9
  # You can connect to it with ws://<host\>:<port\>/
@@ -39,7 +39,7 @@ class LogStash::Outputs::WebSocket < LogStash::Outputs::Base
39
39
 
40
40
  public
41
41
  def receive(event)
42
-
42
+
43
43
  @pubsub.publish(event.to_json)
44
44
  end # def receive
45
45
 
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-websocket'
4
- s.version = '2.0.4'
4
+ s.version = '3.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output runs a websocket server and publishes any messages to all connected websocket clients."
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"
7
+ 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"
8
8
  s.authors = ["Elastic"]
9
9
  s.email = 'info@elastic.co'
10
10
  s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
@@ -20,11 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
24
24
  s.add_runtime_dependency 'logstash-codec-plain'
25
25
  s.add_runtime_dependency 'sinatra', '~> 1.4.6'
26
26
  s.add_runtime_dependency 'ftw', ['~> 0.0.40']
27
27
 
28
28
  s.add_development_dependency 'logstash-devutils'
29
29
  end
30
-
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '2.0'
19
19
  name: logstash-core-plugin-api
20
20
  prerelease: false
21
21
  type: :runtime
@@ -23,7 +23,7 @@ dependencies:
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- 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
83
+ 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
84
84
  email: info@elastic.co
85
85
  executables: []
86
86
  extensions: []