exception_notification 4.2.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +5 -5
  2. data/Appraisals +4 -3
  3. data/CHANGELOG.rdoc +57 -1
  4. data/CONTRIBUTING.md +21 -2
  5. data/Gemfile +3 -1
  6. data/README.md +106 -789
  7. data/Rakefile +4 -2
  8. data/docs/notifiers/campfire.md +50 -0
  9. data/docs/notifiers/custom.md +42 -0
  10. data/docs/notifiers/datadog.md +51 -0
  11. data/docs/notifiers/email.md +195 -0
  12. data/docs/notifiers/google_chat.md +31 -0
  13. data/docs/notifiers/hipchat.md +66 -0
  14. data/docs/notifiers/irc.md +97 -0
  15. data/docs/notifiers/mattermost.md +115 -0
  16. data/docs/notifiers/slack.md +161 -0
  17. data/docs/notifiers/sns.md +37 -0
  18. data/docs/notifiers/teams.md +54 -0
  19. data/docs/notifiers/webhook.md +60 -0
  20. data/examples/sample_app.rb +56 -0
  21. data/examples/sinatra/Gemfile +8 -6
  22. data/examples/sinatra/config.ru +3 -1
  23. data/examples/sinatra/sinatra_app.rb +19 -11
  24. data/exception_notification.gemspec +30 -23
  25. data/gemfiles/rails4_0.gemfile +1 -2
  26. data/gemfiles/rails4_1.gemfile +1 -2
  27. data/gemfiles/rails4_2.gemfile +1 -2
  28. data/gemfiles/rails5_0.gemfile +1 -2
  29. data/gemfiles/rails5_1.gemfile +7 -0
  30. data/gemfiles/rails5_2.gemfile +7 -0
  31. data/gemfiles/rails6_0.gemfile +7 -0
  32. data/lib/exception_notification.rb +3 -0
  33. data/lib/exception_notification/rack.rb +34 -27
  34. data/lib/exception_notification/rails.rb +3 -0
  35. data/lib/exception_notification/resque.rb +10 -10
  36. data/lib/exception_notification/sidekiq.rb +10 -12
  37. data/lib/exception_notification/version.rb +5 -0
  38. data/lib/exception_notifier.rb +79 -11
  39. data/lib/exception_notifier/base_notifier.rb +10 -5
  40. data/lib/exception_notifier/campfire_notifier.rb +14 -9
  41. data/lib/exception_notifier/datadog_notifier.rb +156 -0
  42. data/lib/exception_notifier/email_notifier.rb +78 -87
  43. data/lib/exception_notifier/google_chat_notifier.rb +44 -0
  44. data/lib/exception_notifier/hipchat_notifier.rb +16 -10
  45. data/lib/exception_notifier/irc_notifier.rb +38 -31
  46. data/lib/exception_notifier/mattermost_notifier.rb +54 -131
  47. data/lib/exception_notifier/modules/backtrace_cleaner.rb +2 -2
  48. data/lib/exception_notifier/modules/error_grouping.rb +87 -0
  49. data/lib/exception_notifier/modules/formatter.rb +121 -0
  50. data/lib/exception_notifier/notifier.rb +9 -6
  51. data/lib/exception_notifier/slack_notifier.rb +75 -32
  52. data/lib/exception_notifier/sns_notifier.rb +86 -0
  53. data/lib/exception_notifier/teams_notifier.rb +200 -0
  54. data/lib/exception_notifier/views/exception_notifier/_backtrace.html.erb +1 -1
  55. data/lib/exception_notifier/views/exception_notifier/_environment.text.erb +1 -1
  56. data/lib/exception_notifier/views/exception_notifier/_request.text.erb +1 -1
  57. data/lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb +9 -9
  58. data/lib/exception_notifier/views/exception_notifier/exception_notification.html.erb +2 -4
  59. data/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb +2 -2
  60. data/lib/exception_notifier/webhook_notifier.rb +19 -16
  61. data/lib/generators/exception_notification/install_generator.rb +11 -5
  62. data/lib/generators/exception_notification/templates/{exception_notification.rb → exception_notification.rb.erb} +14 -12
  63. data/test/exception_notification/rack_test.rb +90 -4
  64. data/test/exception_notification/resque_test.rb +54 -0
  65. data/test/exception_notifier/campfire_notifier_test.rb +66 -39
  66. data/test/exception_notifier/datadog_notifier_test.rb +153 -0
  67. data/test/exception_notifier/email_notifier_test.rb +301 -145
  68. data/test/exception_notifier/google_chat_notifier_test.rb +185 -0
  69. data/test/exception_notifier/hipchat_notifier_test.rb +112 -65
  70. data/test/exception_notifier/irc_notifier_test.rb +48 -30
  71. data/test/exception_notifier/mattermost_notifier_test.rb +218 -55
  72. data/test/exception_notifier/modules/error_grouping_test.rb +167 -0
  73. data/test/exception_notifier/modules/formatter_test.rb +152 -0
  74. data/test/exception_notifier/sidekiq_test.rb +9 -6
  75. data/test/exception_notifier/slack_notifier_test.rb +109 -59
  76. data/test/exception_notifier/sns_notifier_test.rb +123 -0
  77. data/test/exception_notifier/teams_notifier_test.rb +92 -0
  78. data/test/exception_notifier/webhook_notifier_test.rb +68 -38
  79. data/test/exception_notifier_test.rb +220 -37
  80. data/test/support/exception_notifier_helper.rb +14 -0
  81. data/test/{dummy/app → support}/views/exception_notifier/_new_bkg_section.html.erb +0 -0
  82. data/test/{dummy/app → support}/views/exception_notifier/_new_bkg_section.text.erb +0 -0
  83. data/test/{dummy/app → support}/views/exception_notifier/_new_section.html.erb +0 -0
  84. data/test/{dummy/app → support}/views/exception_notifier/_new_section.text.erb +0 -0
  85. data/test/test_helper.rb +14 -13
  86. metadata +154 -162
  87. data/test/dummy/.gitignore +0 -4
  88. data/test/dummy/Rakefile +0 -7
  89. data/test/dummy/app/controllers/application_controller.rb +0 -3
  90. data/test/dummy/app/controllers/posts_controller.rb +0 -30
  91. data/test/dummy/app/helpers/application_helper.rb +0 -2
  92. data/test/dummy/app/helpers/posts_helper.rb +0 -2
  93. data/test/dummy/app/models/post.rb +0 -2
  94. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  95. data/test/dummy/app/views/posts/_form.html.erb +0 -0
  96. data/test/dummy/app/views/posts/new.html.erb +0 -0
  97. data/test/dummy/app/views/posts/show.html.erb +0 -0
  98. data/test/dummy/config.ru +0 -4
  99. data/test/dummy/config/application.rb +0 -42
  100. data/test/dummy/config/boot.rb +0 -6
  101. data/test/dummy/config/database.yml +0 -22
  102. data/test/dummy/config/environment.rb +0 -17
  103. data/test/dummy/config/environments/development.rb +0 -25
  104. data/test/dummy/config/environments/production.rb +0 -50
  105. data/test/dummy/config/environments/test.rb +0 -38
  106. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  107. data/test/dummy/config/initializers/inflections.rb +0 -10
  108. data/test/dummy/config/initializers/mime_types.rb +0 -5
  109. data/test/dummy/config/initializers/secret_token.rb +0 -8
  110. data/test/dummy/config/initializers/session_store.rb +0 -8
  111. data/test/dummy/config/locales/en.yml +0 -5
  112. data/test/dummy/config/routes.rb +0 -3
  113. data/test/dummy/db/migrate/20110729022608_create_posts.rb +0 -15
  114. data/test/dummy/db/schema.rb +0 -24
  115. data/test/dummy/db/seeds.rb +0 -7
  116. data/test/dummy/lib/tasks/.gitkeep +0 -0
  117. data/test/dummy/public/404.html +0 -26
  118. data/test/dummy/public/422.html +0 -26
  119. data/test/dummy/public/500.html +0 -26
  120. data/test/dummy/public/favicon.ico +0 -0
  121. data/test/dummy/public/images/rails.png +0 -0
  122. data/test/dummy/public/index.html +0 -239
  123. data/test/dummy/public/javascripts/application.js +0 -2
  124. data/test/dummy/public/javascripts/controls.js +0 -965
  125. data/test/dummy/public/javascripts/dragdrop.js +0 -974
  126. data/test/dummy/public/javascripts/effects.js +0 -1123
  127. data/test/dummy/public/javascripts/prototype.js +0 -6001
  128. data/test/dummy/public/javascripts/rails.js +0 -191
  129. data/test/dummy/public/robots.txt +0 -5
  130. data/test/dummy/public/stylesheets/.gitkeep +0 -0
  131. data/test/dummy/public/stylesheets/scaffold.css +0 -56
  132. data/test/dummy/script/rails +0 -6
  133. data/test/dummy/test/functional/posts_controller_test.rb +0 -218
  134. data/test/dummy/test/test_helper.rb +0 -7
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ # this extension allows ExceptionNotifier to reset all the glocal settings
4
+ # (i.e. class vars that otherwise remains during the test)
5
+ # please remembeer to call this method each time after you set such settings
6
+ # to prevent order dependent test fails.
7
+ module ExceptionNotifier
8
+ def self.reset_notifiers!
9
+ @@notifiers = {}
10
+ clear_ignore_conditions!
11
+ ExceptionNotifier.error_grouping = false
12
+ ExceptionNotifier.notification_trigger = nil
13
+ end
14
+ end
@@ -1,18 +1,19 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
1
+ # frozen_string_literal: true
3
2
 
4
- begin
5
- require "coveralls"
6
- Coveralls.wear!
7
- rescue LoadError
8
- warn "warning: coveralls gem not found; skipping Coveralls"
9
- end
3
+ require 'coveralls'
4
+ Coveralls.wear!
10
5
 
11
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
12
- require "rails/test_help"
13
- require File.expand_path("../dummy/test/test_helper.rb", __FILE__)
6
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
7
+ require 'exception_notification'
14
8
 
15
- require "mocha/setup"
9
+ require 'minitest/autorun'
10
+ require 'mocha/minitest'
11
+ require 'active_support/test_case'
12
+ require 'action_mailer'
16
13
 
17
- Rails.backtrace_cleaner.remove_silencers!
18
14
  ExceptionNotifier.testing_mode!
15
+ require 'support/exception_notifier_helper'
16
+
17
+ Time.zone = 'UTC'
18
+ ActionMailer::Base.delivery_method = :test
19
+ ActionMailer::Base.append_view_path "#{File.dirname(__FILE__)}/support/views"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-07-12 00:00:00.000000000 Z
12
+ date: 2020-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionmailer
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '4.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6'
23
+ version: '7'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '4.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6'
33
+ version: '7'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activesupport
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '4.0'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '6'
43
+ version: '7'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,75 +50,91 @@ dependencies:
50
50
  version: '4.0'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '6'
53
+ version: '7'
54
54
  - !ruby/object:Gem::Dependency
55
- name: rails
55
+ name: appraisal
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '4.0'
61
- - - "<"
58
+ - - "~>"
62
59
  - !ruby/object:Gem::Version
63
- version: '6'
60
+ version: 2.2.0
64
61
  type: :development
65
62
  prerelease: false
66
63
  version_requirements: !ruby/object:Gem::Requirement
67
64
  requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: '4.0'
71
- - - "<"
65
+ - - "~>"
72
66
  - !ruby/object:Gem::Version
73
- version: '6'
67
+ version: 2.2.0
74
68
  - !ruby/object:Gem::Dependency
75
- name: resque
69
+ name: aws-sdk-sns
76
70
  requirement: !ruby/object:Gem::Requirement
77
71
  requirements:
78
72
  - - "~>"
79
73
  - !ruby/object:Gem::Version
80
- version: 1.2.0
74
+ version: '1'
81
75
  type: :development
82
76
  prerelease: false
83
77
  version_requirements: !ruby/object:Gem::Requirement
84
78
  requirements:
85
79
  - - "~>"
86
80
  - !ruby/object:Gem::Version
87
- version: 1.2.0
81
+ version: '1'
88
82
  - !ruby/object:Gem::Dependency
89
- name: sidekiq
83
+ name: carrier-pigeon
90
84
  requirement: !ruby/object:Gem::Requirement
91
85
  requirements:
92
- - - "~>"
86
+ - - ">="
93
87
  - !ruby/object:Gem::Version
94
- version: 3.0.0
95
- - - "<"
88
+ version: 0.7.0
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 0.7.0
96
+ - !ruby/object:Gem::Dependency
97
+ name: coveralls
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
96
101
  - !ruby/object:Gem::Version
97
- version: 3.2.2
102
+ version: 0.8.2
98
103
  type: :development
99
104
  prerelease: false
100
105
  version_requirements: !ruby/object:Gem::Requirement
101
106
  requirements:
102
107
  - - "~>"
103
108
  - !ruby/object:Gem::Version
104
- version: 3.0.0
105
- - - "<"
109
+ version: 0.8.2
110
+ - !ruby/object:Gem::Dependency
111
+ name: dogapi
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
106
115
  - !ruby/object:Gem::Version
107
- version: 3.2.2
116
+ version: 1.23.0
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.23.0
108
124
  - !ruby/object:Gem::Dependency
109
- name: tinder
125
+ name: hipchat
110
126
  requirement: !ruby/object:Gem::Requirement
111
127
  requirements:
112
- - - "~>"
128
+ - - ">="
113
129
  - !ruby/object:Gem::Version
114
- version: '1.8'
130
+ version: 1.0.0
115
131
  type: :development
116
132
  prerelease: false
117
133
  version_requirements: !ruby/object:Gem::Requirement
118
134
  requirements:
119
- - - "~>"
135
+ - - ">="
120
136
  - !ruby/object:Gem::Version
121
- version: '1.8'
137
+ version: 1.0.0
122
138
  - !ruby/object:Gem::Dependency
123
139
  name: httparty
124
140
  requirement: !ruby/object:Gem::Requirement
@@ -148,75 +164,81 @@ dependencies:
148
164
  - !ruby/object:Gem::Version
149
165
  version: 0.13.0
150
166
  - !ruby/object:Gem::Dependency
151
- name: sqlite3
167
+ name: mock_redis
152
168
  requirement: !ruby/object:Gem::Requirement
153
169
  requirements:
154
- - - ">="
170
+ - - "~>"
155
171
  - !ruby/object:Gem::Version
156
- version: 1.3.4
172
+ version: 0.19.0
157
173
  type: :development
158
174
  prerelease: false
159
175
  version_requirements: !ruby/object:Gem::Requirement
160
176
  requirements:
161
- - - ">="
177
+ - - "~>"
162
178
  - !ruby/object:Gem::Version
163
- version: 1.3.4
179
+ version: 0.19.0
164
180
  - !ruby/object:Gem::Dependency
165
- name: coveralls
181
+ name: rails
166
182
  requirement: !ruby/object:Gem::Requirement
167
183
  requirements:
168
- - - "~>"
184
+ - - ">="
169
185
  - !ruby/object:Gem::Version
170
- version: 0.8.2
186
+ version: '4.0'
187
+ - - "<"
188
+ - !ruby/object:Gem::Version
189
+ version: '7'
171
190
  type: :development
172
191
  prerelease: false
173
192
  version_requirements: !ruby/object:Gem::Requirement
174
193
  requirements:
175
- - - "~>"
194
+ - - ">="
176
195
  - !ruby/object:Gem::Version
177
- version: 0.8.2
196
+ version: '4.0'
197
+ - - "<"
198
+ - !ruby/object:Gem::Version
199
+ version: '7'
178
200
  - !ruby/object:Gem::Dependency
179
- name: appraisal
201
+ name: resque
180
202
  requirement: !ruby/object:Gem::Requirement
181
203
  requirements:
182
204
  - - "~>"
183
205
  - !ruby/object:Gem::Version
184
- version: 2.0.0
206
+ version: 1.8.0
185
207
  type: :development
186
208
  prerelease: false
187
209
  version_requirements: !ruby/object:Gem::Requirement
188
210
  requirements:
189
211
  - - "~>"
190
212
  - !ruby/object:Gem::Version
191
- version: 2.0.0
213
+ version: 1.8.0
192
214
  - !ruby/object:Gem::Dependency
193
- name: hipchat
215
+ name: rubocop
194
216
  requirement: !ruby/object:Gem::Requirement
195
217
  requirements:
196
- - - ">="
218
+ - - '='
197
219
  - !ruby/object:Gem::Version
198
- version: 1.0.0
220
+ version: 0.78.0
199
221
  type: :development
200
222
  prerelease: false
201
223
  version_requirements: !ruby/object:Gem::Requirement
202
224
  requirements:
203
- - - ">="
225
+ - - '='
204
226
  - !ruby/object:Gem::Version
205
- version: 1.0.0
227
+ version: 0.78.0
206
228
  - !ruby/object:Gem::Dependency
207
- name: carrier-pigeon
229
+ name: sidekiq
208
230
  requirement: !ruby/object:Gem::Requirement
209
231
  requirements:
210
232
  - - ">="
211
233
  - !ruby/object:Gem::Version
212
- version: 0.7.0
234
+ version: 5.0.4
213
235
  type: :development
214
236
  prerelease: false
215
237
  version_requirements: !ruby/object:Gem::Requirement
216
238
  requirements:
217
239
  - - ">="
218
240
  - !ruby/object:Gem::Version
219
- version: 0.7.0
241
+ version: 5.0.4
220
242
  - !ruby/object:Gem::Dependency
221
243
  name: slack-notifier
222
244
  requirement: !ruby/object:Gem::Requirement
@@ -231,6 +253,34 @@ dependencies:
231
253
  - - ">="
232
254
  - !ruby/object:Gem::Version
233
255
  version: 1.0.0
256
+ - !ruby/object:Gem::Dependency
257
+ name: timecop
258
+ requirement: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - "~>"
261
+ - !ruby/object:Gem::Version
262
+ version: 0.9.0
263
+ type: :development
264
+ prerelease: false
265
+ version_requirements: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - "~>"
268
+ - !ruby/object:Gem::Version
269
+ version: 0.9.0
270
+ - !ruby/object:Gem::Dependency
271
+ name: tinder
272
+ requirement: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - "~>"
275
+ - !ruby/object:Gem::Version
276
+ version: '1.8'
277
+ type: :development
278
+ prerelease: false
279
+ version_requirements: !ruby/object:Gem::Requirement
280
+ requirements:
281
+ - - "~>"
282
+ - !ruby/object:Gem::Version
283
+ version: '1.8'
234
284
  description:
235
285
  email: smartinez87@gmail.com
236
286
  executables: []
@@ -245,6 +295,19 @@ files:
245
295
  - MIT-LICENSE
246
296
  - README.md
247
297
  - Rakefile
298
+ - docs/notifiers/campfire.md
299
+ - docs/notifiers/custom.md
300
+ - docs/notifiers/datadog.md
301
+ - docs/notifiers/email.md
302
+ - docs/notifiers/google_chat.md
303
+ - docs/notifiers/hipchat.md
304
+ - docs/notifiers/irc.md
305
+ - docs/notifiers/mattermost.md
306
+ - docs/notifiers/slack.md
307
+ - docs/notifiers/sns.md
308
+ - docs/notifiers/teams.md
309
+ - docs/notifiers/webhook.md
310
+ - examples/sample_app.rb
248
311
  - examples/sinatra/Gemfile
249
312
  - examples/sinatra/Gemfile.lock
250
313
  - examples/sinatra/Procfile
@@ -256,21 +319,31 @@ files:
256
319
  - gemfiles/rails4_1.gemfile
257
320
  - gemfiles/rails4_2.gemfile
258
321
  - gemfiles/rails5_0.gemfile
322
+ - gemfiles/rails5_1.gemfile
323
+ - gemfiles/rails5_2.gemfile
324
+ - gemfiles/rails6_0.gemfile
259
325
  - lib/exception_notification.rb
260
326
  - lib/exception_notification/rack.rb
261
327
  - lib/exception_notification/rails.rb
262
328
  - lib/exception_notification/resque.rb
263
329
  - lib/exception_notification/sidekiq.rb
330
+ - lib/exception_notification/version.rb
264
331
  - lib/exception_notifier.rb
265
332
  - lib/exception_notifier/base_notifier.rb
266
333
  - lib/exception_notifier/campfire_notifier.rb
334
+ - lib/exception_notifier/datadog_notifier.rb
267
335
  - lib/exception_notifier/email_notifier.rb
336
+ - lib/exception_notifier/google_chat_notifier.rb
268
337
  - lib/exception_notifier/hipchat_notifier.rb
269
338
  - lib/exception_notifier/irc_notifier.rb
270
339
  - lib/exception_notifier/mattermost_notifier.rb
271
340
  - lib/exception_notifier/modules/backtrace_cleaner.rb
341
+ - lib/exception_notifier/modules/error_grouping.rb
342
+ - lib/exception_notifier/modules/formatter.rb
272
343
  - lib/exception_notifier/notifier.rb
273
344
  - lib/exception_notifier/slack_notifier.rb
345
+ - lib/exception_notifier/sns_notifier.rb
346
+ - lib/exception_notifier/teams_notifier.rb
274
347
  - lib/exception_notifier/views/exception_notifier/_backtrace.html.erb
275
348
  - lib/exception_notifier/views/exception_notifier/_backtrace.text.erb
276
349
  - lib/exception_notifier/views/exception_notifier/_data.html.erb
@@ -289,69 +362,29 @@ files:
289
362
  - lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
290
363
  - lib/exception_notifier/webhook_notifier.rb
291
364
  - lib/generators/exception_notification/install_generator.rb
292
- - lib/generators/exception_notification/templates/exception_notification.rb
293
- - test/dummy/.gitignore
294
- - test/dummy/Rakefile
295
- - test/dummy/app/controllers/application_controller.rb
296
- - test/dummy/app/controllers/posts_controller.rb
297
- - test/dummy/app/helpers/application_helper.rb
298
- - test/dummy/app/helpers/posts_helper.rb
299
- - test/dummy/app/models/post.rb
300
- - test/dummy/app/views/exception_notifier/_new_bkg_section.html.erb
301
- - test/dummy/app/views/exception_notifier/_new_bkg_section.text.erb
302
- - test/dummy/app/views/exception_notifier/_new_section.html.erb
303
- - test/dummy/app/views/exception_notifier/_new_section.text.erb
304
- - test/dummy/app/views/layouts/application.html.erb
305
- - test/dummy/app/views/posts/_form.html.erb
306
- - test/dummy/app/views/posts/new.html.erb
307
- - test/dummy/app/views/posts/show.html.erb
308
- - test/dummy/config.ru
309
- - test/dummy/config/application.rb
310
- - test/dummy/config/boot.rb
311
- - test/dummy/config/database.yml
312
- - test/dummy/config/environment.rb
313
- - test/dummy/config/environments/development.rb
314
- - test/dummy/config/environments/production.rb
315
- - test/dummy/config/environments/test.rb
316
- - test/dummy/config/initializers/backtrace_silencers.rb
317
- - test/dummy/config/initializers/inflections.rb
318
- - test/dummy/config/initializers/mime_types.rb
319
- - test/dummy/config/initializers/secret_token.rb
320
- - test/dummy/config/initializers/session_store.rb
321
- - test/dummy/config/locales/en.yml
322
- - test/dummy/config/routes.rb
323
- - test/dummy/db/migrate/20110729022608_create_posts.rb
324
- - test/dummy/db/schema.rb
325
- - test/dummy/db/seeds.rb
326
- - test/dummy/lib/tasks/.gitkeep
327
- - test/dummy/public/404.html
328
- - test/dummy/public/422.html
329
- - test/dummy/public/500.html
330
- - test/dummy/public/favicon.ico
331
- - test/dummy/public/images/rails.png
332
- - test/dummy/public/index.html
333
- - test/dummy/public/javascripts/application.js
334
- - test/dummy/public/javascripts/controls.js
335
- - test/dummy/public/javascripts/dragdrop.js
336
- - test/dummy/public/javascripts/effects.js
337
- - test/dummy/public/javascripts/prototype.js
338
- - test/dummy/public/javascripts/rails.js
339
- - test/dummy/public/robots.txt
340
- - test/dummy/public/stylesheets/.gitkeep
341
- - test/dummy/public/stylesheets/scaffold.css
342
- - test/dummy/script/rails
343
- - test/dummy/test/functional/posts_controller_test.rb
344
- - test/dummy/test/test_helper.rb
365
+ - lib/generators/exception_notification/templates/exception_notification.rb.erb
345
366
  - test/exception_notification/rack_test.rb
367
+ - test/exception_notification/resque_test.rb
346
368
  - test/exception_notifier/campfire_notifier_test.rb
369
+ - test/exception_notifier/datadog_notifier_test.rb
347
370
  - test/exception_notifier/email_notifier_test.rb
371
+ - test/exception_notifier/google_chat_notifier_test.rb
348
372
  - test/exception_notifier/hipchat_notifier_test.rb
349
373
  - test/exception_notifier/irc_notifier_test.rb
350
374
  - test/exception_notifier/mattermost_notifier_test.rb
375
+ - test/exception_notifier/modules/error_grouping_test.rb
376
+ - test/exception_notifier/modules/formatter_test.rb
351
377
  - test/exception_notifier/sidekiq_test.rb
352
378
  - test/exception_notifier/slack_notifier_test.rb
379
+ - test/exception_notifier/sns_notifier_test.rb
380
+ - test/exception_notifier/teams_notifier_test.rb
353
381
  - test/exception_notifier/webhook_notifier_test.rb
354
382
  - test/exception_notifier_test.rb
383
+ - test/support/exception_notifier_helper.rb
384
+ - test/support/views/exception_notifier/_new_bkg_section.html.erb
385
+ - test/support/views/exception_notifier/_new_bkg_section.text.erb
386
+ - test/support/views/exception_notifier/_new_section.html.erb
387
+ - test/support/views/exception_notifier/_new_section.text.erb
355
388
  - test/test_helper.rb
356
389
  homepage: https://smartinez87.github.io/exception_notification/
357
390
  licenses:
@@ -365,79 +398,38 @@ required_ruby_version: !ruby/object:Gem::Requirement
365
398
  requirements:
366
399
  - - ">="
367
400
  - !ruby/object:Gem::Version
368
- version: '2.0'
401
+ version: '2.3'
369
402
  required_rubygems_version: !ruby/object:Gem::Requirement
370
403
  requirements:
371
404
  - - ">="
372
405
  - !ruby/object:Gem::Version
373
406
  version: 1.8.11
374
407
  requirements: []
375
- rubyforge_project:
376
- rubygems_version: 2.5.1
408
+ rubygems_version: 3.1.2
377
409
  signing_key:
378
410
  specification_version: 4
379
411
  summary: Exception notification for Rails apps
380
412
  test_files:
381
- - test/dummy/.gitignore
382
- - test/dummy/Rakefile
383
- - test/dummy/app/controllers/application_controller.rb
384
- - test/dummy/app/controllers/posts_controller.rb
385
- - test/dummy/app/helpers/application_helper.rb
386
- - test/dummy/app/helpers/posts_helper.rb
387
- - test/dummy/app/models/post.rb
388
- - test/dummy/app/views/exception_notifier/_new_bkg_section.html.erb
389
- - test/dummy/app/views/exception_notifier/_new_bkg_section.text.erb
390
- - test/dummy/app/views/exception_notifier/_new_section.html.erb
391
- - test/dummy/app/views/exception_notifier/_new_section.text.erb
392
- - test/dummy/app/views/layouts/application.html.erb
393
- - test/dummy/app/views/posts/_form.html.erb
394
- - test/dummy/app/views/posts/new.html.erb
395
- - test/dummy/app/views/posts/show.html.erb
396
- - test/dummy/config.ru
397
- - test/dummy/config/application.rb
398
- - test/dummy/config/boot.rb
399
- - test/dummy/config/database.yml
400
- - test/dummy/config/environment.rb
401
- - test/dummy/config/environments/development.rb
402
- - test/dummy/config/environments/production.rb
403
- - test/dummy/config/environments/test.rb
404
- - test/dummy/config/initializers/backtrace_silencers.rb
405
- - test/dummy/config/initializers/inflections.rb
406
- - test/dummy/config/initializers/mime_types.rb
407
- - test/dummy/config/initializers/secret_token.rb
408
- - test/dummy/config/initializers/session_store.rb
409
- - test/dummy/config/locales/en.yml
410
- - test/dummy/config/routes.rb
411
- - test/dummy/db/migrate/20110729022608_create_posts.rb
412
- - test/dummy/db/schema.rb
413
- - test/dummy/db/seeds.rb
414
- - test/dummy/lib/tasks/.gitkeep
415
- - test/dummy/public/404.html
416
- - test/dummy/public/422.html
417
- - test/dummy/public/500.html
418
- - test/dummy/public/favicon.ico
419
- - test/dummy/public/images/rails.png
420
- - test/dummy/public/index.html
421
- - test/dummy/public/javascripts/application.js
422
- - test/dummy/public/javascripts/controls.js
423
- - test/dummy/public/javascripts/dragdrop.js
424
- - test/dummy/public/javascripts/effects.js
425
- - test/dummy/public/javascripts/prototype.js
426
- - test/dummy/public/javascripts/rails.js
427
- - test/dummy/public/robots.txt
428
- - test/dummy/public/stylesheets/.gitkeep
429
- - test/dummy/public/stylesheets/scaffold.css
430
- - test/dummy/script/rails
431
- - test/dummy/test/functional/posts_controller_test.rb
432
- - test/dummy/test/test_helper.rb
433
413
  - test/exception_notification/rack_test.rb
414
+ - test/exception_notification/resque_test.rb
434
415
  - test/exception_notifier/campfire_notifier_test.rb
416
+ - test/exception_notifier/datadog_notifier_test.rb
435
417
  - test/exception_notifier/email_notifier_test.rb
418
+ - test/exception_notifier/google_chat_notifier_test.rb
436
419
  - test/exception_notifier/hipchat_notifier_test.rb
437
420
  - test/exception_notifier/irc_notifier_test.rb
438
421
  - test/exception_notifier/mattermost_notifier_test.rb
422
+ - test/exception_notifier/modules/error_grouping_test.rb
423
+ - test/exception_notifier/modules/formatter_test.rb
439
424
  - test/exception_notifier/sidekiq_test.rb
440
425
  - test/exception_notifier/slack_notifier_test.rb
426
+ - test/exception_notifier/sns_notifier_test.rb
427
+ - test/exception_notifier/teams_notifier_test.rb
441
428
  - test/exception_notifier/webhook_notifier_test.rb
442
429
  - test/exception_notifier_test.rb
430
+ - test/support/exception_notifier_helper.rb
431
+ - test/support/views/exception_notifier/_new_bkg_section.html.erb
432
+ - test/support/views/exception_notifier/_new_bkg_section.text.erb
433
+ - test/support/views/exception_notifier/_new_section.html.erb
434
+ - test/support/views/exception_notifier/_new_section.text.erb
443
435
  - test/test_helper.rb