lt-lcms 0.4.4 → 0.5.0
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/.github/workflows/rubocop-analysis.yml +16 -19
- data/.gitignore +4 -8
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +24 -19
- data/lib/lt/lcms/lesson/downloader.rb +5 -0
- data/lib/lt/lcms/version.rb +1 -1
- data/lt-lcms.gemspec +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5e933c5e37f0d126011fd282627b7e32ce6b7161479dd9a6c9fb3f175b4dbad
|
|
4
|
+
data.tar.gz: 44e7764f8a516e049a4a937d0ca0167f82f303d31abda8dbd2c3fa3eb168caf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4f08ae299d437e8434f2f854b87b1bec0dccec89988b58aae298cbe5859fc9ee54b5f99f6a5d313e5120d8bf9bf9ccd5ebca80bb7659dcdfdf1e9bbbef4589b
|
|
7
|
+
data.tar.gz: 67871dac1055d75a8e460f8ffd58a36cc92d9d2ea640e8d2286f57130c264812f60201ee317ec2fb7dd65b7ec516b861089ca570d08ca78fde695fcb9f98b7b8
|
|
@@ -17,25 +17,22 @@ jobs:
|
|
|
17
17
|
- name: Set up Ruby
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
20
|
-
ruby-version: 2.
|
|
20
|
+
ruby-version: 3.2.1
|
|
21
21
|
|
|
22
|
-
- name:
|
|
23
|
-
run: gem install bundler -v
|
|
22
|
+
- name: Install specific bundler version
|
|
23
|
+
run: gem install bundler -v 2.4.6
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
run: bundle _1.17.3_ add code-scanning-rubocop --skip-install
|
|
28
|
-
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: bundle _1.17.3_ install
|
|
31
|
-
|
|
32
|
-
- name: Rubocop run
|
|
33
|
-
run: |
|
|
34
|
-
bash -c "
|
|
35
|
-
bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
|
|
36
|
-
[[ $? -ne 2 ]]
|
|
37
|
-
"
|
|
38
|
-
- name: Upload Sarif output
|
|
39
|
-
uses: github/codeql-action/upload-sarif@v1
|
|
25
|
+
- name: Cache gems
|
|
26
|
+
uses: actions/cache@v1
|
|
40
27
|
with:
|
|
41
|
-
|
|
28
|
+
path: vendor/bundle
|
|
29
|
+
key: ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
|
|
30
|
+
restore-keys: |
|
|
31
|
+
${{ runner.os }}-rubocop-
|
|
32
|
+
- name: Install gems
|
|
33
|
+
run: |
|
|
34
|
+
bundle config path vendor/bundle
|
|
35
|
+
bundle config set without 'default doc job cable storage ujs test db'
|
|
36
|
+
bundle install --jobs 4 --retry 3
|
|
37
|
+
- name: Run RuboCop
|
|
38
|
+
run: bundle exec rubocop --parallel
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
3.2.1
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,13 @@ 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/lcms-engine/compare/v0.
|
|
7
|
+
## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.5.0...HEAD)
|
|
8
|
+
|
|
9
|
+
## [0.5.0](https://github.com/learningtapestry/lt-lcms/compare/v0.4.4...v0.5.0) - 2023-07-07
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Drop Ruby < 3.2 ([#29](https://github.com/learningtapestry/lt-lcms/pull/29))
|
|
8
14
|
|
|
9
15
|
## [0.4.4](https://github.com/learningtapestry/lt-lcms/compare/v0.4.3...v0.4.4) - 2021-07-16
|
|
10
16
|
|
data/Gemfile.lock
CHANGED
|
@@ -75,7 +75,9 @@ GEM
|
|
|
75
75
|
i18n (1.8.10)
|
|
76
76
|
concurrent-ruby (~> 1.0)
|
|
77
77
|
iniparse (1.5.0)
|
|
78
|
+
json (2.6.3)
|
|
78
79
|
jwt (2.2.3)
|
|
80
|
+
language_server-protocol (3.17.0.3)
|
|
79
81
|
lt-google-api (0.2.4)
|
|
80
82
|
google-api-client (~> 0.46)
|
|
81
83
|
googleauth (~> 0.14)
|
|
@@ -88,39 +90,42 @@ GEM
|
|
|
88
90
|
multi_json (1.15.0)
|
|
89
91
|
multi_xml (0.6.0)
|
|
90
92
|
multipart-post (2.1.1)
|
|
91
|
-
nokogiri (1.
|
|
93
|
+
nokogiri (1.15.3-x86_64-linux)
|
|
92
94
|
racc (~> 1.4)
|
|
93
95
|
os (1.1.1)
|
|
94
96
|
overcommit (0.58.0)
|
|
95
97
|
childprocess (>= 0.6.3, < 5)
|
|
96
98
|
iniparse (~> 1.4)
|
|
97
99
|
rexml (~> 3.2)
|
|
98
|
-
parallel (1.
|
|
99
|
-
parser (3.
|
|
100
|
+
parallel (1.23.0)
|
|
101
|
+
parser (3.2.2.3)
|
|
100
102
|
ast (~> 2.4.1)
|
|
103
|
+
racc
|
|
101
104
|
public_suffix (4.0.6)
|
|
102
|
-
racc (1.
|
|
103
|
-
rainbow (3.
|
|
105
|
+
racc (1.7.1)
|
|
106
|
+
rainbow (3.1.1)
|
|
104
107
|
rake (13.0.3)
|
|
105
|
-
regexp_parser (2.
|
|
108
|
+
regexp_parser (2.8.1)
|
|
106
109
|
representable (3.1.1)
|
|
107
110
|
declarative (< 0.1.0)
|
|
108
111
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
|
109
112
|
uber (< 0.2.0)
|
|
110
113
|
retriable (3.1.2)
|
|
111
114
|
rexml (3.2.5)
|
|
112
|
-
rubocop (
|
|
115
|
+
rubocop (1.54.1)
|
|
116
|
+
json (~> 2.3)
|
|
117
|
+
language_server-protocol (>= 3.17.0)
|
|
113
118
|
parallel (~> 1.10)
|
|
114
|
-
parser (>= 2.
|
|
119
|
+
parser (>= 3.2.2.3)
|
|
115
120
|
rainbow (>= 2.2.2, < 4.0)
|
|
116
|
-
regexp_parser (>= 1.8)
|
|
117
|
-
rexml
|
|
118
|
-
rubocop-ast (>=
|
|
121
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
122
|
+
rexml (>= 3.2.5, < 4.0)
|
|
123
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
|
119
124
|
ruby-progressbar (~> 1.7)
|
|
120
|
-
unicode-display_width (>=
|
|
121
|
-
rubocop-ast (1.
|
|
122
|
-
parser (>= 3.
|
|
123
|
-
ruby-progressbar (1.
|
|
125
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
|
126
|
+
rubocop-ast (1.29.0)
|
|
127
|
+
parser (>= 3.2.1.0)
|
|
128
|
+
ruby-progressbar (1.13.0)
|
|
124
129
|
ruby2_keywords (0.0.5)
|
|
125
130
|
rubyzip (2.3.2)
|
|
126
131
|
signet (0.15.0)
|
|
@@ -133,19 +138,19 @@ GEM
|
|
|
133
138
|
tzinfo (2.0.4)
|
|
134
139
|
concurrent-ruby (~> 1.0)
|
|
135
140
|
uber (0.1.0)
|
|
136
|
-
unicode-display_width (
|
|
141
|
+
unicode-display_width (2.4.2)
|
|
137
142
|
webrick (1.7.0)
|
|
138
143
|
zeitwerk (2.4.2)
|
|
139
144
|
|
|
140
145
|
PLATFORMS
|
|
141
|
-
|
|
146
|
+
x86_64-linux
|
|
142
147
|
|
|
143
148
|
DEPENDENCIES
|
|
144
149
|
bundler (~> 1.16)
|
|
145
150
|
lt-lcms!
|
|
146
151
|
overcommit (~> 0.57)
|
|
147
152
|
rake (~> 13.0)
|
|
148
|
-
rubocop (~>
|
|
153
|
+
rubocop (~> 1.54)
|
|
149
154
|
|
|
150
155
|
BUNDLED WITH
|
|
151
|
-
|
|
156
|
+
2.4.6
|
|
@@ -10,3 +10,8 @@ module Lt
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
require 'lt/lcms/lesson/downloader/base'
|
|
13
|
+
require 'lt/lcms/lesson/downloader/gdoc'
|
|
14
|
+
require 'lt/lcms/lesson/downloader/gslide'
|
|
15
|
+
require 'lt/lcms/lesson/downloader/gspreadsheet'
|
|
16
|
+
require 'lt/lcms/lesson/downloader/pdf'
|
|
17
|
+
require 'lt/lcms/lesson/uploader/gdoc'
|
data/lib/lt/lcms/version.rb
CHANGED
data/lt-lcms.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.
|
|
@@ -42,5 +42,5 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
42
42
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
|
43
43
|
spec.add_development_dependency 'overcommit', '~> 0.57'
|
|
44
44
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
45
|
-
spec.add_development_dependency 'rubocop', '~>
|
|
45
|
+
spec.add_development_dependency 'rubocop', '~> 1.54'
|
|
46
46
|
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.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Kuznetsov
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-api-client
|
|
@@ -140,14 +140,14 @@ dependencies:
|
|
|
140
140
|
requirements:
|
|
141
141
|
- - "~>"
|
|
142
142
|
- !ruby/object:Gem::Version
|
|
143
|
-
version:
|
|
143
|
+
version: '1.54'
|
|
144
144
|
type: :development
|
|
145
145
|
prerelease: false
|
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
|
147
147
|
requirements:
|
|
148
148
|
- - "~>"
|
|
149
149
|
- !ruby/object:Gem::Version
|
|
150
|
-
version:
|
|
150
|
+
version: '1.54'
|
|
151
151
|
description: ''
|
|
152
152
|
email:
|
|
153
153
|
- alexander@learningtapeestry.com
|
|
@@ -187,7 +187,7 @@ licenses:
|
|
|
187
187
|
- Apache-2.0
|
|
188
188
|
metadata:
|
|
189
189
|
allowed_push_host: https://rubygems.org
|
|
190
|
-
post_install_message:
|
|
190
|
+
post_install_message:
|
|
191
191
|
rdoc_options: []
|
|
192
192
|
require_paths:
|
|
193
193
|
- lib
|
|
@@ -195,15 +195,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
195
195
|
requirements:
|
|
196
196
|
- - ">="
|
|
197
197
|
- !ruby/object:Gem::Version
|
|
198
|
-
version: '2
|
|
198
|
+
version: '3.2'
|
|
199
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
200
|
requirements:
|
|
201
201
|
- - ">="
|
|
202
202
|
- !ruby/object:Gem::Version
|
|
203
203
|
version: '0'
|
|
204
204
|
requirements: []
|
|
205
|
-
rubygems_version: 3.
|
|
206
|
-
signing_key:
|
|
205
|
+
rubygems_version: 3.0.3.1
|
|
206
|
+
signing_key:
|
|
207
207
|
specification_version: 4
|
|
208
208
|
summary: Contains set of classes to work with Google Docs based lesson objects
|
|
209
209
|
test_files: []
|