Skip to content

Commit c246732

Browse files
committed
update version + add ci support for py3.6
1 parent 72937d8 commit c246732

File tree

9 files changed

+21
-13
lines changed

9 files changed

+21
-13
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ python:
33
- "2.7"
44
- "3.4"
55
- "3.5"
6+
- "3.6"
67
env:
7-
- FLASK=0.11
8+
- FLASK=0.12.1
9+
- FLASK=0.11.1
810
- FLASK=0.10.1
911
install:
1012
- pip install Flask==$FLASK

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Alexandre Ferland
3+
Copyright (c) 2017 Alexandre Ferland
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First, install Flask-SimpleLDAP:
1414

1515
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
1616
(0.10.1 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
17-
with and tested on Python 2.7, 3.4 and 3.5.
17+
with and tested on Python 2.7, 3.4, 3.5 and 3.6.
1818

1919
Next, add a ``LDAP`` instance to your code and at least the three
2020
required configuration options:

dev_requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r requirements.txt
2-
pyldap==2.4.25.1 # here instead of requirements.txt so rtfd can build
3-
Sphinx==1.4.3
2+
pyldap>=2.4.28 # here instead of requirements.txt so rtfd can build
3+
Sphinx>=1.5.5

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import os
1717
from mock import Mock as MagicMock
1818

19+
1920
class Mock(MagicMock):
2021
@classmethod
2122
def __getattr__(cls, name):
@@ -56,16 +57,16 @@ def __getattr__(cls, name):
5657

5758
# General information about the project.
5859
project = u'Flask-SimpleLDAP'
59-
copyright = u'2016, Alexandre Ferland'
60+
copyright = u'2017, Alexandre Ferland'
6061

6162
# The version info for the project you're documenting, acts as replacement for
6263
# |version| and |release|, also used in various other places throughout the
6364
# built documents.
6465
#
6566
# The short X.Y version.
66-
version = '1.1.0'
67+
version = '1.1.1'
6768
# The full version, including alpha/beta/rc tags.
68-
release = '1.1.0'
69+
release = '1.1.1'
6970

7071
# The language for content autogenerated by Sphinx. Refer to documentation
7172
# for a list of supported languages.

docs/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First, install Flask-SimpleLDAP:
2020
2121
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
2222
(0.10.1 or later) and pyldap. Flask-SimpleLDAP is compatible
23-
with and tested on Python 2.7, 3.4 and 3.5.
23+
with and tested on Python 2.7, 3.4, 3.5 and 3.6.
2424

2525
Next, add a :class:`~flask_simpleldap.LDAP` to your code and at least the three
2626
required configuration options:
@@ -116,6 +116,10 @@ History
116116

117117
Changes:
118118

119+
- 1.1.1 April 10, 2017
120+
- Merge GitHub pull `#26 <https://github.com/admiralobvious/flask-simpleldap/pull/26>`_,
121+
Fix set_option call to LDAP for SSL CERT
122+
119123
- 1.1.0 June 7, 2016
120124

121125
- Add the ability the pass any valid pyldap config options via the LDAP_CUSTOM_OPTIONS configuration directive.

flask_simpleldap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def init_app(app):
6969
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
7070
ldap.OPT_X_TLS_DEMAND)
7171
ldap.set_option(ldap.OPT_X_TLS_CACERTFILE,
72-
current_app.config['LDAP_CERT_PATH'])
72+
current_app.config['LDAP_CERT_PATH'])
7373

7474
for option in ['USERNAME', 'PASSWORD', 'BASE_DN']:
7575
if app.config['LDAP_{0}'.format(option)] is None:

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Flask==0.11
2-
mock==2.0.0 # for ci
1+
Flask>=0.12.1
2+
mock>=2.0.0 # for ci

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='Flask-SimpleLDAP',
12-
version='1.1.0',
12+
version='1.1.1',
1313
url='https://github.com/admiralobvious/flask-simpleldap',
1414
license='MIT',
1515
author='Alexandre Ferland',
@@ -32,6 +32,7 @@
3232
'Programming Language :: Python :: 2.7',
3333
'Programming Language :: Python :: 3.4',
3434
'Programming Language :: Python :: 3.5',
35+
'Programming Language :: Python :: 3.6',
3536
'Topic :: Software Development :: Libraries :: Python Modules'
3637
]
3738
)

0 commit comments

Comments
 (0)