Skip to content

Commit 1d044f4

Browse files
committed
Version bump and metadata update.
1 parent 9919961 commit 1d044f4

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

README.rst

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cinje
33
=====
44

5-
© 2015 Alice Bevan-McGregor and contributors.
5+
© 2015-2016 Alice Bevan-McGregor and contributors.
66

77
..
88
@@ -485,6 +485,8 @@ See the Variable Replacement section for details on the replacement options that
485485
Pragma
486486
~~~~~~
487487

488+
*New in Version 1.1*
489+
488490
The ``: pragma <flag>[ <flag>][...]`` directive allows you to enable or disable one or more processing flags. Usage is
489491
straightforward; to add a flag to the current set of flags::
490492

@@ -584,6 +586,21 @@ Version 1.1
584586
* *Enhanced Pypy support.* Pypy does not require optimizations which potentially obfuscate the resulting code.
585587
So we don't do them.
586588

589+
* *Fixed* incorrect `#{}` handling when it was the first non-whitepsace on a line. (#22)
590+
591+
* *Fixed* buffer iteration edge case if the first template text in a function is deeper than the function scope. (#21)
592+
593+
* *Python 3-style function annotations* can now be used to define function-wide "pragma" additions and removals, even
594+
on Python 2. (#8)
595+
596+
* *Pragma processing directives.* Processing flags can be set and unset during the translation process using
597+
`: pragma`.
598+
599+
* *Unbuffered mode.* Cinje can now operate in unbuffered mode. Each contiguous chunk is individually yielded. (#8)
600+
601+
* *Secret feature.* Have a cinje template? Want to more easily peek behind the curtain? (Sssh, it's a completely
602+
unsupported feature that even syntax colors if `pygments` is installed.) `python -m cinje source file.py`
603+
587604
Version 1.0
588605
-----------
589606

@@ -598,7 +615,7 @@ cinje has been released under the MIT Open Source license.
598615
The MIT License
599616
---------------
600617

601-
Copyright © 2015 Alice Bevan-McGregor and contributors.
618+
Copyright © 2015-2016 Alice Bevan-McGregor and contributors.
602619

603620
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
604621
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
@@ -653,12 +670,12 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
653670
:target: https://github.com/marrow/cinje/issues
654671
:alt: Github Issues
655672

656-
.. |ghsince| image:: https://img.shields.io/github/commits-since/marrow/cinje/1.0.svg
673+
.. |ghsince| image:: https://img.shields.io/github/commits-since/marrow/cinje/1.1.0.svg
657674
:target: https://github.com/marrow/cinje/commits/develop
658675
:alt: Changes since last release.
659676

660677
.. |ghtag| image:: https://img.shields.io/github/tag/marrow/cinje.svg
661-
:target: https://github.com/marrow/cinje/tree/1.0
678+
:target: https://github.com/marrow/cinje/tree/1.1.0
662679
:alt: Latest Github tagged release.
663680

664681
.. |latestversion| image:: http://img.shields.io/pypi/v/cinje.svg?style=flat

cinje/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from collections import namedtuple
66

77

8-
version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(1, 0, 0, 'final', 0)
8+
version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(1, 1, 0, 'final', 0)
99
version = ".".join([str(i) for i in version_info[:3]]) + ((version_info.releaselevel[0] + str(version_info.serial)) if version_info.releaselevel != 'final' else '')
1010

1111
author = namedtuple('Author', ['name', 'email'])("Alice Bevan-McGregor", '[email protected]')

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run_tests(self):
5555
author_email = author.email,
5656

5757
license = 'MIT',
58-
keywords = '',
58+
keywords = ['template', 'source translation', 'dsl', 'streaming', 'chunked'],
5959
classifiers = [
6060
"Development Status :: 5 - Production/Stable",
6161
"Intended Audience :: Developers",
@@ -65,6 +65,7 @@ def run_tests(self):
6565
"Programming Language :: Python :: 2",
6666
"Programming Language :: Python :: 2.7",
6767
"Programming Language :: Python :: 3",
68+
"Programming Language :: Python :: 3.2",
6869
"Programming Language :: Python :: 3.3",
6970
"Programming Language :: Python :: 3.4",
7071
"Programming Language :: Python :: 3.5",

0 commit comments

Comments
 (0)