exceptiontrap 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: 94d20c5df4fb176e85f10232a44a22cdb7987420b33b32d6ff0ccb10ff332009
4
- data.tar.gz: e094b9f56ae78202925dbed626f4818efeecb58234e1ce46aba0c9d339b7528e
3
+ metadata.gz: d4613ddfba38ec1f735fafa7da8fe332b9d74867dae0e6f3ed0666ef2f14387e
4
+ data.tar.gz: 24a85363cfac60501748bc86d497107b4932216550d87e3d29610ef6b06cd6fa
5
5
  SHA512:
6
- metadata.gz: d230c8706068beee1481f062d09efe8d78b221142cb78c04c64cf79b2725da3e292107f55676d0550734279ed35c1f5c2953bb47c4c63c312a3c2135874a9a18
7
- data.tar.gz: 016c52a88837487b4821a08516429b3af9a0ab7f31fc611ab84467b7b7992f57aea01007a6d1a5ab179c19e144a9c94353ab349249ae24f63001788e9b624adf
6
+ metadata.gz: dbb493a6883454ee949003ce2d9db020312503ae82b639793fbbf394cc5962de1bf2a08856d617a3c1fea5dab10cae2a1c173fa8b021b7fc719c2cc4c89b3182
7
+ data.tar.gz: 59e795762b2c85e3a9c4a61536fd3487172d58b2ff4c1d0adf0fb79822801bde8a2c9bbe2bcf3b5a91db22cdf123eca03a1250580fe684b4b6d155fbecf4adc1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exceptiontrap (2.0.0)
4
+ exceptiontrap (2.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
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
- The gem is compatible with the following Rails versions
6
-
7
- - 3, 4, and 5
5
+ The gem is compatible with Rails 3, 4, and 5
8
6
 
9
7
  ## Setup
10
8
 
@@ -24,21 +22,21 @@ Now generate the `config/exceptiontrap.yml` file with
24
22
 
25
23
  and you should be fine.
26
24
 
27
- **Note:** Some exceptions are ignored by default, e.g. `RoutingError` and `RecordNotFound` errors. You can change this behavior in the just generated `config/exceptiontrap.yml` file.
25
+ **Note:** Some exceptions are ignored by default, e.g. `RoutingError` and `RecordNotFound` errors. You can change this behavior in the `config/exceptiontrap.yml` file that we just generated.
28
26
 
29
27
  ## Information / Further Configuration
30
28
 
31
- You can find your API-Key by login to your [Exceptiontrap Account](https://exceptiontrap.com/login), select the application and follow the `Setup` Link.
29
+ You can find your API-Key by logging in to your [Exceptiontrap Account](https://exceptiontrap.com/login). Select the application, and follow the `Setup` link.
32
30
 
33
31
  ## Integration with Background Jobs and Workers
34
32
 
35
33
  ### Sidekiq
36
34
 
37
- Exceptiontrap catches [Sidekiq](http://sidekiq.org) errors automatically, you don't have to do anything. Easy, right?
35
+ Exceptiontrap catches [Sidekiq](http://sidekiq.org) errors automatically. You don't have to set up anything. Easy, right?
38
36
 
39
37
  ### DelayedJob
40
38
 
41
- There is no automatic integration into [DelayedJob](https://github.com/collectiveidea/delayed_job) yet. Meanwhile you can let Exceptiontrap notifiy you about errors using its `notify` method inside DelayedJobs `error` hook.
39
+ There is no automatic integration into [DelayedJob](https://github.com/collectiveidea/delayed_job) yet. Meanwhile you can let Exceptiontrap notifiy you about errors using its `notify` method inside DelayedJob's `error` hook.
42
40
 
43
41
  ```ruby
44
42
  class ParanoidNewsletterJob < NewsletterJob
@@ -52,7 +50,7 @@ end
52
50
 
53
51
  ### Resque
54
52
 
55
- automatic integration into [Resque](https://github.com/resque/resque) yet. Meanwhile you can let Exceptiontrap notifiy you about errors using its `notify` method inside Resque's `on_failure` hook.
53
+ There is no automatic integration into [Resque](https://github.com/resque/resque) yet. Meanwhile you can let Exceptiontrap notifiy you about errors using its `notify` method inside Resque's `on_failure` hook.
56
54
 
57
55
  You can also create a module with Exceptiontrap enabled and integrate this.
58
56
 
@@ -6,7 +6,7 @@ module Exceptiontrap
6
6
  class ExceptiontrapRailtie < Rails::Railtie
7
7
  initializer 'exceptiontrap.middleware' do |app|
8
8
  Exceptiontrap::Config.load(File.join(Rails.root, '/config/exceptiontrap.yml'))
9
- return if Exceptiontrap::disabled?
9
+ next if Exceptiontrap::disabled?
10
10
 
11
11
  app.config.middleware.insert_after ActionDispatch::ShowExceptions, Exceptiontrap::Rack
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Exceptiontrap
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exceptiontrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tbuehl