Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

v0.5.0

Compare
Choose a tag to compare
@eonu eonu released this 27 Dec 10:02
· 106 commits to master since this release
4860d04

Major changes

  • Introduce IP whitelisting with the Eucalypt::Whitelist class, and IP-protected routes with the ip_check helper method

  • Rework maintenance mode to be defined with a special route in the ApplicationController:

    maintenance do
      static '/maintenance.html'
    end

    This redirects every route to this one. This special route is enabled or disabled through the :maintenance setting in app.rb.

Minor changes

  • Introduce static controller class method for redirecting to, or rendering static HTML files stored in the app/static directory (this is essentially just an alias for redirect)
  • Move Eucalypt.require directives to eucalypt/load.rb within the library rather than in the application
  • Remove unnecessary root and server settings from app.rb
  • Rename config/asset_pipeline.rb to config/assets.rb