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: 117,670 of 183,107
Downloads: 5,242
Daily
Ranking: 42,025 of 183,092
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
59,728 | 15,829 | gimme_poc |
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 953,844,246 | rake |
26 | 805,785,244 | public_suffix |
68 | 466,913,746 | pry |
1,084 | 31,864,462 | shoulda |
Owners
# | Gravatar | Handle |
---|---|---|
1 | binarymason |