Sha256: 86a5d2390afb786752b21a088a1a7ebf1ea4d0937731a82b112a072967304d72
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
require "rails/generators" module Suspenders class DecoratorGenerator < Rails::Generators::Base source_root File.expand_path( File.join("..", "..", "..", "templates"), File.dirname(__FILE__), ) def add_factory_bot gem "draper" Bundler.with_clean_env { run "bundle install" } end def configure_draper generate "draper:install", "--force" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
welaika-suspenders-2.29.0.alpha.1 | lib/suspenders/generators/decorator_generator.rb |