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 188,219
Downloads: 207,212,438
Daily
Ranking: 207 of 188,199
Downloads: 167,258
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 238 | 191,122,655 | xcodeproj |
| 362 | 122,980,706 | cocoapods |
| 424 | 110,782,841 | danger |
| 449 | 102,611,398 | cork |
| 1,843 | 15,895,288 | r10k |
| 6,242 | 822,166 | rake_terraform |
| 6,635 | 708,792 | rake_docker |
| 7,103 | 604,545 | sym |
| 10,132 | 285,235 | xcprofiler |
| 11,104 | 236,639 | cocoapods-update-if-you-dare |
| 11,364 | 225,938 | m-git |
| 14,407 | 140,667 | rake_ssh |
| 15,392 | 124,906 | rake_circle_ci |
| 15,486 | 123,494 | rake_github |
| 18,705 | 89,130 | cocoaseeds |
| 19,734 | 81,846 | gct |
| 19,827 | 81,179 | simple-feed |
| 21,798 | 69,926 | rake_git_crypt |
| 23,546 | 62,457 | require_dir |
| 24,011 | 60,703 | cocoapods-catalyst-support |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |