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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 433e02c6f422e59f222c9c1c737f795bd20ab180
4
- data.tar.gz: ecb52da439a7873b9ab63acb16aa7a9907664f31
3
+ metadata.gz: 4f503f49bf7fb6a5f24fdc23aabc30847d816474
4
+ data.tar.gz: eedaf1fbae8328eb4ca890743abe84c00d6d5789
5
5
  SHA512:
6
- metadata.gz: 0168f30b30c79f3310e73a7d7f2eff6eb21b7921a1820fe1950b6013f7074e60ccdfe3b28b047fd4beb70ea7c0002f38c59d04ed50d1a57c7c6c3dda815b297d
7
- data.tar.gz: d973e0bc2bbe8d2e88b5ed912b8e839546132ec74b8800b153e646d82c3352ad68ff543a62599a9ace2c2406e0b937ea436e545a5d08fe4ae45322fb06d170ec
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
- # This file was generated by Bundler.
4
- #
5
- # The application '_guard-core' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require "pathname"
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require "rubygems"
14
- require "bundler/setup"
15
-
16
- load Gem.bin_path("guard", "_guard-core")
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
- # This file was generated by Bundler.
4
- #
5
- # The application 'guard' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require "pathname"
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require "rubygems"
14
- require "bundler/setup"
15
-
16
- load Gem.bin_path("guard", "guard")
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")
@@ -5,8 +5,11 @@ module Runby
5
5
  'No description'
6
6
  end
7
7
 
8
- def lookup_pace(five_k_time, distance_units = :km)
8
+ def explanation
9
+ 'No explanation'
9
10
  end
11
+
12
+ def lookup_pace(five_k_time, distance_units = :km) end
10
13
  end
11
14
 
12
15
  # Extends RunTypes with additional methods.
@@ -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.119
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: 2016-12-25 00:00:00.000000000 Z
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: c2fa605c81370c617332b449c1bfcd9c3cd1209d
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.4.8
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