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 190,280
Downloads: 217,278,819
Daily
Ranking: 231 of 190,253
Downloads: 109,828
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 238 | 199,587,401 | xcodeproj |
| 367 | 127,601,013 | cocoapods |
| 427 | 114,953,142 | danger |
| 452 | 106,535,148 | cork |
| 1,883 | 16,143,899 | r10k |
| 6,347 | 826,669 | rake_terraform |
| 6,751 | 713,193 | rake_docker |
| 7,081 | 638,038 | sym |
| 10,274 | 290,471 | xcprofiler |
| 10,792 | 260,226 | cocoapods-update-if-you-dare |
| 11,562 | 226,353 | m-git |
| 14,589 | 142,618 | rake_ssh |
| 15,503 | 127,440 | rake_github |
| 15,519 | 127,188 | rake_circle_ci |
| 18,888 | 90,309 | cocoaseeds |
| 19,846 | 83,379 | gct |
| 19,868 | 83,233 | simple-feed |
| 21,853 | 71,492 | rake_git_crypt |
| 23,206 | 65,418 | cocoapods-catalyst-support |
| 23,488 | 64,207 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |