mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
More intricate banner, with gray figure, black belt and red name
This commit is contained in:
parent
f772c3a741
commit
e6fefdc5df
1 changed files with 31 additions and 14 deletions
|
@ -110,21 +110,38 @@ module Sidekiq
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
def self.w
|
||||
"\e[#{37}m"
|
||||
end
|
||||
|
||||
def self.r
|
||||
"\e[#{31}m"
|
||||
end
|
||||
|
||||
def self.b
|
||||
"\e[#{30}m"
|
||||
end
|
||||
|
||||
def self.reset
|
||||
"\e[#{0}m"
|
||||
end
|
||||
|
||||
def self.banner
|
||||
%q{
|
||||
m,
|
||||
`$b
|
||||
.ss, $$: .,d$
|
||||
`$$P,d$P' .,md$P"'
|
||||
,$$$$$bmmd$$$P^'
|
||||
.d$$$$$$$$$$P'
|
||||
$$^' `"^$$$' ____ _ _ _ _
|
||||
$: ,$$: / ___|(_) __| | ___| | _(_) __ _
|
||||
`b :$$ \___ \| |/ _` |/ _ \ |/ / |/ _` |
|
||||
$$: ___) | | (_| | __/ <| | (_| |
|
||||
$$ |____/|_|\__,_|\___|_|\_\_|\__, |
|
||||
.d$$ |_|
|
||||
}
|
||||
%Q{
|
||||
#{w} m,
|
||||
#{w} `$b
|
||||
#{w} .ss, $$: .,d$
|
||||
#{w} `$$P,d$P' .,md$P"'
|
||||
#{w} ,$$$$$b#{b}/#{w}md$$$P^'
|
||||
#{w} .d$$$$$$#{b}/#{w}$$$P'
|
||||
#{w} $$^' `"#{b}/#{w}$$$' #{r}____ _ _ _ _
|
||||
#{w} $: ,$$: #{r} / ___|(_) __| | ___| | _(_) __ _
|
||||
#{w} `b :$$ #{r} \\___ \\| |/ _` |/ _ \\ |/ / |/ _` |
|
||||
#{w} $$: #{r} ___) | | (_| | __/ <| | (_| |
|
||||
#{w} $$ #{r}|____/|_|\\__,_|\\___|_|\\_\\_|\\__, |
|
||||
#{w} .d$$ #{r} |_|
|
||||
#{reset}}
|
||||
end
|
||||
|
||||
SIGNAL_HANDLERS = {
|
||||
|
|
Loading…
Reference in a new issue