File tree Expand file tree Collapse file tree 9 files changed +21
-13
lines changed Expand file tree Collapse file tree 9 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 3
3
- " 2.7"
4
4
- " 3.4"
5
5
- " 3.5"
6
+ - " 3.6"
6
7
env :
7
- - FLASK=0.11
8
+ - FLASK=0.12.1
9
+ - FLASK=0.11.1
8
10
- FLASK=0.10.1
9
11
install :
10
12
- pip install Flask==$FLASK
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2016 Alexandre Ferland
3
+ Copyright (c) 2017 Alexandre Ferland
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ First, install Flask-SimpleLDAP:
14
14
15
15
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
16
16
(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 .
18
18
19
19
Next, add a `` LDAP `` instance to your code and at least the three
20
20
required configuration options:
Original file line number Diff line number Diff line change 1
1
-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
Original file line number Diff line number Diff line change 16
16
import os
17
17
from mock import Mock as MagicMock
18
18
19
+
19
20
class Mock (MagicMock ):
20
21
@classmethod
21
22
def __getattr__ (cls , name ):
@@ -56,16 +57,16 @@ def __getattr__(cls, name):
56
57
57
58
# General information about the project.
58
59
project = u'Flask-SimpleLDAP'
59
- copyright = u'2016 , Alexandre Ferland'
60
+ copyright = u'2017 , Alexandre Ferland'
60
61
61
62
# The version info for the project you're documenting, acts as replacement for
62
63
# |version| and |release|, also used in various other places throughout the
63
64
# built documents.
64
65
#
65
66
# The short X.Y version.
66
- version = '1.1.0 '
67
+ version = '1.1.1 '
67
68
# The full version, including alpha/beta/rc tags.
68
- release = '1.1.0 '
69
+ release = '1.1.1 '
69
70
70
71
# The language for content autogenerated by Sphinx. Refer to documentation
71
72
# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ First, install Flask-SimpleLDAP:
20
20
21
21
Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
22
22
(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 .
24
24
25
25
Next, add a :class: `~flask_simpleldap.LDAP ` to your code and at least the three
26
26
required configuration options:
@@ -116,6 +116,10 @@ History
116
116
117
117
Changes:
118
118
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
+
119
123
- 1.1.0 June 7, 2016
120
124
121
125
- Add the ability the pass any valid pyldap config options via the LDAP_CUSTOM_OPTIONS configuration directive.
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def init_app(app):
69
69
ldap .set_option (ldap .OPT_X_TLS_REQUIRE_CERT ,
70
70
ldap .OPT_X_TLS_DEMAND )
71
71
ldap .set_option (ldap .OPT_X_TLS_CACERTFILE ,
72
- current_app .config ['LDAP_CERT_PATH' ])
72
+ current_app .config ['LDAP_CERT_PATH' ])
73
73
74
74
for option in ['USERNAME' , 'PASSWORD' , 'BASE_DN' ]:
75
75
if app .config ['LDAP_{0}' .format (option )] is None :
Original file line number Diff line number Diff line change 1
- Flask == 0.11
2
- mock = =2.0.0 # for ci
1
+ Flask >= 0.12.1
2
+ mock > =2.0.0 # for ci
Original file line number Diff line number Diff line change 9
9
10
10
setup (
11
11
name = 'Flask-SimpleLDAP' ,
12
- version = '1.1.0 ' ,
12
+ version = '1.1.1 ' ,
13
13
url = 'https://github.com/admiralobvious/flask-simpleldap' ,
14
14
license = 'MIT' ,
15
15
author = 'Alexandre Ferland' ,
32
32
'Programming Language :: Python :: 2.7' ,
33
33
'Programming Language :: Python :: 3.4' ,
34
34
'Programming Language :: Python :: 3.5' ,
35
+ 'Programming Language :: Python :: 3.6' ,
35
36
'Topic :: Software Development :: Libraries :: Python Modules'
36
37
]
37
38
)
You can’t perform that action at this time.
0 commit comments