lt-lcms 0.7.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd7e38020b4b2efbdf8b077f5bc067299a7ae6b2554c4aa43437bb9ea6f1ec8a
4
- data.tar.gz: e9b70a15f2e0a1d7c7301be61c32acfabfe3149ef379f55d98760add140bc158
3
+ metadata.gz: 51cacae078ee76dad8cead3e0323e0ed48bf9f6b9c7d2c3d72252e9ab00581cc
4
+ data.tar.gz: f96249be0690c1b5da751c4e52a9aef4a580554d0e8eac8ecdd86202b9e16731
5
5
  SHA512:
6
- metadata.gz: 2432d159af04b6d35a7e3ceb430eea6ccc1c3a2e284d3326301db5df4afd275e8be637af7efc727bc7c723e24fee1f14854d2a3026a533c12edf1089911d5841
7
- data.tar.gz: b6d1993292df38cde978abc3d9dc721c793f46a0d7a53e6897686474bcf33a59f4ff7f2b2c399529ed8bfc09c919a7d14f16175a9448c4143558242cefcdc41e
6
+ metadata.gz: a2c909556f73cd001d51b74dd8c85f0e24e0e02abe13e7ce8a5afa3e2a8255fd35c477dd88d085db703c1a50db7f06307f50d7eb15311c4bf9978f32690398fb
7
+ data.tar.gz: 5e8ee6665b70f99106c202865ce10f85c207a5ddb265ddd937f16a7162f948a8439a96bde9d4aee97bf7f002c32e59daa89e9f03bb5d5c4628b02f6a390d5642
data/CHANGELOG.md CHANGED
@@ -6,11 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.7.0...HEAD)
8
8
 
9
- ## [0.6.1](https://github.com/learningtapestry/lt-lcms/compare/v0.6.1...v0.7.0) - 2025-06-21
9
+ ## [0.7.1](https://github.com/learningtapestry/lt-lcms/compare/v0.7.0...v0.7.1) - 2025-06-21
10
+
11
+ ### Changed
12
+
13
+ - Bump lt-google-api to 0.4.1
14
+ - Misc gem updates
15
+
16
+ ## [0.7.0](https://github.com/learningtapestry/lt-lcms/compare/v0.6.1...v0.7.0) - 2025-06-21
10
17
 
11
18
  ### Removed
12
19
 
13
- - Drop Ruby < 3.2 support
20
+ - Drop Ruby < 3.2 support and bump ruby to 3.2 by @paranoicsan in #34
14
21
 
15
22
  ### Added
16
23
 
data/Gemfile.lock CHANGED
@@ -1,17 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lt-lcms (0.6.2)
4
+ lt-lcms (0.7.1)
5
+ activesupport (~> 7)
5
6
  google-apis-core (~> 0.18)
6
7
  httparty (~> 0.22)
7
- lt-google-api (~> 0.4.0)
8
+ lt-google-api (~> 0.4.0, >= 0.4.1)
8
9
  nokogiri (~> 1.10, >= 1.10.8)
9
10
  rubyzip (~> 2)
10
11
 
11
12
  GEM
12
13
  remote: https://rubygems.org/
13
14
  specs:
14
- activesupport (8.0.2)
15
+ activesupport (7.2.2.2)
15
16
  base64
16
17
  benchmark (>= 0.3)
17
18
  bigdecimal
@@ -23,25 +24,24 @@ GEM
23
24
  minitest (>= 5.1)
24
25
  securerandom (>= 0.3)
25
26
  tzinfo (~> 2.0, >= 2.0.5)
26
- uri (>= 0.13.1)
27
27
  addressable (2.8.7)
28
28
  public_suffix (>= 2.0.2, < 7.0)
29
29
  ast (2.4.3)
30
30
  base64 (0.3.0)
31
31
  benchmark (0.4.1)
32
- bigdecimal (3.2.0)
32
+ bigdecimal (3.2.3)
33
33
  childprocess (5.1.0)
34
34
  logger (~> 1.5)
35
35
  concurrent-ruby (1.3.5)
36
- connection_pool (2.5.3)
37
- csv (3.3.4)
36
+ connection_pool (2.5.4)
37
+ csv (3.3.5)
38
38
  declarative (0.0.20)
39
39
  drb (2.2.3)
40
- faraday (2.13.1)
40
+ faraday (2.13.4)
41
41
  faraday-net_http (>= 2.0, < 3.5)
42
42
  json
43
43
  logger
44
- faraday-net_http (3.4.0)
44
+ faraday-net_http (3.4.1)
45
45
  net-http (>= 0.5.0)
46
46
  ffi (1.17.2-aarch64-linux-gnu)
47
47
  ffi (1.17.2-x86_64-linux-gnu)
@@ -54,17 +54,17 @@ GEM
54
54
  mutex_m
55
55
  representable (~> 3.0)
56
56
  retriable (>= 2.0, < 4.a)
57
- google-apis-drive_v3 (0.66.0)
57
+ google-apis-drive_v3 (0.71.0)
58
58
  google-apis-core (>= 0.15.0, < 2.a)
59
59
  google-cloud-env (2.3.1)
60
60
  base64 (~> 0.2)
61
61
  faraday (>= 1.0, < 3.a)
62
62
  google-logging-utils (0.2.0)
63
- googleauth (1.14.0)
63
+ googleauth (1.15.0)
64
64
  faraday (>= 1.0, < 3.a)
65
65
  google-cloud-env (~> 2.2)
66
66
  google-logging-utils (~> 0.1)
67
- jwt (>= 1.4, < 3.0)
67
+ jwt (>= 1.4, < 4.0)
68
68
  multi_json (~> 1.11)
69
69
  os (>= 0.9, < 2.0)
70
70
  signet (>= 0.16, < 2.a)
@@ -77,8 +77,8 @@ GEM
77
77
  i18n (1.14.7)
78
78
  concurrent-ruby (~> 1.0)
79
79
  iniparse (1.5.0)
80
- json (2.12.2)
81
- jwt (2.10.1)
80
+ json (2.14.1)
81
+ jwt (3.1.2)
82
82
  base64
83
83
  language_server-protocol (3.17.0.5)
84
84
  lint_roller (1.1.0)
@@ -86,31 +86,32 @@ GEM
86
86
  rb-fsevent (~> 0.10, >= 0.10.3)
87
87
  rb-inotify (~> 0.9, >= 0.9.10)
88
88
  logger (1.7.0)
89
- lt-google-api (0.4.0)
89
+ lt-google-api (0.4.1)
90
+ activesupport (~> 7)
90
91
  google-apis-drive_v3 (~> 0.66)
91
92
  googleauth (~> 1.14)
92
93
  mini_mime (1.1.5)
93
94
  minitest (5.25.5)
94
- multi_json (1.15.0)
95
+ multi_json (1.17.0)
95
96
  multi_xml (0.7.2)
96
97
  bigdecimal (~> 3.1)
97
98
  mutex_m (0.3.0)
98
99
  net-http (0.6.0)
99
100
  uri
100
- nokogiri (1.18.8-aarch64-linux-gnu)
101
+ nokogiri (1.18.10-aarch64-linux-gnu)
101
102
  racc (~> 1.4)
102
- nokogiri (1.18.8-x86_64-linux-gnu)
103
+ nokogiri (1.18.10-x86_64-linux-gnu)
103
104
  racc (~> 1.4)
104
105
  os (1.1.4)
105
- overcommit (0.67.1)
106
+ overcommit (0.68.0)
106
107
  childprocess (>= 0.6.3, < 6)
107
108
  iniparse (~> 1.4)
108
109
  rexml (>= 3.3.9)
109
110
  parallel (1.27.0)
110
- parser (3.3.8.0)
111
+ parser (3.3.9.0)
111
112
  ast (~> 2.4.1)
112
113
  racc
113
- prism (1.4.0)
114
+ prism (1.5.1)
114
115
  public_suffix (6.0.2)
115
116
  racc (1.8.1)
116
117
  rainbow (3.1.1)
@@ -118,16 +119,16 @@ GEM
118
119
  rb-fsevent (0.11.2)
119
120
  rb-inotify (0.11.1)
120
121
  ffi (~> 1.0)
121
- rbs (3.9.4)
122
+ rbs (3.9.5)
122
123
  logger
123
- regexp_parser (2.10.0)
124
+ regexp_parser (2.11.3)
124
125
  representable (3.2.0)
125
126
  declarative (< 0.1.0)
126
127
  trailblazer-option (>= 0.1.1, < 0.2.0)
127
128
  uber (< 0.2.0)
128
129
  retriable (3.1.2)
129
- rexml (3.4.1)
130
- rubocop (1.75.8)
130
+ rexml (3.4.4)
131
+ rubocop (1.80.2)
131
132
  json (~> 2.3)
132
133
  language_server-protocol (~> 3.17.0.2)
133
134
  lint_roller (~> 1.1.0)
@@ -135,43 +136,47 @@ GEM
135
136
  parser (>= 3.3.0.2)
136
137
  rainbow (>= 2.2.2, < 4.0)
137
138
  regexp_parser (>= 2.9.3, < 3.0)
138
- rubocop-ast (>= 1.44.0, < 2.0)
139
+ rubocop-ast (>= 1.46.0, < 2.0)
139
140
  ruby-progressbar (~> 1.7)
140
141
  unicode-display_width (>= 2.4.0, < 4.0)
141
- rubocop-ast (1.44.1)
142
+ rubocop-ast (1.47.0)
142
143
  parser (>= 3.3.7.2)
143
144
  prism (~> 1.4)
144
145
  ruby-progressbar (1.13.0)
145
146
  rubyzip (2.4.1)
146
147
  securerandom (0.4.1)
147
- signet (0.20.0)
148
+ signet (0.21.0)
148
149
  addressable (~> 2.8)
149
150
  faraday (>= 0.17.5, < 3.a)
150
- jwt (>= 1.5, < 3.0)
151
+ jwt (>= 1.5, < 4.0)
151
152
  multi_json (~> 1.10)
152
- steep (1.5.3)
153
+ steep (1.10.0)
153
154
  activesupport (>= 5.1)
154
155
  concurrent-ruby (>= 1.1.10)
155
156
  csv (>= 3.0.9)
156
157
  fileutils (>= 1.1.0)
157
158
  json (>= 2.1.0)
158
- language_server-protocol (>= 3.15, < 4.0)
159
+ language_server-protocol (>= 3.17.0.4, < 4.0)
159
160
  listen (~> 3.0)
160
161
  logger (>= 1.3.0)
162
+ mutex_m (>= 0.3.0)
161
163
  parser (>= 3.1)
162
164
  rainbow (>= 2.2.2, < 4.0)
163
- rbs (>= 3.1.0)
165
+ rbs (~> 3.9)
164
166
  securerandom (>= 0.1)
165
167
  strscan (>= 1.0.0)
166
- terminal-table (>= 2, < 4)
168
+ terminal-table (>= 2, < 5)
169
+ uri (>= 0.12.0)
167
170
  strscan (3.1.5)
168
- terminal-table (3.0.2)
169
- unicode-display_width (>= 1.1.1, < 3)
171
+ terminal-table (4.0.0)
172
+ unicode-display_width (>= 1.1.1, < 4)
170
173
  trailblazer-option (0.1.2)
171
174
  tzinfo (2.0.6)
172
175
  concurrent-ruby (~> 1.0)
173
176
  uber (0.1.0)
174
- unicode-display_width (2.6.0)
177
+ unicode-display_width (3.2.0)
178
+ unicode-emoji (~> 4.1)
179
+ unicode-emoji (4.1.0)
175
180
  uri (1.0.3)
176
181
 
177
182
  PLATFORMS
@@ -184,7 +189,7 @@ DEPENDENCIES
184
189
  overcommit (~> 0.60)
185
190
  rake (~> 13.0)
186
191
  rubocop (~> 1.54)
187
- steep (~> 1.5.3)
192
+ steep (~> 1.10)
188
193
 
189
194
  BUNDLED WITH
190
195
  2.4.22
data/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Installation
4
4
 
5
+ _Note:_ This is the Ruby 3.x branch. For Ruby 2.x, the latest version is `0.6.1`. If any updates are needed for the Ruby 2.x version, use the [`ruby-2x`](https://github.com/learningtapestry/lt-lcms/tree/ruby-2x) branch.
6
+
7
+
5
8
  Add this line to your application's Gemfile:
6
9
 
7
10
  ```ruby
data/docker-compose.yml CHANGED
@@ -1,8 +1,10 @@
1
- version: '3.8'
2
-
3
1
  services:
4
2
  app:
5
3
  image: learningtapestry/lt-lcms
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:
@@ -12,11 +12,11 @@ module Lt
12
12
  def upload(name, content, content_type, parent_folder_id = nil)
13
13
  file_metadata = {
14
14
  name:,
15
- mime_type: Lt::Google::Api::Drive::MIME_FILE
15
+ mime_type: Lt::Google::Api::Drive::MIME_FILE,
16
+ parents: parent_folder_id.present? ? Array.wrap(parent_folder_id) : nil
16
17
  }
17
- file_metadata[:parents] = Array.wrap(parent_folder_id) unless parent_folder_id.nil?
18
18
  file = service.create_file(
19
- file_metadata,
19
+ file_metadata.compact,
20
20
  fields: 'id',
21
21
  upload_source: StringIO.new(content),
22
22
  content_type:,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lt
4
4
  module Lcms
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  end
data/lt-lcms.gemspec CHANGED
@@ -36,13 +36,16 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
36
36
 
37
37
  spec.add_dependency 'google-apis-core', '~> 0.18'
38
38
  spec.add_dependency 'httparty', '~> 0.22'
39
- spec.add_dependency 'lt-google-api', '~> 0.4.0'
39
+ spec.add_dependency 'lt-google-api', '~> 0.4.0', '>= 0.4.1'
40
40
  spec.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.8'
41
41
  spec.add_dependency 'rubyzip', '~> 2'
42
42
 
43
+ # NOTE: Limited to 7.x due to all clients are using 7.x
44
+ spec.add_dependency 'activesupport', '~> 7'
45
+
43
46
  spec.add_development_dependency 'bundler', '~> 2.4'
44
47
  spec.add_development_dependency 'overcommit', '~> 0.60'
45
48
  spec.add_development_dependency 'rake', '~> 13.0'
46
49
  spec.add_development_dependency 'rubocop', '~> 1.54'
47
- spec.add_development_dependency 'steep', '~> 1.5.3'
50
+ spec.add_development_dependency 'steep', '~> 1.10'
48
51
  end
@@ -1,12 +1,20 @@
1
1
  ---
2
2
  path: ".gem_rbs_collection"
3
3
  gems:
4
+ - name: activesupport
5
+ version: '7.0'
6
+ source:
7
+ type: git
8
+ name: ruby/gem_rbs_collection
9
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
10
+ remote: https://github.com/ruby/gem_rbs_collection.git
11
+ repo_dir: gems
4
12
  - name: addressable
5
13
  version: '2.8'
6
14
  source:
7
15
  type: git
8
16
  name: ruby/gem_rbs_collection
9
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
17
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
10
18
  remote: https://github.com/ruby/gem_rbs_collection.git
11
19
  repo_dir: gems
12
20
  - name: ast
@@ -14,18 +22,50 @@ gems:
14
22
  source:
15
23
  type: git
16
24
  name: ruby/gem_rbs_collection
17
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
25
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
18
26
  remote: https://github.com/ruby/gem_rbs_collection.git
19
27
  repo_dir: gems
20
28
  - name: base64
29
+ version: 0.3.0
30
+ source:
31
+ type: rubygems
32
+ - name: benchmark
21
33
  version: '0'
22
34
  source:
23
35
  type: stdlib
24
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
44
+ - name: connection_pool
45
+ version: '2.4'
46
+ source:
47
+ type: git
48
+ name: ruby/gem_rbs_collection
49
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
50
+ remote: https://github.com/ruby/gem_rbs_collection.git
51
+ repo_dir: gems
52
+ - name: csv
53
+ version: '3.3'
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
60
+ - name: date
25
61
  version: '0'
26
62
  source:
27
63
  type: stdlib
28
- - name: csv
64
+ - name: digest
65
+ version: '0'
66
+ source:
67
+ type: stdlib
68
+ - name: erb
29
69
  version: '0'
30
70
  source:
31
71
  type: stdlib
@@ -34,7 +74,7 @@ gems:
34
74
  source:
35
75
  type: git
36
76
  name: ruby/gem_rbs_collection
37
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
77
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
38
78
  remote: https://github.com/ruby/gem_rbs_collection.git
39
79
  repo_dir: gems
40
80
  - name: fileutils
@@ -50,7 +90,7 @@ gems:
50
90
  source:
51
91
  type: git
52
92
  name: ruby/gem_rbs_collection
53
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
93
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
54
94
  remote: https://github.com/ruby/gem_rbs_collection.git
55
95
  repo_dir: gems
56
96
  - name: googleauth
@@ -58,7 +98,7 @@ gems:
58
98
  source:
59
99
  type: git
60
100
  name: ruby/gem_rbs_collection
61
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
101
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
62
102
  remote: https://github.com/ruby/gem_rbs_collection.git
63
103
  repo_dir: gems
64
104
  - name: httparty
@@ -66,7 +106,7 @@ gems:
66
106
  source:
67
107
  type: git
68
108
  name: ruby/gem_rbs_collection
69
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
109
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
70
110
  remote: https://github.com/ruby/gem_rbs_collection.git
71
111
  repo_dir: gems
72
112
  - name: httpclient
@@ -74,7 +114,15 @@ gems:
74
114
  source:
75
115
  type: git
76
116
  name: ruby/gem_rbs_collection
77
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
117
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
118
+ remote: https://github.com/ruby/gem_rbs_collection.git
119
+ repo_dir: gems
120
+ - name: i18n
121
+ version: '1.10'
122
+ source:
123
+ type: git
124
+ name: ruby/gem_rbs_collection
125
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
78
126
  remote: https://github.com/ruby/gem_rbs_collection.git
79
127
  repo_dir: gems
80
128
  - name: json
@@ -86,7 +134,7 @@ gems:
86
134
  source:
87
135
  type: git
88
136
  name: ruby/gem_rbs_collection
89
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
137
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
90
138
  remote: https://github.com/ruby/gem_rbs_collection.git
91
139
  repo_dir: gems
92
140
  - name: logger
@@ -94,7 +142,7 @@ gems:
94
142
  source:
95
143
  type: stdlib
96
144
  - name: lt-google-api
97
- version: 0.3.1
145
+ version: 0.4.0
98
146
  source:
99
147
  type: rubygems
100
148
  - name: mini_mime
@@ -102,7 +150,15 @@ gems:
102
150
  source:
103
151
  type: git
104
152
  name: ruby/gem_rbs_collection
105
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
153
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
154
+ remote: https://github.com/ruby/gem_rbs_collection.git
155
+ repo_dir: gems
156
+ - name: minitest
157
+ version: '5.25'
158
+ source:
159
+ type: git
160
+ name: ruby/gem_rbs_collection
161
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
106
162
  remote: https://github.com/ruby/gem_rbs_collection.git
107
163
  repo_dir: gems
108
164
  - name: monitor
@@ -110,9 +166,9 @@ gems:
110
166
  source:
111
167
  type: stdlib
112
168
  - name: mutex_m
113
- version: '0'
169
+ version: 0.3.0
114
170
  source:
115
- type: stdlib
171
+ type: rubygems
116
172
  - name: net-http
117
173
  version: '0'
118
174
  source:
@@ -126,15 +182,19 @@ gems:
126
182
  source:
127
183
  type: git
128
184
  name: ruby/gem_rbs_collection
129
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
185
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
130
186
  remote: https://github.com/ruby/gem_rbs_collection.git
131
187
  repo_dir: gems
188
+ - name: openssl
189
+ version: '0'
190
+ source:
191
+ type: stdlib
132
192
  - name: parallel
133
193
  version: '1.20'
134
194
  source:
135
195
  type: git
136
196
  name: ruby/gem_rbs_collection
137
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
197
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
138
198
  remote: https://github.com/ruby/gem_rbs_collection.git
139
199
  repo_dir: gems
140
200
  - name: parser
@@ -142,11 +202,11 @@ gems:
142
202
  source:
143
203
  type: git
144
204
  name: ruby/gem_rbs_collection
145
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
205
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
146
206
  remote: https://github.com/ruby/gem_rbs_collection.git
147
207
  repo_dir: gems
148
208
  - name: prism
149
- version: 1.4.0
209
+ version: 1.5.1
150
210
  source:
151
211
  type: rubygems
152
212
  - name: rainbow
@@ -154,7 +214,7 @@ gems:
154
214
  source:
155
215
  type: git
156
216
  name: ruby/gem_rbs_collection
157
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
217
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
158
218
  remote: https://github.com/ruby/gem_rbs_collection.git
159
219
  repo_dir: gems
160
220
  - name: rake
@@ -162,7 +222,7 @@ gems:
162
222
  source:
163
223
  type: git
164
224
  name: ruby/gem_rbs_collection
165
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
225
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
166
226
  remote: https://github.com/ruby/gem_rbs_collection.git
167
227
  repo_dir: gems
168
228
  - name: regexp_parser
@@ -170,7 +230,7 @@ gems:
170
230
  source:
171
231
  type: git
172
232
  name: ruby/gem_rbs_collection
173
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
233
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
174
234
  remote: https://github.com/ruby/gem_rbs_collection.git
175
235
  repo_dir: gems
176
236
  - name: rubocop
@@ -178,15 +238,15 @@ gems:
178
238
  source:
179
239
  type: git
180
240
  name: ruby/gem_rbs_collection
181
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
241
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
182
242
  remote: https://github.com/ruby/gem_rbs_collection.git
183
243
  repo_dir: gems
184
244
  - name: rubocop-ast
185
- version: '1.30'
245
+ version: '1.46'
186
246
  source:
187
247
  type: git
188
248
  name: ruby/gem_rbs_collection
189
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
249
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
190
250
  remote: https://github.com/ruby/gem_rbs_collection.git
191
251
  repo_dir: gems
192
252
  - name: rubyzip
@@ -194,25 +254,49 @@ gems:
194
254
  source:
195
255
  type: git
196
256
  name: ruby/gem_rbs_collection
197
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
257
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
198
258
  remote: https://github.com/ruby/gem_rbs_collection.git
199
259
  repo_dir: gems
260
+ - name: securerandom
261
+ version: '0'
262
+ source:
263
+ type: stdlib
200
264
  - name: signet
201
265
  version: '0.19'
202
266
  source:
203
267
  type: git
204
268
  name: ruby/gem_rbs_collection
205
- revision: 218cf130d31f63e110e350efc3fa265311b0f238
269
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
206
270
  remote: https://github.com/ruby/gem_rbs_collection.git
207
271
  repo_dir: gems
272
+ - name: singleton
273
+ version: '0'
274
+ source:
275
+ type: stdlib
276
+ - name: socket
277
+ version: '0'
278
+ source:
279
+ type: stdlib
208
280
  - name: stringio
209
281
  version: '0'
210
282
  source:
211
283
  type: stdlib
284
+ - name: time
285
+ version: '0'
286
+ source:
287
+ type: stdlib
212
288
  - name: timeout
213
289
  version: '0'
214
290
  source:
215
291
  type: stdlib
292
+ - name: tzinfo
293
+ version: '2.0'
294
+ source:
295
+ type: git
296
+ name: ruby/gem_rbs_collection
297
+ revision: fdacf4febfd1a10797f2340410e0876a9811cdf2
298
+ remote: https://github.com/ruby/gem_rbs_collection.git
299
+ repo_dir: gems
216
300
  - name: uri
217
301
  version: '0'
218
302
  source:
@@ -4,28 +4,23 @@ module Lt
4
4
  module Downloader
5
5
  class Base
6
6
  RETRY_DELAYES: ::Array[untyped]
7
-
8
- MAX_RETRY_COUNT: untyped
9
-
10
- MIME_TYPE_EXPORT: "text/plain"
7
+ MAX_RETRY_COUNT: Integer
8
+ MIME_TYPE_EXPORT: String
11
9
 
12
10
  def self.file_id_for: (untyped url) -> untyped
13
11
 
14
12
  attr_reader content: untyped
15
13
 
16
14
  def initialize: (untyped credentials, untyped file_url, ?::Hash[untyped, untyped] opts) -> void
17
-
18
15
  def download: (?mime_type: untyped) ?{ (untyped) -> untyped } -> untyped
19
-
20
- def file: () -> untyped
21
-
22
- def file_id: () -> untyped
16
+ def file: -> untyped
17
+ def file_id: -> untyped
23
18
 
24
19
  private
25
20
 
26
21
  attr_reader options: untyped
27
22
 
28
- def service: () -> untyped
23
+ def service: -> untyped
29
24
  end
30
25
  end
31
26
  end
@@ -4,12 +4,9 @@ module Lt
4
4
  module Downloader
5
5
  class Gdoc < Base
6
6
  GOOGLE_DRAWING_RE: ::Regexp
7
-
8
7
  GOOGLE_URL_RE: ::Regexp
9
-
10
- MIME_TYPE: "application/vnd.google-apps.document"
11
-
12
- MIME_TYPE_EXPORT: "text/html"
8
+ MIME_TYPE: String
9
+ MIME_TYPE_EXPORT: String
13
10
 
14
11
  def self.gdoc_file_url: (untyped id) -> ::String
15
12
 
@@ -22,10 +19,7 @@ module Lt
22
19
  BASE_DPI: ::Float
23
20
 
24
21
  def fix_links: (untyped html) -> untyped
25
-
26
22
  def handle_google_drawings: (untyped html) -> untyped
27
-
28
- # Update drawing url w/h parameters to download in better quality than default 72 dpi
29
23
  def updated_drawing_url_for: (untyped url) -> untyped
30
24
  end
31
25
  end
@@ -4,12 +4,11 @@ module Lt
4
4
  module Uploader
5
5
  class Gdoc
6
6
  def initialize: (untyped credentials) -> void
7
-
8
- def upload: (untyped name, untyped content, untyped content_type, ?untyped? parent_folder_id) -> untyped
7
+ def upload: (String name, untyped content, String content_type, ?(String | nil)? parent_folder_id) -> String
9
8
 
10
9
  private
11
10
 
12
- def service: () -> untyped
11
+ def service: -> untyped
13
12
  end
14
13
  end
15
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lt-lcms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.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: 2025-06-21 00:00:00.000000000 Z
11
+ date: 2025-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -45,6 +45,9 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.4.0
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.4.1
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +55,9 @@ dependencies:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
57
  version: 0.4.0
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 0.4.1
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: nokogiri
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +92,20 @@ dependencies:
86
92
  - - "~>"
87
93
  - !ruby/object:Gem::Version
88
94
  version: '2'
95
+ - !ruby/object:Gem::Dependency
96
+ name: activesupport
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '7'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '7'
89
109
  - !ruby/object:Gem::Dependency
90
110
  name: bundler
91
111
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +168,14 @@ dependencies:
148
168
  requirements:
149
169
  - - "~>"
150
170
  - !ruby/object:Gem::Version
151
- version: 1.5.3
171
+ version: '1.10'
152
172
  type: :development
153
173
  prerelease: false
154
174
  version_requirements: !ruby/object:Gem::Requirement
155
175
  requirements:
156
176
  - - "~>"
157
177
  - !ruby/object:Gem::Version
158
- version: 1.5.3
178
+ version: '1.10'
159
179
  description: ''
160
180
  email:
161
181
  - alexander@learningtapeestry.com
@@ -230,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
250
  - !ruby/object:Gem::Version
231
251
  version: '0'
232
252
  requirements: []
233
- rubygems_version: 3.4.6
253
+ rubygems_version: 3.0.3.1
234
254
  signing_key:
235
255
  specification_version: 4
236
256
  summary: Contains set of classes to work with Google Docs based lesson objects