lib/datapimp/clients/github.rb in datapimp-1.0.29 vs lib/datapimp/clients/github.rb in datapimp-1.1.0
- old
+ new
@@ -28,10 +28,10 @@
self
end
def api
@api ||= begin
- Octokit::Client.new(access_token: Datapimp.config.github_access_token)
+ Octokit::Client.new(access_token: Datapimp.config.github_access_token, auto_paginate: true)
end
end
def setup(options={})
access_token = options[:github_access_token] || Datapimp.config.github_access_token