Skip to content

hashie dependency #10

Description

@erichulburd

Any chance you think you'll update the dependency on hashie to '> 3.2'? I'm using some omniauth libraries that are dependent on '> 3.2'. I tried forking and updating dependencies but I got the following errors when running the spec ( you can check out all of my changes here:

  1. APISmith::Client should allow you to perform get requests
    Failure/Error: client.get('/echo').should == {"verb" => "get", "echo" => nil}
    NameError:
    undefined local variable or method `method' for #HTTParty::Response:0x00000003195840

    /home/.rvm/gems/ruby-2.1.5@api_smith/gems/httparty-0.11.0/lib/httparty/response.rb:61:in`method_missing'

    ./spec/api_smith/client_spec.rb:47:in `block (2 levels) in <top (required)>'

  2. APISmith::Client should allow you to perform post requests
    Failure/Error: client.post('/echo').should == {"verb" => "post", "echo" => nil}
    NameError:
    undefined local variable or method `method' for #HTTParty::Response:0x0000000311abb8

    /home/.rvm/gems/ruby-2.1.5@api_smith/gems/httparty-0.11.0/lib/httparty/response.rb:61:in`method_missing'

    ./spec/api_smith/client_spec.rb:51:in `block (2 levels) in <top (required)>'

  3. APISmith::Client should allow you to perform put requests
    Failure/Error: client.put('/echo').should == {"verb" => "put", "echo" => nil}
    NameError:
    undefined local variable or method `method' for #HTTParty::Response:0x000000030ff4f8

    /home/.rvm/gems/ruby-2.1.5@api_smith/gems/httparty-0.11.0/lib/httparty/response.rb:61:in`method_missing'

    ./spec/api_smith/client_spec.rb:55:in `block (2 levels) in <top (required)>'

  4. APISmith::Client should allow you to perform delete requests
    Failure/Error: client.delete('/echo').should == {"verb" => "delete", "echo" => nil}
    NameError:
    undefined local variable or method `method' for #HTTParty::Response:0x000000030ecb78

    /home/.rvm/gems/ruby-2.1.5@api_smith/gems/httparty-0.11.0/lib/httparty/response.rb:61:in`method_missing'

    ./spec/api_smith/client_spec.rb:59:in `block (2 levels) in <top (required)>'

  5. APISmith::Client unpacking requests should let you always skip the response container
    Failure/Error: client.get('/namespaced/test', :response_container => nil).should == {
    NameError:
    undefined local variable or method `method' for #HTTParty::Response:0x00000002ecf610

    /home/.rvm/gems/ruby-2.1.5@api_smith/gems/httparty-0.11.0/lib/httparty/response.rb:61:in`method_missing'

    ./spec/api_smith/client_spec.rb:145:in `block (3 levels) in <top (required)>'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions