Permalink
Commits on Nov 13, 2017
  1. Disable code climate

    tdreyno committed Nov 13, 2017
Commits on Oct 12, 2017
  1. Keeps full file path for chained templates (#2117)

    schmidt committed with tdreyno Oct 12, 2017
    When handling chained templates, middleman used to remove the path and kept only the file's basename. Template engines which support imports (e.g. less or sass), use the file's path to find files to include. Since the path was removed, imports were not working for chained templates.
    
    This commit changes middleman to keep the full path to the template file and adds a test case, which illustrates the desired behavior.
  2. Use i18n fallbacks when looking up localized paths (#2116)

    schmidt committed with tdreyno Oct 12, 2017
    * Use i18n fallbacks when looking up localized paths
    
    In #853, the usage of i18n-fallbacks was introduced. For undocumented reasons, the fallbacks are ignored for localized paths, though.
    
    This commit removes this limitation, and adds a test to make sure, that it works as desired.
    
    * Extending fixture data to fix tests
    
    With the introduction of i18n fallbacks for localized paths, the tests which set the default locale to Spanish failed, since the Spanish path mappings were now used for the English locale as well. So the expected paths were now incorrect.
    
    This change adds the expected paths to the English i18n file, so that the tests pass again.
Commits on Aug 29, 2017
  1. Bump some deps

    tdreyno committed Aug 29, 2017
  2. Fix cli tests

    Thomas Reynolds committed Aug 29, 2017
  3. Depend on therubyracer 0.12.3 or higher (#2111)

    meowsus committed with tdreyno Aug 29, 2017
    therubyracer needed a patch to be compatible with Ruby 2.4.1. When
    trying to initialize a middleman project on a machine running Ruby
    2.4.1, chances are high that the installation will fail due to
    therubyracer.
    
    Fixes #2110
Commits on Jun 19, 2017
  1. Fix relative assets tests

    tdreyno committed Jun 19, 2017
  2. Fix minify js tests

    tdreyno committed Jun 19, 2017
  3. Fix liquid partials

    tdreyno committed Jun 19, 2017
Commits on Jun 1, 2017
  1. Updated RubyInstaller-Devkit link (#2093)

    pauby committed with tdreyno Jun 1, 2017
    The RubyInstaller-Devkit link has changed. Updated it.
  2. Update "Port in use"-message for PreviewServer (#2089)

    jeffkreeftmeijer committed with tdreyno Jun 1, 2017
    When starting the preview server while the port is already in use, users
    get the following error message:
    
      Port "4567" is in use. This should not have happened. Please start "middleman server" again.
    
    I see two problems with this message:
    
    1. "This should not have happened" makes this error sound like
       something scary went wrong, while this is something most middleman
       users will run into sooner or later.
    2. "Please start "middleman server" again." isn't the best advise, since
       trying to start it again won't solve the issue, as there's either
       another middleman instance running, or some other process is keeping
       the port occupied.
    
    Instead, I'd like to propose this:
    
      Port 4567 is already in use. This could mean another instance of middleman is already running. Please make sure port 4567 is free and start `middleman server` again, or choose another port by running `middleman server —-port=4568` instead.
    
    This error message mentions that there might be another instance running
    (which is quite likely in this situation), and tells the user to make
    sure the port is free and try again *or* choose another port. The
    suggested alternative port is `http_opts[:Port] + 1`, so it'll use 4568
    if the current port is 4567.
Commits on Apr 28, 2017
  1. Removed periods from sentences ending with a URL (#2061)

    Minimalistic committed with tdreyno Apr 28, 2017
    Cleaned up the readme file by removing some periods that may cause issues if raw url is copied.
  2. I18n: Keep fragment and query in url_for (#2062)

    juls committed with tdreyno Apr 28, 2017
    * Add Cucumber Feature for url_for with query and fragment
    
    * Keep query and fragment when i18n-ing a path
  3. Add support for locale suffixes to link_to (#2065)

    iblue committed with tdreyno Apr 28, 2017
    There is a bug in the I18n part which does not link paths including a
    locale suffix (e.g. foobar.en.html.erb) correctly. This patch fixes it
    and also adds tests.
Commits on Apr 11, 2017
Commits on Mar 26, 2017
  1. WIP: Remove Compass (#2050)

    tysongach committed with tdreyno Mar 26, 2017
    Compass is no longer actively maintained.
    
    https://github.com/Compass/compass
  2. Fix Gitter badge src (#2068)

    dahlbyk committed with tdreyno Mar 26, 2017
Commits on Feb 17, 2017
Commits on Jan 26, 2017
  1. prep release

    tdreyno committed Jan 26, 2017
Commits on Jan 11, 2017
  1. Fix syntax for Ruby 2.4.0 (#2038)

    manuelmeurer committed with tdreyno Jan 11, 2017
    * use stabby lambda syntax to please ruby 2.4.0
    
    * add ruby 2.4.0 to travis config
Commits on Jan 9, 2017
Commits on Jan 6, 2017
  1. Handle page id's that are Fixnums (#2033)

    kennethkalmer committed with tdreyno Jan 6, 2017
    * chore: failing test case for #2032
    
    * fix: Use `to_s.to_sym` for page_id’s in the store since they can be Fixnum’s
    
    * chore: delete stale queryable-app fixture
Commits on Dec 23, 2016
  1. Rubocop autofixes

    tdreyno committed Dec 23, 2016
  2. Fixes #1951

    tdreyno committed Dec 23, 2016
Commits on Dec 20, 2016
  1. fixed indentation (#2023)

    matsu911 committed with tdreyno Dec 20, 2016
Commits on Dec 3, 2016
  1. Fix #2019

    tdreyno committed Dec 3, 2016
Commits on Nov 30, 2016
Commits on Nov 25, 2016
  1. Prep

    tdreyno committed Nov 25, 2016
  2. Fix broken block ignore form.

    tdreyno committed Nov 25, 2016
Commits on Nov 23, 2016
Commits on Nov 17, 2016
  1. Make .html implicit for page IDs (#1996)

    joallard committed with tdreyno Nov 17, 2016
    * Make .html implicit for page IDs
    
    * Add Pry gem
    
    * Add setting :page_id_generator to override page ID derivation