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: 218 of 192,104
Downloads: 222,979,864
Daily
Ranking: 245 of 192,085
Downloads: 35,942
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 241 | 204,297,459 | xcodeproj |
| 369 | 130,139,502 | cocoapods |
| 429 | 117,251,962 | danger |
| 454 | 108,719,771 | cork |
| 1,905 | 16,261,733 | r10k |
| 6,409 | 829,945 | rake_terraform |
| 6,806 | 715,029 | rake_docker |
| 7,116 | 648,590 | sym |
| 10,368 | 293,078 | xcprofiler |
| 10,586 | 278,543 | cocoapods-update-if-you-dare |
| 11,700 | 226,536 | m-git |
| 14,607 | 145,176 | rake_ssh |
| 15,482 | 130,575 | rake_github |
| 15,521 | 129,866 | rake_circle_ci |
| 19,111 | 90,920 | cocoaseeds |
| 19,963 | 84,679 | simple-feed |
| 20,019 | 84,306 | gct |
| 21,892 | 73,049 | rake_git_crypt |
| 22,896 | 68,249 | cocoapods-catalyst-support |
| 23,661 | 65,156 | require_dir |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |