runby_pace 0.2.61 → 0.2.62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/runby_pace/run_types/slow_tempo_run.rb +30 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2EyYmVmYzM1NjQ3OTE1YTg4OWQ4ZmNhOWEzYmE5MDIxNGZjMWJlMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjNiOGRlYTg2Njk3MjlhY2RlNGZmZjhjMTEyMDQzMjRmMDRlZjY3NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWNmZTdhYmRhNWE5ODhlY2MwM2NmNWRiOWZlODQ3MzJiOTk4N2E3MzYwYTA4
|
10
|
+
NGI4MjljNWY5YWIwZGQwYWM0Y2NlMmNmYzg0ZDc0NjAyOGUwNmMyMzlmYjM1
|
11
|
+
YzcyOTVmOTliZTgzMThmMzQxNjUwZjMzOTNmMzhiYjJiZGMyYTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWQzMTQ4NDc4NzcyOTBiODI0ZTIyMWMzMWQwY2U4ZDkxM2U2OWIwYmQ5MWZj
|
14
|
+
YmY1YmM0NTFkN2FhNmI3YjExYzBkNzU1ZTRhYjU2MDEyNjNjOWE0MGVmMzVj
|
15
|
+
MTQ1ZjkxOWZkZWM1NTE4YzkxZTY2MWI0MmVhNjY3ZDAyMzMzMTk=
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module RunbyPace
|
2
|
+
|
3
|
+
module RunTypes
|
4
|
+
|
5
|
+
class SlowTempoRun < RunType
|
6
|
+
attr_reader :slow_pace_data, :slow_pace_data
|
7
|
+
|
8
|
+
def description
|
9
|
+
'Slow Tempo Run'
|
10
|
+
end
|
11
|
+
|
12
|
+
def initialize
|
13
|
+
@slow_pace_data = PaceData.new(GoldenPaces::slow[:'14:00'], GoldenPaces::slow[:'42:00'], 3.725)
|
14
|
+
@slow_pace_data = @slow_pace_data
|
15
|
+
end
|
16
|
+
|
17
|
+
def pace(five_k_time, distance_units = :km)
|
18
|
+
slow = @slow_pace_data.calc(five_k_time, distance_units)
|
19
|
+
slow = slow
|
20
|
+
PaceRange.new(slow, slow)
|
21
|
+
end
|
22
|
+
|
23
|
+
class GoldenPaces
|
24
|
+
def self.slow
|
25
|
+
{ '14:00': '03:18', '15:00': '03:31', '20:00': '04:35', '25:00': '05:37', '30:00': '06:38', '35:00':'07:38', '40:00':'08:36', '42:00':'08:59'}
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runby_pace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty Walls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/runby_pace/run_types/fast_tempo_run.rb
|
86
86
|
- lib/runby_pace/run_types/find_divisor.rb
|
87
87
|
- lib/runby_pace/run_types/long_run.rb
|
88
|
+
- lib/runby_pace/run_types/slow_tempo_run.rb
|
88
89
|
- lib/runby_pace/version.rb
|
89
90
|
- misc/rubymine.png
|
90
91
|
- runby_pace.gemspec
|
@@ -92,7 +93,7 @@ homepage: https://github.com/tygerbytes/runby-pace
|
|
92
93
|
licenses:
|
93
94
|
- MIT
|
94
95
|
metadata:
|
95
|
-
commit-hash:
|
96
|
+
commit-hash: 9e4c39a7122870b3eccaa32dac2872ccd3be928d
|
96
97
|
post_install_message:
|
97
98
|
rdoc_options: []
|
98
99
|
require_paths:
|