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 188,742
Downloads: 209,922,999
Daily
Ranking: 216 of 188,718
Downloads: 145,736
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 238 | 193,477,228 | xcodeproj |
| 362 | 124,256,114 | cocoapods |
| 423 | 111,903,996 | danger |
| 448 | 103,653,538 | cork |
| 1,863 | 15,961,956 | r10k |
| 6,274 | 823,836 | rake_terraform |
| 6,665 | 711,036 | rake_docker |
| 7,099 | 614,614 | sym |
| 10,164 | 286,941 | xcprofiler |
| 11,098 | 239,803 | cocoapods-update-if-you-dare |
| 11,430 | 226,113 | m-git |
| 14,466 | 141,380 | rake_ssh |
| 15,425 | 125,739 | rake_circle_ci |
| 15,460 | 125,125 | rake_github |
| 18,749 | 89,792 | cocoaseeds |
| 19,741 | 82,675 | gct |
| 19,859 | 81,741 | simple-feed |
| 21,826 | 70,516 | rake_git_crypt |
| 23,568 | 62,908 | require_dir |
| 23,679 | 62,457 | cocoapods-catalyst-support |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |