Categories: None [Edit]
colored2
This is a heavily modified fork of http://github.com/defunkt/colored gem, with many
sensible pull requests combined. Since the authors of the original gem no longer support it,
this might, perhaps, be considered a good alternative.
Simple gem that adds various color methods to String class, and can be used as follows:
require 'colored2'
puts 'this is red'.red
puts 'this is red with a yellow background'.red.on.yellow
puts 'this is red with and italic'.red.italic
puts 'this is green bold'.green.bold << ' and regular'.green
puts 'this is really bold blue on white but reversed'.bold.blue.on.white.reversed
puts 'this is regular, but '.red! << 'this is red '.yellow! << ' and yellow.'.no_color!
puts ('this is regular, but '.red! do
'this is red '.yellow! do
' and yellow.'.no_color!
end
end)
Total
Ranking: 218 of 193,188
Downloads: 228,685,863
Daily
Ranking: 202 of 193,154
Downloads: 194,168
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 240 | 209,085,125 | xcodeproj |
| 374 | 132,677,048 | cocoapods |
| 429 | 119,374,416 | danger |
| 460 | 110,746,710 | cork |
| 1,917 | 16,365,653 | r10k |
| 6,475 | 832,616 | rake_terraform |
| 6,879 | 716,841 | rake_docker |
| 7,168 | 657,782 | sym |
| 10,529 | 296,250 | cocoapods-update-if-you-dare |
| 10,547 | 295,206 | xcprofiler |
| 11,944 | 226,725 | m-git |
| 14,819 | 146,238 | rake_ssh |
| 15,635 | 132,463 | rake_github |
| 15,711 | 131,071 | rake_circle_ci |
| 19,223 | 91,639 | cocoaseeds |
| 19,958 | 86,142 | simple-feed |
| 20,072 | 85,397 | gct |
| 21,938 | 74,086 | rake_git_crypt |
| 22,873 | 69,572 | cocoapods-catalyst-support |
| 23,539 | 66,705 | clintegracon |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |