phut 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/phut/version.rb +1 -1
- data/lib/phut/vhost_daemon.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 294dc8a577002f98917724653bc08adac8c395e2
|
4
|
+
data.tar.gz: fd3cfb217a93bd0be94f56d0fa751ff090a33c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daa109a45dc75df7b4af17947074c64a38701c4674ee1f4f8711bb4d72136ac24e9991c8e30d36a2660a8ded1eb5522846b6c49221b442806a85bd37241cd306
|
7
|
+
data.tar.gz: 906de576f01ebc8dedf5d707fabb617097960b368b47b4487d0150fc6c4897351b79cdf1dca3c45772c4046c64b0be9c5fb2cc98f1118b2a25c2c1e1b77160d1
|
data/CHANGELOG.md
CHANGED
data/lib/phut/version.rb
CHANGED
data/lib/phut/vhost_daemon.rb
CHANGED
@@ -17,8 +17,7 @@ module Phut
|
|
17
17
|
|
18
18
|
def initialize(options)
|
19
19
|
@options = options
|
20
|
-
|
21
|
-
@packets_received = []
|
20
|
+
reset_stats
|
22
21
|
end
|
23
22
|
|
24
23
|
def run
|
@@ -46,6 +45,11 @@ module Phut
|
|
46
45
|
{ tx: @packets_sent, rx: @packets_received }
|
47
46
|
end
|
48
47
|
|
48
|
+
def reset_stats
|
49
|
+
@packets_sent = []
|
50
|
+
@packets_received = []
|
51
|
+
end
|
52
|
+
|
49
53
|
private
|
50
54
|
|
51
55
|
def start_logging
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuhito Takamiya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|