Sha256: 836122689bfa9657de77604101ee53e39249f95017049445d2bcc56e7a09b12a

Contents?: true

Size: 1.5 KB

Versions: 21

Compression:

Stored size: 1.5 KB

Contents

require "bullet_train/super_scaffolding/version"
require "bullet_train/super_scaffolding/engine"
require "bullet_train/super_scaffolding/exceptions"
require "bullet_train/super_scaffolding/scaffolder"
require "bullet_train/super_scaffolding/scaffolders/crud_scaffolder"
require "bullet_train/super_scaffolding/scaffolders/crud_field_scaffolder"
require "bullet_train/super_scaffolding/scaffolders/join_model_scaffolder"
require "bullet_train/super_scaffolding/scaffolders/oauth_provider_scaffolder"

require "indefinite_article"
require "colorizer"

module BulletTrain
  module SuperScaffolding
    mattr_accessor :template_paths, default: []
    mattr_accessor :scaffolders, default: {
      "crud" => "BulletTrain::SuperScaffolding::Scaffolders::CrudScaffolder",
      "crud-field" => "BulletTrain::SuperScaffolding::Scaffolders::CrudFieldScaffolder",
      "join-model" => "BulletTrain::SuperScaffolding::Scaffolders::JoinModelScaffolder",
      "oauth-provider" => "BulletTrain::SuperScaffolding::Scaffolders::OauthProviderScaffolder",
      "action-models:targets-many" => "BulletTrain::ActionModels::Scaffolders::TargetsManyScaffolder",
      "action-models:targets-one" => "BulletTrain::ActionModels::Scaffolders::TargetsOneScaffolder",
      "action-models:targets-one-parent" => "BulletTrain::ActionModels::Scaffolders::TargetsOneParentScaffolder"
    }

    class Runner
      def run
        # Make `rake` invocation compatible with how this was run historically.
        require "scaffolding/script"
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.7.11 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.10 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.9 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.3 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.2 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.1 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.7.0 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.38 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.37 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.36 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.35 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.34 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.33 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.32 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.31 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.30 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.29 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.28 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.27 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.6.26 lib/bullet_train/super_scaffolding.rb