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-r3'.freeze
VM_VERSION =
'1.9'.freeze
PATCH_LEVEL =
nil

Constants inherited from RubyVersion

DNApi::Components::RubyVersion::RUBYGEMS_VERSION

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



258
259
260
# File 'lib/dnapi/components/ruby.rb', line 258

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

.labelObject



254
255
256
# File 'lib/dnapi/components/ruby.rb', line 254

def self.label
  "#{self::NAME} 2.0 (ruby-1.9.2-p136)"
end

Instance Method Details

#mysql_adapterObject



274
275
276
# File 'lib/dnapi/components/ruby.rb', line 274

def mysql_adapter
  'mysql2'
end

#ruby_flavorObject



266
267
268
# File 'lib/dnapi/components/ruby.rb', line 266

def ruby_flavor
  'dev-lang/rubinius19'
end

#ruby_moduleObject



270
271
272
# File 'lib/dnapi/components/ruby.rb', line 270

def ruby_module
  'rubyrbx-2.0'
end

#ruby_versionObject



262
263
264
# File 'lib/dnapi/components/ruby.rb', line 262

def ruby_version
  version
end