trafficmonitor 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 653f38a5bc552e9876d22517eb4ef8f1a48dd1a5
4
- data.tar.gz: 97c60091f557c374a4532962660fe0c97b798eb4
3
+ metadata.gz: 687aaf5bc308457a0db644b5a8a971c3394b1a5b
4
+ data.tar.gz: ce59b4cbb7e5638afc55bba7c62cac1b0b8403de
5
5
  SHA512:
6
- metadata.gz: 1d658610008fbd37e93a5f63187532879201307c48f8ce36e2c2556d67af2f59949deb879eda3dda7ca02c56d79ae12c31e6c2bc488c708f22ac6bba09d4e428
7
- data.tar.gz: 565d004ff6691b89bf046994a1ff5567517e2b4a5ba4754b0be4faf035fa3b3eb221823965b246c050c3926d2232d608961b311bbc4f61beb968ed6200861740
6
+ metadata.gz: bc297034a9f570940112b238823bec1b56203c0343ee95e69a40d716902feaebc8e3e489d8fb55dd93d6c29aebadfca498a5c7548b21ab060b9241ea807a83d8
7
+ data.tar.gz: a4a8d8f275e92b3c0f704003591f9b92cb654d0c5692e5cd016e070183abe5c80dede7b45edd6731e3d4c65ba820ea41e9dc1f36ef2fa54511ebcf3ac08dc85d
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Traffic Monitor
2
-
2
+ version 0.0.3
3
3
  gem help you analysis traffic per ip with port
4
4
 
5
5
  ## Installation
@@ -26,8 +26,8 @@ module Trafficmonitor
26
26
  total_send_rate_2s = result[-8].split(' ')[3]
27
27
  total_receive_rate_2s = result[-7].split(' ')[3]
28
28
 
29
- conns['total_send_rate'] = total_send_rate_2s
30
- conns['total_receive_rate'] = total_receive_rate_2s
29
+ conns['total_send_rate'] = remove_speed_unit(total_send_rate_2s)
30
+ conns['total_receive_rate'] = remove_speed_unit(total_receive_rate_2s)
31
31
 
32
32
  return conns
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module Trafficmonitor
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trafficmonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shown Tien