Sha256: f1e880f0e10541dd3b6a16a60eb1bc63646a7ec41d6b8950e2c2138df5e8317c

Contents?: true

Size: 284 Bytes

Versions: 20

Compression:

Stored size: 284 Bytes

Contents

require "rails/generators/base"

module SimpleAuth
  class InstallGenerator < ::Rails::Generators::Base
    source_root File.dirname(__FILE__) + "/../../templates"

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
simple_auth-2.0.4 lib/simple_auth/generator.rb
simple_auth-2.0.3 lib/simple_auth/generator.rb
simple_auth-2.0.2 lib/simple_auth/generator.rb
simple_auth-2.0.1 lib/simple_auth/generator.rb
simple_auth-2.0.0 lib/simple_auth/generator.rb
simple_auth-1.5.0 lib/simple_auth/generator.rb
simple_auth-1.4.5 lib/simple_auth/generator.rb
simple_auth-1.4.4 lib/simple_auth/generator.rb
simple_auth-1.4.3 lib/simple_auth/generator.rb
simple_auth-1.4.2 lib/simple_auth/generator.rb
simple_auth-1.4.1 lib/simple_auth/generator.rb
simple_auth-1.4.0 lib/simple_auth/generator.rb
simple_auth-1.3.3 lib/simple_auth/generator.rb
simple_auth-1.3.2 lib/simple_auth/generator.rb
simple_auth-1.3.1 lib/simple_auth/generator.rb
simple_auth-1.3.0 lib/simple_auth/generator.rb
simple_auth-1.2.0 lib/simple_auth/generator.rb
simple_auth-1.1.0 lib/simple_auth/generator.rb
simple_auth-1.0.2 lib/simple_auth/generator.rb
simple_auth-1.0.1 lib/simple_auth/generator.rb