Sha256: 9ecd8aa3a501aa252e2b9150e27018f4381a36ed1cd2b5451f3a742e9d460199
Contents?: true
Size: 248 Bytes
Versions: 4
Compression:
Stored size: 248 Bytes
Contents
require 'net/http' module Latest class JRubyRetriever def retrieve(jruby) page = Net::HTTP.get(URI(jruby.source)) ver = page.scan(/Current Release: JRuby (.+)<\/h2>/).flatten.first RubyVersion.new(ver) end end end
Version data entries
4 entries across 4 versions & 1 rubygems