exception_notification-idobata 0.0.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 123b6b0436ffa907b2da76dbee6001e84673d0ac
|
|
4
|
+
data.tar.gz: 9f9702f06b94d6dca0ff7097e38db8ac5a050c32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5987b658b71fb01ff82b361817e1130f79ed2ca88d93ab887b64ff41a68b9062b8795fcbd91d183ac7ae92abb23af5f06c1dc0ac4a93896edfed746ca26e151e
|
|
7
|
+
data.tar.gz: 39908f6776432db56ffdca47081058c7f986401965286ff7539387b410de4d263c0d5751a8343d8f63fd1d9c52558e786bfce48df0648c92d463f47ace91cda8
|
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
# ExceptionNotification for Idobata
|
|
1
|
+
# ExceptionNotification for Idobata
|
|
2
|
+
[](https://travis-ci.org/hrysd/exception_notification-idobata)
|
|
3
|
+
[](https://codeclimate.com/github/hrysd/exception_notification-idobata)
|
|
2
4
|
|
|
3
5
|
## Installation
|
|
4
6
|
|
|
@@ -45,7 +45,7 @@ module ExceptionNotifier
|
|
|
45
45
|
|
|
46
46
|
def build_message(exception, enviroments)
|
|
47
47
|
return <<-HTML
|
|
48
|
-
<span class='label label-
|
|
48
|
+
<span class='label label-danger'>#{exception.class.to_s}</span>
|
|
49
49
|
<b>#{CGI.escapeHTML(exception.message.inspect)}</b>
|
|
50
50
|
|
|
51
51
|
<h4>Backtrace:</h4>
|
|
@@ -60,7 +60,7 @@ describe ExceptionNotifier::IdobataNotifier do
|
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
it { expect(subject).to eql(<<-HTML) }
|
|
63
|
-
<span class='label label-
|
|
63
|
+
<span class='label label-danger'>StandardError</span>
|
|
64
64
|
<b>"hello, world"</b>
|
|
65
65
|
|
|
66
66
|
<h4>Backtrace:</h4>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exception_notification-idobata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi Yoshida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: exception_notification
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 3.0.0
|
|
75
|
+
version: 3.0.0
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 3.0.0
|
|
82
|
+
version: 3.0.0
|
|
83
83
|
description: exception_notification for Idobata
|
|
84
84
|
email:
|
|
85
85
|
- hrysd22@gmail.com
|
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
122
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 2.
|
|
123
|
+
rubygems_version: 2.4.5
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: exception_notification for Idobata
|