Class: GemNewgem::Newgem::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/gem_newgem/newgem/configuration.rb

Instance Method Summary collapse

Instance Method Details

#default_summaryObject



20
21
22
# File 'lib/gem_newgem/newgem/configuration.rb', line 20

def default_summary
  "TODO: Write a gem summary"
end

#default_templateObject



12
13
14
# File 'lib/gem_newgem/newgem/configuration.rb', line 12

def default_template
  "default"
end

#default_template_git_urlObject



16
17
18
# File 'lib/gem_newgem/newgem/configuration.rb', line 16

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

#option_summary_descObject



24
25
26
# File 'lib/gem_newgem/newgem/configuration.rb', line 24

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

#option_template_descObject



28
29
30
# File 'lib/gem_newgem/newgem/configuration.rb', line 28

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

#templates_base_dirObject



8
9
10
# File 'lib/gem_newgem/newgem/configuration.rb', line 8

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