Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
neoteric-deploy / lib / generators / neoteric_deploy / install / install_generator.rb
Size: Mime:
module NeotericDeploy
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      desc "Copies in Neoteric Deploy initializer config"
      source_root File.expand_path('../templates', __FILE__)

      def copy_config
        copy_file "config.rb", "config/initializers/neoteric_deploy.rb"
      end

      def routes
        route "mount NeotericDeploy::Engine, :at => '/neoteric-deploy'"
      end
    end
  end
end