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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78fcf6f28c8a7ca7d4b96577e741a040d36a6b6b
4
- data.tar.gz: 50eee5d6d1cc66c2c18039bf2270bc80379a6886
3
+ metadata.gz: 294dc8a577002f98917724653bc08adac8c395e2
4
+ data.tar.gz: fd3cfb217a93bd0be94f56d0fa751ff090a33c9a
5
5
  SHA512:
6
- metadata.gz: ebbd2a412dfd6effeff88e914fcaafbe6312506de0f899437454f963f8fbbb7e0c2a18c59de3a1058b7865a4dd161deeb630756a7b5564e03ef630a784ce7498
7
- data.tar.gz: bbdb92a486e99b2c41a0540e0f3cf291b9fd77d369c51dc81b9987976fa9ebf0a38ee28e9e4a348d0772e828492be789e4825413f07e2f756ddc4129c0e59cab
6
+ metadata.gz: daa109a45dc75df7b4af17947074c64a38701c4674ee1f4f8711bb4d72136ac24e9991c8e30d36a2660a8ded1eb5522846b6c49221b442806a85bd37241cd306
7
+ data.tar.gz: 906de576f01ebc8dedf5d707fabb617097960b368b47b4487d0150fc6c4897351b79cdf1dca3c45772c4046c64b0be9c5fb2cc98f1118b2a25c2c1e1b77160d1
@@ -3,6 +3,10 @@
3
3
  ## develop (unreleased)
4
4
 
5
5
 
6
+ ## 0.7.7 (2/12/2016)
7
+ ### New features
8
+ * Add Phut::VhostDaemon#reset_stats method.
9
+
6
10
  ## 0.7.6 (2/10/2016)
7
11
  ### Changes
8
12
  * Drop the first line (NXST_FLOW...) of dump-flows output.
@@ -1,4 +1,4 @@
1
1
  # Base module.
2
2
  module Phut
3
- VERSION = '0.7.6'
3
+ VERSION = '0.7.7'
4
4
  end
@@ -17,8 +17,7 @@ module Phut
17
17
 
18
18
  def initialize(options)
19
19
  @options = options
20
- @packets_sent = []
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.6
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-10 00:00:00.000000000 Z
11
+ date: 2016-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport