honeybadger 1.9.0.beta2 → 1.9.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/honeybadger.gemspec +2 -2
- data/lib/honeybadger.rb +1 -1
- data/lib/honeybadger/monitor/railtie.rb +0 -25
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTQ4NmY2ODVlMDQ3OTA3NDA3MmU3MDM4NDA0YWVjYWRmOTE4MmIwNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODhkYmQwZGUxYzg3MTljZGFjOTRkMjAwYjllZWNlZjdmOWE0ZTE1Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWI2OWIzZTQ0OGQwM2UyYjU5OWU4NWJlZmI4ZTBmYzZmNDNiMWYyNGUzZWQ0
|
10
|
+
ZTdkYTMxOWE3ZjQ4N2QyMDQ1N2RjZGRkNDVjOTljNWU5ZDQwMTc5NzZkN2U5
|
11
|
+
MGYxOGQ3ZmE0MDZkZDgyNzQyYTk2MGRlY2M2OTA5MzdlNGRhNzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjkwY2NlMTk5YTRkMjZmZDlmMTE4MzY5ZjRiNWJjMDRmMTY5NmVkMTBjMTM0
|
14
|
+
Yjg2YjkzZGNhNDU5NzgyODY1NmI3YWYxMjJjMDhhNjY3NWRjNDAxODJhOTU2
|
15
|
+
OTM1ZmY0NGQ2MjUxYjIxOTFiNmM4NTQ5ZWU4ODIzN2ZhZTYyYjc=
|
data/Gemfile.lock
CHANGED
data/honeybadger.gemspec
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.rubygems_version = '1.3.5'
|
5
5
|
|
6
6
|
s.name = 'honeybadger'
|
7
|
-
s.version = '1.9.0.
|
8
|
-
s.date = '2013-10-
|
7
|
+
s.version = '1.9.0.beta3'
|
8
|
+
s.date = '2013-10-16'
|
9
9
|
|
10
10
|
s.summary = 'Error reports you can be happy about.'
|
11
11
|
s.description = 'Make managing application errors a more pleasant experience.'
|
data/lib/honeybadger.rb
CHANGED
@@ -19,31 +19,6 @@ module Honeybadger
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
ActiveSupport::Notifications.subscribe(/render_(partial|template)\.action_view\Z/) do |*args|
|
23
|
-
event = ActiveSupport::Notifications::Event.new(*args)
|
24
|
-
if !event.name.start_with?('!')
|
25
|
-
metric = event.name.split('.').first
|
26
|
-
file = event.payload[:identifier].gsub(::Rails.root.to_s + File::SEPARATOR,'').gsub('.', '_')
|
27
|
-
Monitor.worker.timing("app.view.#{metric}.#{file}", event.duration)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
ActiveSupport::Notifications.subscribe('sql.active_record') do |*args|
|
32
|
-
event = ActiveSupport::Notifications::Event.new(*args)
|
33
|
-
if event.name != 'SCHEMA' && !event.name == 'CACHE'
|
34
|
-
metric = event.payload[:sql].strip.split(' ', 2).first.downcase
|
35
|
-
Monitor.worker.timing("app.active_record.#{metric}", event.duration)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
ActiveSupport::Notifications.subscribe(/(deliver|receive).action_mailer\Z/) do |*args|
|
40
|
-
event = ActiveSupport::Notifications::Event.new(*args)
|
41
|
-
if !event.name.start_with?('!')
|
42
|
-
metric = event.name.split('.').first
|
43
|
-
Monitor.worker.timing("app.mail.#{metric}", event.duration)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
22
|
end
|
48
23
|
end
|
49
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.0.
|
4
|
+
version: 1.9.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Wood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|