Sha256: 9f583a88501a76c45690f1e203ebb50f4aaf2ab297e350001e3e2108609d128d

Contents?: true

Size: 678 Bytes

Versions: 3

Compression:

Stored size: 678 Bytes

Contents

require 'singleton'

module GemNewgem
  class Newgem
    class Configuration
      include Singleton

      def templates_base_dir
        "#{Dir.home}/.newgem-templates/"
      end

      def default_template
        "default"
      end

      def default_template_git_url
        "git://github.com/elgalu/newgem-template.git"
      end

      def default_summary
        "TODO: Write a gem summary"
      end

      def option_summary_desc
        "Set the gem summary text now in case you want to save time."
      end

      def option_template_desc
        "Use TEMPLATE instead of `default`. All templates are looked at #{templates_base_dir}"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gem-newgem-0.1.3 lib/gem_newgem/newgem/configuration.rb
gem-newgem-0.1.2 lib/gem_newgem/newgem/configuration.rb
gem-newgem-0.1.1 lib/gem_newgem/newgem/configuration.rb