Module: Hubba

Defined in:
lib/hubba/cache.rb,
lib/hubba/stats.rb,
lib/hubba/client.rb,
lib/hubba/github.rb,
lib/hubba/version.rb

Defined Under Namespace

Classes: Cache, Client, Configuration, Github, Orgs, Repos, Resource, Stats

Constant Summary collapse

MAJOR =

todo: namespace inside version or something - why? why not??

0
MINOR =
5
PATCH =
0
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



13
14
15
# File 'lib/hubba/version.rb', line 13

def self.banner
  "hubba/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.configurationObject



28
29
30
# File 'lib/hubba/github.rb', line 28

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



32
33
34
# File 'lib/hubba/github.rb', line 32

def self.configure
  yield( configuration )
end

.rootObject



17
18
19
# File 'lib/hubba/version.rb', line 17

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end

.versionObject



9
10
11
# File 'lib/hubba/version.rb', line 9

def self.version
  VERSION
end