Sha256: 56276c00ed1dcf4de891f02b3202fa5e0e73974a6380fe802c65ab94f08359a2

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

= cans

Interactive online source browser for Rack applications.

http://dl.dropbox.com/u/9802610/Screenshots/g.png

== Using in Rails 3

Add "cans" to your Gemfile:

    gem 'cans'

Mount cans in routes.rb:

    mount Cans::Application.new, :at=>'/cans'

Start your Rails app, and use it a bit.  Understand that cans will add an after_filter to your whole application to scrape off the file history, since development mode unloads everything after requests.

Then, visit the cans mountpoint and browse around.

== Testing

Unit tests are in the "test/unit" directory, using "shoulda" from ThoughtBot.  Run them with "rake test".

== Note on Patches/Pull Requests
 
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
* When I accept, you will get some [Razor Sharp Can Lids](https://picomoney.com/razor-sharp-can-lids) as a token of appreciation.

== Copyright

Copyright (c) 2010-2011 Bryce Kerley. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cans-0.2.3 README.rdoc
cans-0.2.2 README.rdoc