rangeclient 0.0.17 → 0.0.18
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 +4 -4
- data/bin/er +5 -6
- data/bin/range-compress +1 -2
- data/bin/range_diff +1 -2
- data/bin/range_split +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b3ba8ad5e3fdabd158a9bd209e933be29f4468c
|
4
|
+
data.tar.gz: bcb9cf116118587918742e09d807ff4742aea037
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7fd5ab6623e7b5c573b20eb0f2f2560edb67f6aa29c88dcbbdc2f280adad8d1b55f5bc70c193b8228d7bb240c69fc440818bce6adc608c880887326cdacc6c9
|
7
|
+
data.tar.gz: c62456342a90e5bd6b51f13764186cb4e84f52fdd96624a92306a2a06903cf9bf0b97fdbdd5553411aabe673e679b7016235a7feee47c4a5b9a9194aec7fa214
|
data/bin/er
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
#!/usr/bin/ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'rubygems'
|
4
3
|
require 'rangeclient'
|
5
4
|
|
6
5
|
require 'optparse'
|
@@ -10,13 +9,13 @@ options = {
|
|
10
9
|
}
|
11
10
|
optparse = OptionParser.new do |opts|
|
12
11
|
opts.on('-e', '--expand', 'Print one element per line') do |arg|
|
13
|
-
options[:expand] = arg
|
12
|
+
options[:expand] = arg
|
14
13
|
end
|
15
14
|
opts.on('-c', '--count', 'Print the count of range elements, not the range itself') do |arg|
|
16
|
-
options[:count] = arg
|
15
|
+
options[:count] = arg
|
17
16
|
end
|
18
17
|
opts.on('-s', '--sort', 'Sort expanded output') do |arg|
|
19
|
-
options[:sorted] = arg
|
18
|
+
options[:sorted] = arg
|
20
19
|
end
|
21
20
|
opts.on('-v', '--vip range:80', 'Which host or host:port to query') do |arg|
|
22
21
|
host, port = arg.split(':', 2)
|
@@ -24,7 +23,7 @@ optparse = OptionParser.new do |opts|
|
|
24
23
|
options[:port] = port unless port.nil?
|
25
24
|
end
|
26
25
|
opts.on('-p', '--port 80', 'Port to use when connecting') do |arg|
|
27
|
-
options[:port] = arg
|
26
|
+
options[:port] = arg
|
28
27
|
end
|
29
28
|
opts.on('-t', '--timeout TIMEOUT', "Wait this long for a response") do |arg|
|
30
29
|
options[:timeout] = arg.to_i
|
data/bin/range-compress
CHANGED
data/bin/range_diff
CHANGED
data/bin/range_split
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rangeclient
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Miller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Use with range from https://github.com/square/libcrange
|
14
14
|
email:
|
@@ -22,35 +22,35 @@ extensions: []
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- LICENSE.md
|
24
24
|
files:
|
25
|
-
-
|
26
|
-
-
|
25
|
+
- LICENSE.md
|
26
|
+
- README.md
|
27
27
|
- bin/er
|
28
28
|
- bin/range-compress
|
29
29
|
- bin/range_diff
|
30
30
|
- bin/range_split
|
31
|
-
-
|
32
|
-
-
|
31
|
+
- lib/range/fake_client.rb
|
32
|
+
- lib/rangeclient.rb
|
33
33
|
homepage: https://github.com/square/rangeclient
|
34
34
|
licenses: []
|
35
35
|
metadata: {}
|
36
36
|
post_install_message:
|
37
37
|
rdoc_options:
|
38
|
-
- --charset=UTF-8
|
38
|
+
- "--charset=UTF-8"
|
39
39
|
require_paths:
|
40
40
|
- lib
|
41
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: 1.3.6
|
51
51
|
requirements: []
|
52
52
|
rubyforge_project:
|
53
|
-
rubygems_version: 2.
|
53
|
+
rubygems_version: 2.5.2.3
|
54
54
|
signing_key:
|
55
55
|
specification_version: 4
|
56
56
|
summary: Simple range client for ruby.
|