Sha256: 1401c796ef2fe0714adaf567dfd2a9c5736655dc6ef838ddff8affee26686215
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
require 'rails/generators' require 'rails/generators/rails/plugin/plugin_generator' module Pluginizer class PluginGenerator < Rails::Generators::PluginGenerator class_option :dummy_path, type: :string, default: "spec/dummy", desc: "Create dummy application at given path" class_option :full, type: :boolean, default: true, desc: "Generate a rails engine with bundled Rails application for testing" class_option :ruby_version, type: :string, default: '2.3.1', desc: 'Set Ruby version used' class_option :skip_git_init, type: :boolean, default: false, desc: 'Skip git repository initialization' class_option :assets_only, type: :boolean, default: false, desc: 'Configure the plugin for assets only' protected def get_builder_class Pluginizer::PluginBuilder end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pluginizer-0.3.1 | lib/pluginizer/generators/plugin_generator.rb |
pluginizer-0.3.0 | lib/pluginizer/generators/plugin_generator.rb |