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 98dc1fb commit e5cca43Copy full SHA for e5cca43
tasks/ci.rake
@@ -22,11 +22,8 @@ EOS
22
BUILD_SOURCES.each do |name, source|
23
case source[:type]
24
when "github"
25
- url =
26
- "https://api.github.com/repos/#{source[:repo]}/commits/#{source[:rev]}"
27
- commit = OpenURI.open_uri(url) { |f| JSON.load(f.read) }
28
output +=
29
- "| #{name} | [`#{source[:repo]}@#{commit["sha"]}`](https://github.com/ruby/ruby/tree/#{commit["sha"]}) |\n"
+ "| #{name} | [`#{source[:repo]}@#{source[:rev]}`](https://github.com/ruby/ruby/tree/#{source[:rev]}) |\n"
30
else
31
raise "unknown source type: #{source[:type]}"
32
end
0 commit comments