tasks/gem/gem.rb in new-0.0.13 vs tasks/gem/gem.rb in new-0.0.14
- old
+ new
@@ -65,10 +65,10 @@
def render_gemspec_options
array = []
# set defaults
@gemspec[:date] = Date.today.to_s
- @gemspec[:name] = project_options[:project_name]
+ @gemspec[:name] = project_options[:project_name].gsub(' ', '_').underscore
@gemspec[:version] = project_options[:version]
@gemspec[:author] ||= project_options[:developer][:name]
@gemspec[:email] ||= project_options[:developer][:email]
@gemspec[:license] ||= project_options[:license]