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 187,922
Downloads: 204,883,570
Daily
Ranking: 201 of 187,912
Downloads: 165,502
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 238 | 188,995,931 | xcodeproj |
| 361 | 121,890,734 | cocoapods |
| 421 | 109,828,549 | danger |
| 448 | 101,715,933 | cork |
| 1,838 | 15,829,247 | r10k |
| 6,222 | 820,799 | rake_terraform |
| 6,616 | 707,235 | rake_docker |
| 7,108 | 596,774 | sym |
| 10,117 | 283,766 | xcprofiler |
| 11,131 | 233,085 | cocoapods-update-if-you-dare |
| 11,322 | 225,797 | m-git |
| 14,375 | 140,047 | rake_ssh |
| 15,365 | 124,212 | rake_circle_ci |
| 15,506 | 122,267 | rake_github |
| 18,684 | 88,599 | cocoaseeds |
| 19,716 | 81,282 | gct |
| 19,818 | 80,585 | simple-feed |
| 21,807 | 69,357 | rake_git_crypt |
| 23,552 | 61,947 | require_dir |
| 24,288 | 59,353 | dupervisor |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |