hephaestus 0.7.5.2 → 0.7.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/config/initializers/slack_webhook_logger.rb +13 -11
- data/lib/hephaestus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3194bd2f901487254193134cea8684e93c3c9610a1af40bec9ab3669a343b41
|
|
4
|
+
data.tar.gz: cb07a5bcc0ec613ae2fa438fc10db957bf55cf222bb14c6ad5815a68bf2a0a96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 880abf42e09fe3b55aa0a48d1cc6acd5c42de3bb64c01400d821832beb01dfbab324fe40a0e32e4cc6d233e4a7972bb24de2b41142f7b5e5cc4fde68c37a852d
|
|
7
|
+
data.tar.gz: cf22ec5af5aea6921156206f262ec49f8f63bca2d397140edf5cf7236001efea40a83ca991e54d7463211a5143a9a44e8afcb113b75f05dd09911f47419b0cf3
|
data/CHANGELOG.md
CHANGED
|
@@ -4,18 +4,20 @@
|
|
|
4
4
|
require "slack_webhook_logger"
|
|
5
5
|
|
|
6
6
|
Rails.application.configure do
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
config.after_initialize do
|
|
8
|
+
SlackWebhookLogger.setup do |config|
|
|
9
|
+
# Webhook URL
|
|
10
|
+
#
|
|
11
|
+
# The URL where messages will be sent.
|
|
12
|
+
config.webhook_url = Hephaestus::SLACK_LOG_URL
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
# The minimum error level to see in Slack.
|
|
15
|
+
#
|
|
16
|
+
# All log levels are supported, but don't do anything less then :warn since Slack only allows one message
|
|
17
|
+
# per minute.
|
|
18
|
+
config.level = :WARN
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/]
|
|
21
|
+
end
|
|
20
22
|
end
|
|
21
23
|
end
|
data/lib/hephaestus/version.rb
CHANGED