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:
= Copy to clipboard Copied!

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:

35262fcc21ee102ad01acfc4cbb2fe918d4bb8610776fe57cd8feb85dbdd534c

Total downloads 70,494

For this version 1,975

License:

MIT

Required Ruby Version: >= 0

Links: