merb_hoptoad_notifier 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/merb_hoptoad_notifier/hoptoad_notifier.rb +3 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ require 'bundler'
|
|
9
9
|
install_home = ENV['GEM_HOME'] ? "-i #{ENV['GEM_HOME']}" : ""
|
10
10
|
|
11
11
|
NAME = "merb_hoptoad_notifier"
|
12
|
-
GEM_VERSION = "1.0.
|
12
|
+
GEM_VERSION = "1.0.12"
|
13
13
|
AUTHOR = "Corey Donohoe"
|
14
14
|
EMAIL = 'atmos@atmos.org'
|
15
15
|
HOMEPAGE = "http://github.com/atmos/merb_hoptoad_notifier"
|
@@ -18,10 +18,12 @@ module HoptoadNotifier
|
|
18
18
|
|
19
19
|
def self.notify_hoptoad(request, session)
|
20
20
|
request.exceptions.each do |exception|
|
21
|
+
controller = request.params['controller']
|
22
|
+
|
21
23
|
options = {
|
22
24
|
:api_key => HoptoadNotifier.api_key,
|
23
25
|
:url => "#{request.protocol}://#{request.host}#{request.path}",
|
24
|
-
:component =>
|
26
|
+
:component => controller && controller.capitalize,
|
25
27
|
:action => request.params['action'],
|
26
28
|
:request => request,
|
27
29
|
:framework_env => Merb.env,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb_hoptoad_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Donohoe
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.
|
33
|
+
version: 0.9.2
|
34
34
|
version:
|
35
35
|
description: Merb plugin that provides hoptoad exception notification
|
36
36
|
email: atmos@atmos.org
|