autoperf 1.1.0beta2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autoperf.rb +2 -1
- data/lib/autoperf/version.rb +1 -1
- metadata +4 -4
data/lib/autoperf.rb
CHANGED
@@ -7,7 +7,7 @@ require 'autoperf/display'
|
|
7
7
|
class Autoperf
|
8
8
|
def initialize(config_file, opts = {})
|
9
9
|
@conf = parse_config(config_file).merge(opts)
|
10
|
-
@perf = HTTPerf.new(@conf)
|
10
|
+
@perf = HTTPerf.new(@conf, @path)
|
11
11
|
@perf.parse = true
|
12
12
|
@perf.tee = true if @tee
|
13
13
|
end
|
@@ -25,6 +25,7 @@ class Autoperf
|
|
25
25
|
@cols = config.delete('display_columns') if config.has_key?('display_columns')
|
26
26
|
@tee = config.delete('tee')||false
|
27
27
|
@format = config.delete('display_format').to_sym if config.has_key?('display_format')
|
28
|
+
@path = config.delete('httperf_path')||nil
|
28
29
|
|
29
30
|
return config
|
30
31
|
end
|
data/lib/autoperf/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoperf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Joshua Mervine
|
@@ -114,9 +114,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
115
|
none: false
|
116
116
|
requirements:
|
117
|
-
- - ! '
|
117
|
+
- - ! '>='
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
119
|
+
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
122
|
rubygems_version: 1.8.24
|