Skip to content

Commit

Permalink
Flask-SSO v0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
  • Loading branch information
jirikuncar committed Jul 30, 2015
1 parent ac7aea5 commit b268c13
Show file tree
Hide file tree
Showing 17 changed files with 140 additions and 125 deletions.
12 changes: 6 additions & 6 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

[run]
source = flask_sso
28 changes: 19 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

# Travis CI file, that integrates with coveralls for reporting test coverage.

Expand All @@ -18,8 +18,8 @@ python:
- "3.4"

install:
- pip install --upgrade pip --use-mirrors
- pip install coveralls --use-mirrors
- pip install --upgrade pip
- pip install coveralls
- pip install .

script:
Expand All @@ -30,3 +30,13 @@ after_success:

notifications:
email: false

deploy:
provider: pypi
user: jirikuncar
password:
secure: txNr7JfTM8P69jTi8OJygQdUtKsw6f6BaBzG7OrqQ739x1wLlR6TO4282rHga/Cq4SMyGD9FHebhS1craYV1WmmsgebXpU1sP6RNYMXsBvQjloNTRbf8AnzEsB2GwC5fIHUgvKBVkXNAxm47atfu2QDlWnykvIqOeOi+IZLDk2Q=
on:
python: "2.7"
repo: inveniosoftware/flask-sso
tags: true
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Changelog
Here you can see the full list of changes between each Flask-SSO
release.

Version 0.3.0 (released 2015-07-30)

- The Flask-SSO extension is now released under more permissive
Revised BSD License. (#6)
- For testing execute run-tests.sh instead of sourcing it. (#4)
- New minimal application example. (#8)
- New Tox support for Python-3.4. (#4)

Version 0.2.0 (released 2014-06-26)

- Allowing ';' separator in HTTP data.
Expand Down
14 changes: 7 additions & 7 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

include LICENSE AUTHORS CHANGES CONTRIBUTING.rst README.rst
include .coveragerc run-tests.sh
Expand Down
32 changes: 13 additions & 19 deletions RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
==============================
Flask-SSO v0.2.0 is released
==============================
==================
Flask-SSO v0.3.0
==================

Flask-SSO v0.2.0 was released on June 26, 2014.
Flask-SSO v0.3.0 was released on July 30, 2015.

About
-----
Expand All @@ -13,33 +13,27 @@ Single-Sign-On authentication in Flask based web applications.
What's new
----------

- Allowing ';' separator in HTTP data.
- Fix for dictionary key order in tests.
- Fix for Python 3.3 string comparison.
- New dependency: Blinker.
- Code coverage improved to 100%.
- New configuration option SSO_LOGIN_ENDPOINT.
- The Flask-SSO extension is now released under more permissive
Revised BSD License. (#6)
- For testing execute run-tests.sh instead of sourcing it. (#4)
- New minimal application example. (#8)
- New Tox support for Python-3.4. (#4)

Installation
------------

$ pip install Flask-SSO
$ pip install flask-sso==0.3.0

Documentation
-------------

http://flask-sso.readthedocs.org/en/v0.2.0
http://flask-sso.readthedocs.org/en/v0.3.0

Homepage
--------

https://github.com/inveniosoftware/flask-sso

Good luck and thanks for choosing Flask-SSO.
Happy hacking and thanks for flying Flask-SSO.

| Invenio Development Team
| Email: info@invenio-software.org
| IRC: #invenio on irc.freenode.net
| Twitter: http://twitter.com/inveniosoftware
| GitHub: http://github.com/inveniosoftware
| GitHub: https://github.com/inveniosoftware/flask-sso
| URL: http://invenio-software.org
14 changes: 7 additions & 7 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

# You can set these variables from the command line.
SPHINXOPTS =
Expand Down
14 changes: 7 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

import sys
import os
Expand Down
14 changes: 7 additions & 7 deletions flask_sso/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

"""
Implement Shibboleth Single-Sign-On authentication.
Expand Down
14 changes: 7 additions & 7 deletions flask_sso/config.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

"""The details of the application settings that can be customized.
Expand Down
16 changes: 8 additions & 8 deletions flask_sso/version.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

"""Version information for Flask-SSO.
Expand All @@ -16,4 +16,4 @@
# Do not change the format of this next line. Doing so risks breaking
# setup.py and docs/conf.py

__version__ = "0.2.1.dev20140801"
__version__ = "0.3.0"
14 changes: 7 additions & 7 deletions run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

coverage run setup.py test
coverage report -m
17 changes: 10 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

[wheel]
universal=1

[build_sphinx]
source-dir = docs/
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

from setuptools import setup
import os
Expand Down
14 changes: 7 additions & 7 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.
14 changes: 7 additions & 7 deletions tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

from unittest import TestCase
from flask import Flask
Expand Down
14 changes: 7 additions & 7 deletions tests/test_ext.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
##
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
#
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

from __future__ import absolute_import

Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## This file is part of Flask-SSO
## Copyright (C) 2014 CERN.
##
## Flask-SSO is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
# This file is part of Flask-SSO
# Copyright (C) 2014, 2015 CERN.
#
# Flask-SSO is free software; you can redistribute it and/or modify
# it under the terms of the Revised BSD License; see LICENSE file for
# more details.

#
# Tox configuration file
Expand Down

0 comments on commit b268c13

Please sign in to comment.