lib/licensee/projects/github_project.rb in licensee-9.9.0.beta.2 vs lib/licensee/projects/github_project.rb in licensee-9.9.0.beta.3
- old
+ new
@@ -3,10 +3,10 @@
# Analyses a remote GitHub repository for license information
#
# Only the root directory of a repository will be scanned because every
# `#load_file(..)` call incurs a separate API request.
-require 'octokit'
+autoload :Octokit, 'octokit'
module Licensee
module Projects
class GitHubProject < Licensee::Projects::Project
# If there's any trailing data (e.g. `.git`) this pattern will ignore it: