Sha256: 42637d6fea32e8bc5b7242ba404ac54fe7bc259d204bbb21597d16a51c486835
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
require 'rails/generators' require 'rails/generators/rails/app/app_generator' module O2webappizer class AppGenerator < Rails::Generators::AppGenerator class_option :database, type: :string, aliases: "-d", default: "postgresql", desc: "Configure for selected database (options: #{DATABASES.join("/")})" class_option :skip_bundle, type: :boolean, aliases: "-B", default: false, desc: "Don't run bundle install" class_option :skip_test_unit, type: :boolean, aliases: "-T", default: true, desc: "Skip Test::Unit files" class_option :force, type: :boolean, aliases: "-f", default: true, desc: "Overwrite files that already exist" class_option :solidus, type: :boolean, default: false, desc: "Install Solidus as well" class_option :locales, type: :array, default: ['fr', 'en'], desc: "Available locales (default locale comes first)" class_option :migrate, type: :boolean, default: true, desc: 'Run migrations' class_option :ruby_version, type: :string, default: '2.2.3', desc: 'Set Ruby version used' protected def get_builder_class O2webappizer::AppBuilder end end end
Version data entries
4 entries across 4 versions & 1 rubygems