Module: Brig::Gem

Defined in:
lib/brig/gem.rb

Defined Under Namespace

Modules: VERSION

Class Method Summary collapse

Class Method Details

.authorObject

The name and email address of the primary author.



11
12
13
# File 'lib/brig/gem.rb', line 11

def self.author
  self.authors.first
end

.authorsObject

The name and email addresses of all authors.



16
17
18
19
20
21
# File 'lib/brig/gem.rb', line 16

def self.authors
  [["Michael Williams", "[email protected]"]].map do |author|
    name, email = author
    OpenStruct.new(name: name, email: email)
  end
end

.descriptionObject

A full description of this Gem.



39
40
41
# File 'lib/brig/gem.rb', line 39

def self.description
  "Brig is a simple way to declaratively provision and run containers for your apps and supporting services."
end

.homepageObject

This Gem’s homepage URL.



24
25
26
# File 'lib/brig/gem.rb', line 24

def self.homepage
  "http://brig.io/"
end

.licenseObject

The license covering this Gem.



54
55
56
# File 'lib/brig/gem.rb', line 54

def self.license
  "Public Domain"
end

.nameObject

The name (and slug) of this Gem.



6
7
8
# File 'lib/brig/gem.rb', line 6

def self.name
  "brig"
end

.summaryObject

A short summary of this Gem.



34
35
36
# File 'lib/brig/gem.rb', line 34

def self.summary
  "Declaratively provision and run containers for your apps and supporting services."
end

.urlObject

This Gem’s URL.



29
30
31
# File 'lib/brig/gem.rb', line 29

def self.url
  "https://rubygems.org/gems/#{self.name}"
end

.versionObject

The semantic version of the this Gem.



49
50
51
# File 'lib/brig/gem.rb', line 49

def self.version
  Gem::VERSION::STRING
end