{"push_id":1006488975,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"39ec7e00a61b759619ae0b52349fd824d61faee9","before":"852325414760acbad1e7277525b62375a5e97083","commits":[{"sha":"94eca61e45856ff1af8a228f88337f60850c7343","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@google.com","name":"Alex Nicksay"},"message":"Add a .gitignore file to ensure build output is not checked in","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/94eca61e45856ff1af8a228f88337f60850c7343"},{"sha":"588d413105742896b17531263759f9409bd771d4","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@gmail.com","name":"Alex Nicksay"},"message":"Merge pull request #53 from nicksay/gitignore\n\nAdd a .gitignore file to ensure build output is not checked in","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/588d413105742896b17531263759f9409bd771d4"},{"sha":"0b4f09159b2ccc3f0885585c5c37ba89ecdd37fd","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@google.com","name":"Alex Nicksay"},"message":"Fix cheetah_cheats mode to resolve local placeholders\n\nWhen compiled with `-Xcheetah-cheats` (or when `options.cheetah_cheats`\nis `True`) and no optimizations are applied, the template source\n```\n  #set $a = 'foo'\n  #set $b = $a\n```\nproduces the template code\n```\n  _self_search_list = self.search_list + [_globals]\n  a = u'foo'\n  b = resolve_placeholder(_self_search_list, 'a')\n```\nwhich causes a runtime error.\n\nFix this by adding `locals()` to the search list during\nplaceholder resolution.  Also fix a bug where a runtime error\noccurs if `self.search_list` is `None` by conditionally adding\nit to the search list.  After, the template code is\n```\n  if self.search_list:\n    _self_search_list = self.search_list + [_globals]\n  else:\n    _self_search_list = [_globals]\n  a = u'foo'\n  b = resolve_placeholder([locals()] + _self_search_list, 'a')\n```\n\nCloses #6","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/0b4f09159b2ccc3f0885585c5c37ba89ecdd37fd"},{"sha":"55332daee2d70e4a52bd6ab7cd4031f9198d8ab8","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@gmail.com","name":"Alex Nicksay"},"message":"Merge pull request #54 from nicksay/fix-cheetah-cheats\n\nFix cheetah_cheats mode to resolve local placeholders","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/55332daee2d70e4a52bd6ab7cd4031f9198d8ab8"},{"sha":"c8e670fa7de0374afc34591e65efa91bb300462e","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@google.com","name":"Alex Nicksay"},"message":"Add Cheetah and Jinja2 comparisons to render benchmark","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/c8e670fa7de0374afc34591e65efa91bb300462e"},{"sha":"39ec7e00a61b759619ae0b52349fd824d61faee9","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@gmail.com","name":"Alex Nicksay"},"message":"Merge pull request #55 from nicksay/benchmarks\n\nAdd Cheetah and Jinja2 comparisons to render benchmark","distinct":true,"url":"https://api.github.com/repos/nicksay/spitfire/commits/39ec7e00a61b759619ae0b52349fd824d61faee9"}]}