Categories: None [Edit]
lazy_domain
The PublicSuffix gem works great if you give it nice, clean domains WITHOUT a transfer protocol. But what if your application has one (or multiple) urls with or without protocols? LazyDomain assumes it could be either way and uses URI to make up the difference. Because URI can only parse a url WITH a protocol, Lazy Domain automatically adds 'http://' if it is not already present in a url. Now you can easily use PublicSuffix for varying urls.
Total
Ranking: 118,935 of 187,967
Downloads: 5,718
Daily
Ranking: 97,109 of 187,960
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 60,436 | 17,154 | gimme_poc |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 10 | 1,178,214,454 | rake |
| 23 | 1,039,217,556 | public_suffix |
| 74 | 560,774,668 | pry |
| 1,108 | 39,495,830 | shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | binarymason |