Sha256: e58d68212f21d7fca73b5cb62391734f6eb49f6c34fd91101e0276e84abb5195

Contents?: true

Size: 368 Bytes

Versions: 12

Compression:

Stored size: 368 Bytes

Contents

class Qa::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def inject_routes
    insert_into_file "config/routes.rb", :after => ".draw do" do
      %{\n  mount Qa::Engine => '/qa'\n}
    end
  end

  def copy_oclcts_configs
    copy_file "config/oclcts-authorities.yml", "config/oclcts-authorities.yml"
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
qa-0.10.1 lib/generators/qa/install/install_generator.rb
qa-0.10.0 lib/generators/qa/install/install_generator.rb
qa-0.9.0 lib/generators/qa/install/install_generator.rb
qa-0.8.0 lib/generators/qa/install/install_generator.rb
qa-0.7.0 lib/generators/qa/install/install_generator.rb
qa-0.6.0 lib/generators/qa/install/install_generator.rb
qa-0.5.0 lib/generators/qa/install/install_generator.rb
qa-0.4.3 lib/generators/qa/install/install_generator.rb
qa-0.4.2 lib/generators/qa/install/install_generator.rb
qa-0.4.1 lib/generators/qa/install/install_generator.rb
qa-0.4.0 lib/generators/qa/install/install_generator.rb
qa-0.3.0 lib/generators/qa/install/install_generator.rb