Sha256: af0016fe52ed30cc520ab8886f3255e8f29a0c76e4e378e206de93c29d354a70

Contents?: true

Size: 928 Bytes

Versions: 13

Compression:

Stored size: 928 Bytes

Contents

require "rails/generators"

require "active_object"
require "active_generator/version"
require "active_generator/configuration"

module ActiveGenerator

  class << self
    attr_accessor :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configuration=(config)
    @configuration = config
  end

  def self.configure
    yield(configuration)
  end

end

require "generators/active_generator/install/install_generator"

%w(environment initializer service view).each do |generator_name|
  require "generators/#{generator_name}/#{generator_name}_generator"
end

%w(api controller helper job mailer model service task uploader view).each do |generator_name|
  require "generators/locale/#{generator_name}/#{generator_name}_generator"
end

%w(controller helper job mailer model scaffold task).each do |generator_name|
  require "generators/rails/#{generator_name}_generator"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_generator-2.4.0 lib/active_generator.rb
active_generator-2.3.1 lib/active_generator.rb
active_generator-2.3.0 lib/active_generator.rb
active_generator-2.2.8 lib/active_generator.rb
active_generator-2.2.7 lib/active_generator.rb
active_generator-2.2.6 lib/active_generator.rb
active_generator-2.2.5 lib/active_generator.rb
active_generator-2.2.4 lib/active_generator.rb
active_generator-2.2.3 lib/active_generator.rb
active_generator-2.2.2 lib/active_generator.rb
active_generator-2.2.1 lib/active_generator.rb
active_generator-2.2.0 lib/active_generator.rb
active_generator-2.1.0 lib/active_generator.rb