exceptiontrap 0.0.2.alpha → 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.
- data/README.md +3 -9
- data/lib/exceptiontrap.rb +4 -4
- data/lib/exceptiontrap/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
# Exceptiontrap
|
|
2
2
|
|
|
3
|
-
This gem is used to report your Ruby on Rails applications exceptions to the [Exceptiontrap](https://
|
|
3
|
+
This gem is used to catch and report your Ruby on Rails applications errors and exceptions to the [Exceptiontrap](https://exceptiontrap.com) webservice.
|
|
4
4
|
|
|
5
5
|
The gem is compatible with the following Rails versions
|
|
6
6
|
|
|
7
7
|
- >= 2.3
|
|
8
8
|
- >= 3
|
|
9
9
|
|
|
10
|
-
**This is an Alpha Release**
|
|
11
|
-
|
|
12
10
|
## Setup
|
|
13
11
|
|
|
14
12
|
### Rails 3
|
|
@@ -57,15 +55,11 @@ and you should be fine.
|
|
|
57
55
|
|
|
58
56
|
## Information / Further Configuration
|
|
59
57
|
|
|
60
|
-
You can find your API-Key by login to your [Exceptiontrap Account](https://
|
|
58
|
+
You can find your API-Key by login to your [Exceptiontrap Account](https://exceptiontrap.com/login), select the application and follow the `Setup` Link.
|
|
61
59
|
|
|
62
60
|
## Known Issues / Todo
|
|
63
61
|
|
|
64
|
-
At the moment ActionController::RoutingError's are not catched in Rails 3 applications.
|
|
65
|
-
|
|
66
|
-
SSL-Support is not included.
|
|
67
|
-
|
|
68
62
|
Optimize and insert the test suite to the gem.
|
|
69
63
|
|
|
70
64
|
|
|
71
|
-
Copyright (c)
|
|
65
|
+
Copyright (c) 2013 [Torsten Bühl], released under the MIT license
|
data/lib/exceptiontrap.rb
CHANGED
|
@@ -2,8 +2,8 @@ require 'net/http'
|
|
|
2
2
|
require 'net/https'
|
|
3
3
|
require 'uri'
|
|
4
4
|
|
|
5
|
-
require
|
|
6
|
-
require
|
|
5
|
+
require 'exceptiontrap/version'
|
|
6
|
+
require 'exceptiontrap/config'
|
|
7
7
|
require 'exceptiontrap/notifier'
|
|
8
8
|
require 'exceptiontrap/rack'
|
|
9
9
|
|
|
@@ -14,8 +14,8 @@ require 'exceptiontrap/railtie' if defined?(Rails::Railtie)
|
|
|
14
14
|
module Exceptiontrap
|
|
15
15
|
API_VERSION = '1'
|
|
16
16
|
NOTIFIER_NAME = 'exceptiontrap-rails'
|
|
17
|
-
NOTIFICATION_URL = '
|
|
18
|
-
DEPLOYMENT_URL = '
|
|
17
|
+
NOTIFICATION_URL = 'exceptiontrap.com/notifier/api/v1/problems'
|
|
18
|
+
DEPLOYMENT_URL = 'exceptiontrap.com/notifier/api/v1/deployments'
|
|
19
19
|
|
|
20
20
|
HEADERS = {
|
|
21
21
|
'Content-type' => 'application/json',
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exceptiontrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- tbuehl
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-03-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Exception notifier. The Gem catches your applications exceptions and
|
|
15
15
|
sends those to the exceptiontrap webservice hosted at http://exceptiontrap.com
|
|
@@ -60,9 +60,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
none: false
|
|
62
62
|
requirements:
|
|
63
|
-
- - ! '
|
|
63
|
+
- - ! '>='
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
|
-
version:
|
|
65
|
+
version: '0'
|
|
66
66
|
requirements: []
|
|
67
67
|
rubyforge_project: exceptiontrap
|
|
68
68
|
rubygems_version: 1.8.24
|