Skip to content

Commit c64029a

Browse files
committed
Update JRuby downloads URI for scraping version info
Signed-off-by: Alex Coles <[email protected]>
1 parent 538cc9d commit c64029a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/models/jruby_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
class JrubyVersion < ActiveRecord::Base
44
def self.versions
5-
uri = URI.parse("http://dist.codehaus.org/jruby/")
5+
uri = URI.parse("http://jruby.kenai.com/downloads/")
66
uri.read.scan(/\"\d+\.\d+.*\/\"/).map { |v| v.gsub(/[\/\"]/, "") }.sort
77
end
88

99
def self.load_versions
1010
JrubyVersion.all.each { |v| v.delete }
11-
11+
1212
self.versions.each do |v|
1313
JrubyVersion.create :version => v
1414
end

0 commit comments

Comments
 (0)