Permalink
Commits on Feb 24, 2011
  1. 0.98.0

    defunkt committed Feb 24, 2011
  2. Fix spec tests on 1.9

    miniunit requires a real class name when the class is defined
    josh committed Feb 24, 2011
  3. silence stderr too

    josh committed Feb 24, 2011
  4. getting close

    defunkt committed Feb 24, 2011
  5. Automagic attr_readers for ivars you set in Sinatra routes.

    This lets us have Sinatra routes like this:
    
        get '/badge' do
          @job = Jobs::Job.first
          mustache :badge, :layout => false
        end
    
    That work with a badge.mustache like this:
    
        {{# job}}
          <a class="job-link" href="{{url_with_host}}" target="_blank">
            <strong class="job-company">{{company}}</strong> is hiring a
            <strong class="job-title">{{title}}</strong> in
            <span class="job-location">{{location}}</span>
          </a>
        {{/ job}}
    defunkt committed Feb 24, 2011
  6. implicit iterators

    defunkt committed Feb 24, 2011
  7. dot notation

    defunkt committed Feb 24, 2011
Commits on Feb 23, 2011
  1. history

    defunkt committed Feb 23, 2011
  2. 0.13.0

    defunkt committed Feb 23, 2011
  3. Preserve old template name

    defunkt committed Feb 23, 2011
  4. allow render to take a symbol identifying template by name

    this means i can do the following:
    
        Mustache.render(:foo, {:bar => :baz})
    
    to get `foo.mustache` to render with the above data
    lenary committed with defunkt Jan 16, 2011
  5. failing struct test

    defunkt committed Feb 23, 2011
Commits on Feb 22, 2011
  1. 0.12.1

    defunkt committed Feb 22, 2011
  2. Patching another logical error.

    pvande committed Feb 22, 2011
  3. Another failing test

    defunkt committed Feb 22, 2011
  4. Fixing a fatal parse error.

    pvande committed Feb 22, 2011
Commits on Feb 21, 2011
  1. Failing single line test

    defunkt committed Feb 21, 2011
  2. whitespace

    defunkt committed Feb 21, 2011
Commits on Jan 28, 2011
Commits on Jan 25, 2011
  1. Indent partials before rendering.

    This will preserve the sanctity of interpolated newlines, which can be
    a dangerous mistake.
    pvande committed Jan 25, 2011
Commits on Dec 26, 2010
  1. Updated the ext/spec submodule to v1.0.0rc2.

    All specifications currently pass.
    pvande committed Dec 26, 2010
  2. Updating ext/spec submodule pointer.

    ext/spec now refers to the official specification, at v1.0.0rc1.
    pvande committed Dec 26, 2010
Commits on Dec 11, 2010
  1. v0.12.0

    defunkt committed Dec 11, 2010
Commits on Nov 23, 2010
  1. remove unused instance var

    lawrencepit committed with judofyr Nov 23, 2010
Commits on Nov 19, 2010
  1. moved the layout instantiation code BEFORE the mustache_class call fo…

    …r the view. Needed to move the order in cases where the view subclassed a layout - the layout might not have been required yet, which would throw a NameError on mustache_class call
    jmreidy committed with defunkt Oct 28, 2010
  2. Instance render.

    defunkt committed Nov 19, 2010
  3. Replace StringScanner#clear with #terminate

    Seems almost silly to make a pull request for this, but an issue felt
    even sillier. Ruby 1.9.2 gives warnings that #clear is obsolete and
    should be replaced by #terminate. So, here it is.
    telemachus committed with defunkt Nov 10, 2010
Commits on Nov 13, 2010
  1. Updating the submodule pointer, and adding a test.

    Specification compliance-testing code really belongs in the
    implementation repository.  The Ruby test case has already
    been pulled out of the specifications module, and has now been
    replicated here.
    
    If the submodule is not populated, compliance testing is
    simply bypassed.
    pvande committed Nov 13, 2010