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: 216 of 189,083
Downloads: 212,235,771
Daily
Ranking: 208 of 189,069
Downloads: 159,391
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 239 | 195,401,372 | xcodeproj |
| 363 | 125,313,519 | cocoapods |
| 425 | 112,885,367 | danger |
| 449 | 104,580,342 | cork |
| 1,872 | 16,015,003 | r10k |
| 6,296 | 824,746 | rake_terraform |
| 6,698 | 711,775 | rake_docker |
| 7,102 | 622,232 | sym |
| 10,204 | 288,225 | xcprofiler |
| 11,046 | 244,625 | cocoapods-update-if-you-dare |
| 11,477 | 226,206 | m-git |
| 14,513 | 141,647 | rake_ssh |
| 15,462 | 126,087 | rake_circle_ci |
| 15,477 | 125,761 | rake_github |
| 18,800 | 89,951 | cocoaseeds |
| 19,773 | 82,843 | gct |
| 19,875 | 82,091 | simple-feed |
| 21,853 | 70,759 | rake_git_crypt |
| 23,313 | 64,098 | cocoapods-catalyst-support |
| 23,521 | 63,373 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |