Skip to content

Warning: You are setting a key that conflicts with a built-in method Hashie::Mash #87

@sshaw

Description

@sshaw

Not sure why I'm getting this using what appears to be the appropriate API method:

irb [2.2.3] (export-pull-requests)$ cl = BitBucket.new
=> #<BitBucket::Client:0x007fa1754bc198 @adapter=:net_http, @client_id=nil, @client_secret=nil, @new_access_token=nil, @oauth_token=nil, @oauth_secret=nil, @endpoint="https://bitbucket.org/api", @mime_type=:json, @user_agent="BitBucket Ruby Gem 0.1.7", @connection_options={}, @repo="2048.el", @user="zck", @login="sshaw_", @password="hsomob1999", @basic_auth=nil>
irb [2.2.3] (export-pull-requests)$ cl.repos.pull_request.list("zck", "2048.el")
W, [2017-07-23T10:14:24.583659 #31632]  WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#merge defined at /Users/sshaw/.rvm/gems/ruby-2.2.3/gems/hashie-3.5.5/lib/hashie/mash.rb:202. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions