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: 216 of 188,368
Downloads: 208,406,382
Daily
Ranking: 197 of 188,354
Downloads: 157,366
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 238 | 192,158,919 | xcodeproj |
| 361 | 123,524,061 | cocoapods |
| 423 | 111,280,354 | danger |
| 450 | 103,075,859 | cork |
| 1,848 | 15,925,959 | r10k |
| 6,254 | 822,556 | rake_terraform |
| 6,653 | 709,209 | rake_docker |
| 7,111 | 607,419 | sym |
| 10,145 | 286,048 | xcprofiler |
| 11,085 | 238,464 | cocoapods-update-if-you-dare |
| 11,386 | 225,976 | m-git |
| 14,439 | 140,830 | rake_ssh |
| 15,412 | 125,093 | rake_circle_ci |
| 15,503 | 123,817 | rake_github |
| 18,729 | 89,266 | cocoaseeds |
| 19,743 | 82,072 | gct |
| 19,831 | 81,420 | simple-feed |
| 21,809 | 70,074 | rake_git_crypt |
| 23,571 | 62,570 | require_dir |
| 23,809 | 61,598 | cocoapods-catalyst-support |
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kigster |