lib/gem_newgem/newgem/configuration.rb in gem-newgem-0.1.0 vs lib/gem_newgem/newgem/configuration.rb in gem-newgem-0.1.1
- old
+ new
@@ -4,11 +4,11 @@
class Newgem
class Configuration
include Singleton
def templates_base_dir
- "~/.newgem-templates/"
+ "#{Dir.home}/.newgem-templates/"
end
def default_template
"default"
end
@@ -24,13 +24,10 @@
def option_summary_desc
"Set the gem summary text now in case you want to save time."
end
def option_template_desc
- <<-DESC.gsub(/^\s*/, '')
- Use TEMPLATE instead of `default` template
- By default, all templates are looked at #{templates_base_dir}
- DESC
+ "Use TEMPLATE instead of `default`. All templates are looked at #{templates_base_dir}"
end
end
end
end