15
0
forked from pool/python-Routes

Accepting request 298183 from home:tbechtold:branches:devel:languages:python

New upstream release

OBS-URL: https://build.opensuse.org/request/show/298183
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=14
This commit is contained in:
Denisart Benjamin
2015-04-22 09:19:25 +00:00
committed by Git OBS Bridge
parent 8656811075
commit f74f8a1c7e
4 changed files with 41 additions and 8 deletions

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Apr 20 12:57:47 UTC 2015 - tbechtold@suse.com
- update to 2.1:
* Fix 3 other route matching groups in route.py to use anonymous groups for
optional sections to avoid exceeding regex limits. Fixes #15.
* Printing a mapper now includes the Controller/action parameters from the
route. Fixes #11.
* Fix regression that didn't allow passing in params 'host', 'protocol', or
'anchor'. They can now be passed in with a trailing '_' as was possible
before commit d1d1742903fa5ca24ef848a6ae895303f2661b2a. Fixes #7.
* URL generation with/without SCRIPT_NAME was resulting in the URL cache
failing to return the appropriate cached URL generation. The URL cache
should always include the SCRIPT_NAME, even if its empty, in the cache
to avoid this, and now does. Fixes #6.
* Extract Route creation into separate method in Mapper. Subclasses of Route
can be created by Mappers now.
* Use the first X_FORWARDED_FOR value if there are multiple proxies in the
path. Fixes #5.
* Python 3.2/3.3 Support. Fixes Issue #2. Thanks to Alejandro Sánchez for
the pull request!
- Enable testrun during build and adjust BuildRequires for that.
- Adjust documentation links.
-------------------------------------------------------------------
Thu Oct 24 11:13:33 UTC 2013 - speilicke@suse.com