Skip to content

Commit

Permalink
Updated garlic and made notes about 2.x compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Feb 3, 2009
1 parent 4a26949 commit 80bf48d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -6,9 +6,9 @@ Also see http://blog.ardes.com/resources_controller

See the CHANGLELOG for recent changes.

== works with rails 2.0-stable, 2.1-stable, and edge
== works with rails 2.1-stable, and 2.2-stable,

resources_controller works with rails 2.x and edge.
resources_controller works with rails >= 2.1.

== Specs and Coverage

Expand Down
1 change: 1 addition & 0 deletions TODO
@@ -1,3 +1,4 @@
* version and gem relase
* allow option to override namespace name_prefix, or add arbitrary name_prefix
and path_prefix
* enclosing_resource_service for easier creating of custom enclosing resources
Expand Down
12 changes: 5 additions & 7 deletions garlic.rb
@@ -1,18 +1,16 @@
garlic do
repo 'resources_controller', :path => '.'

repo 'rails', :url => 'git://github.com/rails/rails'
# using ianwhite/rspec-rails as it has some patches that are not yet applied in dchelimsky/rspec-rails
repo 'ianwhite-rspec', :url => 'git://github.com/ianwhite/rspec'
repo 'ianwhite-rspec-rails', :url => 'git://github.com/ianwhite/rspec-rails'
repo 'rspec', :url => 'git://github.com/dchelimsky/rspec'
repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails'

['origin/master', 'origin/2-0-stable', 'origin/2-1-stable', 'origin/2-2-stable'].each do |rails|
['origin/2-1-stable', 'origin/2-2-stable'].each do |rails|

target "Rails: #{rails}", :tree_ish => rails do
prepare do
plugin 'resources_controller', :clone => true
plugin 'ianwhite-rspec', :as => 'rspec'
plugin 'ianwhite-rspec-rails', :as => 'rspec-rails' do
plugin 'rspec', :as => 'rspec'
plugin 'rspec-rails', :as => 'rspec-rails' do
sh "script/generate rspec -f"
end
end
Expand Down

0 comments on commit 80bf48d

Please sign in to comment.