Sha256: 849f4990d816f67ae26b208627e0f1269ab89eb37e633f3895d98a78e7f65681

Contents?: true

Size: 616 Bytes

Versions: 12

Compression:

Stored size: 616 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'

    protected

    def get_builder_class
      Pluginizer::PluginBuilder
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pluginizer-0.1.7 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.6 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.5 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.4 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.3 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.2 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.1 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.1.0 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.6 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.5 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.3 lib/pluginizer/generators/plugin_generator.rb
pluginizer-0.0.2 lib/pluginizer/generators/plugin_generator.rb