Bumped version

This commit is contained in:
Konsta Vesterinen
2013-08-01 11:16:13 +03:00
parent a60c2424c7
commit a14aad51a9
4 changed files with 9 additions and 3 deletions

View File

@@ -4,6 +4,12 @@ Changelog
Here you can see the full list of changes between each SQLAlchemy-Utils release. Here you can see the full list of changes between each SQLAlchemy-Utils release.
0.16.1 (2013-08-01)
^^^^^^^^^^^^^^^^^^^
- Added tsvector_concat and tsvector_match sql function expressions
0.16.0 (2013-07-25) 0.16.0 (2013-07-25)
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^

View File

@@ -55,7 +55,7 @@ for name, requirements in extras_require.items():
setup( setup(
name='SQLAlchemy-Utils', name='SQLAlchemy-Utils',
version='0.16.0', version='0.16.1',
url='https://github.com/kvesteri/sqlalchemy-utils', url='https://github.com/kvesteri/sqlalchemy-utils',
license='BSD', license='BSD',
author='Konsta Vesterinen', author='Konsta Vesterinen',

View File

@@ -29,7 +29,7 @@ from .types import (
) )
__version__ = '0.16.0' __version__ = '0.16.1'
__all__ = ( __all__ = (

View File

@@ -14,7 +14,7 @@ def compile_tsvector_match(element, compiler, **kw):
args = list(element.clauses) args = list(element.clauses)
if len(args) < 2: if len(args) < 2:
raise Exception( raise Exception(
"Function 'match_tsvector' expects atleast two arguments." "Function 'tsvector_match' expects atleast two arguments."
) )
if len(args) == 2: if len(args) == 2:
return '(%s) @@ to_tsquery(%s)' % ( return '(%s) @@ to_tsquery(%s)' % (