Sha256: 74fc33b1e890a61ec9dbbe32abf6f770a58d5d5966c5b6be85a590d398e09dfa

Contents?: true

Size: 488 Bytes

Versions: 10

Compression:

Stored size: 488 Bytes

Contents

require "rails/generators/rails/app/app_generator"

module Spree
  class SandboxGenerator < Spree::DummyGenerator
    desc "Creates blank Rails application, installs Spree and all sample data"

    class_option :database, :default => ''

    # skip cucumber environment for sandbox
    def cucumber_environment
    end

    protected
    def dummy_path
      'sandbox'
    end

    def gemfile_path
      '../../../Gemfile'
    end

    def module_name
      'Sandbox'
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_core-0.70.7 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.6 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.5 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.4 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.3 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.2 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.1 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.0 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.0.rc2 lib/generators/spree/sandbox/sandbox_generator.rb
spree_core-0.70.RC1 lib/generators/spree/sandbox/sandbox_generator.rb