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 33 - " 2.7"
44 - " 3.4"
55 - " 3.5"
6+ - " 3.6"
67env :
7- - FLASK=0.11
8+ - FLASK=0.12.1
9+ - FLASK=0.11.1
810 - FLASK=0.10.1
911install :
1012 - pip install Flask==$FLASK
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2016 Alexandre Ferland
3+ Copyright (c) 2017 Alexandre Ferland
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of 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:
1414
1515Flask-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
1919Next, add a `` LDAP `` instance to your code and at least the three
2020required configuration options:
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1616import os
1717from mock import Mock as MagicMock
1818
19+
1920class Mock (MagicMock ):
2021 @classmethod
2122 def __getattr__ (cls , name ):
@@ -56,16 +57,16 @@ def __getattr__(cls, name):
5657
5758# General information about the project.
5859project = 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.
Original file line number Diff line number Diff 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
2525Next, add a :class: `~flask_simpleldap.LDAP ` to your code and at least the three
2626required configuration options:
@@ -116,6 +116,10 @@ History
116116
117117Changes:
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.
Original file line number Diff line number Diff 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 :
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 99
1010setup (
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' ,
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)
You can’t perform that action at this time.
0 commit comments