Skip to content

Commit 42e6a15

Browse files
committed
Correct some minor errors in 1.0.
1 parent a179638 commit 42e6a15

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

akismet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import requests
66

77

8-
__version__ = u'1.0'
8+
__version__ = u'1.0.1'
99

1010

1111
class AkismetError(Exception):

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = u'akismet'
1010
copyright = u'2005-2017, Michael Foord and James Bennett'
1111
version = '1.0'
12-
release = '1.0'
12+
release = '1.0.1'
1313
exclude_trees = ['_build']
1414
pygments_style = 'sphinx'
1515
html_static_path = ['_static']

docs/faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ The Akismet web service documentation recommends sending a string
9292
identifying the application or platform with version, and Akismet
9393
plugin/implementation name with version. In accordance with this,
9494
``akismet`` sends an HTTP ``User-Agent`` based on the versions of
95-
Python and ``akismet`` in use. For example, on Python 3.5 the string
96-
will be ``Python/3.5 | akismet.py/1.0``.
95+
Python and ``akismet`` in use. For example, ``akismet`` 1.0 on Python
96+
3.5 will send ``Python/3.5 | akismet.py/1.0.1``.
9797

9898

9999
Does ``akismet`` support the "pro-tip" header?

docs/overview.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Using ``akismet``
116116

117117
:param user_ip: The IP address of the user posting the comment.
118118
:type user_ip: ``str``
119-
:param user_agent: The HTTP ``User-Agent`` heaer of th euser
119+
:param user_agent: The HTTP ``User-Agent`` header of the user
120120
posting the comment.
121121
:type user_agent: ``str``
122122
:rtype: ``bool``
@@ -136,7 +136,7 @@ Using ``akismet``
136136

137137
:param user_ip: The IP address of the user posting the comment.
138138
:type user_ip: ``str``
139-
:param user_agent: The HTTP ``User-Agent`` heaer of th euser
139+
:param user_agent: The HTTP ``User-Agent`` header of the user
140140
posting the comment.
141141
:type user_agent: ``str``
142142
:rtype: ``bool``
@@ -156,7 +156,7 @@ Using ``akismet``
156156

157157
:param user_ip: The IP address of the user posting the comment.
158158
:type user_ip: ``str``
159-
:param user_agent: The HTTP ``User-Agent`` heaer of th euser
159+
:param user_agent: The HTTP ``User-Agent`` header of the user
160160
posting the comment.
161161
:type user_agent: ``str``
162162
:rtype: ``bool``

docs/upgrade.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ documentation now recomends a standard format for the ``User-Agent``
2828
header, and as a result this is no longer directly configurable. The
2929
``User-Agent`` string of ``akismet`` will now be based on the Python
3030
version and the version of ``akismet``, in accordance with the Akismet
31-
service's recommendation. For example, ``akismet`` |version| on Python
31+
service's recommendation. For example, ``akismet`` 1.0 on Python
3232
3.5 will send the string ``Python/3.5 | akismet.py/1.0``.
3333

3434
If you do need to send a custom ``User-Agent``, you can subclass

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ license = BSD 3-Clause
2121
long_description = file: README.rst
2222
name = akismet
2323
url = https://github.com/ubernostrum/akismet
24-
version = 1.0
24+
version = 1.0.1
2525

2626
[options]
2727
install_requires =

0 commit comments

Comments
 (0)