Sha256: 44b4164f8e5dd91b1c491e03400ad991f79a9b92d35d55ca0c96ed28258ff100
Contents?: true
Size: 554 Bytes
Versions: 13
Compression:
Stored size: 554 Bytes
Contents
require 'rubygems' require 'rubyforge' module Newgem class Rubyforge 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).configure end end end
Version data entries
13 entries across 13 versions & 1 rubygems