Sha256: 0a57c37f178892a269d32d068076f6cb6a1c3d8d36570dc5dd24c99888f5c82f

Contents?: true

Size: 355 Bytes

Versions: 36

Compression:

Stored size: 355 Bytes

Contents

module Racecar
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      def create_config_file
        template "racecar.yml.erb", "config/racecar.yml"
      end

      def create_consumers_directory
        empty_directory "app/consumers"
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
racecar-1.3.0 lib/generators/racecar/install_generator.rb
racecar-1.2.1 lib/generators/racecar/install_generator.rb
racecar-2.0.0 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta6 lib/generators/racecar/install_generator.rb
racecar-1.2.0 lib/generators/racecar/install_generator.rb
racecar-1.1.0 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta5 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta4 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta3 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta2 lib/generators/racecar/install_generator.rb
racecar-2.0.0.beta1 lib/generators/racecar/install_generator.rb
racecar-1.0.1 lib/generators/racecar/install_generator.rb
racecar-2.0.0.alpha3 lib/generators/racecar/install_generator.rb
racecar-2.0.0.alpha2 lib/generators/racecar/install_generator.rb
racecar-2.0.0.alpha1 lib/generators/racecar/install_generator.rb
racecar-1.0.0 lib/generators/racecar/install_generator.rb
racecar-0.5.0 lib/generators/racecar/install_generator.rb
racecar-0.5.0.beta2 lib/generators/racecar/install_generator.rb
racecar-0.5.0.beta1 lib/generators/racecar/install_generator.rb
racecar-0.4.2 lib/generators/racecar/install_generator.rb