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,666
Downloads: 225,740,497
Daily
Ranking: 272 of 192,588
Downloads: 89,219
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 239 | 206,624,984 | xcodeproj |
| 372 | 131,361,346 | cocoapods |
| 429 | 118,275,994 | danger |
| 458 | 109,695,855 | cork |
| 1,911 | 16,312,824 | r10k |
| 6,439 | 831,016 | rake_terraform |
| 6,834 | 715,814 | rake_docker |
| 7,138 | 653,963 | sym |
| 10,525 | 293,996 | xcprofiler |
| 10,636 | 286,636 | cocoapods-update-if-you-dare |
| 11,878 | 226,623 | m-git |
| 14,778 | 145,659 | rake_ssh |
| 15,621 | 131,338 | rake_github |
| 15,671 | 130,411 | rake_circle_ci |
| 19,178 | 91,232 | cocoaseeds |
| 19,955 | 85,339 | simple-feed |
| 20,045 | 84,769 | gct |
| 21,919 | 73,534 | rake_git_crypt |
| 22,876 | 68,958 | cocoapods-catalyst-support |
| 23,685 | 65,531 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |