Sha256: 469a3e8310d80be5fde63afca29ce4997294d6b373776b50ebeb4b9a141f8960
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
module Authz module Generators # Rails generator to prepare the library for use class InstallGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def copy_initializer_file copy_file 'initializer.rb', 'config/initializers/authz.rb' end def copy_migrations rake('authz:install:migrations') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authz-0.0.5 | lib/generators/authz/install/install_generator.rb |
authz-0.0.4 | lib/generators/authz/install/install_generator.rb |
authz-0.0.3 | lib/generators/authz/install/install_generator.rb |