sdee 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sdee.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c39d248867f7a55a8ea2cbd846691a2f1efb189
|
4
|
+
data.tar.gz: 322f39dfdae8b005eda45483c08180adbf61b7af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1bf0f3ebd41dcdda633900f261ea8499e678a96da671def45347251a694a78866e1cd9c6c49209eac99f81e72480ac7a0c1ebae73b5c23728bbef99d6638c53
|
7
|
+
data.tar.gz: fd59c85676a8d136c2ee729dc29f0a9f708356462541979a964b96cb7de24135c0ee7dfc73fced027c98e3cf644b564762429651617177229d6041e160969d97
|
data/lib/sdee.rb
CHANGED
@@ -80,13 +80,13 @@ class Alert
|
|
80
80
|
|
81
81
|
target_addr = target.xpath('//sd:addr').first
|
82
82
|
|
83
|
-
data['
|
84
|
-
data['
|
83
|
+
data['target'] = target_addr.text
|
84
|
+
data['target_locality'] = target_addr.attribute('locality').value
|
85
85
|
|
86
86
|
begin
|
87
|
-
data['
|
87
|
+
data['target_port'] = target.xpath('//sd:port').first.text
|
88
88
|
rescue
|
89
|
-
data['
|
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
|
+
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-
|
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.
|
64
|
+
rubygems_version: 2.1.3
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Simple Ruby SDEE Poller
|