RubyGems Navigation menu

xipio 1.0.1

When reading the subdomain of an xip.io request, you will get a different value compared to a local pow request. The reason for this is that the tld length is 1 by default, but an xip.io request has a tld length of 6. This gem inserts a middleware that corrects the tld length config of rails on the fly so that you can use local and xip requests at the same time without restarting the server.

Gemfile:
=

install:
=

Versions:

  1. 1.0.2 February 28, 2018 (6.5 KB)
  2. 1.0.1 February 06, 2018 (6.5 KB)
  3. 1.0.0 June 15, 2013 (6.5 KB)

Runtime Dependencies (1):

railties >= 3

Development Dependencies (2):

bundler ~> 1.3
rake >= 0

Owners:

Authors:

  • Philipe Fatio

SHA 256 checksum:

=

Total downloads 75,829

For this version 2,054

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: