Sha256: c999de8bb57c0b81cc633ab3c6ee918951251c8fb3ace0781d867747419467b3

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"

module SimpleAuth
  class InstallGenerator < ::Rails::Generators::Base
    source_root "#{__dir__}/templates/install"

    def copy_initializer_file
      copy_file "initializer.rb", "config/initializers/simple_auth.rb"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_auth-3.1.4 lib/simple_auth/generator.rb
simple_auth-3.1.3 lib/simple_auth/generator.rb
simple_auth-3.1.2 lib/simple_auth/generator.rb
simple_auth-3.1.1 lib/simple_auth/generator.rb
simple_auth-3.1.0 lib/simple_auth/generator.rb