Sha256: 91c902692b6bf5aaa94424fda59cf1a98d1b55eb58af0d89536a1a0671037dc0
Contents?: true
Size: 554 Bytes
Versions: 5
Compression:
Stored size: 554 Bytes
Contents
require 'rails/generators/base' module ModelBase class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "Generate files to work with model_base" def generate_files [ 'app/controllers/concerns/authentication.rb', 'spec/factories/users.rb', 'spec/support/controller_macros.rb', 'spec/support/devise.rb', 'spec/support/field_assertions.rb', 'spec/support/time_match_support.rb', ].each{|f| template f, f } end end end
Version data entries
5 entries across 5 versions & 1 rubygems