oml4r 2.10.5 → 2.10.5.2.g51cd2b7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -13
  2. data/bin/ping-oml2 +1 -1
  3. data/omf/ping-oml2.rb +2 -0
  4. metadata +5 -6
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDBjYWNiODBlYTZkYzM1ZThjNzgyNjExMDIzMTRmZjExNTRhODhjYg==
5
- data.tar.gz: !binary |-
6
- ZGU1OWVhN2IyZmVjNzk1YmYzNWJiMzMyYThlYWYxYzViNjU4YWE4Yw==
2
+ SHA1:
3
+ metadata.gz: 65ea5147f79a46d78faba51362f714beec466929
4
+ data.tar.gz: c6bca4e07072f11567cfd2c1905b060185493695
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YWRmNjA0NDM0YzgyYmYzYjhmZDBiYTI0YzYxZjRjZDBlOTVmMWZhMDk1YjAx
10
- Y2JiMTEzODMyZDcxNzRlZGE2MjE3NmU2NjNjNzI0NjBjNjI1MmFmNjljM2Yw
11
- N2MxN2UxMzVhNGI0YmFlMjI1OWFjYTZmMjcxOGE5OTk0MWNjNzE=
12
- data.tar.gz: !binary |-
13
- NjViZjAwOTBkZDdiM2Q5MDZiNmI0OGU5N2Y4OGU3YjIxZDYwMzgyNGM5MWE1
14
- MDhiOGU1MDYxNjdlMWZlYTI2MjcyNGUyODE1YjRhMDAyZWMzZGIzYmI1M2Jm
15
- ODlhMjFiN2Y1NjI1MjAwNDg2YjRmMDBkMDFmZWJiNTRhZDRmY2M=
6
+ metadata.gz: aed1e87b11e8fe645a50a426461f8bf10d4c0c238a1fb3e89276005faa4cf864281a110027a2f881e95b079d937ba2b363661bb66dc7d804009d15f49956f32d
7
+ data.tar.gz: 696b074441cfc51a6eac1958cb4a4a3e3044eae1c2cdad81d5c3fad674af6dbcc2405e6293d6191d7a3cfb3fd213452e5d1af3c757d127ab2b80307f63e8b8f3
data/bin/ping-oml2 CHANGED
@@ -103,7 +103,7 @@ class PingWrapper
103
103
 
104
104
  def process_output(row)
105
105
  if not (parse =
106
- /^\d+ bytes from (.*):.*icmp_seq=(\d+) ttl=(\d+) time=([0-9.]+) ([a-zA-Z]+)/.match(row)
106
+ /^\d+ bytes from (.*):.*icmp_[sr]eq=(\d+) ttl=(\d+) time=([0-9.]+) ([a-zA-Z]+)/.match(row)
107
107
  ).nil? # One sample
108
108
  MPStat.inject(*parse[1..5])
109
109
 
data/omf/ping-oml2.rb CHANGED
@@ -17,6 +17,8 @@ reports the measurements via OML
17
17
 
18
18
  a.defProperty('dest_addr', 'Address to ping', nil,
19
19
  :type => :string)
20
+ a.defProperty('broadcast', 'Allow pinging a broadcast address', '-b',
21
+ :type => :boolean)
20
22
  a.defProperty('count', 'Number of times to ping', '-c',
21
23
  :type => :integer)
22
24
  a.defProperty('interval', 'Interval between echo requests', '-i',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oml4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.5
4
+ version: 2.10.5.2.g51cd2b7
5
5
  platform: ruby
6
6
  authors:
7
7
  - NICTA
@@ -77,19 +77,18 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.9'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ! '>='
85
+ - - '>'
86
86
  - !ruby/object:Gem::Version
87
- version: '0'
87
+ version: 1.3.1
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.10
90
+ rubygems_version: 2.2.1
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Simple OML client library and applications for Ruby
94
94
  test_files: []
95
- has_rdoc: