rack-exception_notifier 0.1.0 → 0.2.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 +4 -4
- data/README.md +1 -0
- data/lib/rack/exception_notifier.rb +3 -0
- data/lib/rack/exception_notifier/version.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c74dd74a2958cfa551a3ef9b173147e027b35f2
|
4
|
+
data.tar.gz: 3d83cd0869babccda39cac01dfdb4f84737a77ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc17a8caf8ffd765ac0cc0a41f9870b6257782618e2e1163e11ae7a30721af061103c478b9713c21e31b12aa91ae5e02b1504b6cebb7d4e2121268f38cd88c93
|
7
|
+
data.tar.gz: 7beefdccac76e1ec1f84152673334916b0d9559a95cbe456e54a43ce6276d178d4f7176b00cfc661aab99cb6959c5cc6f16810fbce771c729331556b35d8540e
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ Next configure the mail gem, by default mail will send email via SMTP to port 25
|
|
15
15
|
Then you need to configure rack to use the middleware. Below is an example for sinatra:
|
16
16
|
|
17
17
|
```ruby
|
18
|
+
enable :raise_errors
|
18
19
|
use Rack::ExceptionNotifier,
|
19
20
|
:to => 'me@example.com',
|
20
21
|
:from => 'app@example.com',
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-exception_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Downey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|