Sha256: 68c81b2db2158b4b0e8302a36acfc2551865eca6b50b35e58f568b05ae5c389c

Contents?: true

Size: 492 Bytes

Versions: 25

Compression:

Stored size: 492 Bytes

Contents

module Typus
  module Generators
    class InitializersGenerator < Rails::Generators::Base

      source_root File.expand_path("../../templates", __FILE__)

      desc <<-MSG
Description:
  Copies Typus initializers into your application.

      MSG

      def generate_initializers
        template "config/initializers/typus.rb", "config/initializers/typus.rb"
        template "config/initializers/typus_resources.rb", "config/initializers/typus_resources.rb"
      end

    end
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
brainsome_typus-4.0.0.beta13 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta12 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta11 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta10 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta9 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta8 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta7 lib/generators/typus/initializers_generator.rb
typus-rails4-4.0.0.beta6 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta6 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta5 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta4 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta3 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta2 lib/generators/typus/initializers_generator.rb
brainsome_typus-4.0.0.beta1 lib/generators/typus/initializers_generator.rb
typus-3.1.10 lib/generators/typus/initializers_generator.rb
typus-3.1.9 lib/generators/typus/initializers_generator.rb
typus-3.1.8 lib/generators/typus/initializers_generator.rb
typus-3.1.7 lib/generators/typus/initializers_generator.rb
typus-3.1.6 lib/generators/typus/initializers_generator.rb
typus-3.1.5 lib/generators/typus/initializers_generator.rb