tabs 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/tabs/tabs.rb +1 -2
  2. data/lib/tabs/version.rb +1 -1
  3. metadata +1 -1
@@ -44,8 +44,7 @@ module Tabs
44
44
 
45
45
  def get_metric(key)
46
46
  raise UnknownMetricError.new("Unknown metric: #{key}") unless metric_exists?(key)
47
- metrics = get("metrics")
48
- type = metrics[key]
47
+ type = hget("metrics", key)
49
48
  metric_klass(type).new(key)
50
49
  end
51
50
 
@@ -1,3 +1,3 @@
1
1
  module Tabs
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: