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: 121,918 of 197,108
Downloads: 6,035
Daily
Ranking: 84,238 of 197,085
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 62,317 | 18,005 | gimme_poc |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 8 | 1,429,009,039 | rake |
| 18 | 1,249,126,651 | public_suffix |
| 72 | 637,712,186 | pry |
| 1,063 | 47,978,560 | shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | binarymason |