We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538cc9d commit c64029aCopy full SHA for c64029a
app/models/jruby_version.rb
@@ -2,13 +2,13 @@
2
3
class JrubyVersion < ActiveRecord::Base
4
def self.versions
5
- uri = URI.parse("http://dist.codehaus.org/jruby/")
+ uri = URI.parse("http://jruby.kenai.com/downloads/")
6
uri.read.scan(/\"\d+\.\d+.*\/\"/).map { |v| v.gsub(/[\/\"]/, "") }.sort
7
end
8
9
def self.load_versions
10
JrubyVersion.all.each { |v| v.delete }
11
-
+
12
self.versions.each do |v|
13
JrubyVersion.create :version => v
14
0 commit comments