jgonera/fake_dropbox

get_file_and_metadata and file_create_folder not working

luiscruz opened this issue · 1 comments

Hi,

This gem is extremely useful. I am using it to test my Sinatra application that uses the ruby client for Dropbox.

However, the following client methods are not working as expected:
get_file_and_metadata
file_create_folder

This is the error I get:

DropboxError: Dropbox Server Error: x-dropbox-metadata=
from /Users/cruz/.rvm/gems/ruby-2.1.0@commonplace/gems/dropbox-sdk-1.6.3/lib/dropbox_sdk.rb:989:in rescue in parse_metadata' from /Users/cruz/.rvm/gems/ruby-2.1.0@commonplace/gems/dropbox-sdk-1.6.3/lib/dropbox_sdk.rb:985:inparse_metadata'
from /Users/cruz/.rvm/gems/ruby-2.1.0@commonplace/gems/dropbox-sdk-1.6.3/lib/dropbox_sdk.rb:954:in get_file_and_metadata' from (irb):52 from /Users/cruz/.rvm/rubies/ruby-2.1.0/bin/irb:11:in

'

I'm glad you like the gem. I haven't been using it recently and don't have much time to work on it, but if you submit a pull request to fix this, I'll gladly review it.