sdee 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sdee.rb +4 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34c6f033e36071e1ff5e51bc5f58eba6efacd315
4
- data.tar.gz: baf3f63d22d2a59ce7fe5858e1c195fe8125de1f
3
+ metadata.gz: 6c39d248867f7a55a8ea2cbd846691a2f1efb189
4
+ data.tar.gz: 322f39dfdae8b005eda45483c08180adbf61b7af
5
5
  SHA512:
6
- metadata.gz: ad51c11b10f399e6f6283a6f54d1474d7340f12b6b4b819be580a09b4bbd38f6fc81331025e32cc88ad8ce51f737d09ee3f0aad9740c918b2196561ad55fef15
7
- data.tar.gz: 7a3eb260c750c4ce9129d4b013b0ef621a683371a5f99a733ba1c197b54024f70c6d652926aaa3e27781a72604d3ef5e0b5faa53e703eb6302aa9d05b0496d6f
6
+ metadata.gz: f1bf0f3ebd41dcdda633900f261ea8499e678a96da671def45347251a694a78866e1cd9c6c49209eac99f81e72480ac7a0c1ebae73b5c23728bbef99d6638c53
7
+ data.tar.gz: fd59c85676a8d136c2ee729dc29f0a9f708356462541979a964b96cb7de24135c0ee7dfc73fced027c98e3cf644b564762429651617177229d6041e160969d97
@@ -80,13 +80,13 @@ class Alert
80
80
 
81
81
  target_addr = target.xpath('//sd:addr').first
82
82
 
83
- data['ids.target'] = target_addr.text
84
- data['ids.target_locality'] = target_addr.attribute('locality').value
83
+ data['target'] = target_addr.text
84
+ data['target_locality'] = target_addr.attribute('locality').value
85
85
 
86
86
  begin
87
- data['ids.target_port'] = target.xpath('//sd:port').first.text
87
+ data['target_port'] = target.xpath('//sd:port').first.text
88
88
  rescue
89
- data['ids.target_port'] = '0'
89
+ data['target_port'] = '0'
90
90
  end
91
91
 
92
92
  @targets << data
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamil Bou Kheir
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-23 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.0.7
64
+ rubygems_version: 2.1.3
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Simple Ruby SDEE Poller