Sha256: 18694c73f907c75db2b0cd125021b750e348fda973cf0a6c23df55df417b4eb1

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require 'rails/generators'

module AuthStrategist
  class InstallGenerator < ::Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    desc 'Installs AuthStrategist.'

    def install
      template 'initializer.rb', 'config/initializers/auth_strategist.rb'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth_strategist-0.6.0 lib/generators/auth_strategist/install_generator.rb
auth_strategist-0.5.0 lib/generators/auth_strategist/install_generator.rb