Sha256: 0622a23cdf0b14ac4f5ba601866903096b9065467036e539c02456fdf25df922

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

require File.dirname(__FILE__) + '/../generator_helpers'

class TaliaOaiGenerator < Rails::Generator::Base
  
  include GeneratorHelpers
  
  def self_dir ; File.dirname(__FILE__) ; end
    
  def manifest
    record do |m|
      m.directory 'config/initializers'
      m.file "oai_initializer.rb", "config/initializers/talia_oai.rb"
      m.directory 'app/controllers'
      m.file 'oai_controller.rb', 'app/controllers/oai_controller.rb'
      m.route "map.resources :oai"
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talia_core-0.7.0 generators/talia_oai/talia_oai_generator.rb
talia_core-0.5.4 generators/talia_oai/talia_oai_generator.rb
talia_core-0.5.3 generators/talia_oai/talia_oai_generator.rb
talia_core-0.5.2 generators/talia_oai/talia_oai_generator.rb
talia_core-0.5.1 generators/talia_oai/talia_oai_generator.rb
talia_core-0.5.0 generators/talia_oai/talia_oai_generator.rb