Sha256: a09b69a62ddd44e5e4cc7a083e719ed1ee2ee2234715ddb330112e213930d3af

Contents?: true

Size: 413 Bytes

Versions: 20

Compression:

Stored size: 413 Bytes

Contents

require 'rubygems'
require 'rubyforge'

module Newjs
  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

20 entries across 20 versions & 1 rubygems

Version Path
newjs-1.7.4 lib/newjs/rubyforge.rb
newjs-1.1.0 lib/newjs/rubyforge.rb
newjs-1.2.0 lib/newjs/rubyforge.rb
newjs-1.2.1 lib/newjs/rubyforge.rb
newjs-1.3.0 lib/newjs/rubyforge.rb
newjs-1.0.4 lib/newjs/rubyforge.rb
newjs-1.3.2 lib/newjs/rubyforge.rb
newjs-1.3.3 lib/newjs/rubyforge.rb
newjs-1.3.4 lib/newjs/rubyforge.rb
newjs-1.3.5 lib/newjs/rubyforge.rb
newjs-1.3.6 lib/newjs/rubyforge.rb
newjs-1.3.1 lib/newjs/rubyforge.rb
newjs-1.3.7 lib/newjs/rubyforge.rb
newjs-1.4.1 lib/newjs/rubyforge.rb
newjs-1.5.0 lib/newjs/rubyforge.rb
newjs-1.5.1 lib/newjs/rubyforge.rb
newjs-1.7.0 lib/newjs/rubyforge.rb
newjs-1.7.1 lib/newjs/rubyforge.rb
newjs-1.4.0 lib/newjs/rubyforge.rb
newjs-1.7.2 lib/newjs/rubyforge.rb