Sha256: d3c022e02adf444f7e6c813e7790993f879f0d2b1ec0e46bb351476edfce9a18

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 Bytes

Contents

require 'rails/generators'
require 'rails/generators/rails/plugin/plugin_generator'

module Pluginizer
  class PluginGenerator < Rails::Generators::PluginGenerator
    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'

    protected

    def get_builder_class
      Pluginizer::PluginBuilder
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pluginizer-0.0.10 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.9 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.8 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.7 lib/pluginizer/generators/plugin_generator.rb