wildsight 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wildsight/rails/railtie.rb +1 -0
- data/lib/wildsight/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65d837ab02bd66fe49d9441f6d168519ce65bac7
|
4
|
+
data.tar.gz: 4083aa040757c15a1d1f04a9badf31d5fa8b5d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 170a7e6d6c8d6cd7390491be6e2ec57be87aeed92a7565fce8d504c26d506afc32e988aaa4e5b953d9dbc7842858543e494501ad123100e65f47a1b003abb3cc
|
7
|
+
data.tar.gz: 11ccc7f2d32ff8f039fd1006349f1adc64e73ae564f38964d15b7e1a1b2af2dcc43dad45809fd3e4ce911f66d2afad44ee870c5d7e77b08e4955fbc1b6cbcf4a
|
@@ -67,6 +67,7 @@ module Wildsight
|
|
67
67
|
:duration => (args[2] - args[1]) * 1000
|
68
68
|
}
|
69
69
|
context = Wildsight::Context.detect
|
70
|
+
context.request[:metrics] ||= {}
|
70
71
|
context.request[:metrics][:database] ||= 0
|
71
72
|
context.request[:metrics][:database] += (args[2] - args[1]) * 1000
|
72
73
|
context.report_sql_query(event)
|
data/lib/wildsight/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wildsight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Jelen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-06-
|
12
|
+
date: 2016-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.2.2
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Multi language/framework/platform error and statistics monitor
|