time_bandits 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,8 @@ module Rails
|
|
29
29
|
status = result.first
|
30
30
|
duration, additions = Thread.current[:time_bandits_completed_info]
|
31
31
|
|
32
|
-
message = "Completed #{status} #{::Rack::Utils::HTTP_STATUS_CODES[status]} in %.1fms"
|
33
|
-
message << " (#{additions.join(' | ')})"
|
32
|
+
message = "Completed #{status} #{::Rack::Utils::HTTP_STATUS_CODES[status]} in %.1fms" % (run_time*1000)
|
33
|
+
message << " (#{additions.join(' | ')})" unless additions.blank?
|
34
34
|
info message
|
35
35
|
|
36
36
|
ActiveSupport::LogSubscriber.flush_all!
|
data/lib/time_bandits/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: time_bandits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Stefan Kaes
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-31 00:00:00 +02:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
@@ -21,6 +26,10 @@ dependencies:
|
|
21
26
|
requirements:
|
22
27
|
- - ~>
|
23
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 0
|
24
33
|
version: "3.0"
|
25
34
|
type: :runtime
|
26
35
|
version_requirements: *id001
|
@@ -66,17 +75,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
75
|
requirements:
|
67
76
|
- - ">="
|
68
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 3
|
79
|
+
segments:
|
80
|
+
- 0
|
69
81
|
version: "0"
|
70
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
83
|
none: false
|
72
84
|
requirements:
|
73
85
|
- - ">="
|
74
86
|
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
75
90
|
version: "0"
|
76
91
|
requirements: []
|
77
92
|
|
78
93
|
rubyforge_project: time_bandits
|
79
|
-
rubygems_version: 1.
|
94
|
+
rubygems_version: 1.6.2
|
80
95
|
signing_key:
|
81
96
|
specification_version: 3
|
82
97
|
summary: Custom performance logging for Rails
|