Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 9, 2009
  1. @defunkt
  2. @defunkt

    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. @defunkt
  2. @defunkt

    bump version

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

    0.1.1

    defunkt authored
  3. @defunkt
  4. @defunkt

    Fixed Mustache.render with options.

    Francesc Esplugas authored defunkt committed
  5. @defunkt

    Render from file.

    Francesc Esplugas authored defunkt committed
  6. @defunkt

    Quick example.

    Francesc Esplugas authored defunkt committed
  7. @defunkt

    Test render with options. Was working on Version 0.1.0.

    Francesc Esplugas authored defunkt committed
  8. @defunkt

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

    Francesc Esplugas authored defunkt committed
    …the extension.
  9. @defunkt

    Use by default klass.render to generate files.

    Francesc Esplugas authored defunkt committed
  10. @defunkt

    Updated comment to match latest changes.

    Francesc Esplugas authored defunkt committed
  11. @defunkt
  12. @defunkt

    Mustache it's really nice for creating configuration files.

    Francesc Esplugas authored defunkt committed
  13. @defunkt
  14. @defunkt
  15. @judofyr @defunkt

    Fix the benchmark of Mustache without caching

    judofyr authored defunkt committed
  16. @defunkt

    add Home link

    defunkt authored
  17. @defunkt
  18. @defunkt

    comment out private

    defunkt authored
  19. @defunkt

    whitespace

    defunkt authored
  20. @defunkt

    add Gems link

    defunkt authored
Commits on Oct 6, 2009
  1. @defunkt

    typo

    defunkt authored
  2. @defunkt

    gh-pages publishing

    defunkt authored
  3. @defunkt

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

    defunkt authored
    Conflicts:
    	lib/mustache/sinatra.rb
  4. @defunkt

    acknowledgements

    defunkt authored
  5. @foca @defunkt

    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. @foca @defunkt

    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. @defunkt

    docs too

    defunkt authored
  2. @defunkt

    rdoc friendly sinatra docs

    defunkt authored
  3. @defunkt

    add installation and docs

    defunkt authored
  4. @defunkt

    add markdown support to sdoc

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