slack_500 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf51440f0ff4a45dc0bc36864fd1a89aaf52d92986d7ebcb5ccae8828e81c892
4
- data.tar.gz: 758993a70ff1e51e5d843a0c56e61bae41a2bc607a46d92d67d7bf5784fceeb1
3
+ metadata.gz: 89111399c2a825afce5db51b81cf41e49918519ec13a10c52868b7983280fee2
4
+ data.tar.gz: b5a06dd9c682bf8654ba5ef0e9e4f509ccf5ee4da253a5bcf30f7f68ff368372
5
5
  SHA512:
6
- metadata.gz: 05cb0dc736b454453980c53df548907a82fb87d7bec6f8454e483d0be4281f141e6ac56edfe711f1d088415d16604713a3298f56fe99cf3e80405b4a42011125
7
- data.tar.gz: 0ead63383d654a527988c2ae2d82b2d7a5f0b57cc998b2ec0de53e18068080ff29a53a3b091e877290e40848d24c2bff05e0bb56f4cabb3bb4d720b3386e8fc7
6
+ metadata.gz: 72d5e705136c220fb46431df410a02eef4d20bde4aa273a25179b9d9e688244528836d24ff6f3bff0e40cf297220571bc2269ab58ad86f37637838a9384ff98a
7
+ data.tar.gz: 52f644154d0262e48d8ec3a7976e4ef8c98e526903c4526b251137b4c36b11f5c54a70fac9dfb4ca3df6fad56acced28c71abfbff418b81400390acb3b77cd3a
data/README.md CHANGED
@@ -7,6 +7,7 @@ The following items are displayed in the Slack message.
7
7
  - http method
8
8
  - Controller and Action
9
9
  - Query Parameters
10
+ - Body Content (Query / JSON )
10
11
  - Remote IP
11
12
  - User Agent
12
13
  - Error Message
data/lib/slack_500.rb CHANGED
@@ -84,7 +84,7 @@ module Slack500
84
84
  end
85
85
 
86
86
  text += "#{bullet}*Body*\n#{body}\n\n" unless body.nil?
87
- text += "#{bullet}:*Backtrace*\n#{exception.backtrace.map {|s| "`#{s.gsub('`', '').gsub("'", '').gsub(Rails.root.to_s, '')}`"}.join("\n")}"
87
+ text += "#{bullet}*Backtrace*\n#{exception.backtrace.map {|s| "`#{s.gsub('`', '').gsub("'", '').gsub(Rails.root.to_s, '')}`"}.join("\n")}"
88
88
  text = text.force_encoding('UTF-8')
89
89
  default_params = {
90
90
  pretext: self.pretext,
@@ -1,3 +1,3 @@
1
1
  module Slack500
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_500
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuo Matsunaga