Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 14, 2015
  1. @hube
Commits on Jun 13, 2015
  1. @bentoncreation

    Add page_ids feature

    bentoncreation authored
Commits on Jun 5, 2015
  1. @dlupu @dgalarza

    CACHING_DEPRECATION_WARNING added only when needed

    dlupu authored dgalarza committed
    We're seing annoying deprecation warnings  despite the fact that we do not use caching at all (it's disabled in an initialiser).
Commits on Apr 14, 2015
  1. @mjankowski
Commits on Apr 10, 2015
  1. @dgalarza

    Merge pull request #188 from ConnorAtherton/file-ending-fix

    dgalarza authored
    Raise exception if sanitized page id results in just a file extension.
Commits on Apr 9, 2015
  1. @dgalarza
Commits on Apr 7, 2015
  1. @ConnorAtherton
  2. @ConnorAtherton
Commits on Mar 4, 2015
  1. @ConnorAtherton
Commits on Feb 26, 2015
  1. @mjankowski

    Replace spec/dummy app with a simpler fake Rails app

    mjankowski authored
    In prior Rails versions, it used to be more challenging to create a
    stand-alone application without the entire file structure of Rails
    surrounding it, which is why the spec/dummy was in here in the first
    This is no longer the case, and this change removes the dummy app in
    favor of a smaller set of files which achieve the same result of
    providing a small footprint Rails app which the test suite can load the
    gem into, and run tests against an actual Rails app.
Commits on Feb 19, 2015
  1. @dgalarza

    Update to rspec-rails 3.2

    dgalarza authored
Commits on Feb 4, 2015
  1. @prydonius
Commits on Jun 12, 2014
  1. @dgalarza

    Support dependency injection for routes engine

    Damian Galarza and Tute Costa authored dgalarza committed
    Allow a user to define which Rails engine to define routes on when using
    multiple engines within a Rails application. This will ensure that path
    helpers will correctly be available in the desired engine. This will
    default to the default main Rails application if another engine is not
    Resolves issue [#138](#138)
  2. @dgalarza
Commits on May 9, 2014
  1. @harlow

    Add Rails 4.1 to Appraisals

    harlow authored harlow committed
    * Run test suite with Rails 4.1
    * Update redirect spec to look at response headers
Commits on Apr 11, 2014
  1. @masonforest

    Deprecated caching

    Damian Galarza and Mason Fischer authored masonforest committed
    Deprecate caching because page and action caching were removed from
    Rails 4. Also, caching can be achived easily by overrideing the
    HighVoltage pages controller.
Commits on Apr 4, 2014
  1. @dgalarza

    Refactor test suite to use expect syntax

    dgalarza authored
    Use the expect syntax in favor of the should syntax consistently
    throughout HighVoltage.
    Removes any 'should' prefixes in `it` descriptions.
    Require expect syntax
Commits on Mar 15, 2014
  1. @dgalarza

    Fix inconsistent specs around caching

    Damian Galarza and Mason Fischer authored dgalarza committed
    `#concern_reload` would execute the Rails `caches_page` and
    `caches_action` methods multiple times resulting in multiple callbacks
    being associated with the controller. This lead to inconsistencies.
    Instead `config.action_controller.perform_caching` is now set to true by
    default. With this in place we no longer need to reopen the class in
    order to test caching.
    Refactor `action_caching` spec to test via spying rather than testing
    caching directly. Now that we are no longer actually caching items, we
    no longer need to clear the cache via
Commits on Dec 29, 2013
  1. @harlow

    Remove ruby debugger dependency

    harlow authored
    Seeing some issues on Travis when trying to install `debugger` gem that
    is included with pry-debugger. Removed in favor of standalone `pry` gem.
Commits on Dec 28, 2013
  1. @harlow

    Add spec for testing nil homepage

    harlow authored
    * Add random for running specs.
    * Clear cache between test runs.
    * Add context to caching tests for readability.
Commits on Dec 27, 2013
  1. @harlow

    Home page configuration option

    harlow authored
    Allow users to specify a home page and have High Voltage take care of
    the root route and redirect to avoid duplicate content.
    * Add configuration option for home_page.
    * Add new root route and redirect.
  2. @harlow

    Refactor configuration options

    harlow authored
    * Add Configuration module.
    * Add ability to use block format for configuration.
    * Update specs to use set_default_configuration convenience method.
Commits on Nov 1, 2013
  1. @jjb

    fix typo in spec name

    jjb authored
Commits on Oct 4, 2013
  1. @harlow

    Move PagesController code into a module

    Arsen Gasparyan authored harlow committed
    * Create new high_volgate module
    * Update README with override instructions
    * Require concerns directory for rails 3 or lower
Commits on Jul 17, 2013
  1. @harlow

    Clean up Appraisals and Rake

    harlow authored
  2. @harlow

    Update for Rails 4 compatibility

    harlow authored
    * Remove legacy style routing from README
    * Remove specs for older style routing
    * Update syntax highlighting in README
Commits on Jul 16, 2013
  1. @harlow

    Update Travis CI Ruby and Rails versions

    harlow authored
    * Run certian versions Rails against Ruby 2.0
    * Remove Rails 3.0.20 from CI
Commits on Jul 8, 2013
  1. @manzhikov

    Rails 4 caching compatible

    manzhikov authored
Commits on Jun 28, 2013
  1. @masonforest
Commits on May 10, 2013
  1. @linduxed

    Merge pull request #73 from thoughtbot/mm-spec_helper-tweak

    linduxed authored
    Removed unused line from spec_helper.
  2. @linduxed

    Merge pull request #72 from thoughtbot/mm-mattr_accessor-requiring

    linduxed authored
    lib/high_voltage.rb should be able to be required.
Commits on May 8, 2013
  1. @linduxed

    Removed trailing whitespace.

    linduxed authored
    Because it's evil and evil must be purged.
  2. @linduxed
Commits on May 7, 2013
  1. @linduxed

    Made the main library file loadable.

    linduxed authored
    high_voltage.rb uses mattr_accessor methods, which are provided by
    active_support. Normally these methods are provided by having Rails ran
    beforehand, but this meant that high_voltage couldn't be loaded alone.
    Added necessary require to address this.
Commits on Mar 2, 2013
  1. @mjankowski
Something went wrong with that request. Please try again.