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: 217 of 189,628
Downloads: 214,617,203
Daily
Ranking: 213 of 189,601
Downloads: 124,960
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 237 | 197,375,586 | xcodeproj |
| 364 | 126,382,919 | cocoapods |
| 427 | 113,878,380 | danger |
| 450 | 105,521,560 | cork |
| 1,880 | 16,075,190 | r10k |
| 6,321 | 825,428 | rake_terraform |
| 6,725 | 712,284 | rake_docker |
| 7,097 | 628,239 | sym |
| 10,233 | 289,366 | xcprofiler |
| 10,893 | 252,855 | cocoapods-update-if-you-dare |
| 11,526 | 226,262 | m-git |
| 14,542 | 142,097 | rake_ssh |
| 15,489 | 126,600 | rake_circle_ci |
| 15,500 | 126,458 | rake_github |
| 18,849 | 90,017 | cocoaseeds |
| 19,822 | 82,914 | gct |
| 19,871 | 82,625 | simple-feed |
| 21,841 | 71,100 | rake_git_crypt |
| 23,261 | 64,701 | cocoapods-catalyst-support |
| 23,494 | 63,735 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |