alicorn 0.4.2.pre → 0.4.2.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "alicorn"
8
- s.version = "0.4.2.pre"
8
+ s.version = "0.4.2.pre2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Somers"]
@@ -36,11 +36,11 @@ It computes rough load scores based on separately averaged data sets.
36
36
  options[:target_ratio] = v
37
37
  end
38
38
 
39
- opts.on("--listener-type", String, "the type of listener to use, tcp or unix -- defaults to tcp") do |v|
40
- options[:listener_type] = v
39
+ opts.on("--listener-type [TYPE]", [:tcp, :unix], "the type of listener to use, tcp or unix -- defaults to tcp") do |v|
40
+ options[:listener_type] = v.to_sym
41
41
  end
42
42
 
43
- opts.on("--listener-address", String, "the listener address to use - defaults to 0.0.0.0:80") do |v|
43
+ opts.on("--listener-address [ADDRESS]", String, "the listener address to use - defaults to 0.0.0.0:80") do |v|
44
44
  options[:listener_address] = v
45
45
  end
46
46
 
@@ -82,5 +82,4 @@ end
82
82
 
83
83
  raise OptionParser::MissingArgument.new("--max-workers is a mandatory argument") unless options[:max_workers]
84
84
 
85
-
86
85
  Alicorn::Scaler.new(options).scale
@@ -1,3 +1,3 @@
1
1
  module Alicorn
2
- VERSION = "0.4.2.pre"
2
+ VERSION = "0.4.2.pre2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2.pre
4
+ version: 0.4.2.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: 770616866604528155
176
+ hash: 1625307011282607077
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements: