lt-google-api 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +26 -8
- data/Dockerfile +1 -1
- data/Gemfile.lock +52 -46
- data/README.md +3 -1
- data/docker-compose.yml +5 -3
- data/lib/lt/google/api/auth/service.rb +1 -1
- data/lib/lt/google/api/drive.rb +4 -4
- data/lib/lt/google/api/version.rb +1 -1
- data/lt-google-api.gemspec +7 -4
- data/rbs_collection.lock.yaml +70 -16
- data/sig/lib/lt/google/api/drive.rbs +1 -1
- data/sig/lib/lt/google/api/version.rbs +1 -1
- metadata +24 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28a33ba3510ac40f35aeec2c7dc0b892fa6f5f4a9f23e64eac694e2677d046bd
|
|
4
|
+
data.tar.gz: b2beeb6572175cf93ab96f4f8752ae4e7242a1c462f3269d481749f46b988ea5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3229b2f61d301598971eec816eaf5d7073387e3309980ed847342225a560dca55978147924ad33bd89ab9217891999c7113c0c42dc870b575b981397976863fd
|
|
7
|
+
data.tar.gz: bf883454ec8ccf4f0cda448bf4019007880c65563918f920f04f6642fddb7bb84d6371c51c6356d344bfcbd151b6e9ea00401179c72d6e84649ff128074462bb
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
3.2.1
|
data/CHANGELOG.md
CHANGED
|
@@ -4,15 +4,33 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
-
## [Unreleased](https://github.com/learningtapestry/lt-google-api/compare/v0.
|
|
7
|
+
## [Unreleased](https://github.com/learningtapestry/lt-google-api/compare/v0.4.1...HEAD)
|
|
8
8
|
|
|
9
|
-
## [0.
|
|
9
|
+
## [0.4.1](https://github.com/learningtapestry/lt-google-api/compare/v0.4.0...v0.4.1) - 2025-09-22
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- 'activesupport' version is limited to be less than 8.0.0
|
|
14
|
+
- Misc gem updates
|
|
15
|
+
|
|
16
|
+
## [0.4.0](https://github.com/learningtapestry/lt-google-api/compare/v0.3.2...v0.4.0) - 2025-06-21
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
|
|
20
|
+
- Ruby 2.7 support
|
|
21
|
+
|
|
22
|
+
## [0.3.2](https://github.com/learningtapestry/lt-google-api/compare/v0.3.0...v0.3.2) - 2023-12-23
|
|
10
23
|
|
|
11
24
|
### Changed
|
|
12
25
|
|
|
13
26
|
- Bumped versions for 'google-apis-drive_v3' to '~> 0.63.0' and 'googleauth', '~> 1.11.2'
|
|
14
27
|
|
|
15
|
-
## [0.3.
|
|
28
|
+
## [0.3.1](https://github.com/learningtapestry/lt-google-api/compare/v0.3.0...v0.3.1) - 2024-10-22
|
|
29
|
+
### Changed
|
|
30
|
+
- Updated dependencies [@shlag3n](https://github.com/shlag3n)
|
|
31
|
+
- Upgraded google-api to 0.15 [@shlag3n](https://github.com/shlag3n)
|
|
32
|
+
|
|
33
|
+
## [0.3.0](https://github.com/learningtapestry/lt-google-api/compare/v0.2.4...v0.3.0) - 2023-12-23
|
|
16
34
|
### Added
|
|
17
35
|
|
|
18
36
|
- Added Docker support [@paranoicsan](https://github.com/paranoicsan)
|
|
@@ -25,25 +43,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
43
|
- Ruby updated to 2.7.7 [@shlag3n](https://github.com/shlag3n) at the main branch
|
|
26
44
|
- Upgraded google-api to 0.11 [@shlag3n](https://github.com/shlag3n)
|
|
27
45
|
|
|
28
|
-
## [0.2.4](https://github.com/learningtapestry/lt-
|
|
46
|
+
## [0.2.4](https://github.com/learningtapestry/lt-google-api/compare/v0.2.3...v0.2.4) - 2021-07-16
|
|
29
47
|
|
|
30
48
|
### Fixed
|
|
31
49
|
|
|
32
50
|
- Fix for Google Query ([#13](https://github.com/learningtapestry/lt-google-api/pull/13))
|
|
33
51
|
|
|
34
|
-
## [0.2.3](https://github.com/learningtapestry/lt-
|
|
52
|
+
## [0.2.3](https://github.com/learningtapestry/lt-google-api/compare/v0.2.2...v0.2.3) - 2021-07-02
|
|
35
53
|
|
|
36
54
|
### Fixed
|
|
37
55
|
|
|
38
56
|
- Fix Google API query when object name contains special characters like " ' " ([#11](https://github.com/learningtapestry/lt-google-api/pull/11))
|
|
39
57
|
|
|
40
|
-
## [0.2.2](https://github.com/learningtapestry/lt-
|
|
58
|
+
## [0.2.2](https://github.com/learningtapestry/lt-google-api/compare/v0.2.1...v0.2.2) - 2020-12-25
|
|
41
59
|
|
|
42
60
|
### Fixed
|
|
43
61
|
|
|
44
62
|
- Fix Google API namespace ([#9](https://github.com/learningtapestry/lt-google-api/pull/9))
|
|
45
63
|
|
|
46
|
-
## [0.2.1](https://github.com/learningtapestry/lt-
|
|
64
|
+
## [0.2.1](https://github.com/learningtapestry/lt-google-api/compare/v0.2.0...v0.2.1) - 2020-10-15
|
|
47
65
|
|
|
48
66
|
### Fixed
|
|
49
67
|
|
|
@@ -55,7 +73,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
55
73
|
|
|
56
74
|
- Add support for Google Shared Drives ([#7](https://github.com/learningtapestry/lt-google-api/pull/7))
|
|
57
75
|
|
|
58
|
-
## [0.1.1](https://github.com/learningtapestry/lt-
|
|
76
|
+
## [0.1.1](https://github.com/learningtapestry/lt-google-api/compare/v0.1.0...v0.1.1) - 2020-01-13
|
|
59
77
|
|
|
60
78
|
### Added
|
|
61
79
|
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lt-google-api (0.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
lt-google-api (0.4.1)
|
|
5
|
+
activesupport (~> 7)
|
|
6
|
+
google-apis-drive_v3 (~> 0.66)
|
|
7
|
+
googleauth (~> 1.14)
|
|
7
8
|
|
|
8
9
|
GEM
|
|
9
10
|
remote: https://rubygems.org/
|
|
10
11
|
specs:
|
|
11
|
-
activesupport (
|
|
12
|
+
activesupport (7.2.2.2)
|
|
12
13
|
base64
|
|
13
14
|
benchmark (>= 0.3)
|
|
14
15
|
bigdecimal
|
|
@@ -20,56 +21,57 @@ GEM
|
|
|
20
21
|
minitest (>= 5.1)
|
|
21
22
|
securerandom (>= 0.3)
|
|
22
23
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
23
|
-
uri (>= 0.13.1)
|
|
24
24
|
addressable (2.8.7)
|
|
25
25
|
public_suffix (>= 2.0.2, < 7.0)
|
|
26
26
|
ast (2.4.3)
|
|
27
27
|
base64 (0.3.0)
|
|
28
28
|
benchmark (0.4.1)
|
|
29
|
-
bigdecimal (3.2.
|
|
29
|
+
bigdecimal (3.2.3)
|
|
30
30
|
childprocess (5.1.0)
|
|
31
31
|
logger (~> 1.5)
|
|
32
32
|
concurrent-ruby (1.3.5)
|
|
33
|
-
connection_pool (2.5.
|
|
34
|
-
csv (3.3.
|
|
33
|
+
connection_pool (2.5.4)
|
|
34
|
+
csv (3.3.5)
|
|
35
35
|
declarative (0.0.20)
|
|
36
36
|
drb (2.2.3)
|
|
37
|
-
faraday (2.13.
|
|
37
|
+
faraday (2.13.4)
|
|
38
38
|
faraday-net_http (>= 2.0, < 3.5)
|
|
39
39
|
json
|
|
40
40
|
logger
|
|
41
|
-
faraday-
|
|
41
|
+
faraday-follow_redirects (0.3.0)
|
|
42
|
+
faraday (>= 1, < 3)
|
|
43
|
+
faraday-net_http (3.4.1)
|
|
42
44
|
net-http (>= 0.5.0)
|
|
43
45
|
ffi (1.17.2-aarch64-linux-gnu)
|
|
44
46
|
ffi (1.17.2-x86_64-linux-gnu)
|
|
45
47
|
fileutils (1.7.3)
|
|
46
|
-
google-apis-core (0.
|
|
47
|
-
addressable (~> 2.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
google-apis-core (1.0.2)
|
|
49
|
+
addressable (~> 2.8, >= 2.8.7)
|
|
50
|
+
faraday (~> 2.13)
|
|
51
|
+
faraday-follow_redirects (~> 0.3)
|
|
52
|
+
googleauth (~> 1.14)
|
|
53
|
+
mini_mime (~> 1.1)
|
|
52
54
|
representable (~> 3.0)
|
|
53
|
-
retriable (
|
|
54
|
-
google-apis-drive_v3 (0.
|
|
55
|
+
retriable (~> 3.1)
|
|
56
|
+
google-apis-drive_v3 (0.71.0)
|
|
55
57
|
google-apis-core (>= 0.15.0, < 2.a)
|
|
56
58
|
google-cloud-env (2.3.1)
|
|
57
59
|
base64 (~> 0.2)
|
|
58
60
|
faraday (>= 1.0, < 3.a)
|
|
59
|
-
|
|
61
|
+
google-logging-utils (0.2.0)
|
|
62
|
+
googleauth (1.15.0)
|
|
60
63
|
faraday (>= 1.0, < 3.a)
|
|
61
|
-
google-cloud-env (~> 2.
|
|
62
|
-
|
|
64
|
+
google-cloud-env (~> 2.2)
|
|
65
|
+
google-logging-utils (~> 0.1)
|
|
66
|
+
jwt (>= 1.4, < 4.0)
|
|
63
67
|
multi_json (~> 1.11)
|
|
64
68
|
os (>= 0.9, < 2.0)
|
|
65
69
|
signet (>= 0.16, < 2.a)
|
|
66
|
-
httpclient (2.9.0)
|
|
67
|
-
mutex_m
|
|
68
70
|
i18n (1.14.7)
|
|
69
71
|
concurrent-ruby (~> 1.0)
|
|
70
72
|
iniparse (1.5.0)
|
|
71
|
-
json (2.
|
|
72
|
-
jwt (
|
|
73
|
+
json (2.14.1)
|
|
74
|
+
jwt (3.1.2)
|
|
73
75
|
base64
|
|
74
76
|
language_server-protocol (3.17.0.5)
|
|
75
77
|
lint_roller (1.1.0)
|
|
@@ -79,20 +81,20 @@ GEM
|
|
|
79
81
|
logger (1.7.0)
|
|
80
82
|
mini_mime (1.1.5)
|
|
81
83
|
minitest (5.25.5)
|
|
82
|
-
multi_json (1.
|
|
84
|
+
multi_json (1.17.0)
|
|
83
85
|
mutex_m (0.3.0)
|
|
84
86
|
net-http (0.6.0)
|
|
85
87
|
uri
|
|
86
88
|
os (1.1.4)
|
|
87
|
-
overcommit (0.
|
|
89
|
+
overcommit (0.68.0)
|
|
88
90
|
childprocess (>= 0.6.3, < 6)
|
|
89
91
|
iniparse (~> 1.4)
|
|
90
92
|
rexml (>= 3.3.9)
|
|
91
93
|
parallel (1.27.0)
|
|
92
|
-
parser (3.3.
|
|
94
|
+
parser (3.3.9.0)
|
|
93
95
|
ast (~> 2.4.1)
|
|
94
96
|
racc
|
|
95
|
-
prism (1.
|
|
97
|
+
prism (1.5.1)
|
|
96
98
|
public_suffix (6.0.2)
|
|
97
99
|
racc (1.8.1)
|
|
98
100
|
rainbow (3.1.1)
|
|
@@ -100,16 +102,16 @@ GEM
|
|
|
100
102
|
rb-fsevent (0.11.2)
|
|
101
103
|
rb-inotify (0.11.1)
|
|
102
104
|
ffi (~> 1.0)
|
|
103
|
-
rbs (3.9.
|
|
105
|
+
rbs (3.9.5)
|
|
104
106
|
logger
|
|
105
|
-
regexp_parser (2.
|
|
107
|
+
regexp_parser (2.11.3)
|
|
106
108
|
representable (3.2.0)
|
|
107
109
|
declarative (< 0.1.0)
|
|
108
110
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
|
109
111
|
uber (< 0.2.0)
|
|
110
112
|
retriable (3.1.2)
|
|
111
|
-
rexml (3.4.
|
|
112
|
-
rubocop (1.
|
|
113
|
+
rexml (3.4.4)
|
|
114
|
+
rubocop (1.80.2)
|
|
113
115
|
json (~> 2.3)
|
|
114
116
|
language_server-protocol (~> 3.17.0.2)
|
|
115
117
|
lint_roller (~> 1.1.0)
|
|
@@ -117,42 +119,46 @@ GEM
|
|
|
117
119
|
parser (>= 3.3.0.2)
|
|
118
120
|
rainbow (>= 2.2.2, < 4.0)
|
|
119
121
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
120
|
-
rubocop-ast (>= 1.
|
|
122
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
|
121
123
|
ruby-progressbar (~> 1.7)
|
|
122
124
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
123
|
-
rubocop-ast (1.
|
|
125
|
+
rubocop-ast (1.47.0)
|
|
124
126
|
parser (>= 3.3.7.2)
|
|
125
127
|
prism (~> 1.4)
|
|
126
128
|
ruby-progressbar (1.13.0)
|
|
127
129
|
securerandom (0.4.1)
|
|
128
|
-
signet (0.
|
|
130
|
+
signet (0.21.0)
|
|
129
131
|
addressable (~> 2.8)
|
|
130
132
|
faraday (>= 0.17.5, < 3.a)
|
|
131
|
-
jwt (>= 1.5, <
|
|
133
|
+
jwt (>= 1.5, < 4.0)
|
|
132
134
|
multi_json (~> 1.10)
|
|
133
|
-
steep (1.
|
|
135
|
+
steep (1.10.0)
|
|
134
136
|
activesupport (>= 5.1)
|
|
135
137
|
concurrent-ruby (>= 1.1.10)
|
|
136
138
|
csv (>= 3.0.9)
|
|
137
139
|
fileutils (>= 1.1.0)
|
|
138
140
|
json (>= 2.1.0)
|
|
139
|
-
language_server-protocol (>= 3.
|
|
141
|
+
language_server-protocol (>= 3.17.0.4, < 4.0)
|
|
140
142
|
listen (~> 3.0)
|
|
141
143
|
logger (>= 1.3.0)
|
|
144
|
+
mutex_m (>= 0.3.0)
|
|
142
145
|
parser (>= 3.1)
|
|
143
146
|
rainbow (>= 2.2.2, < 4.0)
|
|
144
|
-
rbs (
|
|
147
|
+
rbs (~> 3.9)
|
|
145
148
|
securerandom (>= 0.1)
|
|
146
149
|
strscan (>= 1.0.0)
|
|
147
|
-
terminal-table (>= 2, <
|
|
150
|
+
terminal-table (>= 2, < 5)
|
|
151
|
+
uri (>= 0.12.0)
|
|
148
152
|
strscan (3.1.5)
|
|
149
|
-
terminal-table (
|
|
150
|
-
unicode-display_width (>= 1.1.1, <
|
|
153
|
+
terminal-table (4.0.0)
|
|
154
|
+
unicode-display_width (>= 1.1.1, < 4)
|
|
151
155
|
trailblazer-option (0.1.2)
|
|
152
156
|
tzinfo (2.0.6)
|
|
153
157
|
concurrent-ruby (~> 1.0)
|
|
154
158
|
uber (0.1.0)
|
|
155
|
-
unicode-display_width (2.
|
|
159
|
+
unicode-display_width (3.2.0)
|
|
160
|
+
unicode-emoji (~> 4.1)
|
|
161
|
+
unicode-emoji (4.1.0)
|
|
156
162
|
uri (1.0.3)
|
|
157
163
|
|
|
158
164
|
PLATFORMS
|
|
@@ -165,7 +171,7 @@ DEPENDENCIES
|
|
|
165
171
|
overcommit (~> 0.57)
|
|
166
172
|
rake (~> 13)
|
|
167
173
|
rubocop (~> 1)
|
|
168
|
-
steep (~> 1.
|
|
174
|
+
steep (~> 1.10)
|
|
169
175
|
|
|
170
176
|
BUNDLED WITH
|
|
171
|
-
2.4.
|
|
177
|
+
2.4.22
|
data/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
+
_Note:_ This is the Ruby 3.x branch. For Ruby 2.x, the latest version is `0.3.2`. If any updates are needed for the Ruby 2.x version, use the [`ruby-2x`](https://github.com/learningtapestry/lt-google-api/tree/ruby-2x) branch.
|
|
9
|
+
|
|
8
10
|
Add this line to your application's Gemfile:
|
|
9
11
|
|
|
10
12
|
```ruby
|
|
@@ -33,7 +35,7 @@ $ gem install lt-google-api
|
|
|
33
35
|
## Development
|
|
34
36
|
|
|
35
37
|
```shell
|
|
36
|
-
docker buildx build --platform linux/arm64/v8,linux/amd64 -t learningtapestry/lt-google-api
|
|
38
|
+
docker buildx build --platform linux/arm64/v8,linux/amd64 -t learningtapestry/lt-google-api --push .
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
### Type checking
|
data/docker-compose.yml
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
version: '3.8'
|
|
2
|
-
|
|
3
1
|
services:
|
|
4
2
|
app:
|
|
5
|
-
image: learningtapestry/lt-google-api
|
|
3
|
+
image: learningtapestry/lt-google-api
|
|
6
4
|
command: bash -c "bundle install && tail -f /dev/null"
|
|
7
5
|
volumes:
|
|
8
6
|
- .:/app
|
|
7
|
+
- bundle-3.2.1:/usr/local/bundle
|
|
8
|
+
|
|
9
|
+
volumes:
|
|
10
|
+
bundle-3.2.1:
|
|
@@ -18,7 +18,7 @@ module Lt
|
|
|
18
18
|
client_id =
|
|
19
19
|
::Google::Auth::ClientId.new(ENV.fetch('GOOGLE_OAUTH2_CLIENT_ID', nil),
|
|
20
20
|
ENV.fetch('GOOGLE_OAUTH2_CLIENT_SECRET', nil))
|
|
21
|
-
token_store ||= ::Google::Auth::Stores::RedisTokenStore.new(redis:
|
|
21
|
+
token_store ||= ::Google::Auth::Stores::RedisTokenStore.new(redis:)
|
|
22
22
|
scope = %w(https://www.googleapis.com/auth/drive)
|
|
23
23
|
::Google::Auth::WebUserAuthorizer.new(client_id, scope, token_store, callback_path)
|
|
24
24
|
end
|
data/lib/lt/google/api/drive.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Lt
|
|
|
6
6
|
module Google
|
|
7
7
|
module Api
|
|
8
8
|
class Drive
|
|
9
|
-
FOLDER_RE = %r{/drive/(.*/)?folders/([^/?]+)/?}
|
|
9
|
+
FOLDER_RE = %r{/drive/(.*/)?folders/([^/?]+)/?}
|
|
10
10
|
MIME_FILE = 'application/vnd.google-apps.document'
|
|
11
11
|
MIME_FOLDER = 'application/vnd.google-apps.folder'
|
|
12
12
|
|
|
@@ -52,7 +52,7 @@ module Lt
|
|
|
52
52
|
new_files = list folder_id
|
|
53
53
|
current_files = list target_id
|
|
54
54
|
|
|
55
|
-
# delete old files not present on new version
|
|
55
|
+
# delete old files not present on a new version
|
|
56
56
|
current_files.each do |file|
|
|
57
57
|
next if new_files.detect { |f| f.name == file.name }
|
|
58
58
|
|
|
@@ -75,7 +75,7 @@ module Lt
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
metadata = ::Google::Apis::DriveV3::File.new(
|
|
78
|
-
name
|
|
78
|
+
name:,
|
|
79
79
|
mime_type: MIME_FOLDER,
|
|
80
80
|
parents: [parent_id]
|
|
81
81
|
)
|
|
@@ -83,7 +83,7 @@ module Lt
|
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
def list_file_ids_in(folder_id, mime_type: MIME_FILE, with_subfolders: true)
|
|
86
|
-
[].tap do |result|
|
|
86
|
+
[].tap do |result| # steep:ignore UnannotatedEmptyCollection
|
|
87
87
|
page_token = nil
|
|
88
88
|
loop do
|
|
89
89
|
response = service.list_files(
|
data/lt-google-api.gemspec
CHANGED
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
15
15
|
spec.description = ''
|
|
16
16
|
spec.license = 'Apache-2.0'
|
|
17
17
|
|
|
18
|
-
spec.required_ruby_version = '>= 2
|
|
18
|
+
spec.required_ruby_version = '>= 3.2'
|
|
19
19
|
|
|
20
20
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
21
21
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
@@ -33,13 +33,16 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
33
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
34
34
|
spec.require_paths = ['lib']
|
|
35
35
|
|
|
36
|
-
spec.add_dependency 'google-apis-drive_v3', '~> 0.
|
|
37
|
-
spec.add_dependency 'googleauth', '~> 1.
|
|
36
|
+
spec.add_dependency 'google-apis-drive_v3', ' ~> 0.66'
|
|
37
|
+
spec.add_dependency 'googleauth', '~> 1.14'
|
|
38
|
+
|
|
39
|
+
# NOTE: Limited to 7.x due to all clients are using 7.x
|
|
40
|
+
spec.add_dependency 'activesupport', '~> 7'
|
|
38
41
|
|
|
39
42
|
spec.add_development_dependency 'bundler', '~> 2.4'
|
|
40
43
|
spec.add_development_dependency 'overcommit', '~> 0.57'
|
|
41
44
|
spec.add_development_dependency 'rake', '~> 13'
|
|
42
45
|
spec.add_development_dependency 'rubocop', '~> 1'
|
|
43
|
-
spec.add_development_dependency 'steep', '~> 1.
|
|
46
|
+
spec.add_development_dependency 'steep', '~> 1.10'
|
|
44
47
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
45
48
|
end
|
data/rbs_collection.lock.yaml
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
sources:
|
|
3
|
-
- type: git
|
|
4
|
-
name: ruby/gem_rbs_collection
|
|
5
|
-
revision: 20e6e0f0685139dbd29df50e03367e222aa5d1b8
|
|
6
|
-
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
7
|
-
repo_dir: gems
|
|
8
2
|
path: ".gem_rbs_collection"
|
|
9
3
|
gems:
|
|
10
4
|
- name: activesupport
|
|
@@ -35,6 +29,18 @@ gems:
|
|
|
35
29
|
version: '0'
|
|
36
30
|
source:
|
|
37
31
|
type: stdlib
|
|
32
|
+
- name: benchmark
|
|
33
|
+
version: '0'
|
|
34
|
+
source:
|
|
35
|
+
type: stdlib
|
|
36
|
+
- name: bigdecimal
|
|
37
|
+
version: '3.1'
|
|
38
|
+
source:
|
|
39
|
+
type: git
|
|
40
|
+
name: ruby/gem_rbs_collection
|
|
41
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
42
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
43
|
+
repo_dir: gems
|
|
38
44
|
- name: concurrent-ruby
|
|
39
45
|
version: '1.1'
|
|
40
46
|
source:
|
|
@@ -43,6 +49,14 @@ gems:
|
|
|
43
49
|
revision: 5666e737d2b27a8425b4e3855c1a38cae54989f7
|
|
44
50
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
45
51
|
repo_dir: gems
|
|
52
|
+
- name: connection_pool
|
|
53
|
+
version: '2.4'
|
|
54
|
+
source:
|
|
55
|
+
type: git
|
|
56
|
+
name: ruby/gem_rbs_collection
|
|
57
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
58
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
59
|
+
repo_dir: gems
|
|
46
60
|
- name: date
|
|
47
61
|
version: '0'
|
|
48
62
|
source:
|
|
@@ -67,12 +81,20 @@ gems:
|
|
|
67
81
|
version: '0'
|
|
68
82
|
source:
|
|
69
83
|
type: stdlib
|
|
70
|
-
- name:
|
|
71
|
-
version: '
|
|
84
|
+
- name: google-apis-core
|
|
85
|
+
version: '0.15'
|
|
72
86
|
source:
|
|
73
87
|
type: git
|
|
74
88
|
name: ruby/gem_rbs_collection
|
|
75
|
-
revision:
|
|
89
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
90
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
91
|
+
repo_dir: gems
|
|
92
|
+
- name: googleauth
|
|
93
|
+
version: '1.11'
|
|
94
|
+
source:
|
|
95
|
+
type: git
|
|
96
|
+
name: ruby/gem_rbs_collection
|
|
97
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
76
98
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
77
99
|
repo_dir: gems
|
|
78
100
|
- name: i18n
|
|
@@ -99,6 +121,14 @@ gems:
|
|
|
99
121
|
version: '0'
|
|
100
122
|
source:
|
|
101
123
|
type: stdlib
|
|
124
|
+
- name: mini_mime
|
|
125
|
+
version: '0.1'
|
|
126
|
+
source:
|
|
127
|
+
type: git
|
|
128
|
+
name: ruby/gem_rbs_collection
|
|
129
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
130
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
131
|
+
repo_dir: gems
|
|
102
132
|
- name: minitest
|
|
103
133
|
version: '0'
|
|
104
134
|
source:
|
|
@@ -111,6 +141,14 @@ gems:
|
|
|
111
141
|
version: '0'
|
|
112
142
|
source:
|
|
113
143
|
type: stdlib
|
|
144
|
+
- name: net-http
|
|
145
|
+
version: '0'
|
|
146
|
+
source:
|
|
147
|
+
type: stdlib
|
|
148
|
+
- name: net-protocol
|
|
149
|
+
version: '0'
|
|
150
|
+
source:
|
|
151
|
+
type: stdlib
|
|
114
152
|
- name: parallel
|
|
115
153
|
version: '1.20'
|
|
116
154
|
source:
|
|
@@ -131,6 +169,10 @@ gems:
|
|
|
131
169
|
version: '0'
|
|
132
170
|
source:
|
|
133
171
|
type: stdlib
|
|
172
|
+
- name: prism
|
|
173
|
+
version: 1.5.1
|
|
174
|
+
source:
|
|
175
|
+
type: rubygems
|
|
134
176
|
- name: rainbow
|
|
135
177
|
version: '3.0'
|
|
136
178
|
source:
|
|
@@ -175,22 +217,34 @@ gems:
|
|
|
175
217
|
version: '0'
|
|
176
218
|
source:
|
|
177
219
|
type: stdlib
|
|
178
|
-
- name:
|
|
179
|
-
version: '0'
|
|
180
|
-
source:
|
|
181
|
-
type: stdlib
|
|
182
|
-
- name: thor
|
|
183
|
-
version: '1.2'
|
|
220
|
+
- name: signet
|
|
221
|
+
version: '0.19'
|
|
184
222
|
source:
|
|
185
223
|
type: git
|
|
186
224
|
name: ruby/gem_rbs_collection
|
|
187
|
-
revision:
|
|
225
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
188
226
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
189
227
|
repo_dir: gems
|
|
228
|
+
- name: singleton
|
|
229
|
+
version: '0'
|
|
230
|
+
source:
|
|
231
|
+
type: stdlib
|
|
190
232
|
- name: time
|
|
191
233
|
version: '0'
|
|
192
234
|
source:
|
|
193
235
|
type: stdlib
|
|
236
|
+
- name: timeout
|
|
237
|
+
version: '0'
|
|
238
|
+
source:
|
|
239
|
+
type: stdlib
|
|
240
|
+
- name: tzinfo
|
|
241
|
+
version: '2.0'
|
|
242
|
+
source:
|
|
243
|
+
type: git
|
|
244
|
+
name: ruby/gem_rbs_collection
|
|
245
|
+
revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
|
|
246
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
247
|
+
repo_dir: gems
|
|
194
248
|
- name: uri
|
|
195
249
|
version: '0'
|
|
196
250
|
source:
|
|
@@ -18,7 +18,7 @@ module Lt
|
|
|
18
18
|
def copy: (untyped file_ids, untyped folder_id) -> untyped
|
|
19
19
|
def copy_files: (untyped folder_id, untyped target_id) -> untyped
|
|
20
20
|
def create_folder: (untyped name, ?untyped? parent_id) -> untyped
|
|
21
|
-
def list_file_ids_in: (untyped folder_id, ?mime_type: untyped, ?with_subfolders: bool) ->
|
|
21
|
+
def list_file_ids_in: (untyped folder_id, ?mime_type: untyped, ?with_subfolders: bool) -> Array[String]
|
|
22
22
|
def fetch_folders: (untyped name, untyped folder_id) -> untyped
|
|
23
23
|
|
|
24
24
|
private
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lt-google-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Kuznetsov
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-
|
|
12
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-apis-drive_v3
|
|
@@ -17,28 +17,42 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 0.
|
|
20
|
+
version: '0.66'
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 0.
|
|
27
|
+
version: '0.66'
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: googleauth
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
32
|
- - "~>"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: 1.
|
|
34
|
+
version: '1.14'
|
|
35
35
|
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - "~>"
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.
|
|
41
|
+
version: '1.14'
|
|
42
|
+
- !ruby/object:Gem::Dependency
|
|
43
|
+
name: activesupport
|
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - "~>"
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '7'
|
|
49
|
+
type: :runtime
|
|
50
|
+
prerelease: false
|
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - "~>"
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '7'
|
|
42
56
|
- !ruby/object:Gem::Dependency
|
|
43
57
|
name: bundler
|
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -101,14 +115,14 @@ dependencies:
|
|
|
101
115
|
requirements:
|
|
102
116
|
- - "~>"
|
|
103
117
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: 1.
|
|
118
|
+
version: '1.10'
|
|
105
119
|
type: :development
|
|
106
120
|
prerelease: false
|
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
122
|
requirements:
|
|
109
123
|
- - "~>"
|
|
110
124
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: 1.
|
|
125
|
+
version: '1.10'
|
|
112
126
|
description: ''
|
|
113
127
|
email:
|
|
114
128
|
- paranoic.san@gmail.com
|
|
@@ -169,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
169
183
|
requirements:
|
|
170
184
|
- - ">="
|
|
171
185
|
- !ruby/object:Gem::Version
|
|
172
|
-
version: '2
|
|
186
|
+
version: '3.2'
|
|
173
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
188
|
requirements:
|
|
175
189
|
- - ">="
|
|
176
190
|
- !ruby/object:Gem::Version
|
|
177
191
|
version: '0'
|
|
178
192
|
requirements: []
|
|
179
|
-
rubygems_version: 3.1
|
|
193
|
+
rubygems_version: 3.0.3.1
|
|
180
194
|
signing_key:
|
|
181
195
|
specification_version: 4
|
|
182
196
|
summary: Provides the set of classes to simplify work with Google services
|