Permalink
Browse files

Hello 2012...

... and 2011
  • Loading branch information...
1 parent e819637 commit 2433fb7db8109856b71fc35a8c5cac7644758600 @SimonSapin SimonSapin committed Mar 27, 2012
Showing with 72 additions and 36 deletions.
  1. +32 −32 LICENSE
  2. +1 −1 docs/conf.py
  3. +4 −3 flask_frozen/__init__.py
  4. +13 −0 flask_frozen/test_app/__init__.py
  5. +11 −0 flask_frozen/test_app/admin/__init__.py
  6. +11 −0 flask_frozen/tests.py
View
@@ -1,32 +1,32 @@
-Copyright (c) 2010 by Simon Sapin and contributors. See AUTHORS
-for more details.
-
-Some rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
- * The names of the contributors may not be used to endorse or
- promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c) 2010-2012 by Simon Sapin and contributors. See AUTHORS
+for more details.
+
+Some rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -46,7 +46,7 @@
# General information about the project.
project = u'Frozen-Flask'
-copyright = u'2010, Simon Sapin'
+copyright = u'2010-2012, Simon Sapin'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -1,14 +1,15 @@
"""
- flaskext.frozen
- ~~~~~~~~~~~~~~~
+ flask_frozen
+ ~~~~~~~~~~~~
Frozen-Flask freezes a Flask application into a set of static files.
The result can be hosted without any server-side software other than a
traditional web server.
- :copyright: (c) 2010 by Simon Sapin.
+ :copyright: (c) 2010-2012 by Simon Sapin.
:license: BSD, see LICENSE for more details.
+
"""
from __future__ import with_statement
@@ -1,7 +1,20 @@
# coding: utf8
+"""
+ flask_frozen.test_app
+ ~~~~~~~~~~~~~~~~~~~~~
+
+ Test application Frozen-Flask
+
+ :copyright: (c) 2010-2012 by Simon Sapin.
+ :license: BSD, see LICENSE for more details.
+
+"""
+
from __future__ import with_statement
+
import os.path
from functools import partial
+
from flask import Flask, url_for
from flask_frozen import Freezer
@@ -1,3 +1,14 @@
+"""
+ flask_frozen.test_app.admin
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ Test application Frozen-Flask
+
+ :copyright: (c) 2010-2012 by Simon Sapin.
+ :license: BSD, see LICENSE for more details.
+
+"""
+
from flask import Blueprint
admin_blueprint = Blueprint('admin', __name__,
View
@@ -1,4 +1,15 @@
# coding: utf8
+"""
+ flask_frozen.tests
+ ~~~~~~~~~~~~~~~~~~
+
+ Automated test suite for Frozen-Flask
+
+ :copyright: (c) 2010-2012 by Simon Sapin.
+ :license: BSD, see LICENSE for more details.
+
+"""
+
from __future__ import with_statement
import unittest

0 comments on commit 2433fb7

Please sign in to comment.