While trying the code at https://gist.github.com/arfon/8726472 getting the below exception,
~ ruby github_stats_octokit.rb
/Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:185:in delete': no implicit conversion of Symbol into String (TypeError) from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:185:in parse_query_and_convenience_headers'
from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:79:in paginate' from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/client/pull_requests.rb:20:in pull_requests'
from github_stats_octokit.rb:32:in block in <main>' from github_stats_octokit.rb:31:in each'
from github_stats_octokit.rb:31:in `
'
Octokit-4.7.0 in Ruby 2.2.3 (via rvm) in Mac OS X 10.12.6
While trying the code at https://gist.github.com/arfon/8726472 getting the below exception,
~ ruby github_stats_octokit.rb
'/Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:185:in
delete': no implicit conversion of Symbol into String (TypeError) from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:185:inparse_query_and_convenience_headers'from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/connection.rb:79:in
paginate' from /Users/foo/.rvm/gems/ruby-2.2.3@helpkit/gems/octokit-4.7.0/lib/octokit/client/pull_requests.rb:20:inpull_requests'from github_stats_octokit.rb:32:in
block in <main>' from github_stats_octokit.rb:31:ineach'from github_stats_octokit.rb:31:in `
Octokit-4.7.0 in Ruby 2.2.3 (via rvm) in Mac OS X 10.12.6