RubyGems Navigation menu

xipio 1.0.2

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:

48e539faf86038766e25d2900b50ad4aaf5b74ab9b0d2b6811f7bfdf6b24eb7d

Total downloads 69,432

For this version 53,530

License:

MIT

Required Ruby Version: >= 0

Links: