rangeclient 0.0.6 → 0.0.7

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. data/bin/er +0 -3
  2. data/lib/rangeclient.rb +1 -1
  3. metadata +4 -4
data/bin/er CHANGED
@@ -24,9 +24,6 @@ optparse = OptionParser.new do |opts|
24
24
  opts.on('-t', '--timeout', "Wait this long for a response ") do |arg|
25
25
  options[:timeout] = arg
26
26
  end
27
- opts.on('-h', '--help', "Usage ") do |arg|
28
- options[:verbose] = arg
29
- end
30
27
  end
31
28
  optparse.parse!
32
29
 
@@ -167,7 +167,7 @@ class Range::Client
167
167
  group = sprintf("%s%0*d..%s",
168
168
  prefix,
169
169
  digits.to_s.length,
170
- digits,
170
+ digits.to_i, # sometimes has leading zeroes
171
171
  _ignore_common_prefix(digits, (digits.to_i + count).to_s)
172
172
  )
173
173
  suffix = "" if suffix.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rangeclient
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Miller
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-02-28 00:00:00 Z
18
+ date: 2013-04-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rest-client