Rg integre rails

rg
http://github.com/jeremymcanally/rg/tree/master

commit

appli rails personnalisée avec comme fichier de configuration un DSL
sympa :
très bonne idée !

template :thing, “Describe it here” do

Install some plugins

plugin(“thing”, :git => “git://www.github.com/dudette/thing.git”)

Vendor some gems

gem(“name”)
gem(“name”, :git => “git://github.com/dude/name.git”)

lib(“path/to/file.rb”) do
put_some_code(:here)
end

task :thing do
# blah
end

rakefile “file.rake” do
desc “blah”
task :hoohah do
puts “hi”
end
end

generate(“migration”, “add_field_to_table thing:string”)
end

РJean-Fran̤ois.


Prochain Apéro Ruby le 11 décembre

http://twitter.com/underflow_