Module: Brig::Gem
- Defined in:
- lib/brig/gem.rb
Defined Under Namespace
Modules: VERSION
Class Method Summary collapse
-
.author ⇒ Object
The name and email address of the primary author.
-
.authors ⇒ Object
The name and email addresses of all authors.
-
.description ⇒ Object
A full description of this Gem.
-
.homepage ⇒ Object
This Gem’s homepage URL.
-
.license ⇒ Object
The license covering this Gem.
-
.name ⇒ Object
The name (and slug) of this Gem.
-
.summary ⇒ Object
A short summary of this Gem.
-
.url ⇒ Object
This Gem’s URL.
-
.version ⇒ Object
The semantic version of the this Gem.
Class Method Details
.author ⇒ Object
The name and email address of the primary author.
11 12 13 |
# File 'lib/brig/gem.rb', line 11 def self. self..first end |
.authors ⇒ Object
The name and email addresses of all authors.
16 17 18 19 20 21 |
# File 'lib/brig/gem.rb', line 16 def self. [["Michael Williams", "[email protected]"]].map do || name, email = OpenStruct.new(name: name, email: email) end end |
.description ⇒ Object
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 |
.homepage ⇒ Object
This Gem’s homepage URL.
24 25 26 |
# File 'lib/brig/gem.rb', line 24 def self.homepage "http://brig.io/" end |
.license ⇒ Object
The license covering this Gem.
54 55 56 |
# File 'lib/brig/gem.rb', line 54 def self.license "Public Domain" end |
.name ⇒ Object
The name (and slug) of this Gem.
6 7 8 |
# File 'lib/brig/gem.rb', line 6 def self.name "brig" end |
.summary ⇒ Object
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 |
.url ⇒ Object
This Gem’s URL.
29 30 31 |
# File 'lib/brig/gem.rb', line 29 def self.url "https://rubygems.org/gems/#{self.name}" end |