public
Description: An authorization Rails plugin using a declarative DSL for specifying authorization rules in one place
Homepage:
Clone URL: git://github.com/stffn/declarative_authorization.git
declarative_authorization / garlic_example.rb
7498bbfb » stffn 2008-10-28 Garlic for tests with multi... 1 garlic do
2 repo 'rails', :url => 'git://github.com/rails/rails'#, :local => "~/dev/vendor/rails"
3 repo 'declarative_authorization', :path => '.'
4
5 target 'edge'
6 target '2.1-stable', :branch => 'origin/2-1-stable'
d9b623b5 » stffn 2008-10-28 Added 2.2.0-RC1 as garlic t... 7 target '2.2.0-RC1', :tag => 'v2.2.0'
7498bbfb » stffn 2008-10-28 Garlic for tests with multi... 8
9 all_targets do
10 prepare do
11 plugin 'declarative_authorization', :clone => true
12 end
13
14 run do
d9b623b5 » stffn 2008-10-28 Added 2.2.0-RC1 as garlic t... 15 cd "vendor/plugins/declarative_authorization" do
7498bbfb » stffn 2008-10-28 Garlic for tests with multi... 16 sh "rake"
17 end
18 end
19 end
20 end