rack-statsd 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/changelog.md +15 -0
- data/lib/rack-statsd.rb +6 -2
- data/rack-statsd.gemspec +3 -2
- metadata +33 -51
data/changelog.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
## v0.2.0
|
2
|
+
|
3
|
+
_Back from the Dead_ Release
|
4
|
+
|
5
|
+
* Response times are tracked by HTTP status. [@mheffner]
|
6
|
+
* RequestStatus is Lint compliant. [@kb]
|
7
|
+
* Way more status codes are tracked. [@adelcambre]
|
8
|
+
|
9
|
+
## v0.1.1
|
10
|
+
|
11
|
+
* Fixes for RequestStatus response. [@atmos]
|
12
|
+
|
13
|
+
## v0.1.0
|
14
|
+
|
15
|
+
Initial Release
|
data/lib/rack-statsd.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module RackStatsD
|
2
|
-
VERSION = "0.2.
|
2
|
+
VERSION = "0.2.1"
|
3
3
|
|
4
4
|
# Simple middleware to add a quick status URL for tools like Nagios.
|
5
5
|
class RequestStatus
|
@@ -280,7 +280,11 @@ module RackStatsD
|
|
280
280
|
end
|
281
281
|
|
282
282
|
def each(&block)
|
283
|
-
@body.each
|
283
|
+
if @body.respond_to?(:each)
|
284
|
+
@body.each(&block)
|
285
|
+
else
|
286
|
+
block.call(@body)
|
287
|
+
end
|
284
288
|
end
|
285
289
|
|
286
290
|
def close
|
data/rack-statsd.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'rack-statsd'
|
16
|
-
s.version = '0.2.
|
17
|
-
s.date = '2013-
|
16
|
+
s.version = '0.2.1'
|
17
|
+
s.date = '2013-04-15'
|
18
18
|
s.rubyforge_project = 'rack-statsd'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
@@ -49,6 +49,7 @@ Gem::Specification.new do |s|
|
|
49
49
|
LICENSE
|
50
50
|
README.md
|
51
51
|
Rakefile
|
52
|
+
changelog.md
|
52
53
|
lib/rack-statsd.rb
|
53
54
|
rack-statsd.gemspec
|
54
55
|
]
|
metadata
CHANGED
@@ -1,85 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-statsd
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
version: 0.2.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Ryan Tomayko
|
14
9
|
- Rick Olson
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2013-04-15 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
23
16
|
name: rack-test
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
34
23
|
type: :development
|
35
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
36
31
|
description: Tools for monitoring Rack apps in production.
|
37
32
|
email: technoweenie@gmail.com
|
38
33
|
executables: []
|
39
|
-
|
40
34
|
extensions: []
|
41
|
-
|
42
35
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
36
|
+
files:
|
45
37
|
- LICENSE
|
46
38
|
- README.md
|
47
39
|
- Rakefile
|
40
|
+
- changelog.md
|
48
41
|
- lib/rack-statsd.rb
|
49
42
|
- rack-statsd.gemspec
|
50
|
-
has_rdoc: true
|
51
43
|
homepage: https://github.com/github/rack-statsd
|
52
44
|
licenses: []
|
53
|
-
|
54
45
|
post_install_message:
|
55
46
|
rdoc_options: []
|
56
|
-
|
57
|
-
require_paths:
|
47
|
+
require_paths:
|
58
48
|
- lib
|
59
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
60
50
|
none: false
|
61
|
-
requirements:
|
62
|
-
- -
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
|
66
|
-
- 0
|
67
|
-
version: "0"
|
68
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
56
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
version: "0"
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
77
61
|
requirements: []
|
78
|
-
|
79
62
|
rubyforge_project: rack-statsd
|
80
|
-
rubygems_version: 1.
|
63
|
+
rubygems_version: 1.8.23
|
81
64
|
signing_key:
|
82
65
|
specification_version: 2
|
83
66
|
summary: Tools for monitoring Rack apps in production.
|
84
67
|
test_files: []
|
85
|
-
|