lt-google-api 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/lt/google/api/drive.rb +5 -1
- data/lib/lt/google/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efcca1b62fee6a634ddbbc6f71a913d29d4d633570980d9793a7daac4bdd50f6
|
4
|
+
data.tar.gz: effdf9367e447d711146aa0805e152b0bc8d0dfecafdbd02ecce4acbde882644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8426a99ddc65d7e9b286caf600ac59c820e749622a4a697802468c62a18d84ac0a8cd43a76f1a690303f043a224bc554dafeffea8520e40af6402b00ef86a211
|
7
|
+
data.tar.gz: ef082698566efa35dfecc7a65eccbc27711a93c9d55e317b0ff5bfbc29bd493afb48f7d19af5d7b6277992385c063774df855871872999e2ca259ce0b3cb35ab
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased](https://github.com/learningtapestry/lt-google-api/compare/v0.2.0...HEAD)
|
8
8
|
|
9
|
+
## [0.2.1](https://github.com/learningtapestry/lt-lcms/compare/v0.2.0...v0.2.1) - 2020-10-15
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Correctly fetches content of Google Shared Drives ([#8](https://github.com/learningtapestry/lt-google-api/pull/8))
|
14
|
+
|
9
15
|
## [0.2.0](https://github.com/learningtapestry/lt-lcms/compare/v0.1.1...v0.2.0) - 2020-10-15
|
10
16
|
|
11
17
|
### Added
|
data/lib/lt/google/api/drive.rb
CHANGED
@@ -87,7 +87,9 @@ module Lt
|
|
87
87
|
response = service.list_files(
|
88
88
|
q: "'#{folder_id}' in parents and trashed = false",
|
89
89
|
fields: 'files(id, mime_type), nextPageToken',
|
90
|
-
page_token: page_token
|
90
|
+
page_token: page_token,
|
91
|
+
include_items_from_all_drives: true,
|
92
|
+
supports_all_drives: true
|
91
93
|
)
|
92
94
|
break if response.nil?
|
93
95
|
|
@@ -109,6 +111,7 @@ module Lt
|
|
109
111
|
service.list_files(
|
110
112
|
q: "'#{folder_id}' in parents and name = '#{name}' and mimeType = '#{MIME_FOLDER}' and trashed = false",
|
111
113
|
fields: 'files(id)',
|
114
|
+
include_items_from_all_drives: true,
|
112
115
|
supports_all_drives: true
|
113
116
|
)&.files
|
114
117
|
end
|
@@ -119,6 +122,7 @@ module Lt
|
|
119
122
|
service.list_files(
|
120
123
|
q: "'#{folder_id}' in parents and mimeType = '#{MIME_FILE}' and trashed = false",
|
121
124
|
fields: 'files(id, name)',
|
125
|
+
include_items_from_all_drives: true,
|
122
126
|
supports_all_drives: true
|
123
127
|
)&.files
|
124
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lt-google-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kuznetsov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|