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: d6b7bf509704cee5b7374e4a87570dfb12956ccc
4
- data.tar.gz: 60b3b2cd16bf6e7c9b3f0ea42e8598fcc69c44ad
3
+ metadata.gz: 41727ce9dc216bb8398ae69c938ba0c218b59e2e
4
+ data.tar.gz: 1dca61c3c8834168336d3fa932f2c9f64d068830
5
5
  SHA512:
6
- metadata.gz: 7c103dbb780ae535b67112d45986c85098fb9293185682567bff81c927d77980ff9fc12939d655efb2865abc297c96565239d1780de2b92cb28b3f1349b514eb
7
- data.tar.gz: 95bf030d7fcb49993681ec0984e0544ff26483ff2e2e6e98c323ea07424b4445befdbb78d43c90d797a323578541f71736aa0d53104b0201d129804f324af287
6
+ metadata.gz: a38a359d3bef728b68e146eb87ee0aac26b7e767ac580ce513565534979580a6bfa91a50dbf988bc9e9c9e6c06c95a3fde783f6a140274895e910f119db4e935
7
+ data.tar.gz: 0fde2a9a16f8a5de830b979b90852ffb8c8bb2697963f5aa040821c6a8416316f2280bae650182689ac6232b53662ee9d0cb600b315b33b6bac21ecd8e4bad80
@@ -1,5 +1,5 @@
1
1
  module ExceptionNotification
2
2
  class Ikachan
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -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.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-01-24 00:00:00.000000000 Z
11
+ date: 2014-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification