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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d2679c6e9eaf9e186eb9dd86a5620490b12a761ad3cf88bd8ab5410fb0edcc0
4
- data.tar.gz: 72e051e91d386f6bf8d70b9370b851b74c7182749285929cfc0cb3b11458dc13
3
+ metadata.gz: 99e69fe0612ec14d6e92533ccd41a7a5b8d5b28a3647b5e8d406c36d62fcd35d
4
+ data.tar.gz: 8df92bc6e039ea2a09cf4f651a8694ef317c7cf2d5d143a2abda14fd619c277e
5
5
  SHA512:
6
- metadata.gz: 0bef0d06808308bf829ea78049fe339cb08f2dc1550db0de070932c2d5d0b8335d96097a1baf53f02505d87ef0d2ccc76f234a019685d396b5903eee4197723f
7
- data.tar.gz: 5be6aedcc18398a619c5bbdb7d0d1a9fe5bfcfb8ac48e2e3766e8589ef005da403e95a31ae55d0e55f2bf5d3d927c8f4261f3e7a15435f22fc24abcb2e41e12a
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.174
4
+ version: 0.0.175
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard