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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9444e503f8be57c766e0c911d17bcad4a1ae91f9c0cedb41e6fe7c2aaac22b4
4
- data.tar.gz: 26594726c1328938016457e9d1c418d31b1bf870f1c79099ee2f2df8051386a0
3
+ metadata.gz: efcca1b62fee6a634ddbbc6f71a913d29d4d633570980d9793a7daac4bdd50f6
4
+ data.tar.gz: effdf9367e447d711146aa0805e152b0bc8d0dfecafdbd02ecce4acbde882644
5
5
  SHA512:
6
- metadata.gz: 20c99bfa0afea23058e415ac0514117864c7232f6590a583e589fdcf8f4c3809e726939dc1b4bac317f24801ab25cd4245b4ca40983f03f38dc7acad28f8cb45
7
- data.tar.gz: b5a6fdc5a4b4471a374f8f7abf75079892dcfed5647abef945ad7cffb85d743115ff58462aa02858d0f3263cd2b6b9095b764fe2c602c9fb34a230dae727e9a2
6
+ metadata.gz: 8426a99ddc65d7e9b286caf600ac59c820e749622a4a697802468c62a18d84ac0a8cd43a76f1a690303f043a224bc554dafeffea8520e40af6402b00ef86a211
7
+ data.tar.gz: ef082698566efa35dfecc7a65eccbc27711a93c9d55e317b0ff5bfbc29bd493afb48f7d19af5d7b6277992385c063774df855871872999e2ca259ce0b3cb35ab
@@ -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
@@ -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
@@ -3,7 +3,7 @@
3
3
  module Lt
4
4
  module Google
5
5
  module Api
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.1'
7
7
  end
8
8
  end
9
9
  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.0
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-15 00:00:00.000000000 Z
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