lib/onebox/engine/github_commit_onebox.rb in onebox-1.5.50 vs lib/onebox/engine/github_commit_onebox.rb in onebox-1.5.60

- old
+ new

@@ -27,11 +27,10 @@ result['message'] = result['commit']['message'].split("\n", 2).last.strip end ulink = URI(link) result['commit_date'] = Time.parse(result['commit']['author']['date']).strftime("%I:%M%p - %d %b %y") - result['repository_path'] = "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}" - result['repository_url'] = "https://#{result['repository_path']}" + result['domain'] = "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}" result end end end end