Skip to content

Commit

Permalink
Merge pull request #144 from snoopyjc/master
Browse files Browse the repository at this point in the history
Proposed v1.15.0
  • Loading branch information
kirsle authored Apr 10, 2020
2 parents 37c1db3 + 272ede4 commit c26ed9e
Show file tree
Hide file tree
Showing 21 changed files with 1,039 additions and 423 deletions.
18 changes: 18 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[run]
#plugins = rivescript_coverage_plugin
source = .
omit = ./venv/*

[report]
exclude_lines =
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.
def _dump\(self\):

[rivescript_coverage_plugin]
show_startup = False
show_parsing = False
show_tracing = False
clean_rs_objects = True
capture_streams = True
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
__pycache__
.coverage
*.pyc
*~
*.swp
htmlcov
_rs_streams_
build/
dist/
venv
*.egg-info/
rivescript.zip
.gitold
19 changes: 19 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

Revision history for the Python package RiveScript.

## 1.15.0 - Mar 29 2020

This release provides a major (~5x) speedup for RiveScripts that have
a large number of substitutions, and also fixes the following issues:

- Add a `prepare_brain_transplant` method to clear the RiveScript brain
in preparation to load in a new one, while optionally preserving
much of the current state (enh #81)
- Implement the `trigger_info` method (bug #120)
- Fix the issue of a "=" appearing in a variable value (bug #130)
- Allow nested brackets (bug #132)
- Fix trigger sorting to only count the existance of stars, optionals,
etc. instead of how many there are in a trigger (bug #133)
- Fix the debug message for incomment (bug #138)
- Fix substitutions if they occur more than 3 times on a line (bug #140)
- Fix crash in `set_substitution` method (bug #142)
- Fix issue in `set_person` method (bug #143)
- Significantly improve code coverage of tests (add `test_coverage.py`)

## 1.14.9 - Sept 21 2017

This release fixes some regular expressions and adds better Unicode
Expand Down
Empty file modified dist.sh
100755 → 100644
Empty file.
Loading

0 comments on commit c26ed9e

Please sign in to comment.