Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 30, 2015
  1. @judofyr

    Merge pull request #257 from jeremyevans/locals_keys

    judofyr authored
    Sort locals_keys before looking up template in @compiled_method
Commits on Apr 29, 2015
  1. @jeremyevans

    Sort locals_keys before looking up template in @compiled_method

    jeremyevans authored
    Currently, tilt uses the value of Hash#keys directly as the cache
    key.  On ruby 1.8 this results in 2^N possible cache entries for
    the template, where N is the number of keys in locals, because
    Hash#keys returns the keys in an arbitrary order on 1.8.
    
    Even on 1.9, where Hash#keys returns the keys in entry order,
    this can cause similar issues unless user code always enters the
    keys in the hash in the same order.
    
    I chose to put this code in evaluate instead of compiled_method
    itself, because evaluate creates the array and can use sort!
    to sort it.  If done in compiled_method, locals_keys is the
    argument, and mutating arguments is generally a bad API practice,
    so you'd have to use sort, which would cause an extra array
    allocation.
Commits on Feb 11, 2015
  1. @judofyr

    Merge pull request #251 from tommay/master

    judofyr authored
    Make Tilt::Cache return nil when nil is found in the cache.
Commits on Feb 10, 2015
  1. @judofyr

    Merge pull request #252 from arthurnn/patch-1

    judofyr authored
    Update liquid link on docs [skip ci]
Commits on Feb 9, 2015
  1. @arthurnn
Commits on Feb 8, 2015
  1. @tommay

    Make Tilt::Cache return nil when nil is found in the cache.

    tommay authored
    This avoids calling the block again with the same arguments and having it
    do some possibly expensive processing only to return nil again.
Commits on Dec 4, 2014
  1. @judofyr

    Travis tweaks:

    judofyr authored
    - Remove Bundler update hacks
    - Try using sudo-less containers
Commits on Oct 27, 2014
  1. @judofyr

    Merge pull request #249 from simi/patch-1

    judofyr authored
    Update liquid file extension in README.md
Commits on Oct 25, 2014
  1. @simi

    Update liquid file extension in README.md

    simi authored
    [ci skip]
Commits on Aug 23, 2014
  1. @judofyr

    Update CHANGELOG

    judofyr authored
  2. @judofyr

    Add /man to .gitignore

    judofyr authored
  3. @josephholsten @judofyr

    add documentation for tilt utility

    josephholsten authored judofyr committed
  4. @josephholsten @judofyr

    add yaml import to tilt utility

    josephholsten authored judofyr committed
Commits on Aug 21, 2014
  1. @judofyr
  2. @judofyr

    Merge pull request #244 from mr-vinn/asciidoctor-test-fix

    judofyr authored
    Update tests for Asciidoctor 1.5.0
  3. @mr-vinn

    Update tests for Asciidoctor 1.5.0

    mr-vinn authored
    The default Docbook backend in Asciidoctor 1.5.0 has been changed to
    docbook5.  The existing Docbook test in `tilt_asciidoctor_test.rb`
    expects Docbook 4.5 output, so it should use the `docbook45` backend.  I
    added a new test with different expected output for the `docbook5`
    backend.
    
    There is no longer a test for the `docbook` backend since its output can
    change depending on the installed version of Asciidoctor.
Commits on Aug 19, 2014
  1. @judofyr

    Merge pull request #242 from tmaier/patch-1

    judofyr authored
    Fix minor spelling error in "redcarpet"
  2. @tmaier
Commits on Apr 30, 2014
  1. @rkh

    Merge pull request #236 from MaxGabriel/patch-1

    rkh authored
    Use SVG for the Travis badge in the README
Commits on Apr 29, 2014
  1. @MaxGabriel
Commits on Mar 23, 2014
  1. @judofyr

    Merge pull request #234 from DeathSeeker512/patch-1

    judofyr authored
    Update Readme.md with tables
  2. @DeathSeeker512

    Update Readme.md with tables

    DeathSeeker512 authored
    I had noticed that the table-ish thing that was already there could have been done differently, so I decided to replace it with an actual table. In my opinion it does look better then what was there previously.
Commits on Mar 21, 2014
  1. @judofyr

    Fix Maruku test

    judofyr authored
  2. @judofyr

    Update CHANGELOG

    judofyr authored
  3. @judofyr

    Bump version

    judofyr authored
Commits on Jan 8, 2014
  1. @judofyr

    Tweak requiring logic #221:

    judofyr authored
    require 'tilt/template' will now *NOT* require 'tilt'
    require 'tilt' will require 'tilt/template'
Commits on Jan 7, 2014
  1. @judofyr
  2. @judofyr

    Merge pull request #227 from Ajedi32/patch-1

    judofyr authored
    Update "upcoming release" of tilt in README
  3. @Ajedi32

    Target note in README to users of Tilt v1.4

    Ajedi32 authored
    Fix note at the top of the README to make it more useful to users of Tilt v1.4.
  4. @Ajedi32

    Update "upcoming release" of tilt in README

    Ajedi32 authored
    Version 2.0 of Tilt is apparently out, so the README shouldn't state that v2.0 is still upcoming.
Commits on Jan 2, 2014
  1. @judofyr
  2. @judofyr

    Add workaround for failing build on Ruby 1.8.7

    judofyr authored
    Rubygems broke builds on Ruby 1.8.7:
    
    travis-ci/travis-ci#1793
    rubygems/rubygems#763
    
    This patch is a temporary workaround until rubygems is updated.
Commits on Dec 31, 2013
  1. @judofyr

    Update CHANGELOG

    judofyr authored
  2. @judofyr

    Update rubies for Travis

    judofyr authored
  3. @judofyr

    Fix Mapping#constant_defined? in Ruby 2.1.0:

    judofyr authored
    Ruby 2.1.0 changed the behavior of Module#const_defined?. Previously it
    would always return true if the constant was autoloaded, now it will
    attempt to the load the constant.
Something went wrong with that request. Please try again.