smartcloud 0.0.174 → 0.0.175
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 +6 -1
- data/lib/smartcloud/grids/runner.rb +5 -0
- 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: 99e69fe0612ec14d6e92533ccd41a7a5b8d5b28a3647b5e8d406c36d62fcd35d
|
4
|
+
data.tar.gz: 8df92bc6e039ea2a09cf4f651a8694ef317c7cf2d5d143a2abda14fd619c277e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb0174ba73d9cbc9bc142c5dd72e67889a90a64b15325a51bf21381f9748d25d70ce8fb4e22898b4e3888f1c7facb41d3b7a520c517f69dc1000de384a9c817
|
7
|
+
data.tar.gz: 944daa53a58715fc88f28fc11fc39a910068222bbb3ea2fe5c9092bf5c4dfbe6a9f4a156239fc3167f694e48638720ab03eca1553af4630c4087d852fe51c39f
|
@@ -85,13 +85,18 @@ 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
|
+
info_symbol = "#{('\u2713').force_encoding('utf-8')}"
|
89
|
+
# error_symbol = "#{('\u274c').force_encoding('utf-8')}"
|
90
|
+
# warn_symbol = "#{('\u26a0').force_encoding('utf-8')}"
|
91
|
+
symbol_text = (severity == 'INFO') ? info_symbol : "#{severity}:"
|
92
|
+
|
88
93
|
"\t\t\t------> #{severity_text} #{message}\n"
|
89
94
|
end
|
90
95
|
end
|
91
96
|
|
92
97
|
def set_logger_formatter_tabs
|
93
98
|
logger.formatter = proc do |severity, datetime, progname, message|
|
94
|
-
"\t\t\t\t #{message}"
|
99
|
+
"\t\t\t\t\t #{message}"
|
95
100
|
end
|
96
101
|
end
|
97
102
|
end
|
@@ -221,6 +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
|
+
info_symbol = "#{('\u2713').force_encoding('utf-8')}"
|
225
|
+
# error_symbol = "#{('\u274c').force_encoding('utf-8')}"
|
226
|
+
# warn_symbol = "#{('\u26a0').force_encoding('utf-8')}"
|
227
|
+
symbol_text = (severity == 'INFO') ? info_symbol : "#{severity}:"
|
228
|
+
|
224
229
|
"\t\t\t------> #{severity_text} #{message}\n"
|
225
230
|
end
|
226
231
|
|