exception_notification-ikachan 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41727ce9dc216bb8398ae69c938ba0c218b59e2e
|
4
|
+
data.tar.gz: 1dca61c3c8834168336d3fa932f2c9f64d068830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a38a359d3bef728b68e146eb87ee0aac26b7e767ac580ce513565534979580a6bfa91a50dbf988bc9e9c9e6c06c95a3fde783f6a140274895e910f119db4e935
|
7
|
+
data.tar.gz: 0fde2a9a16f8a5de830b979b90852ffb8c8bb2697963f5aa040821c6a8416316f2280bae650182689ac6232b53662ee9d0cb600b315b33b6bac21ecd8e4bad80
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require "exception_notification/ikachan/version"
|
2
2
|
require 'net/http'
|
3
|
+
require 'socket'
|
3
4
|
|
4
5
|
module ExceptionNotifier
|
5
6
|
class IkachanNotifier
|
@@ -63,6 +64,7 @@ module ExceptionNotifier
|
|
63
64
|
class: exception.class,
|
64
65
|
message: exception.message,
|
65
66
|
occurred: (exception.backtrace.first rescue nil),
|
67
|
+
hostname: (Socket.gethostname rescue nil),
|
66
68
|
}
|
67
69
|
params.merge!(build_params_from_request(options[:env]))
|
68
70
|
@message = message_format % params
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exception_notification-ikachan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uchio KONDO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exception_notification
|