logstash-codec-nmap 0.0.17 → 0.0.18

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: 5dbd5e570406062400d6bd6267e587660b901d07
4
- data.tar.gz: 45940282bec94232f7713e24e1aff220205b4f0b
3
+ metadata.gz: 9922e7ce269569efd0d07c15da86f995e66d6f35
4
+ data.tar.gz: 170e6de746c85da3c5fd62d4c802d0f745b9ba7c
5
5
  SHA512:
6
- metadata.gz: d27b0406ee31011636eb58e57ee8d53e11fd904b39bb3cc6c05bb303602a026dc8d2a9a044f33f7df3bf196a20066685d319d065d8ca7db82b5cf2399bd31685
7
- data.tar.gz: 4a960cf6b2317ff7a5343005de1d8b3b6ddc769671fa8f41527773cefe2d85ad613c1663073d3d65d21ded68efd02595c6ad25c089275fc96f938c5ba9e603e6
6
+ metadata.gz: 3fa27503b71e68855baef1081c48bdcbe1bbd3cf508dd3de3a1c278a0c878ba9f787906f0f2ddf5d166fb368e597431e91a11c27a4145560bd1cdbb7cba1a188
7
+ data.tar.gz: 41ab6a85cbda6d86d365f04c92ca71917a98d652f0e7bb8f8551765e64141040abb3033bd033c1ece670c0d35d6f79e46608f1789b0678f5f9126a426bc0a511
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 0.0.18
2
+ - Fix bug in 0.0.17 that prevented this from working with LS 5.x
1
3
  # 0.0.17
2
4
  - Expand logstash-core-api constraints to allow for 5.2 functionality
3
5
  # 0.0.16
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-nmap'
4
- s.version = '0.0.17'
4
+ s.version = '0.0.18'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This codec may be used to decode Nmap XML"
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"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "codec" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.60", "<= 2.99"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
24
24
  s.add_runtime_dependency 'ruby-nmap', "~> 0.8.0"
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
@@ -28,7 +28,7 @@ describe LogStash::Codecs::Nmap do
28
28
  end
29
29
  end
30
30
 
31
- let(:ids) { subject.map {|e| e["id"] } }
31
+ let(:ids) { subject.map {|e| e.get("id") } }
32
32
  it "should add a unique id field to all events" do
33
33
  expect(ids).to eql(ids.uniq)
34
34
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-nmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-03-23 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
18
  version: '1.60'
19
19
  - - "<="
@@ -24,7 +24,7 @@ dependencies:
24
24
  type: :runtime
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.60'
30
30
  - - "<="