Sha256: ad2ed36ab84e1f94ab0fca65bbafc76fca6fc3087d28c39f29999a56e09b8d1d

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

module Schemaless
  # Generates schemaless setup for rails app
  class SetupGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    argument :attributes, type: :array, default: [], banner: 'path'
    desc 'Schemaless config files generator!'

    def create_config_file
      application 'end'
      application '  Schemaless::Worker.run!'
      application '  Rails.application.eager_load!'
      application 'config.to_prepare do'
      # initializer | application
      # copy 'schemaless.rb'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schemaless-0.0.5 lib/generators/schemaless/setup/setup_generator.rb
schemaless-0.0.3 lib/generators/schemaless/setup/setup_generator.rb