vnstat-metrics 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@ class CpuGraphite < Sensu::Plugin::Metric::CLI::Graphite
60
60
  scaled_throughput = Regexp.last_match(1).to_f
61
61
  scale = Regexp.last_match(2)
62
62
 
63
- case scale
63
+ case scale.downcase
64
64
  when 'kbit/s'
65
65
  throughput = scaled_throughput
66
66
  when 'mbit/s'
@@ -2,7 +2,7 @@ module VnstatMetrics
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vnstat-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: