# CanTango Core Core functionality for [CanTango](https://github.com/kristianmandrup/cantango) ## Status: Dec 1 2011 The *core* CanTango component is now almost fully spec'ed and functional. Core should not dependencies to any other CanTango components but should stand on its own. All other CanTango components can rely on core for "core" functionality :) ## Installation CanTango has been tested to work with _Ruby 1.9+_ and currently doesn't support _Ruby 1.8.7_ If you require ruby 1.8.7 support, please help patch it and make a pull request ;) ### Install in Ruby environment (or gem set) `gem install cantango-core` ## Install in Rails application Insert into Gemfile of your Rails application: `gem 'cantango-core'` If you want to live on the edge and use the latest master branch, use the `:git` option. To designate a specific branch, use the `:branch` option. You can also clone this project and reference your local copy (easier to debug/fix) by using the `:path` option (see *Bundler* documentation). Run bundler in a terminal/console from the folder of your Gemfile (root folder of the app) `$ bundle` ## CanTango components CanTango has now been split up into these logical components: * [Cantango core](https://github.com/kristianmandrup/cantango-core) * [Cantango config](https://github.com/kristianmandrup/cantango-config) * [Cantango cache](https://github.com/kristianmandrup/cantango-cache) * [Cantango model](https://github.com/kristianmandrup/cantango-model) * [Cantango masquerade](https://github.com/kristianmandrup/cantango-masquerade) * [Cantango roles](https://github.com/kristianmandrup/cantango-roles) Engines (Ability executors): * [Permits](https://github.com/kristianmandrup/cantango-permits) * [Permit store](https://github.com/kristianmandrup/cantango-permit_store) * [Permissions](https://github.com/kristianmandrup/cantango-permissions) Cantango: * [Cantango](https://github.com/kristianmandrup/cantango) Currently the _cantango-1x_ branch ## Quickstart See the [Quickstart guide](https://github.com/kristianmandrup/cantango/wiki/Quickstart) in the wiki. For [devise](https://github.com/plataformatec/devise) integration, see [Quickstart CanTango with Devise](https://github.com/kristianmandrup/cantango/wiki/Quickstart-cantango-with-devise) The following scenarios demonstrate some of the problems CanTango can help solve in an elegant way * [Simple scenario](https://github.com/kristianmandrup/cantango/wiki/Simple-scenario) * [Complex scenario](https://github.com/kristianmandrup/cantango/wiki/Complex-scenario) ### Generators Cantango comes with a set of [Generators](https://github.com/kristianmandrup/cantango/wiki/Generators) to get your app dancing... Install CanTango using * cantango:install `$ rails g cantango:install` ### Configuration The CanTango [Configuration](https://github.com/kristianmandrup/cantango/wiki/Configuration) consists of a nice nested configuration DSL. ## Contributing to cantango-core * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it * Fork the project * Start a feature/bugfix branch * Commit and push until you are happy with your contribution * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally. * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it. ## Copyright Copyright (c) 2011 Kristian Mandrup. See LICENSE.txt for further details.