runby_pace 0.61.159 → 0.61.160

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/runby_pace/distance.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83f8f142b4f2edf4e1df4535824230ecb22887da
4
- data.tar.gz: c2976c5806d3dc8b9b140bdb4a8e5fee263fa04e
3
+ metadata.gz: a9f239b3e70aa6db024f6264169303ca733c0046
4
+ data.tar.gz: f8b4b49e0b879b0d274ffd0d6dc5270ec52f8770
5
5
  SHA512:
6
- metadata.gz: 8b2e293fc3dc61e1d9e0017b48d0a1967cdc7fd46c2c3a5673487cd092e55b1c40e939750d01787169d47817f05595d8adb113ce97554f7126eb6efa60a7c4fb
7
- data.tar.gz: 1c639a9f8bdcb3e2694a6f4cbf53b0abc24c502e72f4abbb2657ca568a08278876b3aa9b3d16e86631c5c91f12240d445d22218f8c096f5d175a75cf9c0dd386
6
+ metadata.gz: e08435fd972908b6ffbab20551b221a33b6fbe9e42bfc8968b1a392897ae088a06f6165df8e82589ba96f7dba336ef445f521f37b6683f85843202a569af69d3
7
+ data.tar.gz: 61f43202707df48ca28c139e279ab2a418a222275ae51af4f647b4b6a28dacba319bb8cac2ee1a097eb2cc5ff023b51a44fa850f192b6bb48d2c17141152f730
@@ -74,7 +74,7 @@ module Runby
74
74
 
75
75
  # @param [Distance, String] other
76
76
  def <=>(other)
77
- raise "Cannot compare Runby::Distance to #{other.class}(#{other})" unless [Distance, String].include? other.class
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.159
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: 47723adc6e1e6725838562f9bb11e29b2df93491
113
+ commit-hash: f53eb3d05d5787f93a7ac9eb1096e44328bd3156
114
114
  post_install_message:
115
115
  rdoc_options: []
116
116
  require_paths: