Skip to content

Commit

Permalink
Updated changelog and bumped version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrimko committed Dec 17, 2017
1 parent fbf451e commit 0930b2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
= PopPage Changelog

== poppage-0.6.8 (2017-12-17)
=== Changed
- Added logic to prevent input templates from being overwritten by output.

== poppage-0.6.7 (2017-12-14)
=== Added
- YAML tag `!py` to allow executing Python code in defaults file; useful for processing other variables.
Expand Down
4 changes: 1 addition & 3 deletions app/poppage.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
##==============================================================#

#: Application version string.
__version__ = "0.6.7"
__version__ = "0.6.8"

#: Key separator.
KEYSEP = "::"
Expand Down Expand Up @@ -229,8 +229,6 @@ def make_file(inpath, tmpldict, outpath=None):
if outpath:
outpath = render_str(outpath, tmpldict)
if op.isdir(outpath):
# TODO: (JRR@201712141826) This is dangerous as it could overwrite
# the input template file!
outpath = op.join(outpath, op.basename(inpath))
outpath = render_str(outpath, tmpldict)
if is_binary(inpath):
Expand Down
2 changes: 1 addition & 1 deletion app/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setup(
name = "poppage",
version = "0.6.7",
version = "0.6.8",
author = "Jeff Rimko",
author_email = "[email protected]",
description = "Utility for generating files and directories from templates.",
Expand Down

0 comments on commit 0930b2b

Please sign in to comment.