rangeclient 0.0.17 → 0.0.18

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: f6e9152546fa4236bdfcad376773f98316d9f2ee
4
- data.tar.gz: 35aac7e41f6ac4b9927d5d2d7450d5ef2efed539
3
+ metadata.gz: 6b3ba8ad5e3fdabd158a9bd209e933be29f4468c
4
+ data.tar.gz: bcb9cf116118587918742e09d807ff4742aea037
5
5
  SHA512:
6
- metadata.gz: 1bde508cbb2dfa46fdc2bc7fc06c1ae673f80f633589d3117bdc1fa4bba62718676c211a5e10b6e06769bf7fdd758c2912b144ec172b31fb61d050cae73d734a
7
- data.tar.gz: 85e21ef4d705e8cee38a8e9edea4f39eab4aea197a8016f6ff51ae6727cd64e57fee954cb672e0041c325e552e50cd384857f9aa316e6f9d68d0e25f326d63c8
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
@@ -1,6 +1,5 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
- require 'rubygems'
4
3
  require 'rangeclient'
5
4
  require 'pp'
6
5
 
data/bin/range_diff 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
  first_range = ARGV.shift
data/bin/range_split CHANGED
@@ -1,9 +1,9 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
+
2
3
  # given a range and N buckets, slice the range
3
4
  # into N buckets, attempting even bucket distribution
4
5
  # based on hostname
5
6
 
6
- require 'rubygems'
7
7
  require 'rangeclient'
8
8
 
9
9
  range_arg = ARGV.shift;
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.17
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: 2016-09-16 00:00:00.000000000 Z
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
- - lib/range/fake_client.rb
26
- - lib/rangeclient.rb
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
- - README.md
32
- - LICENSE.md
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.0.14.1
53
+ rubygems_version: 2.5.2.3
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Simple range client for ruby.