exception_notification 4.1.4 → 4.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +6 -9
- data/CHANGELOG.rdoc +15 -2
- data/CODE_OF_CONDUCT.md +22 -0
- data/MIT-LICENSE +4 -1
- data/README.md +170 -6
- data/Rakefile +1 -9
- data/exception_notification.gemspec +7 -6
- data/gemfiles/rails4_0.gemfile +2 -1
- data/gemfiles/rails4_1.gemfile +1 -0
- data/gemfiles/rails4_2.gemfile +1 -0
- data/gemfiles/rails5_0.gemfile +8 -0
- data/lib/exception_notifier.rb +13 -1
- data/lib/exception_notifier/email_notifier.rb +23 -3
- data/lib/exception_notifier/mattermost_notifier.rb +159 -0
- data/lib/exception_notifier/slack_notifier.rb +4 -2
- data/lib/exception_notifier/views/exception_notifier/_request.html.erb +1 -1
- data/lib/exception_notifier/views/exception_notifier/_request.text.erb +1 -1
- data/lib/exception_notifier/views/exception_notifier/background_exception_notification.html.erb +1 -1
- data/lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb +1 -1
- data/lib/exception_notifier/webhook_notifier.rb +1 -0
- data/test/dummy/test/functional/posts_controller_test.rb +40 -46
- data/test/dummy/test/test_helper.rb +0 -6
- data/test/exception_notifier/email_notifier_test.rb +53 -27
- data/test/exception_notifier/mattermost_notifier_test.rb +88 -0
- data/test/exception_notifier/slack_notifier_test.rb +17 -4
- data/test/exception_notifier_test.rb +4 -1
- data/test/test_helper.rb +1 -1
- metadata +35 -18
- data/test/dummy/Gemfile +0 -34
- data/test/dummy/Gemfile.lock +0 -137
- data/test/dummy/test/fixtures/posts.yml +0 -11
data/test/dummy/Gemfile
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
gem 'rails', '4.2.0'
|
4
|
-
|
5
|
-
# Bundle edge Rails instead:
|
6
|
-
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
7
|
-
|
8
|
-
gem 'sqlite3'
|
9
|
-
|
10
|
-
gem 'tinder'
|
11
|
-
gem 'httparty'
|
12
|
-
gem 'exception_notification', :path => "../../.."
|
13
|
-
# Use unicorn as the web server
|
14
|
-
# gem 'unicorn'
|
15
|
-
|
16
|
-
# Deploy with Capistrano
|
17
|
-
# gem 'capistrano'
|
18
|
-
|
19
|
-
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
|
20
|
-
# gem 'ruby-debug'
|
21
|
-
# gem 'ruby-debug19', :require => 'ruby-debug'
|
22
|
-
|
23
|
-
# Bundle the extra gems:
|
24
|
-
# gem 'bj'
|
25
|
-
# gem 'nokogiri'
|
26
|
-
# gem 'sqlite3-ruby', :require => 'sqlite3'
|
27
|
-
# gem 'aws-s3', :require => 'aws/s3'
|
28
|
-
|
29
|
-
# Bundle gems for the local environment. Make sure to
|
30
|
-
# put test-only gems in this group so their generators
|
31
|
-
# and rake tasks are available in development mode:
|
32
|
-
# group :development, :test do
|
33
|
-
# gem 'webrat'
|
34
|
-
# end
|
data/test/dummy/Gemfile.lock
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../../..
|
3
|
-
specs:
|
4
|
-
exception_notification (4.1.1)
|
5
|
-
actionmailer (~> 4.0)
|
6
|
-
activesupport (~> 4.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (4.2.0)
|
12
|
-
actionpack (= 4.2.0)
|
13
|
-
actionview (= 4.2.0)
|
14
|
-
activejob (= 4.2.0)
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
16
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
-
actionpack (4.2.0)
|
18
|
-
actionview (= 4.2.0)
|
19
|
-
activesupport (= 4.2.0)
|
20
|
-
rack (~> 1.6.0)
|
21
|
-
rack-test (~> 0.6.2)
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
24
|
-
actionview (4.2.0)
|
25
|
-
activesupport (= 4.2.0)
|
26
|
-
builder (~> 3.1)
|
27
|
-
erubis (~> 2.7.0)
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
30
|
-
activejob (4.2.0)
|
31
|
-
activesupport (= 4.2.0)
|
32
|
-
globalid (>= 0.3.0)
|
33
|
-
activemodel (4.2.0)
|
34
|
-
activesupport (= 4.2.0)
|
35
|
-
builder (~> 3.1)
|
36
|
-
activerecord (4.2.0)
|
37
|
-
activemodel (= 4.2.0)
|
38
|
-
activesupport (= 4.2.0)
|
39
|
-
arel (~> 6.0)
|
40
|
-
activesupport (4.2.0)
|
41
|
-
i18n (~> 0.7)
|
42
|
-
json (~> 1.7, >= 1.7.7)
|
43
|
-
minitest (~> 5.1)
|
44
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
45
|
-
tzinfo (~> 1.1)
|
46
|
-
arel (6.0.3)
|
47
|
-
builder (3.2.2)
|
48
|
-
erubis (2.7.0)
|
49
|
-
eventmachine (1.0.8)
|
50
|
-
faraday (0.9.1)
|
51
|
-
multipart-post (>= 1.2, < 3)
|
52
|
-
faraday_middleware (0.10.0)
|
53
|
-
faraday (>= 0.7.4, < 0.10)
|
54
|
-
globalid (0.3.6)
|
55
|
-
activesupport (>= 4.1.0)
|
56
|
-
hashie (3.4.2)
|
57
|
-
http_parser.rb (0.5.3)
|
58
|
-
httparty (0.13.5)
|
59
|
-
json (~> 1.8)
|
60
|
-
multi_xml (>= 0.5.2)
|
61
|
-
i18n (0.7.0)
|
62
|
-
json (1.8.3)
|
63
|
-
loofah (2.0.3)
|
64
|
-
nokogiri (>= 1.5.9)
|
65
|
-
mail (2.6.3)
|
66
|
-
mime-types (>= 1.16, < 3)
|
67
|
-
mime-types (2.6.1)
|
68
|
-
mini_portile (0.6.2)
|
69
|
-
minitest (5.8.0)
|
70
|
-
multi_json (1.11.2)
|
71
|
-
multi_xml (0.5.5)
|
72
|
-
multipart-post (2.0.0)
|
73
|
-
nokogiri (1.6.6.2)
|
74
|
-
mini_portile (~> 0.6.0)
|
75
|
-
rack (1.6.4)
|
76
|
-
rack-test (0.6.3)
|
77
|
-
rack (>= 1.0)
|
78
|
-
rails (4.2.0)
|
79
|
-
actionmailer (= 4.2.0)
|
80
|
-
actionpack (= 4.2.0)
|
81
|
-
actionview (= 4.2.0)
|
82
|
-
activejob (= 4.2.0)
|
83
|
-
activemodel (= 4.2.0)
|
84
|
-
activerecord (= 4.2.0)
|
85
|
-
activesupport (= 4.2.0)
|
86
|
-
bundler (>= 1.3.0, < 2.0)
|
87
|
-
railties (= 4.2.0)
|
88
|
-
sprockets-rails
|
89
|
-
rails-deprecated_sanitizer (1.0.3)
|
90
|
-
activesupport (>= 4.2.0.alpha)
|
91
|
-
rails-dom-testing (1.0.7)
|
92
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
93
|
-
nokogiri (~> 1.6.0)
|
94
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
95
|
-
rails-html-sanitizer (1.0.2)
|
96
|
-
loofah (~> 2.0)
|
97
|
-
railties (4.2.0)
|
98
|
-
actionpack (= 4.2.0)
|
99
|
-
activesupport (= 4.2.0)
|
100
|
-
rake (>= 0.8.7)
|
101
|
-
thor (>= 0.18.1, < 2.0)
|
102
|
-
rake (10.4.2)
|
103
|
-
simple_oauth (0.1.9)
|
104
|
-
sprockets (3.3.3)
|
105
|
-
rack (~> 1.0)
|
106
|
-
sprockets-rails (2.3.2)
|
107
|
-
actionpack (>= 3.0)
|
108
|
-
activesupport (>= 3.0)
|
109
|
-
sprockets (>= 2.8, < 4.0)
|
110
|
-
sqlite3 (1.3.10)
|
111
|
-
thor (0.19.1)
|
112
|
-
thread_safe (0.3.5)
|
113
|
-
tinder (1.10.1)
|
114
|
-
eventmachine (~> 1.0)
|
115
|
-
faraday (~> 0.9.0)
|
116
|
-
faraday_middleware (~> 0.9)
|
117
|
-
hashie (>= 1.0)
|
118
|
-
json (~> 1.8.0)
|
119
|
-
mime-types
|
120
|
-
multi_json (~> 1.7)
|
121
|
-
twitter-stream (~> 0.1)
|
122
|
-
twitter-stream (0.1.16)
|
123
|
-
eventmachine (>= 0.12.8)
|
124
|
-
http_parser.rb (~> 0.5.1)
|
125
|
-
simple_oauth (~> 0.1.4)
|
126
|
-
tzinfo (1.2.2)
|
127
|
-
thread_safe (~> 0.1)
|
128
|
-
|
129
|
-
PLATFORMS
|
130
|
-
ruby
|
131
|
-
|
132
|
-
DEPENDENCIES
|
133
|
-
exception_notification!
|
134
|
-
httparty
|
135
|
-
rails (= 4.2.0)
|
136
|
-
sqlite3
|
137
|
-
tinder
|