Sha256: 2c6ed620052ffe009ff7e0814992cdb0c25d66a6ec5ea761f4d71d0a5803fea2

Contents?: true

Size: 329 Bytes

Versions: 9

Compression:

Stored size: 329 Bytes

Contents

namespace :db do

  desc "Generate DB diagrams (in dot format)"
  task :diagrams => [:environment] do

    cfg = ModalDiagrams.parameters
    puts "Using parameters:"
    puts cfg.to_yaml + "\n"
    puts "To change the parameters create or edit a file named config/modal_diagrams.yml"

    ModalDiagrams.generate cfg

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
modaldiagrams-1.1.6 lib/tasks/diagrams.rake
modaldiagrams-1.1.5 lib/tasks/diagrams.rake
modaldiagrams-1.1.4 lib/tasks/diagrams.rake
modaldiagrams-1.1.3 lib/tasks/diagrams.rake
modaldiagrams-1.1.2 lib/tasks/diagrams.rake
modaldiagrams-1.1.1 lib/tasks/diagrams.rake
modaldiagrams-1.1.0 lib/tasks/diagrams.rake
modaldiagrams-1.0.1 lib/tasks/diagrams.rake
modaldiagrams-1.0.0 lib/tasks/diagrams.rake