alicorn 0.4.2.pre → 0.4.2.pre2
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.
- data/alicorn.gemspec +1 -1
- data/bin/alicorn +3 -4
- data/lib/alicorn/version.rb +1 -1
- metadata +2 -2
data/alicorn.gemspec
CHANGED
data/bin/alicorn
CHANGED
|
@@ -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",
|
|
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
|
data/lib/alicorn/version.rb
CHANGED
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.
|
|
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:
|
|
176
|
+
hash: 1625307011282607077
|
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
none: false
|
|
179
179
|
requirements:
|