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 192,861
Downloads: 225,895,212
Daily
Ranking: 223 of 192,676
Downloads: 118,607
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 239 | 206,761,586 | xcodeproj |
| 373 | 131,433,373 | cocoapods |
| 429 | 118,333,368 | danger |
| 458 | 109,752,575 | cork |
| 1,911 | 16,316,608 | r10k |
| 6,442 | 831,048 | rake_terraform |
| 6,837 | 715,834 | rake_docker |
| 7,139 | 654,089 | sym |
| 10,525 | 294,106 | xcprofiler |
| 10,628 | 287,166 | cocoapods-update-if-you-dare |
| 11,882 | 226,635 | m-git |
| 14,780 | 145,691 | rake_ssh |
| 15,618 | 131,465 | rake_github |
| 15,673 | 130,452 | rake_circle_ci |
| 19,178 | 91,275 | cocoaseeds |
| 19,960 | 85,364 | simple-feed |
| 20,048 | 84,816 | gct |
| 21,921 | 73,562 | rake_git_crypt |
| 22,879 | 68,984 | cocoapods-catalyst-support |
| 23,688 | 65,568 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |