smartcloud 0.0.183 → 0.0.184
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 +3 -6
- data/lib/smartcloud/grids/runner.rb +3 -6
- 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: 9b036a69c41986c8bc466401694c5602292426a2aacf28bcdccb12ff60356d02
|
4
|
+
data.tar.gz: 4be43d0d642cb6243372a2e9400ed58f9e5cf702dbfb1718388f031dbbd68227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e8e26705bc738ce8e47e31915a76b8794be5195d8ddc1694b61ece548f39afa24c271aaf62f0a966e4bdad951207cc02e7ac211a7b87924915d67178838dbe0
|
7
|
+
data.tar.gz: 98163e53f2528d250c880c7b418af7b9d44e58ce3b0237a0039f1325433388e4c638c3f7af3c6f17f600bd553fdf06f47af85ca4d57405dbdbe09725ebe74f9b
|
@@ -80,13 +80,10 @@ module Smartcloud
|
|
80
80
|
|
81
81
|
def set_logger_formatter_arrow
|
82
82
|
logger.formatter = proc do |severity, datetime, progname, message|
|
83
|
-
severity_text =
|
84
|
-
|
85
|
-
"WARN" => "\u{2757}", "ERROR" => "\u{2b55}", "FATAL" => "\u{274c}",
|
86
|
-
"UNKNOWN" => "\u{2753}"
|
83
|
+
severity_text = { "DEBUG" => "\u{1f527} #{severity}:", "INFO" => " \u{276f}", "WARN" => "\u{2757} #{severity}:",
|
84
|
+
"ERROR" => "\u{274c} #{severity}:", "FATAL" => "\u{2b55} #{severity}:", "UNKNOWN" => "\u{2753} #{severity}:"
|
87
85
|
}
|
88
|
-
|
89
|
-
"\t\t\t\t#{symbol_text} #{severity_text}#{message}\n"
|
86
|
+
"\t\t\t\t#{severity_text[severity]} #{message}\n"
|
90
87
|
end
|
91
88
|
end
|
92
89
|
|
@@ -220,13 +220,10 @@ module Smartcloud
|
|
220
220
|
|
221
221
|
def self.prereceive_app(appname, username, oldrev, newrev, refname)
|
222
222
|
logger.formatter = proc do |severity, datetime, progname, message|
|
223
|
-
severity_text =
|
224
|
-
|
225
|
-
"WARN" => "\u{2757}", "ERROR" => "\u{2b55}", "FATAL" => "\u{274c}",
|
226
|
-
"UNKNOWN" => "\u{2753}"
|
223
|
+
severity_text = { "DEBUG" => "\u{1f527} #{severity}:", "INFO" => " \u{276f}", "WARN" => "\u{2757} #{severity}:",
|
224
|
+
"ERROR" => "\u{274c} #{severity}:", "FATAL" => "\u{2b55} #{severity}:", "UNKNOWN" => "\u{2753} #{severity}:"
|
227
225
|
}
|
228
|
-
|
229
|
-
"\t\t\t\t#{symbol_text} #{severity_text}#{message}\n"
|
226
|
+
"\t\t\t\t#{severity_text[severity]} #{message}\n"
|
230
227
|
end
|
231
228
|
|
232
229
|
# Load vars and environment
|