hansel 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +17 -16
  2. data/Rakefile +6 -1
  3. data/VERSION +1 -1
  4. data/hansel.gemspec +10 -4
  5. metadata +29 -5
data/README.md CHANGED
@@ -9,7 +9,7 @@ a job queue file, in a yaml format, run httperf with each job
9
9
 
10
10
  For Linux (Ubuntu):
11
11
 
12
- apt-get update && apt-get -y install rubygems httperf
12
+ apt-get update && apt-get -y install rubygems httperf ruby1.8-dev libcurl4-gnutls-dev
13
13
 
14
14
  On MacOS X using homebrew:
15
15
 
@@ -27,24 +27,25 @@ a job queue file, in a yaml format, run httperf with each job
27
27
 
28
28
  Create a job queue file in ~/.hansel/jobs.yml:
29
29
 
30
- ---
31
- - :server: www.example.com
32
- :uri: /
33
- :num_conns: 50
34
- :low_rate: 10
35
- :high_rate: 50
36
- :rate_step: 10
37
-
38
- - :server: www.apple.com
39
- :uri: /
40
- :num_conns: 50
41
- :low_rate: 10
42
- :high_rate: 50
43
- :rate_step: 10
30
+ ---
31
+ - :server: www.example.com
32
+ :uri: /
33
+ :num_conns: 50
34
+ :low_rate: 10
35
+ :high_rate: 50
36
+ :rate_step: 10
37
+
38
+ - :server: www.apple.com
39
+ :uri: /
40
+ :num_conns: 50
41
+ :low_rate: 10
42
+ :high_rate: 50
43
+ :rate_step: 10
44
44
 
45
45
  and run Hansel
46
46
 
47
- hansel --verbose --format=octave
47
+ export PATH=$PATH:/var/lib/gems/1.8/bin
48
+ hansel --verbose --format=octave
48
49
 
49
50
  By default, the output is written into the ~/hansel_output directory. When the octave format is
50
51
  specified, it uses the default template octave.m.erb in the project templates. Here is a sample
data/Rakefile CHANGED
@@ -30,8 +30,13 @@ begin
30
30
  gem.email = "paul.mylchreest@mac.com"
31
31
  gem.homepage = "http://github.com/xlymian/hansel"
32
32
  gem.authors = ["Paul Mylchreest"]
33
- gem.add_dependency('rspec')
33
+
34
34
  gem.add_dependency 'typhoeus'
35
+
36
+ gem.add_development_dependency 'rspec'
37
+ gem.add_development_dependency 'gherkin'
38
+ gem.add_development_dependency 'cucumber'
39
+
35
40
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
36
41
  end
37
42
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/hansel.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hansel}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Mylchreest"]
@@ -62,15 +62,21 @@ Gem::Specification.new do |s|
62
62
  s.specification_version = 3
63
63
 
64
64
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
65
- s.add_runtime_dependency(%q<rspec>, [">= 0"])
66
65
  s.add_runtime_dependency(%q<typhoeus>, [">= 0"])
66
+ s.add_development_dependency(%q<rspec>, [">= 0"])
67
+ s.add_development_dependency(%q<gherkin>, [">= 0"])
68
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
67
69
  else
68
- s.add_dependency(%q<rspec>, [">= 0"])
69
70
  s.add_dependency(%q<typhoeus>, [">= 0"])
71
+ s.add_dependency(%q<rspec>, [">= 0"])
72
+ s.add_dependency(%q<gherkin>, [">= 0"])
73
+ s.add_dependency(%q<cucumber>, [">= 0"])
70
74
  end
71
75
  else
72
- s.add_dependency(%q<rspec>, [">= 0"])
73
76
  s.add_dependency(%q<typhoeus>, [">= 0"])
77
+ s.add_dependency(%q<rspec>, [">= 0"])
78
+ s.add_dependency(%q<gherkin>, [">= 0"])
79
+ s.add_dependency(%q<cucumber>, [">= 0"])
74
80
  end
75
81
  end
76
82
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Paul Mylchreest
@@ -18,7 +18,7 @@ date: 2010-06-13 00:00:00 -04:00
18
18
  default_executable: hansel
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
21
+ name: typhoeus
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  requirements:
@@ -30,7 +30,7 @@ dependencies:
30
30
  type: :runtime
31
31
  version_requirements: *id001
32
32
  - !ruby/object:Gem::Dependency
33
- name: typhoeus
33
+ name: rspec
34
34
  prerelease: false
35
35
  requirement: &id002 !ruby/object:Gem::Requirement
36
36
  requirements:
@@ -39,8 +39,32 @@ dependencies:
39
39
  segments:
40
40
  - 0
41
41
  version: "0"
42
- type: :runtime
42
+ type: :development
43
43
  version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: gherkin
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :development
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
57
+ name: cucumber
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ type: :development
67
+ version_requirements: *id004
44
68
  description: Ruby driver for httperf - automated load and performance testing
45
69
  email: paul.mylchreest@mac.com
46
70
  executables: