Sha256: 3e042a27d21a188cd8302d4bcc61f32165f43e58f1c46cb83b31bc4c200127b7

Contents?: true

Size: 438 Bytes

Versions: 11

Compression:

Stored size: 438 Bytes

Contents

module Latest
  class Rubinius

    SOURCE = 'http://asset.rubini.us/'
    AVAILABLE_EXTS = ['.tar.gz']

    attr_reader :source

    def initialize(retriever)
      @retriever = retriever
      @source = SOURCE
    end

    def version
      @version ||= @retriever.retrieve(self)
    end

    def link(ext = '.tar.gz')
      if AVAILABLE_EXTS.include?(ext)
        source + 'rubinius-' + version.to_s + ext
      end
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
latest_ruby-3.0.1 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-3.0.0 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-2.0.0 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-1.0.0 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.7 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.6 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.5 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.4 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.3 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.2 lib/latest_ruby/rubies/rubinius.rb
latest_ruby-0.0.1 lib/latest_ruby/rubies/rubinius.rb