From fa53580d0c05583cb9981178eee3c073b6729ae9 Mon Sep 17 00:00:00 2001 From: Nemo Date: Fri, 1 Jun 2018 02:06:25 +0530 Subject: [PATCH] Fix REDIS_URL and feed titles --- app.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.rb b/app.rb index 0d06d16..50e38fc 100644 --- a/app.rb +++ b/app.rb @@ -17,7 +17,7 @@ class MyApp < Sinatra::Base end configure do - set :r, Redis.new + set :r, Redis.new(url: ENV.fetch('REDIS_URL')) set :client, Octokit::Client.new( client_id: ENV.fetch('GITHUB_CLIENT_ID'), client_secret: ENV.fetch('GITHUB_CLIENT_SECRET'), @@ -70,7 +70,7 @@ class MyApp < Sinatra::Base @owner_name = user end repos.each do |r| - title = "Release notes from #{r}" + title = "#{r} Release Notes" html_url = "https://github.com/#{r}/releases" rss_url = "#{html_url}.atom" opml.add_outline(