pull in octokit

pull in octokit

From 2a7e3fc7a22628b90aa4322d07749853f6405acc Mon Sep 17 00:00:00 2001
From: Sam <sam.saffron@gmail.com>
Date: Tue, 6 Nov 2018 17:59:30 +1100
Subject: [PATCH] pull in octokit


diff --git a/plugin.rb b/plugin.rb
index e671b63..60130f6 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -4,6 +4,13 @@
 # authors: Sam Saffron
 # url: https://github.com/discourse/discourse-code-review
 
+# match version in discourse dev
+begin
+  require 'octokit'
+rescue LoadError
+  gem 'octokit', '4.9.0'
+end
+
 after_initialize do
 
   module ::DiscourseCodeReview

GitHub

1 Like