nosey 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ module Nosey
38
38
  end
39
39
 
40
40
  def value
41
- @sum.to_f / @count.to_f if @sum and @count > 0
41
+ (@sum.to_f / @count.to_f * 100).round().to_f / 100 if @count > 0
42
42
  end
43
43
 
44
44
  def reset
@@ -1,3 +1,3 @@
1
1
  module Nosey
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nosey
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brad Gessler