formatted-metrics 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -5
- data/lib/metrics/grouping.rb +1 -1
- data/lib/metrics/version.rb +1 -1
- data/lib/rack/instrumentation.rb +1 -1
- metadata +23 -9
- checksums.yaml +0 -7
data/README.md
CHANGED
@@ -14,13 +14,13 @@ gem 'formatted-metrics'
|
|
14
14
|
|
15
15
|
## Usage
|
16
16
|
|
17
|
-
### Rails
|
18
|
-
|
19
|
-
You're done!
|
20
|
-
|
21
17
|
### Rack
|
22
18
|
|
23
|
-
|
19
|
+
If you want to instrument rack request times:
|
20
|
+
|
21
|
+
```
|
22
|
+
use Rack::Instrumentation
|
23
|
+
```
|
24
24
|
|
25
25
|
### Instrument
|
26
26
|
|
data/lib/metrics/grouping.rb
CHANGED
data/lib/metrics/version.rb
CHANGED
data/lib/rack/instrumentation.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatted-metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Eric J. Holmes
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,20 +30,23 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -89,26 +96,33 @@ files:
|
|
89
96
|
homepage: http://github.com/remind101/formatted-metrics
|
90
97
|
licenses:
|
91
98
|
- MIT
|
92
|
-
metadata: {}
|
93
99
|
post_install_message:
|
94
100
|
rdoc_options: []
|
95
101
|
require_paths:
|
96
102
|
- lib
|
97
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
98
105
|
requirements:
|
99
|
-
- - '>='
|
106
|
+
- - ! '>='
|
100
107
|
- !ruby/object:Gem::Version
|
101
108
|
version: '0'
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
hash: -3587489995332029312
|
102
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
103
114
|
requirements:
|
104
|
-
- - '>='
|
115
|
+
- - ! '>='
|
105
116
|
- !ruby/object:Gem::Version
|
106
117
|
version: '0'
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
hash: -3587489995332029312
|
107
121
|
requirements: []
|
108
122
|
rubyforge_project:
|
109
|
-
rubygems_version:
|
123
|
+
rubygems_version: 1.8.23
|
110
124
|
signing_key:
|
111
|
-
specification_version:
|
125
|
+
specification_version: 3
|
112
126
|
summary: Easily output formatted metrics to stdout
|
113
127
|
test_files:
|
114
128
|
- spec/metrics/formatters/l2met_spec.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 0c3d04bf2c7178e37e3289af6ddcdeb0962b54d6
|
4
|
-
data.tar.gz: 53c8792c4c4ba882b9a6e1293ccbad8285542504
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 56b3c01345d6928e6c3d1192c2ad54de27cb77e8efa15f2bb0d6fa1e7ccdf49cbd98509fb61c074518287916c70defc920997d997f6a1a8d8617211f81ba7010
|
7
|
-
data.tar.gz: ef0bab7a3c46565b26c6726bfff7ac06dfff6dd9e553aaa46664cf31b5579f41075eeb01494fb49933d252c92a6229e0d61818dfd42261784c01d79302af3c6b
|