Class: DNApi::Components::Rubinius19

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.9'.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

.compat_versionObject



260
261
262
# File 'lib/dnapi/components/ruby.rb', line 260

def self.compat_version
  '(ruby-1.9.3)'
end

.labelObject



256
257
258
# File 'lib/dnapi/components/ruby.rb', line 256

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

Instance Method Details

#mysql_adapterObject



276
277
278
# File 'lib/dnapi/components/ruby.rb', line 276

def mysql_adapter
  'mysql2'
end

#ruby_flavorObject



268
269
270
# File 'lib/dnapi/components/ruby.rb', line 268

def ruby_flavor
  'dev-lang/rubinius19'
end

#ruby_moduleObject



272
273
274
# File 'lib/dnapi/components/ruby.rb', line 272

def ruby_module
  'rubyrbx19-2.0'
end

#ruby_versionObject



264
265
266
# File 'lib/dnapi/components/ruby.rb', line 264

def ruby_version
  version
end