rnotifier 0.0.2 → 0.0.3
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.
- data/README.md +35 -1
- data/lib/generators/rnotifier/templates/initializer.rb +1 -0
- data/lib/rnotifier/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,11 +1,45 @@
|
|
1
1
|
Rnotifier
|
2
|
-
|
2
|
+
=========
|
3
3
|
|
4
4
|
Rails 3 Exception catcher gem
|
5
5
|
|
6
|
+
Rails application for exception caching : [git@rnotifier.git](https://github.com/joshsoftware/rnotifier)
|
7
|
+
|
6
8
|
Usage
|
7
9
|
-----
|
8
10
|
|
11
|
+
Login to [rnotifer.com](http://rnotifer.heroku.com)
|
12
|
+
|
13
|
+
Create Project and you will get api key.
|
14
|
+
|
9
15
|
In your rails app
|
10
16
|
|
11
17
|
rails g rnotifier -k "API-KEY"
|
18
|
+
|
19
|
+
Configuration "config/initializers/rnotifier.rb"
|
20
|
+
------------------------------------------------
|
21
|
+
|
22
|
+
**Exception recipients email addresses**
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
c.exception_recipients = %w{jiren@joshsoftware.com example@example.com}
|
26
|
+
```
|
27
|
+
|
28
|
+
**Set exception notification server. Default is 'http://rnotifer.heroku.com'**
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
c.notification_server = "http://rnotifer.heroku.com"
|
32
|
+
```
|
33
|
+
|
34
|
+
Sample configuration
|
35
|
+
--------------------
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
Rnotifier::Notifier.config do |c|
|
39
|
+
c.api_key = 'API-KEY'
|
40
|
+
c.exception_recipients = %w{example@example.com}
|
41
|
+
c.notification_server = "http://rnotifer.heroku.com"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
|
data/lib/rnotifier/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rnotifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jiren Patel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|