Skip to content

Commit d5df638

Browse files
committed
Merge branch 'Davidrums-master'
2 parents 2885ef1 + c52c3a3 commit d5df638

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.2.4 (2016.09.17)
2+
==================
3+
4+
* Fix is_secure parameter. Thanks to @davidrums
5+
16
0.2.3 (2016.01.19)
27
==================
38

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ ImapLibrary must be imported into your Robot test suite.
163163
.. code:: robotframework
164164
165165
*** Settings ***
166-
Library ImapLibrary
166+
Library ImapLibrary
167167
168168
See `Robot Framework User Guide`_ for more information.
169169

doc/ImapLibrary.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@
4444
license='Apache License, Version 2.0',
4545
classifiers=[
4646
'Development Status :: 4 - Beta',
47+
'Framework :: Robot Framework',
4748
'Intended Audience :: Developers',
48-
'Topic :: Software Development :: Testing',
4949
'License :: OSI Approved :: Apache Software License',
5050
'Programming Language :: Python :: 2.7',
5151
'Programming Language :: Python :: 3.5',
52+
'Topic :: Software Development :: Testing',
5253
],
5354
keywords='robot framework testing automation imap email mail softwaretesting',
5455
platforms='any',

src/ImapLibrary/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def open_mailbox(self, **kwargs):
275275
| Open Mailbox | host=HOST | user=USER | password=SECRET | port=8000 |
276276
"""
277277
host = kwargs.pop('host', kwargs.pop('server', None))
278-
is_secure = kwargs.pop('is_secure', True)
278+
is_secure = kwargs.pop('is_secure', 'True') == 'True'
279279
port = int(kwargs.pop('port', self.PORT_SECURE if is_secure else self.PORT))
280280
self._imap = IMAP4_SSL(host, port) if is_secure else IMAP4(host, port)
281281
self._imap.login(kwargs.pop('user', None), kwargs.pop('password', None))

src/ImapLibrary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
IMAP Library - a IMAP email testing library.
2020
"""
2121

22-
VERSION = '0.2.3'
22+
VERSION = '0.2.4'
2323

2424

2525
def get_version():

0 commit comments

Comments
 (0)