Sha256: 4cfce20759c602273c84d967bda5d06a91131461c24954bddc1f34c52b7a0de6

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 Bytes

Contents

require "jenkinson/version"
require 'yaml'
require 'jenkinson/api'
require 'jenkinson/cli'

module Jenkinson
  def self.configure(&block)
    yield(config)
  end

  def self.config
    @@config ||= {
      'server_url' => ENV['JENKINSON_URL'] || "localhost",
      'username' => ENV['JENKINSON_USER'],
      'password' => ENV['JENKINSON_PASSWORD']
    }
  end

  Hub = API.new(self.config)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jenkinson-0.0.4 lib/jenkinson.rb
jenkinson-0.0.3 lib/jenkinson.rb
jenkinson-0.0.2 lib/jenkinson.rb
jenkinson-0.0.1 lib/jenkinson.rb