Sha256: a6dd9bfab2777d2f112653b5053632d35aff616670c0854b9bd804fb84b54a73

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

require "bullet_train/super_scaffolding/version"
require "bullet_train/super_scaffolding/engine"
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"

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"
    }

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.0.13 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.0.12 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.0.11 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.0.10 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.0.9 lib/bullet_train/super_scaffolding.rb
bullet_train-super_scaffolding-1.0.8 lib/bullet_train/super_scaffolding.rb