Sha256: 342410911450fef468af7b045ce4e6fbc9d1e0d258b904505e28e8a5401caae0

Contents?: true

Size: 414 Bytes

Versions: 29

Compression:

Stored size: 414 Bytes

Contents

require 'rubygems'
require 'rubyforge'

module Newgem
  class Rubyforge
    attr_reader :full_name, :email
    
    def initialize
      @full_name = rubyforge.userconfig['full_name'] || ENV['NAME']  || 'FIXME full name'
      @email     = rubyforge.userconfig['email']     || ENV['EMAIL'] || 'FIXME email'
    end
    
    def rubyforge
      @rubyforge ||= RubyForge.new(::RubyForge::CONFIG_F)
    end

  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
newgem-0.10.0 lib/newgem/rubyforge.rb
newgem-0.10.4 lib/newgem/rubyforge.rb
newgem-0.10.2 lib/newgem/rubyforge.rb
newgem-0.10.3 lib/newgem/rubyforge.rb
newgem-0.10.1 lib/newgem/rubyforge.rb
newgem-0.11.0 lib/newgem/rubyforge.rb
newgem-0.13.1 lib/newgem/rubyforge.rb
newgem-0.13.0 lib/newgem/rubyforge.rb
newgem-0.13.2 lib/newgem/rubyforge.rb
newgem-0.13.4 lib/newgem/rubyforge.rb
newgem-0.13.3 lib/newgem/rubyforge.rb
newgem-0.14.0 lib/newgem/rubyforge.rb
newgem-0.15.0 lib/newgem/rubyforge.rb
newgem-0.14.2 lib/newgem/rubyforge.rb
newgem-0.13.5 lib/newgem/rubyforge.rb
newgem-0.14.1 lib/newgem/rubyforge.rb
newgem-0.16.1 lib/newgem/rubyforge.rb
newgem-0.16.0 lib/newgem/rubyforge.rb
newgem-0.17.1 lib/newgem/rubyforge.rb
newgem-0.17.0 lib/newgem/rubyforge.rb