Sha256: 4e68ce569984262fe1b3615e68e8f901fdb6aaeb7d1ec5624db560cab60c2dd5

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

require 'rails/generators/base'

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

    def self.exit_on_failure
      true
    end

    def install_auth0_current_user
      template 'auth0_current_user.rb', 'config/initializers/auth0_current_user.rb'
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auth0_current_user-0.3 lib/generators/auth0_current_user/install_generator.rb
auth0_current_user-0.2.1 lib/generators/auth0_current_user/install_generator.rb
auth0_current_user-0.2.0 lib/generators/auth0_current_user/install_generator.rb
auth0_current_user-0.1.0.5 lib/generators/auth0_current_user/install_generator.rb
auth0_current_user-0.1.0.4 lib/generators/auth0_current_user/install_generator.rb