The default value of drive_keyfile
(drive_key.json
) is removed.
Now, you must specify the key file path manually via
the drive_keyfile
argument or the GDRIVE_KEY_FILE
environment variable.
This change applies to all actions.
-
Added the argument
drive_key_json
(env:GDRIVE_KEY_JSON
) to all actions, allowing you to provide the JSON key file content directly. -
You can also specify the path to the JSON key file using the
GOOGLE_APPLICATION_CREDENTIALS
environment variable, commonly used in other SDKs and libraries.
- Introduce new actions:
find_google_drive_file_by_id
andfind_google_drive_file_by_title
. These actions find the existing file or folder with file ID or title. For more information, please refer to README or Fastfile for working examples.
- switched to the forked-version of
google_drive
to avoid conflict withgoogle-auth
gem, since the original version ofgoogle_drive
seems no longer maintained. We'll switch back to the original when it's actively maintained again.
- upgraded
google_drive
to3.0.7
use service-specific Google API client (#18, #19).
Now we usegoogle-apis-drive_v3
andgoogle-apis-sheets_v4
instead of deprecated monolithicgoogle-api-client
(see https://googleapis.dev/ruby/google-api-client/latest/index.html).
- As noticed, deprecated actions
google_drive_upload
andupload_google_drive
are removed.
upload_to_google_drive
: Add optional flag to make uploaded files urls open to public (#17)upload_to_google_drive
: Add test to check generated public urls after upload- deprecated actions
google_drive_upload
andupload_google_drive
are removed
Actions marked as deprecated, google_drive_upload
and upload_google_drive
will be removed in next release.
- minimum
fastlane
version is updated to2.140.0
- New action:
update_google_drive_file
(#11). This action updates the content of existing google drive file. - supports "Team Drive" (#9). see gimite/google-drive-ruby#274 and gimite/google-drive-ruby#367 for more details.
- updated
google_drive
to3.0.5
- updated
google-api-client
to0.38.0