You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ 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
The text was updated successfully, but these errors were encountered:
@parthan-sundararajan this is a Gist from 4 years ago so the API's for Octokit have definitely changed. There are many bugs in this script but the one you're running into can be fixed as so:
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
The text was updated successfully, but these errors were encountered: