Class: DNApi::Components::Rubinius

Inherits:
RubyVersion show all
Includes:
DNApi::Component
Defined in:
lib/dnapi/components/ruby.rb

Constant Summary collapse

NAME =
'Rubinius'.freeze
VERSION =
'2.0.0-r6'.freeze
VM_VERSION =
'1.8'.freeze
PATCH_LEVEL =
nil
RUBYGEMS_VERSION =
nil

Class Method Summary collapse

Instance Method Summary collapse

Methods included from DNApi::Component

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

Methods inherited from RubyVersion

all, encoding_aware, #rubygems_version

Class Method Details

.labelObject



220
221
222
# File 'lib/dnapi/components/ruby.rb', line 220

def self.label
  "#{self::NAME} (ruby-1.8.7)"
end

Instance Method Details

#mysql_adapterObject



236
237
238
# File 'lib/dnapi/components/ruby.rb', line 236

def mysql_adapter
  'mysql2'
end

#ruby_flavorObject



228
229
230
# File 'lib/dnapi/components/ruby.rb', line 228

def ruby_flavor
  'dev-lang/rubinius'
end

#ruby_moduleObject



232
233
234
# File 'lib/dnapi/components/ruby.rb', line 232

def ruby_module
  'rubyrbx-2.0'
end

#ruby_versionObject



224
225
226
# File 'lib/dnapi/components/ruby.rb', line 224

def ruby_version
  version
end