Skip to content

Exception while using Octokit #937

@parthan-sundararajan

Description

@parthan-sundararajan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: SupportAny questions, information, or general needs around the SDK or GitHub APIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions