Skip to content

Commit

Permalink
Release 0.9.1 version
Browse files Browse the repository at this point in the history
* Fix outdated URLs
* Bump version number to 0.9.1
  • Loading branch information
greyli authored and praiskup committed Feb 13, 2024
1 parent 625ba2f commit 5959b89
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Flask-Whooshee

[![Build Status](https://github.com/fedora-copr/flask-whooshee/actions/workflows/main.yml/badge.svg)](https://github.com/fedora-copr/flask-whooshee/actions)
[![PyPI Version](https://img.shields.io/pypi/v/flask-whooshee.svg)](https://pypi.python.org/pypi/flask-whooshee)
[![License](https://img.shields.io/badge/license-BSD-yellow.svg)](https://github.com/bkabrda/flask-whooshee)
[![License](https://img.shields.io/badge/license-BSD-yellow.svg)](https://github.com/fedora-copr/flask-whooshee)

*Adds Whoosh integration to Flask-SQLAlchemy.*

Expand Down Expand Up @@ -68,5 +68,5 @@ Links
=====

* [Documentation](https://flask-whooshee.readthedocs.io)
* [Source Code](https://github.com/bkabrda/flask-whooshee)
* [Issues](https://github.com/bkabrda/flask-whooshee/issues)
* [Source Code](https://github.com/fedora-copr/flask-whooshee)
* [Issues](https://github.com/fedora-copr/flask-whooshee/issues)
2 changes: 1 addition & 1 deletion docs/_templates/sidebarintro.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h3>Useful Links</h3>
<ul>
<li><a href="https://github.com/bkabrda/flask-whooshee">Flask-Whooshee @ GitHub</a></li>
<li><a href="https://github.com/fedora-copr/flask-whooshee">Flask-Whooshee @ GitHub</a></li>
<li><a href="https://pypi.python.org/pypi/flask-whooshee">Flask-Whooshee @ PyPI</a></li>
</ul>
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@
'description': 'Adds Whoosh Integration to Flask-SQLAlchemy.',
'github_button': False,
'github_banner': True,
'github_user': 'bkabrda',
'github_user': 'fedora-copr',
'github_repo': 'flask-whooshee',
'extra_nav_links': {
'Flask-Whooshee @ PyPI': 'https://pypi.python.org/pypi/flask-whooshee',
'Flask-Whooshee @ GitHub': 'https://github.com/bkabrda/flask-whooshee',
'Flask-Whooshee @ PyPI': 'https://pypi.org/project/flask-whooshee',
'Flask-Whooshee @ GitHub': 'https://github.com/fedora-copr/flask-whooshee',
}
}

Expand Down Expand Up @@ -366,5 +366,5 @@
intersphinx_mapping = {
'https://docs.python.org/': None,
'http://whoosh.readthedocs.io/en/latest/': None,
'http://flask-sqlalchemy.pocoo.org/latest/': None
'https://flask-sqlalchemy.palletsprojects.com/': None
}
2 changes: 1 addition & 1 deletion fedora/python-flask-whooshee.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Summary: Whoosh integration
License: BSD-3-Clause
URL: https://github.com/fedora-copr/flask-whooshee
Source0: https://pypi.python.org/packages/source/f/%{mod_name}/%{mod_name}-%{version}.tar.gz
# https://github.com/bkabrda/flask-whooshee/pull/19
# https://github.com/fedora-copr/flask-whooshee/pull/19
BuildArch: noarch


Expand Down
2 changes: 1 addition & 1 deletion flask_whooshee.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
DELETE_KWD = 'delete'


__version__ = '0.9.0'
__version__ = '0.9.1'


def _get_app(obj):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class Entry(db.Model):
`````
* `Documentation <https://flask-whooshee.readthedocs.io>`_
* `Source Code <https://github.com/bkabrda/flask-whooshee>`_
* `Issues <https://github.com/bkabrda/flask-whooshee/issues>`_
* `Source Code <https://github.com/fedora-copr/flask-whooshee>`_
* `Issues <https://github.com/fedora-copr/flask-whooshee/issues>`_
"""
from setuptools import setup
from flask_whooshee import __version__
Expand All @@ -66,7 +66,7 @@ class Entry(db.Model):
keywords='flask, sqlalchemy, whoosh',
author='Bohuslav "Slavek" Kabrda',
author_email='bkabrda@redhat.com',
url='https://github.com/bkabrda/flask-whooshee',
url='https://github.com/fedora-copr/flask-whooshee',
license='BSD-3-Clause',
py_modules=['flask_whooshee'],
test_suite='test',
Expand Down
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def test_delete(self):
self.assertEqual(len(found), 0)

# make sure that the entry has actually been deleted from the whoosh index
# https://github.com/bkabrda/flask-whooshee/pull/26#issuecomment-257549715
# https://github.com/fedora-copr/flask-whooshee/pull/26#issuecomment-257549715
whoosheer = next(w for w in self.wh.whoosheers if set(w.models) == set([self.Entry]))
self.assertEqual(len(whoosheer.search('blah blah blah')), 0)

Expand Down

0 comments on commit 5959b89

Please sign in to comment.