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: 219 of 197,085
Downloads: 248,251,739
Daily
Ranking: 274 of 197,066
Downloads: 47,838
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 243 | 226,521,708 | xcodeproj |
| 375 | 141,294,039 | cocoapods |
| 427 | 126,795,128 | danger |
| 466 | 117,706,160 | cork |
| 1,947 | 16,771,948 | r10k |
| 6,766 | 840,964 | rake_terraform |
| 7,201 | 722,607 | rake_docker |
| 7,335 | 694,119 | sym |
| 10,016 | 352,884 | cocoapods-update-if-you-dare |
| 10,782 | 300,348 | xcprofiler |
| 12,295 | 227,105 | m-git |
| 14,957 | 152,666 | rake_ssh |
| 15,370 | 145,028 | rake_github |
| 15,772 | 138,045 | rake_circle_ci |
| 19,487 | 94,392 | cocoaseeds |
| 20,034 | 90,084 | simple-feed |
| 20,398 | 87,419 | gct |
| 21,198 | 82,214 | rake_git_crypt |
| 21,703 | 79,217 | clintegracon |
| 21,958 | 77,655 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |