RubyGems Navigation menu

xipio 1.0.0

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.

Versions:

  1. 1.0.0 - June 15, 2013 (6.5 KB)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Philipe Fatio

Owners:

E29f04f339715955060858e0e65e1311

Total downloads 2,194

For this version 2,194

Required Ruby Version: None

Licenses:

MIT

Gemfile:
gem 'xipio', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install xipio = Copy to clipboard Copied!

Links: