RubyGems Navigation menu

lazy_domain 0.0.2

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.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.0.2 - October 12, 2015 (7KB)
  2. 0.0.1 - October 10, 2015 (6.5KB)

Runtime依存関係 (1):

public_suffix ~> 1.5

Development依存関係 (3):

pry ~> 0.9
rake ~> 10.3
shoulda ~> 3.5

所有者:

作者:

  • John Mason

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 5,142

このバージョンのみ 3,021

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: