Sha256: 5723ebc82d332a2880083d7139e3ad0f205906fd3478eb3492ccc15a08366138

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

= cans

Interactive online source browser for Rack applications.

== 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.

== 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.1 README.rdoc
cans-0.2.0 README.rdoc