Skip to content

Commit c26ed9e

Browse files
authored
Merge pull request #144 from snoopyjc/master
Proposed v1.15.0
2 parents 37c1db3 + 272ede4 commit c26ed9e

21 files changed

+1039
-423
lines changed

.coveragerc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[run]
2+
#plugins = rivescript_coverage_plugin
3+
source = .
4+
omit = ./venv/*
5+
6+
[report]
7+
exclude_lines =
8+
pragma: no cover
9+
raise NotImplementedError
10+
if __name__ == .__main__.
11+
def _dump\(self\):
12+
13+
[rivescript_coverage_plugin]
14+
show_startup = False
15+
show_parsing = False
16+
show_tracing = False
17+
clean_rs_objects = True
18+
capture_streams = True

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
__pycache__
2+
.coverage
23
*.pyc
4+
*~
5+
*.swp
6+
htmlcov
7+
_rs_streams_
38
build/
49
dist/
10+
venv
511
*.egg-info/
12+
rivescript.zip
13+
.gitold

Changes.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
Revision history for the Python package RiveScript.
44

5+
## 1.15.0 - Mar 29 2020
6+
7+
This release provides a major (~5x) speedup for RiveScripts that have
8+
a large number of substitutions, and also fixes the following issues:
9+
10+
- Add a `prepare_brain_transplant` method to clear the RiveScript brain
11+
in preparation to load in a new one, while optionally preserving
12+
much of the current state (enh #81)
13+
- Implement the `trigger_info` method (bug #120)
14+
- Fix the issue of a "=" appearing in a variable value (bug #130)
15+
- Allow nested brackets (bug #132)
16+
- Fix trigger sorting to only count the existance of stars, optionals,
17+
etc. instead of how many there are in a trigger (bug #133)
18+
- Fix the debug message for incomment (bug #138)
19+
- Fix substitutions if they occur more than 3 times on a line (bug #140)
20+
- Fix crash in `set_substitution` method (bug #142)
21+
- Fix issue in `set_person` method (bug #143)
22+
- Significantly improve code coverage of tests (add `test_coverage.py`)
23+
524
## 1.14.9 - Sept 21 2017
625

726
This release fixes some regular expressions and adds better Unicode

dist.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)