httperfrb 0.3.0pre2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,6 +3,10 @@ gem 'open4'
3
3
  gem 'gruff'
4
4
  gem 'rmagick'
5
5
 
6
+ group :grapher do
7
+ gem 'httperfrb-grapher', '0.0.1pre1'
8
+ end
9
+
6
10
  group :development do
7
11
  gem 'rspec'
8
12
  gem 'simplecov'
data/HISTORY.md CHANGED
@@ -1,6 +1,11 @@
1
1
  HTTPerf.rb
2
2
  ==========
3
3
 
4
+
5
+ ### 0.3.0
6
+
7
+ * added handling for [HTTPerf::Grapher](http://github.com/rubyops/httperfrb-grapher)
8
+
4
9
  ### 0.2.1
5
10
 
6
11
  * added verbose handling
data/README.md CHANGED
@@ -5,10 +5,9 @@ HTTPERF.rb
5
5
 
6
6
  Simple Ruby interface for httperf.
7
7
 
8
- #### Note
9
-
10
- This currently needs a lot of work to be production ready. It's done more in a scripting style then a true solid application style.
8
+ ### Note
11
9
 
10
+ Also see: [HTTPerf::Grapher](http://github.com/rubyops/httperfrb-grapher)
12
11
 
13
12
  ## Installing 'httperf'
14
13
 
@@ -145,3 +144,4 @@ Something I've been playing around with, it's more of hack really. But it works
145
144
  :connection_time_90_pct
146
145
  :connection_time_95_pct
147
146
  :connection_time_99_pct
147
+
@@ -1,8 +1,14 @@
1
1
  # @author Joshua Mervine <joshua@mervine.net>
2
+ $:.unshift File.dirname(__FILE__)
2
3
  require 'open4'
3
4
  require 'httperf/parser'
4
- require 'httperf/grapher'
5
5
  require 'httperf/version'
6
+
7
+ begin
8
+ require 'httperf/grapher'
9
+ rescue LoadError
10
+ end
11
+
6
12
  class HTTPerf
7
13
 
8
14
  # @return [Boolean] parse flag
@@ -1,4 +1,4 @@
1
1
  class HTTPerf
2
- VERSION = "0.3.0pre2"
2
+ VERSION = "0.3.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httperfrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0pre2
5
- prerelease: 5
4
+ version: 0.3.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joshua Mervine
@@ -13,7 +13,7 @@ date: 2012-08-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &11913560 !ruby/object:Gem::Requirement
16
+ requirement: &5128620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *11913560
24
+ version_requirements: *5128620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: simplecov
27
- requirement: &11913100 !ruby/object:Gem::Requirement
27
+ requirement: &5127720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *11913100
35
+ version_requirements: *5127720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &11912600 !ruby/object:Gem::Requirement
38
+ requirement: &5126540 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *11912600
46
+ version_requirements: *5126540
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: open4
49
- requirement: &11899880 !ruby/object:Gem::Requirement
49
+ requirement: &5125800 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *11899880
57
+ version_requirements: *5125800
58
58
  description: Simple interface for calling httperf via ruby.
59
59
  email:
60
60
  - joshua@mervine.net
@@ -64,7 +64,6 @@ extra_rdoc_files: []
64
64
  files:
65
65
  - lib/httperf/version.rb
66
66
  - lib/httperf/parser.rb
67
- - lib/httperf/grapher.rb
68
67
  - lib/httperf.rb
69
68
  - README.md
70
69
  - HISTORY.md
@@ -83,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
82
  version: '0'
84
83
  segments:
85
84
  - 0
86
- hash: -3739833727762130142
85
+ hash: -1890024968844546698
87
86
  required_rubygems_version: !ruby/object:Gem::Requirement
88
87
  none: false
89
88
  requirements:
@@ -1,8 +0,0 @@
1
- class HTTPerf
2
- class Grapher
3
- def initialize gs={}
4
- puts "WARNING: HTTPerf::Grapher not available -- please install 'httperfrb-grapher'."
5
- end
6
- end
7
- end
8
-