api_smith icon indicating copy to clipboard operation
api_smith copied to clipboard

hashie dependency

Open erichulburd opened this issue 10 years ago • 1 comments

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)>'

erichulburd avatar Apr 09 '15 01:04 erichulburd

+1 !

guizmaii avatar Sep 03 '15 15:09 guizmaii