Lockdown: Beta 0.6.0

Major code refactor. New lockdown-rails-app project for RSpec testing.
Added by Andrew Stone 79 days ago

I've been working on the next generation of Lockdown. The first step is 0.6.0 which is a code refactor for organizational purposes. I have added a new project on github called lockdown-rails-app which is my RSpec testbed for this gem.

For the next week or so I will be adding specs until I feel there is good coverage. After that time, I will release 0.6.0. I know there are some issues regarding the generators and creating a new app with 0.6.0, but there shouldn't be any issues upgrading existing applications.

To note: the refactor has introduced a new configuration option:
  # If deploying to a subdirectory, set that here. Defaults to nil
  #       options[:subdirectory] = "blog" 
  #       *Notice: Do not add leading or trailing slashes
  #
  #  e.g. http://localhost:3000/blog/users
If you would like to give 0.6.0 a try and help flesh out any issues, just do the following:
git clone git@github.com:stonean/lockdown.git lockdown
cd lockdown
rake install_gem

The next step will be to move away from the current implementation of access_rights as an array of "controller/action" strings to a numerical implementation. I'm still working out the details, but I would like to work towards a bitwise function solution.

This is the first in a series of improvements geared toward a cleaner, more succinct and customizable code base. If you would like to help out with this goal, your contributions are more than welcome.


Comments