Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Merge branch 'development' of https://github.com/defunkt/pystache into ↵ | Rodrigo Bernardo Pimentel | 2012-04-29 | 81 | -94/+4286 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | development Conflicts: pystache/context.py pystache/tests/test_context.py pystache/tests/test_renderengine.py tests/common.py | |||||
| * | | Auto-calling elements in the middle of a dot-notation path (reverts ↵ | Rodrigo Bernardo Pimentel | 2012-04-29 | 1 | -4/+1 | |
| | | | | | | | | | | | | 3c5a6db5a0fe7cfeaee04476419ca2b7ada18b1e) | |||||
| * | | Fixing logic mistake when determining auto-invoking. Added tests for this case. | Rodrigo Bernardo Pimentel | 2012-04-04 | 1 | -5/+4 | |
| | | | ||||||
| * | | Not auto-invoking when there are still dot notation parts to examine. The ↵ | Rodrigo Bernardo Pimentel | 2012-04-04 | 1 | -1/+4 | |
| | | | | | | | | | | | | previous behaviour breaks calls like foo.bar.baz, if foo.bar defines __call__ | |||||
| * | | Bail early when the attribute is not found, when expanding dot-notation | Rodrigo Bernardo Pimentel | 2012-04-04 | 1 | -2/+3 | |
| | | | ||||||
| * | | Dot notation support, thereby making pystache compliant with Mustache spec ↵ | Rodrigo Bernardo Pimentel | 2012-04-03 | 1 | -4/+13 | |
| | | | | | | | | | | | | v1.1.2 (and updating the spec submodule accordingly) | |||||
* | | | Some clean-ups to the context module (docstring changes, added TODO's, etc). | Chris Jerdonek | 2012-05-01 | 3 | -31/+42 | |
| | | | ||||||
* | | | Added a test case that dotted name resolution should make forward-only progress. | Chris Jerdonek | 2012-04-29 | 1 | -0/+13 | |
| | | | ||||||
* | | | Added a TODO to context.py. | Chris Jerdonek | 2012-04-29 | 1 | -0/+2 | |
| | | | ||||||
* | | | Dot notation spec tests now pass in-- | Chris Jerdonek | 2012-04-29 | 2 | -3/+11 | |
| | | | | | | | | | | | | https://github.com/mustache/spec/tree/9b1bc7ad19247e9671304af02078f2ce30132665 | |||||
* | | | Made context.resolve() a method on the ContextStack class. | Chris Jerdonek | 2012-04-29 | 2 | -39/+37 | |
| | | | ||||||
* | | | Started implementing dot notation. | Chris Jerdonek | 2012-04-29 | 1 | -6/+24 | |
| | | | ||||||
* | | | Fixed issue #114: "List of lambdas not processed correctly for sections" | Chris Jerdonek | 2012-04-29 | 1 | -15/+34 | |
| | | | ||||||
* | | | 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 | 2 | -1/+40 | |
| | | ||||||
* | | Moved a string slice operation from parse() to _parse_section(). | Chris Jerdonek | 2012-04-28 | 1 | -4/+4 | |
| | | ||||||
* | | Commented some of the section parsing code. | Chris Jerdonek | 2012-04-28 | 2 | -13/+48 | |
| | | ||||||
* | | Added back using nose to test a subset of tests. | Chris Jerdonek | 2012-04-28 | 2 | -2/+4 | |
| | | ||||||
* | | Stubbed out tests/test_parser.py. | Chris Jerdonek | 2012-04-28 | 1 | -0/+26 | |
| | | ||||||
* | | Merge branch 'master' into 'development': changes for v0.5.1 prep. | Chris Jerdonek | 2012-04-25 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | Conflicts: HISTORY.rst | |||||
| * | | Bump version from 0.5.1-rc to 0.5.1 prior to release to PyPI.v0.5.1 | Chris Jerdonek | 2012-04-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | 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 | 6 | -61/+61 | |
| | | | ||||||
* | | | Refactored by adding a resolve() function to context.py: | Chris Jerdonek | 2012-04-24 | 3 | -12/+25 | |
|/ / | | | | | | | | | | | | | 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. | |||||
* | | Finalizing v0.5.1 prior to merge to master, bump version to 0.5.1-rc. | Chris Jerdonek | 2012-04-24 | 1 | -1/+1 | |
| | | ||||||
* | | Test scripts now work with and without source. | Chris Jerdonek | 2012-04-24 | 1 | -10/+31 | |
| | | ||||||
* | | Fixed an issue whereby setup.py was not importable when running tox. | Chris Jerdonek | 2012-04-23 | 1 | -2/+12 | |
| | | ||||||
* | | Changes in preparation for 0.5.1. | Chris Jerdonek | 2012-04-23 | 2 | -3/+27 | |
| | | ||||||
* | | Removed a TODO that has already been addressed. | Chris Jerdonek | 2012-04-23 | 1 | -1/+1 | |
| | | ||||||
* | | Added unit tests for pystache/__init__.py. | Chris Jerdonek | 2012-04-23 | 3 | -9/+40 | |
| | | ||||||
* | | Test script now works with Python 2.4; tox now works with Python 2.4 to 3.2. | Chris Jerdonek | 2012-04-23 | 8 | -38/+37 | |
| | | | | | | | | Doctest discovery no longer depends on pkgutil.walk_packages(). | |||||
* | | Added docstrings to all modules to avoid doctest bug 14649: ↵ | Chris Jerdonek | 2012-04-23 | 18 | -0/+105 | |
| | | | | | | | | http://bugs.python.org/issue14649 | |||||
* | | Moved some of the test-discovery logic into tests/common.py | Chris Jerdonek | 2012-04-23 | 2 | -71/+77 | |
| | | ||||||
* | | Only pull in 2to3-related modules when running Python 3.x. | Chris Jerdonek | 2012-04-21 | 1 | -4/+7 | |
| | | ||||||
* | | The test script now converts text doctest files to Python 3 when needed. | Chris Jerdonek | 2012-04-21 | 1 | -3/+42 | |
| | | ||||||
* | | Fixed a bug that affected the processing of ~lambdas.json (but not YAML). | Chris Jerdonek | 2012-04-21 | 1 | -13/+28 | |
| | | ||||||
* | | Moved test_mustachespec.py to spectesting.py since it no longer contains ↵ | Chris Jerdonek | 2012-04-21 | 2 | -2/+1 | |
| | | | | | | | | unit tests. | |||||
* | | The pystache-tests script now accepts a spec test directory argument. | Chris Jerdonek | 2012-04-21 | 2 | -5/+16 | |
| | | ||||||
* | | Refactored pystache/tests/test_mustachespec.py to expose get_spec_tests(). | Chris Jerdonek | 2012-04-21 | 2 | -80/+134 | |
| | | ||||||
* | | Renamed get_module_doctests() to get_doctests(). | Chris Jerdonek | 2012-04-21 | 2 | -5/+10 | |
| | | ||||||
* | | The project directory can now be passed to pystache-test (for doctest purposes). | Chris Jerdonek | 2012-04-21 | 2 | -8/+15 | |
| | | ||||||
* | | Updated a comment in tests/common.py. | Chris Jerdonek | 2012-04-21 | 1 | -2/+1 | |
| | | ||||||
* | | Deleted a trailing space. | Chris Jerdonek | 2012-04-21 | 1 | -1/+1 | |
| | | ||||||
* | | Added extra line | Chris Jerdonek | 2012-04-20 | 1 | -0/+1 | |
| | | ||||||
* | | Added a hack to get around Python bug #7559: http://bugs.python.org/issue7559 | Chris Jerdonek | 2012-04-20 | 2 | -2/+20 | |
| | | ||||||
* | | Adjusted comments in pystache/tests/main.py. | Chris Jerdonek | 2012-04-20 | 1 | -18/+10 | |
| | | ||||||
* | | Replaced the TestHarness class with a run_tests() function. | Chris Jerdonek | 2012-04-20 | 2 | -35/+27 | |
| | | ||||||
* | | Removed test_doctests.py (and use of the load_tests protocol). | Chris Jerdonek | 2012-04-20 | 3 | -48/+13 | |
| | | ||||||
* | | Renamed SOURCE_DIR to PACKAGE_DIR. | Chris Jerdonek | 2012-04-20 | 3 | -17/+12 | |
| | |