lt-lcms 0.4.3 → 0.5.0

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: e473a918ee10abd3c4678e8aacb8226ca766c0873f1bd2eb7378ed0a945bed46
4
- data.tar.gz: f79e8bb554d732aff1f349a26c77a659031b142dd40ff72b65ca533d5e1f52c7
3
+ metadata.gz: e5e933c5e37f0d126011fd282627b7e32ce6b7161479dd9a6c9fb3f175b4dbad
4
+ data.tar.gz: 44e7764f8a516e049a4a937d0ca0167f82f303d31abda8dbd2c3fa3eb168caf9
5
5
  SHA512:
6
- metadata.gz: bb088eeeda2fd4692b95103f24bff729dcb3417d5526a89fa8cac514288e25af4b047e1893d3b7006cdd1f91a00ae79e8c876849ffee78ccb60744ca144ef699
7
- data.tar.gz: ef35fbbc8e83170464f3b78511a6423dcbcb84fcc619d1922fb0ed7ae61dff02a33bd8af5a56a7e79320f4b0074a3ba9c59fc527f08d0b330227ed0be3f738af
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.6
20
+ ruby-version: 3.2.1
21
21
 
22
- - name: Intall legacy bundler version
23
- run: gem install bundler -v 1.17.3
22
+ - name: Install specific bundler version
23
+ run: gem install bundler -v 2.4.6
24
24
 
25
- # This step is not necessary if you add the gem to your Gemfile
26
- - name: Install Code Scanning integration
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
- sarif_file: rubocop.sarif
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
@@ -1,13 +1,9 @@
1
- /.bundle/
1
+ /.bundle
2
2
  /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
3
+ /_yardoc
9
4
 
10
5
  # Ignore IDE specific files
11
- .idea/
6
+ /.idea
12
7
 
8
+ # Misc
13
9
  .DS_Store
data/.rubocop.yml CHANGED
@@ -13,7 +13,7 @@ AllCops:
13
13
  - db/schema.rb
14
14
  - node_modules/**/*
15
15
  NewCops: enable
16
- TargetRubyVersion: 2.6
16
+ TargetRubyVersion: 3.2
17
17
 
18
18
  Layout/LineLength:
19
19
  Max: 120
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ 3.2.1
data/CHANGELOG.md CHANGED
@@ -4,7 +4,19 @@ 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.4.3...HEAD)
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))
14
+
15
+ ## [0.4.4](https://github.com/learningtapestry/lt-lcms/compare/v0.4.3...v0.4.4) - 2021-07-16
16
+
17
+ ### Added
18
+
19
+ - Bump lt-google-api to 0.2.4 ([#19](https://github.com/learningtapestry/lt-lcms/pull/19))
8
20
 
9
21
  ## [0.4.3](https://github.com/learningtapestry/lt-lcms/compare/v0.4.2...v0.4.3) - 2021-07-02
10
22
 
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lt-lcms (0.4.3)
4
+ lt-lcms (0.4.4)
5
5
  google-api-client (~> 0.38)
6
6
  httparty (~> 0.18)
7
- lt-google-api (~> 0.2, >= 0.2.3)
7
+ lt-google-api (~> 0.2, >= 0.2.4)
8
8
  nokogiri (~> 1.10, >= 1.10.8)
9
9
  rubyzip (~> 2)
10
10
 
@@ -17,25 +17,29 @@ GEM
17
17
  minitest (>= 5.1)
18
18
  tzinfo (~> 2.0)
19
19
  zeitwerk (~> 2.3)
20
- addressable (2.7.0)
20
+ addressable (2.8.0)
21
21
  public_suffix (>= 2.0.2, < 5.0)
22
22
  ast (2.4.2)
23
23
  childprocess (4.1.0)
24
24
  concurrent-ruby (1.1.9)
25
25
  declarative (0.0.20)
26
- faraday (1.4.3)
26
+ faraday (1.5.1)
27
27
  faraday-em_http (~> 1.0)
28
28
  faraday-em_synchrony (~> 1.0)
29
29
  faraday-excon (~> 1.1)
30
+ faraday-httpclient (~> 1.0.1)
30
31
  faraday-net_http (~> 1.0)
31
32
  faraday-net_http_persistent (~> 1.1)
33
+ faraday-patron (~> 1.0)
32
34
  multipart-post (>= 1.2, < 3)
33
35
  ruby2_keywords (>= 0.0.4)
34
36
  faraday-em_http (1.0.0)
35
37
  faraday-em_synchrony (1.0.0)
36
38
  faraday-excon (1.1.0)
39
+ faraday-httpclient (1.0.1)
37
40
  faraday-net_http (1.0.1)
38
- faraday-net_http_persistent (1.1.0)
41
+ faraday-net_http_persistent (1.2.0)
42
+ faraday-patron (1.0.0)
39
43
  gems (1.2.0)
40
44
  google-api-client (0.53.0)
41
45
  google-apis-core (~> 0.1)
@@ -49,8 +53,8 @@ GEM
49
53
  retriable (>= 2.0, < 4.a)
50
54
  rexml
51
55
  webrick
52
- google-apis-discovery_v1 (0.5.0)
53
- google-apis-core (>= 0.3, < 2.a)
56
+ google-apis-discovery_v1 (0.6.0)
57
+ google-apis-core (>= 0.4, < 2.a)
54
58
  google-apis-generator (0.4.0)
55
59
  activesupport (>= 5.0)
56
60
  gems (~> 1.2)
@@ -71,54 +75,59 @@ GEM
71
75
  i18n (1.8.10)
72
76
  concurrent-ruby (~> 1.0)
73
77
  iniparse (1.5.0)
78
+ json (2.6.3)
74
79
  jwt (2.2.3)
75
- lt-google-api (0.2.3)
80
+ language_server-protocol (3.17.0.3)
81
+ lt-google-api (0.2.4)
76
82
  google-api-client (~> 0.46)
77
83
  googleauth (~> 0.14)
78
84
  memoist (0.16.2)
79
85
  mime-types (3.3.1)
80
86
  mime-types-data (~> 3.2015)
81
- mime-types-data (3.2021.0225)
87
+ mime-types-data (3.2021.0704)
82
88
  mini_mime (1.1.0)
83
89
  minitest (5.14.4)
84
90
  multi_json (1.15.0)
85
91
  multi_xml (0.6.0)
86
92
  multipart-post (2.1.1)
87
- nokogiri (1.11.7-x86_64-darwin)
93
+ nokogiri (1.15.3-x86_64-linux)
88
94
  racc (~> 1.4)
89
95
  os (1.1.1)
90
96
  overcommit (0.58.0)
91
97
  childprocess (>= 0.6.3, < 5)
92
98
  iniparse (~> 1.4)
93
99
  rexml (~> 3.2)
94
- parallel (1.20.1)
95
- parser (3.0.1.1)
100
+ parallel (1.23.0)
101
+ parser (3.2.2.3)
96
102
  ast (~> 2.4.1)
103
+ racc
97
104
  public_suffix (4.0.6)
98
- racc (1.5.2)
99
- rainbow (3.0.0)
105
+ racc (1.7.1)
106
+ rainbow (3.1.1)
100
107
  rake (13.0.3)
101
- regexp_parser (2.1.1)
108
+ regexp_parser (2.8.1)
102
109
  representable (3.1.1)
103
110
  declarative (< 0.1.0)
104
111
  trailblazer-option (>= 0.1.1, < 0.2.0)
105
112
  uber (< 0.2.0)
106
113
  retriable (3.1.2)
107
114
  rexml (3.2.5)
108
- rubocop (0.93.1)
115
+ rubocop (1.54.1)
116
+ json (~> 2.3)
117
+ language_server-protocol (>= 3.17.0)
109
118
  parallel (~> 1.10)
110
- parser (>= 2.7.1.5)
119
+ parser (>= 3.2.2.3)
111
120
  rainbow (>= 2.2.2, < 4.0)
112
- regexp_parser (>= 1.8)
113
- rexml
114
- rubocop-ast (>= 0.6.0)
121
+ regexp_parser (>= 1.8, < 3.0)
122
+ rexml (>= 3.2.5, < 4.0)
123
+ rubocop-ast (>= 1.28.0, < 2.0)
115
124
  ruby-progressbar (~> 1.7)
116
- unicode-display_width (>= 1.4.0, < 2.0)
117
- rubocop-ast (1.7.0)
118
- parser (>= 3.0.1.1)
119
- ruby-progressbar (1.11.0)
120
- ruby2_keywords (0.0.4)
121
- rubyzip (2.3.0)
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)
129
+ ruby2_keywords (0.0.5)
130
+ rubyzip (2.3.2)
122
131
  signet (0.15.0)
123
132
  addressable (~> 2.3)
124
133
  faraday (>= 0.17.3, < 2.0)
@@ -129,19 +138,19 @@ GEM
129
138
  tzinfo (2.0.4)
130
139
  concurrent-ruby (~> 1.0)
131
140
  uber (0.1.0)
132
- unicode-display_width (1.7.0)
141
+ unicode-display_width (2.4.2)
133
142
  webrick (1.7.0)
134
143
  zeitwerk (2.4.2)
135
144
 
136
145
  PLATFORMS
137
- ruby
146
+ x86_64-linux
138
147
 
139
148
  DEPENDENCIES
140
149
  bundler (~> 1.16)
141
150
  lt-lcms!
142
151
  overcommit (~> 0.57)
143
152
  rake (~> 13.0)
144
- rubocop (~> 0.93.1)
153
+ rubocop (~> 1.54)
145
154
 
146
155
  BUNDLED WITH
147
- 1.17.3
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'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lt
4
4
  module Lcms
5
- VERSION = '0.4.3'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
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.6'
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.
@@ -35,12 +35,12 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
35
35
 
36
36
  spec.add_dependency 'google-api-client', '~> 0.38'
37
37
  spec.add_dependency 'httparty', '~> 0.18'
38
- spec.add_dependency 'lt-google-api', '~> 0.2', '>= 0.2.3'
38
+ spec.add_dependency 'lt-google-api', '~> 0.2', '>= 0.2.4'
39
39
  spec.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.8'
40
40
  spec.add_dependency 'rubyzip', '~> 2'
41
41
 
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', '~> 0.93.1'
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.3
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: 2021-07-02 00:00:00.000000000 Z
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
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '0.2'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 0.2.3
50
+ version: 0.2.4
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '0.2'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 0.2.3
60
+ version: 0.2.4
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: nokogiri
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -140,14 +140,14 @@ dependencies:
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 0.93.1
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: 0.93.1
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.6'
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.2.21
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: []