deranged 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 188ec8f315e2306e3915e8645d7a50bb7841d5cb
4
- data.tar.gz: 6598c8fc2058e34ef81db718107f231c87da98c9
3
+ metadata.gz: d711a1035c59ad69d73dceef96eeb40ec1d42fa0
4
+ data.tar.gz: 5a587f6650b12a7eba9c8469f318b3901ad9d2ff
5
5
  SHA512:
6
- metadata.gz: cb14a615d499c39a471e69973a720d9aa3d686e71b665866654a2e629920e590a053946af02153d5583479b6d2e5ac3b9ef2527f8294f2fac54fbd284c66d709
7
- data.tar.gz: dde504478b63922b4f4d53a0a8e25c5c0dafca145dd90d7e3f38ed42f6be79550edf48abc2a296e9d8a54ee4fbe0755511d5963753dd330fae41848d7c408a3d
6
+ metadata.gz: 4feafbbd5b7883f94422ac5ec39bb49482f1861a703596079709e761ab5420c2e2bb305a0fdae55dde3f9b171cf5fa289dec4666068eac5cfbcbbe645b8170d5
7
+ data.tar.gz: 2a7091896469bb8298394ed88b20473926c0f0b9f97d2273ffca4034e876a81e68bcecca70dd32c832a68d0cef92d2809908db30db08f9152af2d694b78e6147
@@ -6,6 +6,7 @@ module Deranged
6
6
 
7
7
  # TODO: support multiple and custom formats
8
8
  def to_s
9
+ return '' if range.nil?
9
10
  [range.min, range.max].uniq.join('-')
10
11
  end
11
12
 
@@ -1,3 +1,3 @@
1
1
  module Deranged
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deranged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble