PRX / speechmatics

Ruby client for Speechmatics API: https://speechmatics.com/api-details
MIT License
7 stars 15 forks source link

Doesn't work with Faraday 0.7.6 #5

Closed kookster closed 7 years ago

kookster commented 9 years ago

It is tested and works with 0.8.8 and 0.9.0

1) Error: Speechmatics::Client#test_0001_lists jobs: NameError: wrong constant name mashify /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday.rb:32:in const_get' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday.rb:32:inlookup_module' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:151:in use_symbol' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:107:inresponse' /Users/andrew/dev/projects/speechmatics/lib/speechmatics/connection.rb:43:in block in connection' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/connection.rb:46:inblock in initialize' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:12:in block in create' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:65:inbuild' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:54:in initialize' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:12:innew' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/builder.rb:12:in create' /Users/andrew/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/faraday-0.7.6/lib/faraday/connection.rb:46:ininitialize' /Users/andrew/dev/projects/speechmatics/lib/speechmatics/connection.rb:39:in new' /Users/andrew/dev/projects/speechmatics/lib/speechmatics/connection.rb:39:inconnection' /Users/andrew/dev/projects/speechmatics/lib/speechmatics/api.rb:39:in request' /Users/andrew/dev/projects/speechmatics/lib/speechmatics/api.rb:68:inlist' /Users/andrew/dev/projects/speechmatics/test/user/jobs_test.rb:91:in `block (2 levels) in <top (required)>'

pkarman commented 7 years ago

addressed in a0c272fb32e6405af63546a24b4c9134bb77d957