gitsflow 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitsflow might be problematic. Click here for more details.

@@ -1,42 +0,0 @@
1
- class String
2
- # colorization
3
- def colorize(color_code)
4
- "\e[#{color_code}m#{self}\e[0m"
5
- end
6
-
7
- def red
8
- colorize(31)
9
- end
10
-
11
- def green
12
- colorize(32)
13
- end
14
-
15
- def yellow
16
- colorize(33)
17
- end
18
-
19
- def gray
20
- colorize(37)
21
- end
22
-
23
- def blue
24
- colorize(34)
25
- end
26
-
27
- def pink
28
- colorize(35)
29
- end
30
-
31
- def light_blue
32
- colorize(36)
33
- end
34
- def bg_black; "\e[40m#{self}\e[0m" end
35
- def bg_red; "\e[41m#{self}\e[0m" end
36
- def bg_green; "\e[42m#{self}\e[0m" end
37
- def bg_brown; "\e[43m#{self}\e[0m" end
38
- def bg_blue; "\e[44m#{self}\e[0m" end
39
- def bg_magenta; "\e[45m#{self}\e[0m" end
40
- def bg_cyan; "\e[46m#{self}\e[0m" end
41
- def bg_gray; "\e[47m#{self}\e[0m" end
42
- end