rnotifier 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
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
+
@@ -1,5 +1,6 @@
1
1
  Rnotifier::Notifier.config do |c|
2
2
  c.api_key = <%= api_key %>
3
3
  c.exception_recipients = %w{user1@example.com user2@example.com}
4
+ c.notification_server = "http://rnotifer.heroku.com"
4
5
  end
5
6
 
@@ -1,3 +1,3 @@
1
1
  module Rnotifier
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
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 00:00:00 Z
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