Bumped version

This commit is contained in:
Konsta Vesterinen
2013-07-03 11:41:25 +03:00
parent 02ce4711a5
commit a71b9712ba
4 changed files with 18 additions and 2 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.14.4 (2013-07-03)
^^^^^^^^^^^^^^^^^^^
- Added TSVector type
0.14.3 (2013-07-03) 0.14.3 (2013-07-03)
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^

View File

@@ -24,7 +24,7 @@ class PyTest(Command):
setup( setup(
name='SQLAlchemy-Utils', name='SQLAlchemy-Utils',
version='0.14.3', version='0.14.4',
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

@@ -17,10 +17,11 @@ from .types import (
NumberRangeType, NumberRangeType,
ScalarListType, ScalarListType,
ScalarListException, ScalarListException,
TSVectorType
) )
__version__ = '0.14.3' __version__ = '0.14.4'
__all__ = ( __all__ = (
@@ -46,4 +47,5 @@ __all__ = (
ProxyDict, ProxyDict,
ScalarListType, ScalarListType,
ScalarListException, ScalarListException,
TSVectorType
) )

View File

@@ -164,6 +164,14 @@ class EmailType(sa.types.TypeDecorator):
return value return value
class TSVectorType(types.UserDefinedType):
"""
Text search vector type for postgresql.
"""
def get_col_spec(self):
return 'tsvector'
class NumberRangeRawType(types.UserDefinedType): class NumberRangeRawType(types.UserDefinedType):
""" """
Raw number range type, only supports PostgreSQL for now. Raw number range type, only supports PostgreSQL for now.