logstash-output-statsd 1.1.0 → 1.1.1

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: 5ee8b283b94fd2486d21062eae81d0150b361c94
4
- data.tar.gz: 775d8a1f5883e3699f4ff1f37bd403c5b13f7ae9
3
+ metadata.gz: 8a0fd05fc1ce419b4c609b183803989f268572ac
4
+ data.tar.gz: 55e6be1d8b5275a79542feed3baeffaa9e0f5aad
5
5
  SHA512:
6
- metadata.gz: a6a2b13c8b360b1e486f0e25c7471e31b0a8924c2c952f6dd92943189150307842830cddc324272b40ceb93dfd73310186b38fdc714b4bb834d2ed5996006d78
7
- data.tar.gz: cf1f332c840b40b1b0cff4a221a64ea5c8fde7e78006563648c4c138404d784550d0b3ce1c3c2f274c1869e74699964c39fb3bedb3342f3ba42b499d9abf43ca
6
+ metadata.gz: 7444fbf96b3fe28f4e9f52a734b93484b4a984d548ca42f8e475c1247045aa695900ee1585758f60a1b80571e0bc59818740bc0e4e58475b8bdf50a45476c4ac
7
+ data.tar.gz: 25f5b2b70d0def824348217f9f4e0deff78f7ffc8fffe57556c7ac28415ef476476f0ed10fe98a362c891462e8d4225fce58284aa347a1603be6f4e418904006
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 1.1.1
2
+ - Fix randomly failing test #14
1
3
  # 1.1.0
2
4
  - improved test design to be more rspec3 friendly, including the usage
3
5
  of random ports to avoid colisions in integration test.
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  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.
6
6
 
7
7
  ## Documentation
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
9
+ Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-statsd'
4
- s.version = '1.1.0'
4
+ s.version = '1.1.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Send metrics to StatsD"
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"
@@ -5,7 +5,8 @@ require_relative "../spec_helper"
5
5
  describe LogStash::Outputs::Statsd do
6
6
 
7
7
  let(:host) { "localhost" }
8
- let(:port) { @server.port }
8
+ let(:port) { rand(2000..10000) }
9
+ let!(:server) { StatsdServer.new.run(port) }
9
10
 
10
11
  describe "registration and teardown" do
11
12
 
@@ -38,7 +39,12 @@ describe LogStash::Outputs::Statsd do
38
39
 
39
40
  it "should receive data send to the server" do
40
41
  subject.receive(event)
41
- expect(@server.received).to include("logstash.spec.foo.bar:0.1|c")
42
+ # Since we are dealing with threads and networks,
43
+ # we might experience delays or timing issues.
44
+ # lets try a few times before giving up completely.
45
+ try {
46
+ expect(server.received).to include("logstash.spec.foo.bar:0.1|c")
47
+ }
42
48
  end
43
49
 
44
50
  end
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-statsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-11 00:00:00.000000000 Z
11
+ date: 2015-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash-core
15
- version_requirements: !ruby/object:Gem::Requirement
14
+ requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - '>='
18
17
  - !ruby/object:Gem::Version
@@ -20,7 +19,10 @@ dependencies:
20
19
  - - <
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.0.0
23
- requirement: !ruby/object:Gem::Requirement
22
+ name: logstash-core
23
+ prerelease: false
24
+ type: :runtime
25
+ version_requirements: !ruby/object:Gem::Requirement
24
26
  requirements:
25
27
  - - '>='
26
28
  - !ruby/object:Gem::Version
@@ -28,50 +30,48 @@ dependencies:
28
30
  - - <
29
31
  - !ruby/object:Gem::Version
30
32
  version: 2.0.0
31
- prerelease: false
32
- type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
- name: logstash-input-generator
35
- version_requirements: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - '>='
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
34
  requirement: !ruby/object:Gem::Requirement
41
35
  requirements:
42
36
  - - '>='
43
37
  - !ruby/object:Gem::Version
44
38
  version: '0'
39
+ name: logstash-input-generator
45
40
  prerelease: false
46
41
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: statsd-ruby
49
42
  version_requirements: !ruby/object:Gem::Requirement
50
43
  requirements:
51
- - - '='
44
+ - - '>='
52
45
  - !ruby/object:Gem::Version
53
- version: 1.2.0
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
50
  - - '='
57
51
  - !ruby/object:Gem::Version
58
52
  version: 1.2.0
53
+ name: statsd-ruby
59
54
  prerelease: false
60
55
  type: :runtime
61
- - !ruby/object:Gem::Dependency
62
- name: logstash-devutils
63
56
  version_requirements: !ruby/object:Gem::Requirement
64
57
  requirements:
65
- - - '>='
58
+ - - '='
66
59
  - !ruby/object:Gem::Version
67
- version: '0'
60
+ version: 1.2.0
61
+ - !ruby/object:Gem::Dependency
68
62
  requirement: !ruby/object:Gem::Requirement
69
63
  requirements:
70
64
  - - '>='
71
65
  - !ruby/object:Gem::Version
72
66
  version: '0'
67
+ name: logstash-devutils
73
68
  prerelease: false
74
69
  type: :development
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
75
  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
76
76
  email: info@elastic.co
77
77
  executables: []
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.1.9
115
+ rubygems_version: 2.4.8
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Send metrics to StatsD