Class: DNApi::Components::NodeJS

Inherits:
Object
  • Object
show all
Includes:
DNApi::Component
Defined in:
lib/dnapi/components/nodejs.rb

Constant Summary collapse

NAME =
'Node.js'.freeze
VERSION =
'0.6'.freeze
PATCH_LEVEL =
'17'.freeze

Class Method Summary collapse

Methods included from DNApi::Component

[], #can_belong_to?, components, from, included, #key, #to_hash

Class Method Details

.labelObject



16
17
18
# File 'lib/dnapi/components/nodejs.rb', line 16

def self.label
  "#{NAME} - #{VERSION}.x"
end

.packageObject



24
25
26
# File 'lib/dnapi/components/nodejs.rb', line 24

def self.package
  'net-libs/nodejs'
end

.versionObject



20
21
22
# File 'lib/dnapi/components/nodejs.rb', line 20

def self.version
  "#{VERSION}.#{PATCH_LEVEL}"
end