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 196,721
Downloads: 244,692,259
Daily
Ranking: 197 of 196,694
Downloads: 108,984
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 243 | 223,317,549 | xcodeproj |
| 374 | 139,735,754 | cocoapods |
| 429 | 125,467,599 | danger |
| 464 | 116,457,287 | cork |
| 1,943 | 16,700,322 | r10k |
| 6,738 | 840,096 | rake_terraform |
| 7,175 | 722,145 | rake_docker |
| 7,339 | 686,694 | sym |
| 10,072 | 344,949 | cocoapods-update-if-you-dare |
| 10,729 | 299,610 | xcprofiler |
| 12,219 | 227,072 | m-git |
| 14,922 | 151,587 | rake_ssh |
| 15,386 | 143,137 | rake_github |
| 15,765 | 136,776 | rake_circle_ci |
| 19,400 | 94,128 | cocoaseeds |
| 20,005 | 89,398 | simple-feed |
| 20,324 | 87,132 | gct |
| 21,304 | 80,880 | rake_git_crypt |
| 21,718 | 78,343 | clintegracon |
| 23,036 | 71,531 | cocoapods-catalyst-support |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |