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,051
Downloads: 248,085,410
Daily
Ranking: 195 of 197,010
Downloads: 209,907
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 243 | 226,379,708 | xcodeproj |
| 375 | 141,219,535 | cocoapods |
| 427 | 126,736,719 | danger |
| 466 | 117,652,138 | cork |
| 1,947 | 16,768,453 | r10k |
| 6,763 | 840,931 | rake_terraform |
| 7,198 | 722,604 | rake_docker |
| 7,335 | 693,635 | sym |
| 10,013 | 352,848 | cocoapods-update-if-you-dare |
| 10,781 | 300,340 | xcprofiler |
| 12,294 | 227,098 | m-git |
| 14,952 | 152,579 | rake_ssh |
| 15,372 | 144,883 | rake_github |
| 15,775 | 137,939 | rake_circle_ci |
| 19,486 | 94,358 | cocoaseeds |
| 20,032 | 90,055 | simple-feed |
| 20,387 | 87,411 | gct |
| 21,207 | 82,108 | rake_git_crypt |
| 21,705 | 79,156 | clintegracon |
| 22,001 | 77,407 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |