Commits

Anonymous committed 6c3655c

[svn] Fixed tests to use new tag/url module names, updated docs/setup.cfg for new package name

Comments (0)

Files changed (5)

-RailsHelpers
+WebHelpers
 ++++++++++++
 
-RailsHelpers is a direct port of the Rails helper functions.
+WebHelpers is package aimed at providing helper functions for use within web applications.
 
 These functions are intended to ease web development with template languages by removing common view logic and
-encapsulating it in re-usable modules.
+encapsulating it in re-usable modules as well as occasionally providing objects for use within controllers to
+assist with common web development paradigms.
 
-*Requirements:* RailsHelpers requires `Routes <http://routes.groovie.org/>`_ to be active in the framework
-for a variety of functions. Currently `Pylons <http://pylons.groovie.org/>`_, `TurboGears <http://trac.turbogears.org/turbogears/wiki/RoutesIntegration>`_,
+*Requirements:* Some WebHelper functions require `Routes <http://routes.groovie.org/>`_ to be active in the
+framework for a variety of functions. Currently `Pylons <http://pylons.groovie.org/>`_, `TurboGears <http://trac.turbogears.org/turbogears/wiki/RoutesIntegration>`_,
 and `Aquarium <http://aquarium.sourceforge.net/>`_ support Routes.
 docs = docs/index.txt
 doc_base = docs/
 dest = docs/html
-modules = railshelpers, railshelpers.helpers
-title = RailsHelpers
-organization = RailsHelpers
+modules = webhelpers, webhelpers.rails
+title = WebHelpers
+organization = WebHelpers
 organization_url = http://pylonshq.com/WebHelpers/
 trac_url=http://pylonshq.com/project/
 blog_url = http://groovie.org/articles/category/python

tests/test_prototype.py

 from unittest import TestCase
 import unittest
 
-from webhelpers.rails.url import *
+from webhelpers.rails.urls import *
 from webhelpers.rails.prototype import *
 from routes import *
 

tests/test_tag.py

 from unittest import TestCase
 import unittest
 
-from webhelpers.rails.tag import *
+from webhelpers.rails.tags import *
 
 class TestTagHelper(TestCase):
     def test_tag(self):

tests/test_url.py

 from unittest import TestCase
 import unittest
 
-from webhelpers.rails.url import *
+from webhelpers.rails.urls import *
 from routes import *
 
 class TestURLHelper(TestCase):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.