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 191,455
Downloads: 220,275,532
Daily
Ranking: 235 of 191,429
Downloads: 118,591
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 240 | 202,040,134 | xcodeproj |
| 369 | 128,914,835 | cocoapods |
| 428 | 116,181,075 | danger |
| 453 | 107,701,323 | cork |
| 1,895 | 16,206,287 | r10k |
| 6,377 | 827,781 | rake_terraform |
| 6,779 | 713,940 | rake_docker |
| 7,103 | 643,737 | sym |
| 10,311 | 291,879 | xcprofiler |
| 10,681 | 268,728 | cocoapods-update-if-you-dare |
| 11,633 | 226,442 | m-git |
| 14,630 | 143,209 | rake_ssh |
| 15,521 | 128,362 | rake_github |
| 15,550 | 127,861 | rake_circle_ci |
| 18,950 | 90,553 | cocoaseeds |
| 19,865 | 83,885 | simple-feed |
| 19,891 | 83,695 | gct |
| 21,875 | 71,884 | rake_git_crypt |
| 23,141 | 66,198 | cocoapods-catalyst-support |
| 23,475 | 64,712 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |