skiplan_client 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,7 @@ class Metrics
31
31
  nordic_metrics[:blue] = get_ratio(@SKI_NORDIQUE_BLEUES)
32
32
  nordic_metrics[:red] = get_ratio(@SKI_NORDIQUE_ROUGES)
33
33
  nordic_metrics[:black] = get_ratio(@SKI_NORDIQUE_NOIRES)
34
+ nordic_metrics[:km] = get_ratio_km(@SKI_NORDIQUE)
34
35
 
35
36
  nordic_metrics
36
37
  end
@@ -1,3 +1,3 @@
1
1
  module SkiplanClient
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -57,6 +57,7 @@ class MetricsTest < Test::Unit::TestCase
57
57
  assert_equal '3/4', @metrics.nordic[:blue]
58
58
  assert_equal '1/3', @metrics.nordic[:red]
59
59
  assert_equal '0/3', @metrics.nordic[:black]
60
+ assert_equal '0/67.9km', @metrics.nordic[:km]
60
61
  end
61
62
 
62
63
  should 'return metrics for pedestrians' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skiplan_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-11 00:00:00.000000000 Z
12
+ date: 2014-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler