lib/newgem/rubyforge.rb in newgem-0.22.2 vs lib/newgem/rubyforge.rb in newgem-0.23.0

- old
+ new

@@ -1,16 +1,18 @@ require 'rubygems' require 'rubyforge' module Newgem class Rubyforge - attr_reader :full_name, :email - + attr_reader :full_name, :email, :github_username + def initialize @full_name = rubyforge.userconfig['full_name'] || ENV['NAME'] || 'FIXME full name' @email = rubyforge.userconfig['email'] || ENV['EMAIL'] || 'FIXME email' + @github_username = + rubyforge.userconfig['github_username'] || ENV['GITHUB_USERNAME'] || 'GITHUB_USERNAME' end - + def rubyforge @rubyforge ||= RubyForge.new(::RubyForge::CONFIG_F) end end \ No newline at end of file