Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Making test OS agnostic. | Kevin Carrogan | 2014-05-09 | 1 | -2/+2 |
| | |||||
* | Allow tox to run from a downloaded sdist (i.e. without spec tests). | Chris Jerdonek | 2012-11-03 | 2 | -17/+25 |
| | |||||
* | Prevent test_pystache.py from expecting spec tests if spec test directory ↵ | Chris Jerdonek | 2012-10-20 | 1 | -2/+9 |
| | | | | | | | not present. Prior to this commit, running test_pystache.py from a downloaded sdist has a test failure because the spec tests are not found. | ||||
* | Tweak merged patch. | Chris Jerdonek | 2012-10-20 | 1 | -9/+17 |
| | |||||
* | Merge remote-tracking branch ↵ | Chris Jerdonek | 2012-10-20 | 1 | -0/+60 |
|\ | | | | | | | | | | | 'BreakawayConsulting/issue-135-default-delimiters' into issue-135 This is the initial patch for issue #135 from @bennoleslie. | ||||
| * | Improve patch based on pull request feedback | Ben Leslie | 2012-09-19 | 1 | -18/+10 |
| | | | | | | | | | | | | Replace 'config' with 'context'. Use assertRaises correctly. | ||||
| * | Enable defaults.DELIMITERS to be monkey-patched by module users. | Ben Leslie | 2012-09-18 | 1 | -0/+68 |
| | | | | | | | | | | | | | | | | | | | | | | This updates the way in which default.DELIMITERS is used to enable simple monkey-patching should a user desire. Monkey-patching isn't the preferred approach however, it can at times be useful and it simple to support. Additionally, test cases are added to ensure certain defaults can be monkey-patched at run-time. | ||||
* | | Address issue #130: allow string coercion to be customized. | Chris Jerdonek | 2012-10-20 | 2 | -1/+77 |
| | | |||||
* | | Address issue #122: add Renderer.render_name(). | Chris Jerdonek | 2012-10-16 | 2 | -3/+12 |
| | | | | | | | | | | This commit adds a Renderer.render_name() method that lets one render a template given its name. | ||||
* | | Add TemplateSpec.template_path for issue #41. | Chris Jerdonek | 2012-10-16 | 1 | -11/+21 |
|/ | |||||
* | Add unit tests for Loader.load_file() and Loader.load_name(). | Chris Jerdonek | 2012-07-23 | 1 | -1/+16 |
| | |||||
* | Add a unit test for Locator.find_file(). | Chris Jerdonek | 2012-07-23 | 2 | -1/+12 |
| | |||||
* | Add support for PyPy (issue #125). | Chris Jerdonek | 2012-06-29 | 1 | -1/+11 |
| | |||||
* | Add make_extra_tests() function. | Chris Jerdonek | 2012-05-19 | 1 | -14/+20 |
| | |||||
* | Simplify pystache.tests.main by using a closure instead of a class attribute. | Chris Jerdonek | 2012-05-14 | 1 | -33/+50 |
| | |||||
* | Completed `python setup.py prep` command to generate .rst from .md. | Chris Jerdonek | 2012-05-06 | 1 | -1/+1 |
| | |||||
* | Renderer.render() now accepts ParsedTemplate instances. | Chris Jerdonek | 2012-05-06 | 1 | -1/+5 |
| | |||||
* | Documented parse(). | Chris Jerdonek | 2012-05-05 | 1 | -1/+1 |
| | |||||
* | Moved the default delimiters into pystache.defaults. | Chris Jerdonek | 2012-05-05 | 1 | -1/+2 |
| | |||||
* | Removed some redundant methods from RenderEngine. | Chris Jerdonek | 2012-05-05 | 1 | -1/+2 |
| | |||||
* | Improved byte-string handling in Python 3. | Chris Jerdonek | 2012-05-04 | 1 | -9/+34 |
| | |||||
* | Shared code between RenderEngine's _make_get_section() and _get_string_value(). | Chris Jerdonek | 2012-05-04 | 1 | -4/+12 |
| | |||||
* | Fixed issue #118: "Handle lambda section values returning non-ascii, ↵ | Chris Jerdonek | 2012-05-04 | 1 | -0/+17 |
| | | | | | | | | non-unicode" See-- https://github.com/defunkt/pystache/issues/118 | ||||
* | Merge branch 'master' into development | Chris Jerdonek | 2012-05-04 | 2 | -5/+20 |
|\ | |||||
| * | Fixed unittest warnings with Python 3: assertEquals() is deprecated. | Chris Jerdonek | 2012-05-04 | 1 | -5/+5 |
| | | |||||
| * | Fixed an issue with list section values mixing lambdas and non-lambdas. | Chris Jerdonek | 2012-05-04 | 1 | -0/+15 |
| | | |||||
* | | Added missing_tags attribute validation. | Chris Jerdonek | 2012-05-04 | 1 | -0/+13 |
| | | |||||
* | | Fixed a missing_tags unit test for Python 3. | Chris Jerdonek | 2012-05-04 | 1 | -2/+12 |
| | | |||||
* | | Finished implementing strict mode for missing tags. | Chris Jerdonek | 2012-05-04 | 2 | -31/+56 |
| | | |||||
* | | Added to Renderer class support for missing_tags (not finished yet). | Chris Jerdonek | 2012-05-04 | 1 | -23/+39 |
| | | | | | | | | Support for partial loading added. Still need to support missing tags. | ||||
* | | RenderEngine constructor now accepts resolve_partial() instead of ↵ | Chris Jerdonek | 2012-05-04 | 2 | -33/+60 |
| | | | | | | | | load_partial(). | ||||
* | | Context.get() now raises KeyNotFoundError instead of returning default value. | Chris Jerdonek | 2012-05-04 | 1 | -13/+5 |
| | | |||||
* | | Getting "." from an empty context stack now raises a KeyNotFoundError. | Chris Jerdonek | 2012-05-04 | 1 | -6/+23 |
| | | |||||
* | | Fixed part of issue #110: accessing from context a property raising an ↵ | Chris Jerdonek | 2012-05-03 | 1 | -0/+20 |
|/ | | | | exception. | ||||
* | Addressed issue #115: "Match spec expectation for partials not found" | Chris Jerdonek | 2012-05-03 | 4 | -13/+44 |
| | |||||
* | Merge remote-tracking branch 'rbp/development' into issue-99-dot-notation: | Chris Jerdonek | 2012-05-02 | 3 | -8/+168 |
|\ | | | | | | | | | | | | | | | | | | | This is pull request #100 for issue #99: https://github.com/defunkt/pystache/issues/99 Adds test cases and incorporates some clean-ups. Conflicts: pystache/tests/test_context.py pystache/tests/test_renderengine.py | ||||
| * | Moving Attachable helper class into the correct module | Rodrigo Bernardo Pimentel | 2012-04-29 | 1 | -0/+19 |
| | | |||||
| * | Merge branch 'development' of https://github.com/defunkt/pystache into ↵ | Rodrigo Bernardo Pimentel | 2012-04-29 | 3 | -3/+93 |
| | | | | | | | | | | | | | | | | | | | | development Conflicts: pystache/context.py pystache/tests/test_context.py pystache/tests/test_renderengine.py tests/common.py | ||||
* | | Some clean-ups to the context module (docstring changes, added TODO's, etc). | Chris Jerdonek | 2012-05-01 | 1 | -3/+3 |
| | | |||||
* | | Added a test case that dotted name resolution should make forward-only progress. | Chris Jerdonek | 2012-04-29 | 1 | -0/+13 |
| | | |||||
* | | Added failing test case for issue #114. | Chris Jerdonek | 2012-04-29 | 1 | -0/+16 |
|/ | |||||
* | Refactored spectesting.py: added _convert_children() function. | Chris Jerdonek | 2012-04-29 | 1 | -8/+33 |
| | |||||
* | Fixed issue #113: "Section lambdas mistakenly pushed onto context stack" | Chris Jerdonek | 2012-04-29 | 1 | -0/+34 |
| | |||||
* | Commented some of the section parsing code. | Chris Jerdonek | 2012-04-28 | 1 | -2/+2 |
| | |||||
* | Added back using nose to test a subset of tests. | Chris Jerdonek | 2012-04-28 | 1 | -1/+3 |
| | |||||
* | Stubbed out tests/test_parser.py. | Chris Jerdonek | 2012-04-28 | 1 | -0/+26 |
| | |||||
* | Add RenderEngine test cases for "falsey" context values. | Chris Jerdonek | 2012-04-25 | 1 | -0/+21 |
| | |||||
* | Renamed Context to ContextStack. | Chris Jerdonek | 2012-04-25 | 2 | -37/+37 |
| | |||||
* | Refactored by adding a resolve() function to context.py: | Chris Jerdonek | 2012-04-24 | 1 | -1/+1 |
| | | | | | | | The resolve() function is responsible for the interpolation name resolution rules described in the Mustache spec. Also, falsey values are now coerced to strings using Python's str(), which is more in line with the spec. | ||||
* | Test scripts now work with and without source. | Chris Jerdonek | 2012-04-24 | 1 | -10/+31 |
| |