runby_pace 0.61.159 → 0.61.160
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/distance.rb +1 -1
- 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: a9f239b3e70aa6db024f6264169303ca733c0046
|
4
|
+
data.tar.gz: f8b4b49e0b879b0d274ffd0d6dc5270ec52f8770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e08435fd972908b6ffbab20551b221a33b6fbe9e42bfc8968b1a392897ae088a06f6165df8e82589ba96f7dba336ef445f521f37b6683f85843202a569af69d3
|
7
|
+
data.tar.gz: 61f43202707df48ca28c139e279ab2a418a222275ae51af4f647b4b6a28dacba319bb8cac2ee1a097eb2cc5ff023b51a44fa850f192b6bb48d2c17141152f730
|
data/lib/runby_pace/distance.rb
CHANGED
@@ -74,7 +74,7 @@ module Runby
|
|
74
74
|
|
75
75
|
# @param [Distance, String] other
|
76
76
|
def <=>(other)
|
77
|
-
raise "
|
77
|
+
raise "Unable to compare Runby::Distance to #{other.class}(#{other})" unless [Distance, String].include? other.class
|
78
78
|
if other.is_a?(String)
|
79
79
|
return 0 if to_s == other || to_s(format: :long) == other
|
80
80
|
return self <=> Distance.try_parse(other)[:distance]
|
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.61.
|
4
|
+
version: 0.61.160
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty Walls
|
@@ -110,7 +110,7 @@ homepage: https://github.com/tygerbytes/runby-pace
|
|
110
110
|
licenses:
|
111
111
|
- MIT
|
112
112
|
metadata:
|
113
|
-
commit-hash:
|
113
|
+
commit-hash: f53eb3d05d5787f93a7ac9eb1096e44328bd3156
|
114
114
|
post_install_message:
|
115
115
|
rdoc_options: []
|
116
116
|
require_paths:
|