runby_pace 0.6.108 → 0.6.109
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/runby_pace/pace_range.rb +0 -7
- data/lib/runby_pace/speed_range.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c199e8327995b0c76767cbb7ef54467076898269
|
4
|
+
data.tar.gz: dd65a32892b595afcb32b6c56c6350320c9e3cff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f72bc38ecd61c52dea4740bbf06157644da8af8f22bb843fd8e4387df7509c7532064b59a1b0805720907a1e8bdfd9742bcb78fb6caac239501da20b844cc6d
|
7
|
+
data.tar.gz: cfa47855761094cf22ff0357a0d9aa513dc489b8338ee7501d48ad844926de00cb1aa3b0fa284f2475c2d4be396126e012aedaa8f101088bd46f1b884883407e
|
@@ -15,13 +15,6 @@ module Runby
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
# Create a new pace range from an existing speed range.
|
19
|
-
def self.from_speed_range(speed_range)
|
20
|
-
fast = RunMath.convert_speed_to_pace speed_range.fast
|
21
|
-
slow = RunMath.convert_speed_to_pace speed_range.slow
|
22
|
-
PaceRange.new fast, slow
|
23
|
-
end
|
24
|
-
|
25
18
|
def as_speed_range
|
26
19
|
SpeedRange.new @fast.as_speed, @slow.as_speed
|
27
20
|
end
|
@@ -10,11 +10,6 @@ module Runby
|
|
10
10
|
@slow = Runby::Speed.new(slow)
|
11
11
|
end
|
12
12
|
|
13
|
-
# Create a new speed range from an existing pace range.
|
14
|
-
def self.from_pace_range(pace_range)
|
15
|
-
pace_range.as_speed_range
|
16
|
-
end
|
17
|
-
|
18
13
|
def as_pace_range
|
19
14
|
Runby::PaceRange.new @fast.as_pace, @slow.as_pace
|
20
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runby_pace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.109
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty Walls
|
@@ -101,7 +101,7 @@ homepage: https://github.com/tygerbytes/runby-pace
|
|
101
101
|
licenses:
|
102
102
|
- MIT
|
103
103
|
metadata:
|
104
|
-
commit-hash:
|
104
|
+
commit-hash: ada35bbb7ee1d5e8b69c04accde31f891475ddf0
|
105
105
|
post_install_message:
|
106
106
|
rdoc_options: []
|
107
107
|
require_paths:
|