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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4ebce21cab0b49ddd1374d0a89fbc62f7836ccd
4
- data.tar.gz: 36921441105a13ca94c978892252307f0245eed9
3
+ metadata.gz: 65d837ab02bd66fe49d9441f6d168519ce65bac7
4
+ data.tar.gz: 4083aa040757c15a1d1f04a9badf31d5fa8b5d9d
5
5
  SHA512:
6
- metadata.gz: 307afe32cf1f09fdaca53be7247f6039ac51eab8eb5fcb613d290a0598cbc5452df72b5dc8762d8e5dd5ca9b27cbf04a75a045d551c5178a4867db3a46139fd1
7
- data.tar.gz: dc4d1ac0f3db627471159cf6b855b0e45176afb25914622aacd026e04a011608c7ac5d99a0c167025a33ee7b676e0183f75e42a6fb7e0ce5d1521899530ee73a
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)
@@ -1,3 +1,3 @@
1
1
  module Wildsight
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
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.10
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-17 00:00:00.000000000 Z
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.5.1
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