logstash-filter-dns 2.1.2 → 2.1.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: da72e04ae33b270f051bf4523d20668c9fa9e864
4
- data.tar.gz: 7cf8d64ca0efb8c45964ec1417fcf885d1d11d02
3
+ metadata.gz: 9f916d39bc569e1614134307584a79c8365676b2
4
+ data.tar.gz: 8c214913b8c02c364a1ca92e3752bcb69ee39ff2
5
5
  SHA512:
6
- metadata.gz: 35f319498970243e316879be9c039f6dd9f6319e8cc471d96ff990f3232e3069376927c56540eddff411b8a6c4319ab5a5782a22b85039aec72e805d29c4e183
7
- data.tar.gz: 10a0f3d238c07e068a4efcb36e8711e47236f2c2fd6d7fc4d119d0beaed17ff3ca6b3780b79eefe5bfa3ca30cd28ac9c913027f0aa43bddf6736344555b71ccc
6
+ metadata.gz: ce13f987f145089f32cfbacdfa6cece0cfb1cf794adcd6bce01d8a8dd94fce140a91e275cf1ec60faa8267ff7e23e65522190b32919b7467ee26d09d87822213
7
+ data.tar.gz: e881ca531576a6da50ccb49633d7b3679f4fe14b1046a47e4e57527e734008dcfb2c08a79522016eec4cf17fce369618cd24b54cde4eefe02e15c3af7fa03697
@@ -1,7 +1,12 @@
1
- # 2.1.2
1
+ ## 2.1.3
2
+ - Fix spec early termination by removing an explicit return from a block
3
+
4
+ ## 2.1.2
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
- # 2.1.1
6
+
7
+ ## 2.1.1
4
8
  - New dependency requirements for logstash-core for the 5.0 release
9
+
5
10
  ## 2.1.0
6
11
  - Add caches for failed and successful lookups
7
12
  - Lower default timeout value
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-dns'
4
- s.version = '2.1.2'
4
+ s.version = '2.1.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This filter will resolve any IP addresses from a field of your choosing."
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"
@@ -343,11 +343,11 @@ describe LogStash::Filters::DNS do
343
343
  before(:each) do
344
344
  allow(subject).to receive(:getaddress) do
345
345
  @try ||= 0
346
- if @try < 3
346
+ if @try < 2
347
347
  @try = @try + 1
348
348
  raise Timeout::Error
349
349
  else
350
- return "127.0.0.1"
350
+ "127.0.0.1"
351
351
  end
352
352
  end
353
353
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
@@ -11,47 +11,47 @@ cert_chain: []
11
11
  date: 2016-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: logstash-core-plugin-api
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
14
20
  requirement: !ruby/object:Gem::Requirement
15
21
  requirements:
16
- - - "~>"
22
+ - - ~>
17
23
  - !ruby/object:Gem::Version
18
24
  version: '1.0'
19
- name: logstash-core-plugin-api
20
25
  prerelease: false
21
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: lru_redux
22
29
  version_requirements: !ruby/object:Gem::Requirement
23
30
  requirements:
24
- - - "~>"
31
+ - - ~>
25
32
  - !ruby/object:Gem::Version
26
- version: '1.0'
27
- - !ruby/object:Gem::Dependency
33
+ version: 1.1.0
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
30
- - - "~>"
36
+ - - ~>
31
37
  - !ruby/object:Gem::Version
32
38
  version: 1.1.0
33
- name: lru_redux
34
39
  prerelease: false
35
40
  type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: logstash-devutils
36
43
  version_requirements: !ruby/object:Gem::Requirement
37
44
  requirements:
38
- - - "~>"
45
+ - - '>='
39
46
  - !ruby/object:Gem::Version
40
- version: 1.1.0
41
- - !ruby/object:Gem::Dependency
47
+ version: '0'
42
48
  requirement: !ruby/object:Gem::Requirement
43
49
  requirements:
44
- - - ">="
50
+ - - '>='
45
51
  - !ruby/object:Gem::Version
46
52
  version: '0'
47
- name: logstash-devutils
48
53
  prerelease: false
49
54
  type: :development
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
55
  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
56
56
  email: info@elastic.co
57
57
  executables: []
@@ -79,12 +79,12 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []