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 196,125
Downloads: 241,416,688
Daily
Ranking: 268 of 196,106
Downloads: 44,727
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 244 | 220,413,551 | xcodeproj |
| 373 | 138,282,431 | cocoapods |
| 428 | 124,234,686 | danger |
| 463 | 115,304,402 | cork |
| 1,937 | 16,617,376 | r10k |
| 6,709 | 839,532 | rake_terraform |
| 7,136 | 721,988 | rake_docker |
| 7,338 | 681,624 | sym |
| 10,150 | 335,257 | cocoapods-update-if-you-dare |
| 10,693 | 298,835 | xcprofiler |
| 12,172 | 227,057 | m-git |
| 14,905 | 150,581 | rake_ssh |
| 15,410 | 141,607 | rake_github |
| 15,761 | 135,780 | rake_circle_ci |
| 19,319 | 94,099 | cocoaseeds |
| 20,032 | 88,591 | simple-feed |
| 20,249 | 87,074 | gct |
| 21,384 | 79,856 | rake_git_crypt |
| 21,934 | 76,742 | clintegracon |
| 23,006 | 71,269 | cocoapods-catalyst-support |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |