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 193,649
Downloads: 231,633,225
Daily
Ranking: 210 of 193,618
Downloads: 194,371
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 240 | 211,567,766 | xcodeproj |
| 373 | 133,978,905 | cocoapods |
| 429 | 120,502,848 | danger |
| 459 | 111,823,175 | cork |
| 1,921 | 16,421,859 | r10k |
| 6,508 | 833,464 | rake_terraform |
| 6,970 | 717,498 | rake_docker |
| 7,305 | 662,469 | sym |
| 10,436 | 304,252 | cocoapods-update-if-you-dare |
| 10,581 | 296,103 | xcprofiler |
| 11,993 | 226,825 | m-git |
| 14,858 | 146,707 | rake_ssh |
| 15,630 | 133,636 | rake_github |
| 15,760 | 131,540 | rake_circle_ci |
| 19,284 | 91,794 | cocoaseeds |
| 19,941 | 86,895 | simple-feed |
| 20,142 | 85,535 | gct |
| 21,958 | 74,494 | rake_git_crypt |
| 22,836 | 70,208 | cocoapods-catalyst-support |
| 23,237 | 68,452 | clintegracon |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |