baracus 0.2 → 0.3
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/README +3 -10
- data/bin/baracus +1 -1
- data/lib/httperf.rb +4 -0
- metadata +7 -7
data/README
CHANGED
@@ -13,18 +13,11 @@ License:
|
|
13
13
|
This code is available as Open Source Software under the MIT license.
|
14
14
|
|
15
15
|
|
16
|
-
Dependencies:
|
17
|
-
|
18
|
-
gem sources -a http://gems.opscode.com/gems
|
19
|
-
gem install mixlib-config open4 json rest-client --no-ri --no-rdoc
|
20
|
-
|
21
|
-
httperf installed (see suggestions below before installing)
|
22
|
-
|
23
|
-
|
24
16
|
Usage:
|
25
17
|
|
26
|
-
$
|
27
|
-
|
18
|
+
$ gem sources -a http://gemcutter.org
|
19
|
+
$ gem install baracus
|
20
|
+
$ baracus /path/baracus.yml
|
28
21
|
|
29
22
|
Suggestions:
|
30
23
|
|
data/bin/baracus
CHANGED
data/lib/httperf.rb
CHANGED
@@ -90,6 +90,10 @@ class Baracus
|
|
90
90
|
else
|
91
91
|
auth_switch = ""
|
92
92
|
end
|
93
|
+
|
94
|
+
unless File.exist?(Baracus::Config.httperf)
|
95
|
+
abort("#{Baracus::Config.httperf} does not exist, please adjust config")
|
96
|
+
end
|
93
97
|
|
94
98
|
# run httperf with the wsesslog and write results to file
|
95
99
|
httperf_cmd = <<-EOH
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baracus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.3"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joe williams
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-04-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: "0"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
26
|
+
name: json
|
27
27
|
type: :runtime
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: "0"
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: open4
|
37
37
|
type: :runtime
|
38
38
|
version_requirement:
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
version: "0"
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
46
|
+
name: rest-client
|
47
47
|
type: :runtime
|
48
48
|
version_requirement:
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - "="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 1.3.0
|
54
54
|
version:
|
55
55
|
description:
|
56
56
|
email: joe@joetify.com
|