logstash-filter-dns 3.1.1 → 3.1.2

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
  SHA256:
3
- metadata.gz: 9787a415f32ce4e75a4e5216f6a5a9a2d0df96da8f2799741070cd0bafe611e9
4
- data.tar.gz: 6063f389cfa71eb43d60a93729f283535adf361e3426d57c632a30b1e19d3cd1
3
+ metadata.gz: 1ee891cdca96c9fc77706efc72b6d33931c261fe000d1ccd2bfd77f4649544a0
4
+ data.tar.gz: dbf27cff110158f8f0a69a31826a1817929115461816d405c6494138ad99fe29
5
5
  SHA512:
6
- metadata.gz: 2217a76de4051faa7ffb537cac220aead754aeca20be664672db9dcbd4e76b3fe579fa9a068990e2016dfadc2991822be7c2ea325e1280b1a3084bbdecef3e70
7
- data.tar.gz: 7e56de9e265915709a257308ea08cc9a6ab64a7ba869895a6d3d5817cd3f612514a593d96385b05a5e7850f88417e7ca68b7b5bd8e31b7d5155167b2788ec258
6
+ metadata.gz: 5ef252d8dd5e6d990182b036c09f47ae9326b7af4e1ccb6dcae37d1de86fa52c6972308cf386bd735ea977c9cf3087fcecb523980807d67b4df4ceed27092018
7
+ data.tar.gz: 81392b44caeab24cdc0f7105795fb952890a384256f369c9a637b5bb93e8c60e8aaa1d03c86f01ce8028406dfde3f8c3608cf340d56585f915147cd7bf232fa3
@@ -1,3 +1,6 @@
1
+ ## 3.1.2
2
+ - Added restriction on JRuby resolv.rb patch to versions prior to 9.2.9.0 [#58](https://github.com/logstash-plugins/logstash-filter-dns/pull/58)
3
+
1
4
  ## 3.1.1
2
5
  - Fixed asciidoc formatting for unordered list and a code sample in docs[#57](https://github.com/logstash-plugins/logstash-filter-dns/pull/57)
3
6
 
@@ -35,12 +35,12 @@ end
35
35
 
36
36
  # ref: https://github.com/logstash-plugins/logstash-filter-dns/issues/51
37
37
  #
38
- # JRuby versions starting at 9.2.0.0 have a bug caused by an upstream Ruby stdlib resolv.rb bug.
38
+ # JRuby versions starting at 9.2.0.0 and prior to 9.2.9.0 have a bug caused by an upstream Ruby stdlib resolv.rb bug.
39
39
  # This bug is essentially the same as the previous above bug where there is a leak between the
40
40
  # DNS.allocate_request_id/DNS.free_request_id.
41
- # This fix is required because starting at JRuby 9.2.0.0 the resolv.rb code was updated from the
41
+ # This fix is required because starting at JRuby 9.2.0.0 and prior to 9.2.9.0 the resolv.rb code was updated from the
42
42
  # upstream Ruby stdlib code and the previous patch cannot be applied. Also this fix is better than the previous one.
43
- if jruby_gem_version >= Gem::Version.new("9.2.0.0")
43
+ if Gem::Requirement.new([">= 9.2.0.0", "< 9.2.9.0"]).satisfied_by?(jruby_gem_version)
44
44
  # save verbose level and mute the "warning: already initialized constant"
45
45
  warn_level = $VERBOSE
46
46
  $VERBOSE = nil
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-dns'
4
- s.version = '3.1.1'
4
+ s.version = '3.1.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Performs a standard or reverse DNS lookup"
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/logstash-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-filter-dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-24 00:00:00.000000000 Z
11
+ date: 2019-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement