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,823 of 183,477
Downloads: 5,266
Daily
Ranking: 63,432 of 183,470
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
59,818 | 15,906 | gimme_poc |
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 969,073,546 | rake |
26 | 821,219,035 | public_suffix |
69 | 473,435,718 | pry |
1,086 | 32,455,782 | shoulda |
Owners
# | Gravatar | Handle |
---|---|---|
1 | binarymason |