runby_pace 0.2.39 → 0.2.41
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 +8 -8
- data/Gemfile +1 -0
- data/lib/runby_pace/run_type.rb +12 -1
- data/lib/runby_pace/run_types/long_run.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDkyYzgyZDBiZDlhOTEyMDhjMTVjMGU2ZGY2MzNiNzJkODA0OGRlNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODFmZjkzYzNlYTM0YmNmMWZiYzk3ZmFhY2FjY2UzNThhYWE3YThkNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTM0ZGI5N2FjNDg1YjIwZWVmOTMxMzdjNDgwMzJkNjE0ODc2ZWJlZGVlNmM0
|
10
|
+
MDNlYjFhMWVkYWUwNTVkZjI4ZjNkMDM2MjRlZDYxYjA4ZjMwZDk5M2Q3NDM1
|
11
|
+
Y2JmODdjYmJkNWExNDk1OWYwZDg1OTkyZDdiZTlhZjVmZTRkMzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTlmMmE4NGJhYzY2ODZhZjE1Yzk1MzlmZTY5ODhhZDYzYTUyOTkzM2Y1ZmQz
|
14
|
+
NDQ3OTg1ODY4ZTVhNzg4NGIzNDFiNWViOTAwMjM0ODZmMWM2MWE1OWE1OWE0
|
15
|
+
NjAzMDM4ZmI5YzgyOGY2NzVmZmE4MWRhZjMwNGY4M2MwYWMyYzQ=
|
data/Gemfile
CHANGED
data/lib/runby_pace/run_type.rb
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
module RunbyPace
|
2
2
|
|
3
3
|
class RunType
|
4
|
+
def description
|
5
|
+
'No description'
|
6
|
+
end
|
7
|
+
|
4
8
|
def pace(five_k_time)
|
5
9
|
end
|
6
10
|
end
|
7
|
-
|
11
|
+
|
12
|
+
module RunTypes
|
13
|
+
def self.new_from_name(run_type_name)
|
14
|
+
Object::const_get("RunbyPace::RunTypes::#{run_type_name}").new
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -5,6 +5,10 @@ module RunbyPace
|
|
5
5
|
class LongRun < RunType
|
6
6
|
attr_reader :slow_pace_data, :fast_pace_data
|
7
7
|
|
8
|
+
def description
|
9
|
+
'Long Run'
|
10
|
+
end
|
11
|
+
|
8
12
|
def initialize
|
9
13
|
@fast_pace_data = PaceData.new(GoldenPaces::fast[:'14:00'], GoldenPaces::fast[:'42:00'], 2.125)
|
10
14
|
@slow_pace_data = PaceData.new(GoldenPaces::slow[:'14:00'], GoldenPaces::slow[:'42:00'], 1.55)
|
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.41
|
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-
|
11
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,7 +86,7 @@ homepage: https://github.com/tygerbytes/runby-pace
|
|
86
86
|
licenses:
|
87
87
|
- MIT
|
88
88
|
metadata:
|
89
|
-
commit-hash:
|
89
|
+
commit-hash: be8919999328ab8387b850db07c03ec50c41e04d
|
90
90
|
post_install_message:
|
91
91
|
rdoc_options: []
|
92
92
|
require_paths:
|