Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 9, 2009
  1. Chris Wanstrath
  2. Chris Wanstrath

    Improved Sinatra support, but you'll need to update your app.

    defunkt authored
    Notably we added the `mustaches` and `namespace` settings. You can use
    `mustaches` to tell Mustache where Ruby view files are located, e.g.
    
        set :mustaches, "path/to/mustache/views"
    
    The `namespace` option is used for telling Mustache which namespace
    the Views classes all live under. If you have a view named
    `Hurl::Views::Stats`, you'll want to set `namespace` to Hurl:
    
        set :namespace, Hurl
    
    and put the class into a file named `stats.rb` that lives under the
    `mustaches` setting:
    
        $ cat path/to/mustache/views/stats.rb
        module Hurl
          module Views
            class Stats < Mustache
              # blah
            end
          end
        end
    
    The `mustaches` setting defaults to the Sinatra `views` setting and
    the `namespace` setting defaults to `Object`.
Commits on Oct 8, 2009
  1. Chris Wanstrath
  2. Chris Wanstrath

    bump version

    defunkt authored
  3. Chris Wanstrath
Commits on Oct 7, 2009
  1. Chris Wanstrath
  2. Chris Wanstrath

    0.1.1

    defunkt authored
  3. Chris Wanstrath
  4. Chris Wanstrath

    Fixed Mustache.render with options.

    Francesc Esplugas authored defunkt committed
  5. Chris Wanstrath

    Render from file.

    Francesc Esplugas authored defunkt committed
  6. Chris Wanstrath

    Quick example.

    Francesc Esplugas authored defunkt committed
  7. Chris Wanstrath

    Test render with options. Was working on Version 0.1.0.

    Francesc Esplugas authored defunkt committed
  8. Chris Wanstrath

    We already know the file we want to load, we only but we want to set …

    Francesc Esplugas authored defunkt committed
    …the extension.
  9. Chris Wanstrath

    Use by default klass.render to generate files.

    Francesc Esplugas authored defunkt committed
  10. Chris Wanstrath

    Updated comment to match latest changes.

    Francesc Esplugas authored defunkt committed
  11. Chris Wanstrath
  12. Chris Wanstrath

    Mustache it's really nice for creating configuration files.

    Francesc Esplugas authored defunkt committed
  13. Chris Wanstrath
  14. Chris Wanstrath
  15. Magnus Holm Chris Wanstrath

    Fix the benchmark of Mustache without caching

    judofyr authored defunkt committed
  16. Chris Wanstrath

    add Home link

    defunkt authored
  17. Chris Wanstrath
  18. Chris Wanstrath

    comment out private

    defunkt authored
  19. Chris Wanstrath

    whitespace

    defunkt authored
  20. Chris Wanstrath

    add Gems link

    defunkt authored
Commits on Oct 6, 2009
  1. Chris Wanstrath

    typo

    defunkt authored
  2. Chris Wanstrath

    gh-pages publishing

    defunkt authored
  3. Chris Wanstrath

    Merge branch 'master' of github.com:defunkt/mustache

    defunkt authored
    Conflicts:
    	lib/mustache/sinatra.rb
  4. Chris Wanstrath

    acknowledgements

    defunkt authored
  5. Nicolás Sanguinetti Chris Wanstrath

    Copy the ivars from the sinatra route to the mustache

    foca authored defunkt committed
    This makes your mustache behave more accordingly with what you'd expect
    from a sinatra view: if you set an ivar on the route, you want it
    available on your mustache.
  6. Nicolás Sanguinetti Chris Wanstrath

    Call Sinatra.helpers by default

    foca authored defunkt committed
    This makes Mustache work out of the box for 'classic' apps, which is the
    expected behavior for sinatra extensions. You still need to register the
    helpers on a 'classy' app (ie, subclasses of Sinatra::Base, not
    Sinatra::Default.)
Commits on Oct 5, 2009
  1. Chris Wanstrath

    docs too

    defunkt authored
  2. Chris Wanstrath

    rdoc friendly sinatra docs

    defunkt authored
  3. Chris Wanstrath

    add installation and docs

    defunkt authored
  4. Chris Wanstrath

    add markdown support to sdoc

    defunkt authored
Something went wrong with that request. Please try again.