Commits on May 27, 2016
  1. Bump version

    committed May 26, 2016
Commits on Feb 23, 2016
  1. Update Grunt dependency

    committed Feb 22, 2016
Commits on Aug 23, 2015
  1. Bump node version in travis ci

    committed Aug 23, 2015
Commits on Aug 22, 2015
  1. Bump version

    committed Aug 22, 2015
  2. Merge pull request #32 from jGleitz/partials-glob

    glob expansion for partials search
    committed Aug 22, 2015
Commits on Aug 21, 2015
  1. @jGleitz
  2. @jGleitz
  3. @jGleitz
Commits on Dec 23, 2014
  1. @corpulentcoffee

    Updated CHANGELOG, README, and package.json

    Adds new entries to these for release of 1.8.0.
    corpulentcoffee committed Dec 22, 2014
  2. @corpulentcoffee

    Bump mustache library dependency

    Brings this up to v1.0.0.
    corpulentcoffee committed Dec 22, 2014
  3. @corpulentcoffee

    Merge branch 'js-data'

    Adds support to use a local JavaScript module as a data source using the
    patch from @emilbayes.
    Closes #26.
    Merges and closes #27.
    corpulentcoffee committed Dec 22, 2014
Commits on Dec 18, 2014
  1. @corpulentcoffee

    Display warnings to console on bad/missing export

    If the task encounters a JavaScript module which either exports a
    non-object or does not export anything at all, display a warning to the
    corpulentcoffee committed Dec 17, 2014
  2. @corpulentcoffee

    Stricter regex type checks in _getDataFromFile()

    Instead of just matching anywhere in the string, provide an anchor so
    that we are matching specifically filenames that *end* in `.json`,
    `.yaml`, `.yml`, or `.js`.
    corpulentcoffee committed Dec 17, 2014
  3. @corpulentcoffee

    Minor clarifications for using JS module format

    Changes some documentation and text strings surrounding the JS module
    input format:
    - differentiates use of dynamic module files in the introduction against
      using the static data formats
    - clarify that URLs can only be used for JSON and YAML input, not for JS
    - updates exception in _getDataFromFile() to mention JS modules as an
      acceptable input format
    - adjust the unit test message for the JS module format
    corpulentcoffee committed Dec 17, 2014
Commits on Dec 17, 2014
  1. @emilbayes

    Allow JS as datafile

    * `data: ‘data.js’` now works by `require`ing the JS file
    * Test case, including one computed property
    * Updated documentation
    emilbayes committed Dec 17, 2014
Commits on Nov 9, 2014
  1. @corpulentcoffee

    Bump version and update change log

    Brings the plug-in to 1.7.0, with updated notes in the change log.
    corpulentcoffee committed Nov 8, 2014
  2. @corpulentcoffee

    Merge branch 'escape-option'

    Brings in support for the new `escape` option, allowing users to disable
    the built-in Mustache escaping or specify their own.
    Fixes #24.
    Closes #25.
    Closes #14.
    corpulentcoffee committed Nov 8, 2014
Commits on Oct 19, 2014
  1. @corpulentcoffee

    Extend escape option for user-defined functions

    Allows the use of a user-defined custom escaping function to be passed
    into the 'escape' option, adds a unit test, and updates the
    corpulentcoffee committed Oct 18, 2014
Commits on Oct 18, 2014
  1. @corpulentcoffee

    Fixes to task implementation with escape option

    Makes the following adjustments to the escape option handling:
    - explicitly assign the mustache.escape reference to the original
      HTML-escaping function if 'escape' is set to true
    - return the mustache.escape reference back to how it was once the
      target has finished running
    - if the user passes an 'escape' that is not true or false, raise an
    corpulentcoffee committed Oct 18, 2014
  2. @corpulentcoffee

    Unit tests for escaped, unescaped, and leakage

    Adds the following unit tests to the suite:
    - unescaped: checks that options.escape === false works properly
    - escaped: checks that options.escape === true works properly
    - mustache unchanged: checks that after running the test suite that the
      function for mustache.escape is back to how it was originally
    corpulentcoffee committed Oct 18, 2014
  3. @corpulentcoffee

    Merge remote-tracking branch 'emanuelbsilva/master'

    Brings in the original code from pull request #14 after reconciliation
    with the newer code base.
    corpulentcoffee committed Oct 18, 2014
  4. @corpulentcoffee

    Mustache library dependency update

    By updating to Mustache 0.8.x, the compile() function goes away. In this
    version, render() knows how to cache templates, so no longer need (or
    want) to precompile the templates to yield render functions.
    As such, the "renderFn" and "compile" functions have been renamed,
    - getRenderFn becomes getBody
    - compileTemplate becomes getBodyFromFile
    - getRenderFnFromUrl becomes getBodyFromUrl
    corpulentcoffee committed Oct 18, 2014
  5. @corpulentcoffee

    Dependency update, except mustache

    Brings all dependencies, both for development and running, to their
    latest versions, except for the mustache library.
    All unit tests pass.
    The mustache library has a breaking change in the 0.8.x version, as it
    saw the removal of the compile() function. This will be handled in a
    separate commit.
    corpulentcoffee committed Oct 18, 2014
  6. @corpulentcoffee

    Merge branch 'prefix-expansion'

    Introduces prefix_file and prefix_dir as separate options for looking up
    the paths of partials. The original prefix option is maintained for
    Fixes #9.
    Closes #21.
    corpulentcoffee committed Oct 18, 2014
Commits on Aug 22, 2014
  1. @corpulentcoffee

    Remove unused partial fixtures

    I did not end up using sub-b/ and also do not test alternate extensions
    in combination, these files can safely be removed.
    corpulentcoffee committed Aug 21, 2014
  2. @corpulentcoffee

    Rename new options to use underscores

    Switches directoryPrefix to prefix_dir and filenamePrefix to
    prefix_file, which more closely matches the existing naming convention
    used by the other options. By renaming directoryPrefix, this also avoids
    the inherent confusion with the unrelated 'directory' option.
    corpulentcoffee committed Aug 21, 2014
  3. @corpulentcoffee

    Update README for new options

    Adds directoryPrefix and filenamePrefix to the options list, replacing
    the old prefix option.
    corpulentcoffee committed Aug 21, 2014
  4. @corpulentcoffee

    Warning on bare filename w/ directoryPrefix

    Prints a warning to the terminal if the plug-in encounters a bare
    filename partial in a ruleset that has specified a directoryPrefix.
    corpulentcoffee committed Aug 21, 2014
Commits on Aug 21, 2014
  1. @corpulentcoffee

    Warnings for weird partial references

    If the user attempts to use a partial reference that does not exist or
    tries to use the old-style prefix option with a path, prints a warning
    to the terminal.
    corpulentcoffee committed Aug 20, 2014
  2. @corpulentcoffee

    Unit tests for new xxxPrefix options

    Adds unit tests for filenamePrefix, directoryPrefix, and a combination
    of the two. Reuses existing fixture data and expectation output, except
    for the combination unit test which uses new expectation output.
    corpulentcoffee committed Aug 20, 2014
  3. @corpulentcoffee

    directoryPrefix and filenamePrefix support

    Adds support for these new options, including mapping usage of the
    old-style prefix option to the new option depending on what kind of
    partial reference is encountered.
    For bare filenames, prefix behaves like filenamePrefix. For paths
    including a directory, prefix behaves like directoryPrefix (which
    matches the current weird behavior).
    corpulentcoffee committed Aug 20, 2014
Commits on Aug 19, 2014
  1. @corpulentcoffee

    Partial reference using long path unit test

    Introduces another unit test for the purposes of making sure that a user
    who specifies a partial relative to the base of their project (i.e. such
    a reference where they have left the 'directory' option blank) gets the
    correct result with the upcoming prefix changes.
    corpulentcoffee committed Aug 19, 2014
  2. @corpulentcoffee

    Existing directory-with-prefix behavior unit test

    Introduces a new test to the testing suite that combines the existing
    prefix option with a partial reference that uses a subdirectory. The aim
    of this test of to ensure that the (arguably weird) behavior of applying
    a prefix to the directory works in future versions of the plug-in after
    changes are made to the prefix handling.
    corpulentcoffee committed Aug 19, 2014
  3. @corpulentcoffee

    Fixtures for partials in subdirectories

    Adds to test/fixtures/partials/sub-a and test/fixtures/partials/sub-b
    for future unit tests involving testing partial references that use
    directories rather than just bare filenames.
    Included in each subdirectory are three partials analogous to those
    found in the parent directory.
    corpulentcoffee committed Aug 19, 2014
Commits on Aug 1, 2014
  1. Bump version number

    committed Jul 31, 2014