gimite / google-drive-ruby

A Ruby library to read/write files/spreadsheets in Google Drive/Docs.
Other
1.76k stars 493 forks source link

Error unknown keyword: supports_all_drives #384

Open mojobiri opened 3 years ago

mojobiri commented 3 years ago

Hi. The following code started to generate exception recently:

session = GoogleDrive.saved_session('config.json')
session.spreadsheet_by_key('sheet_key')
ArgumentError (unknown keyword: supports_all_drives)
/google_drive/session.rb:333:in `spreadsheet_by_key'
/google_drive/session.rb:288:in `file_by_id'
/ruby/2.6.0/gems/google-api-client-0.24.3/generated/google/apis/drive_v3/service.rb:777:in `get_file'
mojobiri commented 3 years ago

The issue happened after upgrade to 3.0.5 from 3.0.3 Version 3.0.3 works fine.

frederickdubois commented 3 years ago

Same here, had to specify 3.0.3 in my gemfile to stop receiving this error