Skip to content

Commit f15c958

Browse files
authored
Merge pull request #400 from moremoban/dev
release 0.8.1
2 parents d132353 + 556366f commit f15c958

File tree

22 files changed

+49
-35
lines changed

22 files changed

+49
-35
lines changed

.moban.cd/changelog.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: moban
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Fixed
6+
details:
7+
- "`#399`: content processor should be called only once"
8+
- "content processor shall pass on options to content processors"
9+
date: 04.09.2020
10+
version: 0.8.1
411
- changes:
512
- action: Removed
613
details:

.moban.cd/moban.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ organisation: moremoban
44
author: chfw
55
66
license: MIT
7-
version: 0.8.0
8-
current_version: 0.8.0
9-
release: 0.8.0
7+
version: 0.8.1
8+
current_version: 0.8.1
9+
release: 0.8.1
1010
branch: master
1111
master: index
1212
command_line_interface: "moban"

.moban.d/moban_readme.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Given the following template type function, and saved in custom-plugin dir:
216216

217217

218218
@ContentProcessor("de-duplicate", "De-duplicating", "De-duplicated")
219-
def de_duplicate(content: str) -> str:
219+
def de_duplicate(content: str, options: dict) -> str:
220220
lines = content.split(b'\n')
221221
new_lines = []
222222
for line in lines:

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ stages:
3030
env:
3131
- MINREQ=0
3232
stage: moban
33-
install: pip install moban>=0.0.4 gitfs2 pypifs moban-jinja2-github
33+
install: pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
3434
script: make update git-diff-check
3535

3636
jobs:

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Change log
22
================================================================================
33

4+
0.8.1 - 04.09.2020
5+
--------------------------------------------------------------------------------
6+
7+
**Fixed**
8+
9+
#. `#399 <https://github.com/moremoban/moban/issues/399>`_: content processor
10+
should be called only once
11+
#. content processor shall pass on options to content processors
12+
413
0.8.0 - 02.09.2020
514
--------------------------------------------------------------------------------
615

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ lint:
2121
yamllint -d "{extends: default, ignore: .moban.cd/changelog.yml}" .
2222

2323
format:
24-
isort $(find moban -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
25-
git diff
26-
black -l 79 moban
27-
git diff
28-
black -l 79 tests
29-
git diff
24+
bash format.sh
3025

3126
uml:
3227
plantuml -tsvg -o ./images/ docs/*.uml

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Given the following template type function, and saved in custom-plugin dir:
340340
341341
342342
@ContentProcessor("de-duplicate", "De-duplicating", "De-duplicated")
343-
def de_duplicate(content: str) -> str:
343+
def de_duplicate(content: str, options: dict) -> str:
344344
lines = content.split(b'\n')
345345
new_lines = []
346346
for line in lines:

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
copyright = '2017-2020 Onni Software Ltd.'
2626
author = 'chfw'
2727
# The short X.Y version
28-
version = '0.8.0'
28+
version = '0.8.1'
2929
# The full version, including alpha/beta/rc tags
30-
release = '0.8.0'
30+
release = '0.8.1'
3131

3232
# -- General configuration ---------------------------------------------------
3333

format.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
isort $(find moban -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
2+
black -l 79 moban
3+
black -l 79 tests

moban/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from moban._version import __version__
2-
from moban._version import __author__
1+
from moban._version import __author__, __version__
32

43
__all__ = ("__author__", "__version__")

0 commit comments

Comments
 (0)