Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
4c0fbbc
Ignore subclasses of ignored exceptions
WGautier Jun 19, 2017
d3e81f1
Fix Prepend Accumulated Errors Count in Email Subject
irfanfadilah Dec 9, 2017
40d2a87
Merge pull request #405 from irfanfadilah/master
smartinez87 Dec 9, 2017
edb47a4
update rubies for travis, add rails 5.1 appraisal
lostapathy Dec 14, 2017
88d7739
Merge pull request #393 from WGautier/master
smartinez87 Dec 14, 2017
b8f91c2
update to latest rubies
lostapathy Jan 6, 2018
90363b5
Merge pull request #406 from lostapathy/travis
smartinez87 Jan 8, 2018
8fb4612
Fix missing MissingController class (sic)
n-rodriguez Feb 8, 2018
c142b2d
Merge pull request #409 from n-rodriguez/fix_missing_class
smartinez87 Feb 8, 2018
14ee1f5
Make `ExceptionNotifier.notify_exception` to receive a block
pocke Mar 8, 2018
dec18c9
Merge pull request #411 from pocke/block
smartinez87 Mar 8, 2018
f805517
Align output of section-headers consistently
kronn May 31, 2018
aea78ad
Merge pull request #420 from kronn/patch-1
smartinez87 May 31, 2018
1360253
Replacing hangover reference to Rails.cache with error_grouping_cache…
garethcokell Jul 19, 2018
230d234
Replacing hangover reference to Rails.cache with error_grouping_cache…
garethcokell Jul 19, 2018
b6374a4
Merge branch 'master' of https://github.com/garethcokell/exception_no…
garethcokell Jul 19, 2018
564906b
Merge pull request #424 from garethcokell/master
FLarra Aug 17, 2018
41b0bb0
Add Google Chats notifier
renatolond Aug 13, 2018
7bafb15
Add SNS notifier
Aug 22, 2018
c2cc2f9
changed documentation to Rails 5
pastullo Sep 9, 2018
7a131a3
changing all before_filter to before_action
pastullo Sep 25, 2018
ef2f3de
Merge pull request #427 from pastullo/patch-1
FLarra Sep 26, 2018
78cb565
Build message for sns notifier
Sep 26, 2018
bcae726
Add sns readme instructions
Oct 13, 2018
9edf1aa
add datadog notifier and a test
ajain0184 Oct 11, 2018
c36095e
update README to include Datadog Notifier
ajain0184 Oct 11, 2018
851bbc4
Merge pull request #433 from FLarra/amazon-sns
FLarra Oct 19, 2018
c339489
merge master
ajain0184 Oct 25, 2018
9c73d4d
Merge branch 'master' into feature/add_support_for_google_chat
FLarra Nov 6, 2018
8f91e21
Merge pull request #426 from renatolond/feature/add_support_for_googl…
FLarra Nov 6, 2018
72dad06
Add Microsoft Teams notifier
phaelin Sep 11, 2018
a250404
Merge pull request #428 from phaelin/feature/add_support_for_microsof…
FLarra Nov 22, 2018
735628e
Bump to version 4.3.0
FLarra Nov 22, 2018
a32367f
merge master
ajain0184 Dec 3, 2018
c00e592
Updates incorrect text in Teams section referring to Mattermost
phaelin Dec 6, 2018
7ab091b
Merge pull request #436 from phaelin/feature/update_readme_text
FLarra Dec 9, 2018
2443af1
Merge pull request #431 from ajain0184/datadog_notifier
FLarra Dec 9, 2018
41c55f0
Remove hash rocket notation
FLarra Oct 20, 2018
dcb2018
Merge pull request #437 from smartinez87/update-rocket-syntax
FLarra Dec 11, 2018
32090a8
Move each notifier docs to its own file
EmilioCristalli Dec 11, 2018
620cdfb
Update README links
EmilioCristalli Dec 11, 2018
8226d7a
Add Timecop gem to freeze time in tests
EmilioCristalli Dec 11, 2018
42012a2
Refactor GoogleChatNotifierTest
EmilioCristalli Dec 11, 2018
12e340b
Refactor GoogleChatNotifier
EmilioCristalli Dec 13, 2018
8941832
Add Rails 5.2 to Appraisal
EmilioCristalli Dec 14, 2018
cc3c5bc
Test with Rails 5.2 in CI
EmilioCristalli Dec 14, 2018
8a6d3dd
Fix Rails secret_token deprecation warning
Dec 9, 2018
c3e25ad
Fix Rails SQLite booleans deprecation warning
Dec 9, 2018
c4887e0
Update Appraisal
EmilioCristalli Dec 14, 2018
8a84e66
Merge pull request #438 from EmilioCristalli/move-docs
FLarra Dec 14, 2018
61a8ef5
Use latest timecop version
EmilioCristalli Dec 18, 2018
a06ae22
Create issue_template.md
MatiasVerdier Dec 18, 2018
f034f1b
Merge pull request #442 from MatiasVerdier/patch-1
smartinez87 Dec 18, 2018
65ed644
Merge pull request #440 from EmilioCristalli/refactor-google-chat
FLarra Dec 18, 2018
f196413
Merge pull request #441 from EmilioCristalli/rails5_2
FLarra Dec 18, 2018
0b9d56d
Fix 'ActionMailer configured' link in README
ampeigonet Dec 18, 2018
b70bc73
Merge pull request #443 from ampeigonet/ampeigonet-patch-1
FLarra Dec 19, 2018
02db310
Fix datadog notifier appends previous errors
MatiasVerdier Dec 19, 2018
55da2d5
Refactor call method from Slack notifier
vickymadrid03 Dec 19, 2018
4dc12df
Bump resque version
EmilioCristalli Dec 30, 2018
dcfb218
Add test for Resque failure backend
EmilioCristalli Dec 30, 2018
23f7ed7
Add missing comma
EmilioCristalli Dec 30, 2018
0be0e0e
Fix count method
EmilioCristalli Dec 30, 2018
8ae7feb
Use mock_redis 0.18.0 to support Ruby 2.0
EmilioCristalli Dec 30, 2018
7d0d0d0
Merge pull request #445 from MatiasVerdier/patch-2
FLarra Jan 23, 2019
0cf9f2e
Merge pull request #446 from vickymadrid03/refactor-slack-notifier-ca…
FLarra Jan 23, 2019
466501a
Merge pull request #448 from EmilioCristalli/fix-resque
FLarra Jan 23, 2019
38cdcac
Fix bundler version < 2
FLarra Jan 24, 2019
541b4ad
Merge pull request #455 from smartinez87/fix-bundler-version
FLarra Jan 24, 2019
39aa9b6
Fix several rubocop offenses
FLarra Dec 18, 2018
06ec825
Add rubocop_todo.yml
FLarra Dec 18, 2018
f825b9f
Sort missing dev dependencies & add rubocop target
FLarra Jan 23, 2019
38ca386
Merge pull request #444 from smartinez87/rubocop
FLarra Jan 24, 2019
8211b38
Rename erb template
EmilioCristalli Dec 30, 2018
5ede10f
Fix Style/UnneededInterpolation offense
EmilioCristalli Dec 30, 2018
a70ec50
Fix Layout/ClosingParenthesisIndentation offense
EmilioCristalli Dec 30, 2018
c0cbde5
Fix syntax error and Style/TrailingCommaInLiteral offense
EmilioCristalli Dec 30, 2018
b43d2f4
Fix Lint/AssignmentInCondition offenses
EmilioCristalli Dec 30, 2018
996544f
Fix Layout/EndAlignment offenses
EmilioCristalli Dec 30, 2018
e4a1d98
Fix some Lint/RescueException offenses
EmilioCristalli Dec 30, 2018
6f380aa
Fix Lint/UselessAccessModifier offenses
EmilioCristalli Dec 30, 2018
580ca06
Fix Lint/UselessAssignment offense
EmilioCristalli Dec 30, 2018
13e9e13
Fix Style/NumericPredicate offense
EmilioCristalli Dec 30, 2018
1e54aa2
Fix Style/NestedTernaryOperator offenses
EmilioCristalli Dec 30, 2018
54a7fa6
Fix Style/MultilineBlockChain offense
EmilioCristalli Dec 30, 2018
ffff62f
Re-generate .rubocop_todo.yml using Rubocop 0.50.0
EmilioCristalli Dec 30, 2018
d5b2312
Fix slack_notifier offenses
EmilioCristalli Jan 24, 2019
18e82b8
Merge pull request #449 from EmilioCristalli/more-rubocop-fixes
FLarra Jan 24, 2019
643b770
Cache bundler install on the CI
EmilioCristalli Jan 24, 2019
598c1a6
Run Rubocop on the CI
EmilioCristalli Jan 24, 2019
8d46e52
Reduce logs while running tests
EmilioCristalli Jan 24, 2019
c1e8185
Fix Style/CaseEquality
EmilioCristalli Jan 24, 2019
49b3d3b
Disable Style/Documentation cop
EmilioCristalli Jan 24, 2019
abacfc6
Fix Style/DoubleNegation offenses
EmilioCristalli Jan 24, 2019
1830758
Fix Style/GuardClause offenses
EmilioCristalli Jan 24, 2019
a9e70ff
Fix Style/MethodCallWithoutArgsParentheses offenses
EmilioCristalli Jan 24, 2019
46f937a
Fix Style/StringLiterals offenses
EmilioCristalli Jan 24, 2019
3f68a93
Fix Style/ClassAndModuleChildren offense
EmilioCristalli Jan 24, 2019
da207b6
Merge pull request #456 from EmilioCristalli/improve-travis
FLarra Jan 24, 2019
606ba1a
Merge branch 'master' into rubocop-fixes
FLarra Jan 24, 2019
b40e3a6
Merge pull request #457 from EmilioCristalli/rubocop-fixes
FLarra Jan 24, 2019
6cfb05b
Use backtrace cleaner for Slack notifications
pomier Jan 30, 2019
b04948d
Merge pull request #453 from pomier/clean_backtrace_slack
FLarra Jan 30, 2019
902bd85
Move logic to generate and format notification content to its own class
EmilioCristalli Feb 2, 2019
536f89b
Refactor Mattermost tests
EmilioCristalli Feb 2, 2019
1d9db20
Use formatter in Mattermost notifier
EmilioCristalli Feb 3, 2019
3870e10
Refactor Mattermost notifier
EmilioCristalli Feb 3, 2019
df864ea
Use correct article
EmilioCristalli Feb 19, 2019
290d3f9
Fix typo
EmilioCristalli Feb 19, 2019
e63df55
Use sqlite3 < 1.4
EmilioCristalli Feb 20, 2019
e02a8e3
Use sqlite3 < 1.4
EmilioCristalli Feb 20, 2019
01e9734
Merge pull request #459 from EmilioCristalli/fix-sqlite
FLarra Feb 20, 2019
b27e130
Merge pull request #458 from EmilioCristalli/dry-notification-formatting
FLarra Feb 20, 2019
0a24ee8
add sample app for bugs reports
vickymadrid03 Dec 19, 2018
82f841a
Add sample_app.log to gitignore
Jan 23, 2019
5e67e6b
Change comments info
Jan 23, 2019
9fb2b3d
Change method names and add info
Jan 23, 2019
3988888
Moved sample app to examples folder
Jan 23, 2019
6579e49
Update run comment
Jan 23, 2019
3bd190a
Add guide to use sample app
Jan 23, 2019
2d54053
Fixed rubocop errors
Feb 19, 2019
6645665
Add slack channel name override
chaadow Feb 25, 2019
b6f33b5
Avoid using ActiveRecord exception so tests don't depend on Rails
EmilioCristalli Mar 4, 2019
af928ec
Simplify PostsController so it doens't need ActiveRecord
EmilioCristalli Mar 4, 2019
9e2c0ca
Remove unused model
EmilioCristalli Mar 4, 2019
b9fb80a
Don't load ActiveRecord and other frameworks that are not used
EmilioCristalli Mar 4, 2019
8a8074f
Remove sqlite3 gem
EmilioCristalli Mar 4, 2019
30aceb5
Remove db configuration
EmilioCristalli Mar 4, 2019
2f80314
Fix typos and grammar
jonathanhefner Mar 18, 2019
966d00c
Merge pull request #463 from jonathanhefner/patch-1
FLarra Mar 22, 2019
76994c1
Fix backtrace_based_key in test
mherold Mar 26, 2019
aa1ee49
Merge pull request #460 from EmilioCristalli/remove-sqlite
EmilioCristalli Apr 16, 2019
1fb43f2
Merge pull request #464 from emjot/fix-error-grouping-test
EmilioCristalli Apr 16, 2019
3d0cec0
Set up Email Notifier in the test itself
EmilioCristalli Apr 17, 2019
6d801e0
Refactor how test exception is generated
EmilioCristalli Apr 17, 2019
eca29d5
Cleanup tests
EmilioCristalli Apr 17, 2019
7ddaedf
Test SMTP settings
EmilioCristalli Apr 17, 2019
5b467c2
Add tests for use case with env
EmilioCristalli Apr 17, 2019
00dff57
Remove Rails tests that are already covered in EmailNotifier unit test
EmilioCristalli Apr 17, 2019
eb17362
Add controller instance
EmilioCristalli Apr 18, 2019
4d28d73
Move more tests out of Rails
EmilioCristalli Apr 18, 2019
081bcd7
Test ignore_crawlers in ExceptionNotification::Rack unit tests
EmilioCristalli Apr 18, 2019
2c6d45f
Remove dummy app tests
EmilioCristalli Apr 18, 2019
f447a94
Merge pull request #466 from EmilioCristalli/remove-dummy-app-tests
EmilioCristalli Apr 18, 2019
54f72a0
Use constant to specify gem version
EmilioCristalli Apr 18, 2019
04682f6
Merge pull request #467 from EmilioCristalli/add-version-file
EmilioCristalli Apr 18, 2019
b40cf81
Stop loading dummy app test_helper
EmilioCristalli Apr 18, 2019
10a7110
Remove unnecessary dummy app code
EmilioCristalli Apr 18, 2019
05ba3ab
Merge pull request #468 from EmilioCristalli/reduce-dummy-app-code
EmilioCristalli Apr 18, 2019
97be069
Make webhook notifier test work even if Rails is not defined
EmilioCristalli Apr 19, 2019
8416dba
Make ExceptionNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
f6da8aa
Make RackTest work without Rails
EmilioCristalli Apr 19, 2019
9ae7d22
Fix TeamsNotifier to work without Rails
EmilioCristalli Apr 19, 2019
34b446d
Make SnsNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
dde0287
Make GoogleChatNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
19d21cd
Make HipchatNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
dd845f8
Make MattermostNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
f27bb22
Make FormatterTest work without Rails
EmilioCristalli Apr 19, 2019
7915b24
Fix DatadogNotifier to work without Rails
EmilioCristalli Apr 19, 2019
6012d3d
Make EmailNotifierTest work without Rails
EmilioCristalli Apr 19, 2019
9d79472
Stop loading dummy Rails app
EmilioCristalli Apr 19, 2019
5ba0dee
Remove dummy Rails app
EmilioCristalli Apr 19, 2019
9ba2def
Use default Ruby JSON library
EmilioCristalli Apr 19, 2019
d889586
Avoid using strip_heredoc
EmilioCristalli Apr 19, 2019
d2645ef
Merge pull request #469 from EmilioCristalli/fixes-without-rails
EmilioCristalli Apr 19, 2019
87e1ae5
Merge pull request #461 from chaadow/add-slack-channel-name-option
EmilioCristalli Apr 19, 2019
4de18bc
Use recommended way to load Coveralls
EmilioCristalli Apr 19, 2019
fa0c594
Merge pull request #470 from EmilioCristalli/refactor-coveralls
EmilioCristalli Apr 19, 2019
3fe9f9b
Merge pull request #454 from vickymadrid03/add-sample-application
EmilioCristalli Apr 19, 2019
7bc0031
Add Probot no-response configuration
EmilioCristalli Apr 20, 2019
d574b4a
Merge pull request #471 from EmilioCristalli/probot-no-response
EmilioCristalli Apr 23, 2019
54cbad0
Allow to set ignore_crawlers using Rails initializer
EmilioCristalli Apr 20, 2019
f9c351e
Relax Rubocop
EmilioCristalli Apr 25, 2019
0703b44
Refactor sample app
EmilioCristalli Apr 25, 2019
de84adf
Merge pull request #473 from EmilioCristalli/ignore-crawlers
EmilioCristalli Apr 25, 2019
ecc06f6
Merge pull request #474 from EmilioCristalli/refactor-sample-app
EmilioCristalli Apr 25, 2019
68ef226
Use constants for attribute list and default options
EmilioCristalli May 5, 2019
2b46bfc
Use merge instead of ActiveSupport's reverse_merge
EmilioCristalli May 5, 2019
2e067a4
Refactor method
EmilioCristalli May 5, 2019
ab314fd
Make mailer method private
EmilioCristalli May 5, 2019
aadc832
Remove redundant tests
EmilioCristalli May 5, 2019
7ad02c2
Refactor how callbacks are tested
EmilioCristalli May 5, 2019
3838f7e
Support Rails 6
shanecav84 Jan 19, 2019
68c0ff6
Rename parent_name to module_parent_name for Rails versions < 6
shanecav84 Jan 19, 2019
582962b
Use rails 6.0.0.beta1 for now
shanecav84 Jan 19, 2019
0ca952e
Upgrade to rails 6.0.0.rc1
shanecav84 May 10, 2019
4f01bb7
Fix rubocop offenses
shanecav84 May 10, 2019
8189fe7
Refactor deliver_with option
EmilioCristalli May 6, 2019
74af3dd
Use call method instead of create_email for tests
EmilioCristalli May 11, 2019
75e6de5
Use base_options hash for options instead of instance attributes
EmilioCristalli May 11, 2019
f985154
Set ActionMailer view path in test_helper
EmilioCristalli May 12, 2019
6a89f3b
Merge pull request #475 from EmilioCristalli/refactor-email
EmilioCristalli May 18, 2019
4d7356e
Rails 6.0.0.rc2 is out
mladenilic Aug 14, 2019
9f70bd4
Merge pull request #1 from mladenilic/rails_6
shanecav84 Aug 14, 2019
47c56a3
Merge pull request #452 from shanecav84/rails_6
smartinez87 Aug 16, 2019
4887b63
bump version to 4.4.0
smartinez87 Aug 16, 2019
dc9259c
Remove outdated `versions` section from readme
smartinez87 Aug 16, 2019
177b10c
Add Rail 6.0 to Appraisals file
aried3r Sep 6, 2019
f47cb2f
Replace badges with SVG versions
aried3r Sep 6, 2019
efcfb93
Update Ruby versions on CI, add Ruby 2.6
aried3r Sep 6, 2019
840956a
Run RuboCop only once per CI run
aried3r Sep 6, 2019
0cb3422
Merge pull request #480 from aried3r/ar/travis_rubies
EmilioCristalli Sep 7, 2019
348800e
Typo in Travis config comment
EmilioCristalli Sep 7, 2019
163b3aa
Merge pull request #479 from aried3r/ar/fix_badges
EmilioCristalli Sep 7, 2019
4e51a8b
Merge pull request #478 from aried3r/ar/autogenerate_rails_6_gemfile
EmilioCristalli Sep 7, 2019
a762731
Merge pull request #482 from aried3r/ar/run_rubocop_once_on_ci
EmilioCristalli Sep 14, 2019
909a310
Add basic MS Team Webhook support
santanu-qi Dec 8, 2017
0475674
Simplified backtrace
santanu-qi Jan 17, 2018
e2edffa
Fix missing env in the message
santanu-qi Jan 18, 2018
e5cddb6
Format error message
santanu-qi Feb 6, 2018
68011da
added message formatting for teams webhook
Jun 14, 2019
e0fd4dc
Merge branch 'master' into master
vivek295 Sep 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### Steps to reproduce

### Expected behavior
<!-- Tell us what should happen -->

### Actual behavior
<!-- Tell us what happens instead -->

### System configuration
**Rails version**:

**Ruby version**:

**Other configurations**:
13 changes: 13 additions & 0 deletions .github/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
# Label requiring a response
responseRequiredLabel: more-information-needed
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/coverage/
*.gemfile.lock
/Gemfile.lock
/.idea/
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.0
DisplayCopNames: true
Exclude:
- "gemfiles/**/*"

Style/Documentation:
Enabled: false
63 changes: 63 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-01-23 23:57:48 -0300 using RuboCop version 0.50.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
Lint/RescueException:
Exclude:
- 'lib/exception_notification/rack.rb'
- 'lib/exception_notification/sidekiq.rb'
- 'lib/exception_notifier.rb'

# Offense count: 18
Metrics/AbcSize:
Max: 98

# Offense count: 3
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 88

# Offense count: 11
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 186

# Offense count: 9
Metrics/CyclomaticComplexity:
Max: 24

# Offense count: 253
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 226

# Offense count: 29
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 90

# Offense count: 7
Metrics/PerceivedComplexity:
Max: 24

# Offense count: 6
Style/ClassVars:
Exclude:
- 'lib/exception_notifier.rb'
- 'test/exception_notifier/modules/error_grouping_test.rb'

# Offense count: 3
Style/MethodMissing:
Exclude:
- 'lib/exception_notifier/email_notifier.rb'
- 'lib/exception_notifier/teams_notifier.rb'

Metrics/ModuleLength:
Exclude:
- 'lib/exception_notifier.rb'
58 changes: 52 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,66 @@
language: ruby
cache: bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.7
- 2.5.6
- 2.6.4
env:
- COVERALLS_SILENT=true
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'

install:
- "gem install bundler"
- "bundle install --jobs=3 --retry=3"
- "bundle install --jobs=3 --retry=3 --path=vendor/bundle"
- "mkdir -p test/dummy/tmp/cache"
- "mkdir -p test/dummy/tmp/non_default_location"

gemfile:
- gemfiles/rails4_0.gemfile
- gemfiles/rails4_1.gemfile
- gemfiles/rails4_2.gemfile
- gemfiles/rails5_0.gemfile
- gemfiles/rails5_1.gemfile
- gemfiles/rails5_2.gemfile
- gemfiles/rails6_0.gemfile

matrix:
exclude:
- rvm: 2.1.9
# Rails 5 supports Ruby 2.2.2 and up
- rvm: 2.1.10
gemfile: gemfiles/rails5_0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5_1.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5_2.gemfile
# Rails 6 supports Ruby 2.5 and up
- rvm: 2.1.10
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.2.10
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.4.7
gemfile: gemfiles/rails6_0.gemfile
# rails <=4.1 segfaults with ruby 2.4+
- rvm: 2.4.7
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.4.7
gemfile: gemfiles/rails4_1.gemfile
- rvm: 2.5.6
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.5.6
gemfile: gemfiles/rails4_1.gemfile
- rvm: 2.6.4
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.6.4
gemfile: gemfiles/rails4_1.gemfile

jobs:
include:
- stage: Lint
rvm: 2.6.4
script: bundle exec rubocop
5 changes: 2 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
rails_versions = ['~> 4.0.5', '~> 4.1.1', '~> 4.2.0', '~> 5.0.0']
rails_versions = ['~> 4.0.5', '~> 4.1.1', '~> 4.2.0', '~> 5.0.0', '~> 5.1.0', '~> 5.2.0', '~> 6.0.0']

rails_versions.each do |rails_version|
appraise "rails#{rails_version.slice(/\d+\.\d+/).gsub('.', '_')}" do
appraise "rails#{rails_version.slice(/\d+\.\d+/).tr('.', '_')}" do
gem 'rails', rails_version
gem "sqlite3"
end
end
33 changes: 31 additions & 2 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
== 4.4.0

* enhancements
* Rails 6 compatibility (by @shanecav)
* Add Datadog notifier (by @ajain0184)
* Use backtrace cleaner for Slack notifications (by @pomier)
* Add slack channel name override option (by @chaadow)
* Addition of sample application for testing purposes (by @ampeigonet)

* bug fixes
* Fix error in Resque failure backend (by @EmilioCristalli)
* Remove sqlite dependency (by @EmilioCristalli)
* Configure ignore_crawlers from Rails initializer (by @EmilioCristalli)

== 4.3.0

* enhancements
* Add Microsoft Teams Notifier (by @phaelin)
* Add SNS notifier (by @FLarra)
* Add Google Chats notifier (by @renatolond)
* Align output of section-headers consistently (by @kronn)
* ExceptionNotifier.notify_exception receives block & pass it to each notifier (by @pocke)
* Update Travis to latest rubies (by @lostapathy)

* bug fixes
* Replace all before_filter to before_action on readme (by @pastullo)
* Fix error when using error grouping outside of rails (by @garethcokell)
* Fix missing MissingController Mattermost class (by @n-rodriguez)

== 4.2.2

* enhancements
* Error groupiong (by @Martin91)
* Error grouping (by @Martin91)
* Additional fields for Slack support (by @schurig)
* Enterprise HipChat support (by @seanhuber)

Expand Down Expand Up @@ -131,7 +160,7 @@
* Add normalize_subject option to remove numbers from email so that they thread (by @jjb)
* Allow the user to provide a custom message and hash of data (by @jjb)
* Add support for configurable background sections and a data partial (by @jeffrafter)
* Include timestamp of exception in notification body
* Include timestamp of exception in notification body
* Add support for rack based session management (by @phoet)
* Add ignore_crawlers option to ignore exceptions generated by crawlers
* Add verbode_subject option to exclude exception message from subject (by @amishyn)
Expand Down
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ need contributors to follow:
like OS version, gem versions, etc...
* Even better, provide a failing test case for it.

To help you add information to an issue, you can use the sample_app.
Steps to use sample_app:

1) Add your configuration to (ex. with webhook):
```ruby
config.middleware.use ExceptionNotification::Rack,
# -----------------------------------
# Change this with your configuration
# https://github.com/smartinez87/exception_notification#notifiers
webhook: {
url: 'http://domain.com:5555/hubot/path'
}
# -----------------------------------
```

2) Run `ruby examples/sample_app.rb`
If exception notification is working OK, the test should pass and trigger a notification as configured above. If it's not, you can copy the information printed on the terminal related to exception notification and report an issue with more info!

## Pull Requests

If you've gone the extra mile and have a patch that fixes the issue, you
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source "https://rubygems.org"
source 'https://rubygems.org'

gemspec
Loading