smartcloud 0.0.180 → 0.0.181
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/buildpacker.rb +5 -7
- data/lib/smartcloud/grids/runner.rb +5 -7
- 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: b95dd47f68ddf685c8c56f1c63187b4cb5f8892b368bf9cf7329691afa368628
|
4
|
+
data.tar.gz: 271ce00ce642aa5b8034e51aa7eeb35631c90f16093bc4a604629e1e19d2d81b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd72ec4f0b625698b36e59445bb26847fc7122d2fd341cddd20ca00726dad0711889b50707cbf7ce07218b6780f2b79bca73333348ffe9007cc9ce460833395d
|
7
|
+
data.tar.gz: f82a4aa1fa7fd4086e86b06051b47355a69996cf7275fa1c11e0c7ffdd1426372c52c193e8209977d7f8069e9c40e1687ae3a5c5912d99772bcc619ba62f16d8
|
@@ -85,13 +85,11 @@ module Smartcloud
|
|
85
85
|
def set_logger_formatter_arrow
|
86
86
|
logger.formatter = proc do |severity, datetime, progname, message|
|
87
87
|
severity_text = (severity == 'INFO') ? "" : "#{severity}: "
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
symbol_text = (message == "") ? "" : Object.const_get("SYMBOL_#{severity}")
|
94
|
-
|
88
|
+
severity_symbols = { "DEBUG" => "\u{1f527}", "INFO" => "\u{1f604}",
|
89
|
+
"WARN" => "\u{2757}", "ERROR" => "\u{274c}", "FATAL" => "\u{274c}",
|
90
|
+
"UNKNOWN" => "\u{2753}"
|
91
|
+
}
|
92
|
+
symbol_text = (message == "") ? "" : severity_symbols[severity]
|
95
93
|
"\t\t\t\t#{symbol_text} #{severity_text}#{message}\n"
|
96
94
|
end
|
97
95
|
end
|
@@ -221,13 +221,11 @@ module Smartcloud
|
|
221
221
|
def self.prereceive_app(appname, username, oldrev, newrev, refname)
|
222
222
|
logger.formatter = proc do |severity, datetime, progname, message|
|
223
223
|
severity_text = (severity == 'INFO') ? "" : "#{severity}: "
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
symbol_text = (message == "") ? "" : Object.const_get("SYMBOL_#{severity}")
|
230
|
-
|
224
|
+
severity_symbols = { "DEBUG" => "\u{1f527}", "INFO" => "\u{1f604}",
|
225
|
+
"WARN" => "\u{2757}", "ERROR" => "\u{274c}", "FATAL" => "\u{274c}",
|
226
|
+
"UNKNOWN" => "\u{2753}"
|
227
|
+
}
|
228
|
+
symbol_text = (message == "") ? "" : severity_symbols[severity]
|
231
229
|
"\t\t\t\t#{symbol_text} #{severity_text}#{message}\n"
|
232
230
|
end
|
233
231
|
|