Skip to content

Commit 796ff08

Browse files
committed
Added contributors, removed redundant doc, updated history, bumped version to 0.0.6
1 parent bc5cb3c commit 796ff08

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

HISTORY.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
History
22
=======
33

4+
0.0.6 (4/9/2014)
5+
----------------
6+
7+
- Improved Python 3 Support (Thanks underyx!).
8+
- Improved test cases.
9+
- Improved configuration.
10+
- Fixed up documentation.
11+
- Removed un-used imports (Thanks underyx and lyschoening!).
12+
13+
414
0.0.5 (17/2/2014)
515
----------------
616

@@ -29,4 +39,4 @@ History
2939
----------------
3040

3141
- Conception
32-
- Initial Commit of Package to GitHub.
42+
- Initial Commit of Package to GitHub.

README.rst

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,14 @@ Add Redis Support to Flask.
1212

1313
Built on top of `redis-py <https://github.com/andymccurdy/redis-py>`_.
1414

15-
Currently a single namespace within the configuration is supported.
1615

17-
.. code-block:: python
18-
19-
REDIS_URL="redis://localhost"
20-
21-
with the Redis instance automatically loading config from this namespace.
22-
23-
In the future, the ability to declare multiple Redis namespaces will be available
24-
25-
.. code-block:: python
16+
Contributors
17+
------------
2618

27-
REDIS_CACHE_URL="redis://localhost/0"
28-
REDIS_METRICS_URL="redis://localhost/0"
19+
- Rhys Elsmore - @rhyselsmore - https://github.com/rhyselsmore
20+
- Bence Nagy - @underyx - https://github.com/underyx
21+
- Lars Schöning - @lyschoening - https://github.com/lyschoening
2922

30-
redis_cache = Redis(config_prefix="REDIS_CACHE")
31-
redis_metrics = Redis(config_prefix="REDIS_METRICS")
3223

3324
Installation
3425
------------
@@ -49,7 +40,7 @@ Configuration
4940
-------------
5041

5142
Your configuration should be declared within your Flask config. You can declare
52-
via a Redis URL
43+
via a Redis URL containing the database
5344

5445
.. code-block:: python
5546
@@ -59,10 +50,8 @@ or you are able to declare the following
5950

6051
.. code-block:: python
6152
62-
REDIS_HOST = "localhost"
63-
REDIS_PASSWORD = "password"
64-
REDIS_PORT = 6379
65-
REDIS_DATABASE = 5
53+
REDIS_URL="redis://:password@localhost:6379"
54+
REDIS_DATABASE=5
6655
6756
To create the redis instance within your application
6857

@@ -114,4 +103,4 @@ Contribute
114103
#. Write a test which shows that the bug was fixed or that the feature works as expected.
115104
#. Send a pull request and bug the maintainer until it gets merged and published.
116105

117-
.. _`the repository`: http://github.com/rhyselsmore/flask-redis
106+
.. _`the repository`: http://github.com/rhyselsmore/flask-redis

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name='Flask-Redis',
18-
version='0.0.5',
18+
version='0.0.6',
1919
url='http://github.com/rhyselsmore/flask-redis',
2020
author='Rhys Elsmore',
2121
author_email='[email protected]',

0 commit comments

Comments
 (0)