runby_pace 0.6.119 → 0.6.120
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.
- checksums.yaml +4 -4
- data/bin/_guard-core +17 -16
- data/bin/guard +17 -16
- data/lib/runby_pace/run_type.rb +4 -1
- data/lib/runby_pace/run_types/distance_run.rb +4 -0
- data/lib/runby_pace/run_types/easy_run.rb +4 -0
- data/lib/runby_pace/run_types/fast_tempo_run.rb +4 -0
- data/lib/runby_pace/run_types/long_run.rb +4 -0
- data/lib/runby_pace/run_types/slow_tempo_run.rb +4 -0
- data/lib/runby_pace/run_types/tempo_run.rb +4 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f503f49bf7fb6a5f24fdc23aabc30847d816474
|
|
4
|
+
data.tar.gz: eedaf1fbae8328eb4ca890743abe84c00d6d5789
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 036b4b1212269bf9499d7e57f1d45dd30db49940d7703f2a2b260bee3ac78ebc0f0efe279a208f5e4077fee4578dea2273790aec5dc06c299316f2ff791ca346
|
|
7
|
+
data.tar.gz: 9fb73eb7ed4ca68cdb106089bbda3e92f99bae23ab6f4b09e5756b8bd7f6ee09195a8c987e6aebb6c4ef24f511c47a655c6d773c1c7864c8c0f634c7d0251bb2
|
data/bin/_guard-core
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
require "
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
#
|
|
4
|
+
# This file was generated by Bundler.
|
|
5
|
+
#
|
|
6
|
+
# The application '_guard-core' is installed as part of a gem, and
|
|
7
|
+
# this file is here to facilitate running it.
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
require "pathname"
|
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
12
|
+
Pathname.new(__FILE__).realpath)
|
|
13
|
+
|
|
14
|
+
require "rubygems"
|
|
15
|
+
require "bundler/setup"
|
|
16
|
+
|
|
17
|
+
load Gem.bin_path("guard", "_guard-core")
|
data/bin/guard
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
require "
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
#
|
|
4
|
+
# This file was generated by Bundler.
|
|
5
|
+
#
|
|
6
|
+
# The application 'guard' is installed as part of a gem, and
|
|
7
|
+
# this file is here to facilitate running it.
|
|
8
|
+
#
|
|
9
|
+
|
|
10
|
+
require "pathname"
|
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
12
|
+
Pathname.new(__FILE__).realpath)
|
|
13
|
+
|
|
14
|
+
require "rubygems"
|
|
15
|
+
require "bundler/setup"
|
|
16
|
+
|
|
17
|
+
load Gem.bin_path("guard", "guard")
|
data/lib/runby_pace/run_type.rb
CHANGED
|
@@ -9,6 +9,10 @@ module Runby
|
|
|
9
9
|
'Distance Run'
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
def explanation
|
|
13
|
+
'Most of your weekly training should be comprised of Distance Runs. They are faster than "easy runs", but you should still be able to carry on a conversation.'
|
|
14
|
+
end
|
|
15
|
+
|
|
12
16
|
def initialize
|
|
13
17
|
@fast_pace_calculator = PaceCalculator.new(GoldenPaces.fast, 3.675)
|
|
14
18
|
@slow_pace_calculator = PaceCalculator.new(GoldenPaces.slow, 2.175)
|
|
@@ -8,6 +8,10 @@ module Runby
|
|
|
8
8
|
'Easy Run'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
def explanation
|
|
12
|
+
'Also called a "recovery run", the easy run is harder than jogging, but you should still be able to carry on a conversation.'
|
|
13
|
+
end
|
|
14
|
+
|
|
11
15
|
def initialize
|
|
12
16
|
@fast_pace_calculator = PaceCalculator.new(GoldenPaces.fast, 1.99)
|
|
13
17
|
@slow_pace_calculator = PaceCalculator.new(GoldenPaces.slow, 1.35)
|
|
@@ -9,6 +9,10 @@ module Runby
|
|
|
9
9
|
'Fast Tempo Run'
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
def explanation
|
|
13
|
+
'The fast tempo run is an interval workout of 15-25 minutes per repetition. The pace roughly corresponds to that of your half-marathon race pace.'
|
|
14
|
+
end
|
|
15
|
+
|
|
12
16
|
def lookup_pace(five_k_time, distance_units = :km)
|
|
13
17
|
fast = @fast_pace_calculator.calc(five_k_time, distance_units)
|
|
14
18
|
PaceRange.new(fast, fast)
|
|
@@ -9,6 +9,10 @@ module Runby
|
|
|
9
9
|
'Long Run'
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
def explanation
|
|
13
|
+
'For many runners, the long run is the favorite run of the week. It is usually only ran once per week, and accounts for 20-25% of your weekly training volume. Remember that it\'s not a race. It should remain comfortable.'
|
|
14
|
+
end
|
|
15
|
+
|
|
12
16
|
def initialize
|
|
13
17
|
@fast_pace_calculator = PaceCalculator.new(GoldenPaces.fast, 2.125)
|
|
14
18
|
@slow_pace_calculator = PaceCalculator.new(GoldenPaces.slow, 1.55)
|
|
@@ -8,6 +8,10 @@ module Runby
|
|
|
8
8
|
'Slow Tempo Run'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
def explanation
|
|
12
|
+
'The slow tempo run is an interval workout of 20-40 minutes per repetition. The pace roughly corresponds to that of your marathon race pace.'
|
|
13
|
+
end
|
|
14
|
+
|
|
11
15
|
def lookup_pace(five_k_time, distance_units = :km)
|
|
12
16
|
slow = @slow_pace_calculator.calc(five_k_time, distance_units)
|
|
13
17
|
PaceRange.new(slow, slow)
|
|
@@ -8,6 +8,10 @@ module Runby
|
|
|
8
8
|
'Tempo Run'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
def explanation
|
|
12
|
+
'Ran at a comfortably hard pace that you could maintain for about an hour, if pressed. However, tempo runs are interval workouts, so you won\'t run for longer than 15-40 minutes per repetition'
|
|
13
|
+
end
|
|
14
|
+
|
|
11
15
|
def initialize
|
|
12
16
|
@fast_pace_calculator = PaceCalculator.new(GoldenPaces.fast, 4.025)
|
|
13
17
|
@slow_pace_calculator = PaceCalculator.new(GoldenPaces.slow, 3.725)
|
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.6.
|
|
4
|
+
version: 0.6.120
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ty Walls
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -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: 040aea6faf028a8399bb3c5d044ca050e41e1b1e
|
|
105
105
|
post_install_message:
|
|
106
106
|
rdoc_options: []
|
|
107
107
|
require_paths:
|
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
version: '0'
|
|
119
119
|
requirements: []
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 2.
|
|
121
|
+
rubygems_version: 2.6.12
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 4
|
|
124
124
|
summary: Runby Pace is the core logic which simplifies the calculation of target paces
|