slack_500 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slack_500/version.rb +1 -1
- data/lib/slack_500.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563b520c7aa9866295b2d884c47490a26096c87f5301b6a2d33d0f9d0998a664
|
4
|
+
data.tar.gz: d076c0cf542b9dc1b6e89e95b4f8e08ad4dd7a0302c64ff5f645d4b4c7009110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53730ab5b02f003a0b59c4247daf8752d81e160e246ce34a469de344a187baa39d232abeef9b07a3d5c09e763c7f3706afffa92d8fc2b1b7fd3acc9bf41f8731
|
7
|
+
data.tar.gz: fed8ba552921d46969aac3d23fc2808384049948cb7576668f268f0a8915a652043d96595f9a2a99fef24d660078fdcb8fc642b5e50ee6548bc8efb92c303cf4
|
data/lib/slack_500/version.rb
CHANGED
data/lib/slack_500.rb
CHANGED
@@ -47,7 +47,7 @@ module Slack500
|
|
47
47
|
return
|
48
48
|
end
|
49
49
|
|
50
|
-
text = "
|
50
|
+
text = "\n\n:black_small_square:*Request*\n*#{request.method}* #{request.url}\n\n:black_small_square:*User Agent*\n#{request.user_agent}\n\n:black_small_square:*IP*\n#{request.remote_ip}\n\n:black_small_square:*Query*\n#{request.query_parameters}\n\n:black_small_square:*Message*\n#{exception.message}\n\n:black_small_square:*Backtrace*\n#{exception.backtrace.map {|s| "`#{s.gsub('`','').gsub("'",'').gsub(Rails.root.to_s, '')}`"}.join("\n")}"
|
51
51
|
|
52
52
|
default_params = {
|
53
53
|
pretext: self.pretext,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack_500
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuo Matsunaga
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|