lt-lcms 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop-analysis.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +73 -32
- data/lib/lt/lcms/lesson/downloader/base.rb +1 -4
- data/lib/lt/lcms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6fa6eec6aaec43e52b7e25667f4cd8e15364c6615e2931bf6aa63f748b3498f
|
4
|
+
data.tar.gz: c5d0f60a81a653e5109595d60b47a9081b44610a08982c36c65c837ee04d1810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbc2e4759093153b8e789396b84c3ead44ad8f5db465f094a80ff6c77411e65eb57134c674e7aac83aa0414a890e80454ce3b2090aa0451ef98b6e106634403
|
7
|
+
data.tar.gz: b3ae6810500e62178bae6b281a62e683421ac9838c0868e0f8395bddfd8ace992e31eac77f15bf263b5655263b620bae5827689a7ef0a0945eed92f998e36b0f
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@ 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.2...HEAD)
|
8
|
+
|
9
|
+
## [0.4.2](https://github.com/learningtapestry/lt-lcms/compare/v0.4.1...v0.4.2) - 2021-06-21
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Remove intermediate `encode('ASCII-8BIT')` call for downloaded file content
|
14
|
+
|
7
15
|
## [0.4.1](https://github.com/learningtapestry/lt-lcms/compare/v0.4.0...v0.4.1) - 2020-10-19
|
8
16
|
|
9
17
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lt-lcms (0.4.
|
4
|
+
lt-lcms (0.4.2)
|
5
5
|
google-api-client (~> 0.38)
|
6
6
|
httparty (~> 0.18)
|
7
7
|
lt-google-api (~> 0.2, >= 0.2.1)
|
@@ -11,25 +11,54 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
+
activesupport (6.1.3.2)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 1.6, < 2)
|
17
|
+
minitest (>= 5.1)
|
18
|
+
tzinfo (~> 2.0)
|
19
|
+
zeitwerk (~> 2.3)
|
14
20
|
addressable (2.7.0)
|
15
21
|
public_suffix (>= 2.0.2, < 5.0)
|
16
|
-
ast (2.4.
|
17
|
-
childprocess (4.
|
22
|
+
ast (2.4.2)
|
23
|
+
childprocess (4.1.0)
|
24
|
+
concurrent-ruby (1.1.9)
|
18
25
|
declarative (0.0.20)
|
19
|
-
|
20
|
-
|
26
|
+
faraday (1.4.2)
|
27
|
+
faraday-em_http (~> 1.0)
|
28
|
+
faraday-em_synchrony (~> 1.0)
|
29
|
+
faraday-excon (~> 1.1)
|
30
|
+
faraday-net_http (~> 1.0)
|
31
|
+
faraday-net_http_persistent (~> 1.1)
|
21
32
|
multipart-post (>= 1.2, < 3)
|
22
|
-
ruby2_keywords
|
23
|
-
|
33
|
+
ruby2_keywords (>= 0.0.4)
|
34
|
+
faraday-em_http (1.0.0)
|
35
|
+
faraday-em_synchrony (1.0.0)
|
36
|
+
faraday-excon (1.1.0)
|
37
|
+
faraday-net_http (1.0.1)
|
38
|
+
faraday-net_http_persistent (1.1.0)
|
39
|
+
gems (1.2.0)
|
40
|
+
google-api-client (0.53.0)
|
41
|
+
google-apis-core (~> 0.1)
|
42
|
+
google-apis-generator (~> 0.1)
|
43
|
+
google-apis-core (0.3.0)
|
24
44
|
addressable (~> 2.5, >= 2.5.1)
|
25
|
-
googleauth (~> 0.
|
45
|
+
googleauth (~> 0.14)
|
26
46
|
httpclient (>= 2.8.1, < 3.0)
|
27
47
|
mini_mime (~> 1.0)
|
28
48
|
representable (~> 3.0)
|
29
49
|
retriable (>= 2.0, < 4.0)
|
30
50
|
rexml
|
31
|
-
signet (~> 0.
|
32
|
-
|
51
|
+
signet (~> 0.14)
|
52
|
+
webrick
|
53
|
+
google-apis-discovery_v1 (0.4.0)
|
54
|
+
google-apis-core (~> 0.1)
|
55
|
+
google-apis-generator (0.3.0)
|
56
|
+
activesupport (>= 5.0)
|
57
|
+
gems (~> 1.2)
|
58
|
+
google-apis-core (~> 0.1)
|
59
|
+
google-apis-discovery_v1 (~> 0.0)
|
60
|
+
thor (>= 0.20, < 2.a)
|
61
|
+
googleauth (0.16.2)
|
33
62
|
faraday (>= 0.17.3, < 2.0)
|
34
63
|
jwt (>= 1.4, < 3.0)
|
35
64
|
memoist (~> 0.16)
|
@@ -40,39 +69,45 @@ GEM
|
|
40
69
|
mime-types (~> 3.0)
|
41
70
|
multi_xml (>= 0.5.2)
|
42
71
|
httpclient (2.8.3)
|
72
|
+
i18n (1.8.10)
|
73
|
+
concurrent-ruby (~> 1.0)
|
43
74
|
iniparse (1.5.0)
|
44
|
-
jwt (2.2.
|
45
|
-
lt-google-api (0.2.
|
46
|
-
google-api-client
|
47
|
-
googleauth
|
75
|
+
jwt (2.2.3)
|
76
|
+
lt-google-api (0.2.2)
|
77
|
+
google-api-client (~> 0.46)
|
78
|
+
googleauth (~> 0.14)
|
48
79
|
memoist (0.16.2)
|
49
80
|
mime-types (3.3.1)
|
50
81
|
mime-types-data (~> 3.2015)
|
51
|
-
mime-types-data (3.
|
52
|
-
mini_mime (1.0
|
53
|
-
mini_portile2 (2.
|
82
|
+
mime-types-data (3.2021.0225)
|
83
|
+
mini_mime (1.1.0)
|
84
|
+
mini_portile2 (2.5.3)
|
85
|
+
minitest (5.14.4)
|
54
86
|
multi_json (1.15.0)
|
55
87
|
multi_xml (0.6.0)
|
56
88
|
multipart-post (2.1.1)
|
57
|
-
nokogiri (1.
|
58
|
-
mini_portile2 (~> 2.
|
89
|
+
nokogiri (1.11.7)
|
90
|
+
mini_portile2 (~> 2.5.0)
|
91
|
+
racc (~> 1.4)
|
59
92
|
os (1.1.1)
|
60
|
-
overcommit (0.
|
93
|
+
overcommit (0.58.0)
|
61
94
|
childprocess (>= 0.6.3, < 5)
|
62
95
|
iniparse (~> 1.4)
|
63
|
-
|
64
|
-
|
96
|
+
rexml (~> 3.2)
|
97
|
+
parallel (1.20.1)
|
98
|
+
parser (3.0.1.1)
|
65
99
|
ast (~> 2.4.1)
|
66
100
|
public_suffix (4.0.6)
|
101
|
+
racc (1.5.2)
|
67
102
|
rainbow (3.0.0)
|
68
|
-
rake (13.0.
|
69
|
-
regexp_parser (1.
|
70
|
-
representable (3.
|
103
|
+
rake (13.0.3)
|
104
|
+
regexp_parser (2.1.1)
|
105
|
+
representable (3.1.1)
|
71
106
|
declarative (< 0.1.0)
|
72
|
-
|
107
|
+
trailblazer-option (>= 0.1.1, < 0.2.0)
|
73
108
|
uber (< 0.2.0)
|
74
109
|
retriable (3.1.2)
|
75
|
-
rexml (3.2.
|
110
|
+
rexml (3.2.5)
|
76
111
|
rubocop (0.93.1)
|
77
112
|
parallel (~> 1.10)
|
78
113
|
parser (>= 2.7.1.5)
|
@@ -82,18 +117,24 @@ GEM
|
|
82
117
|
rubocop-ast (>= 0.6.0)
|
83
118
|
ruby-progressbar (~> 1.7)
|
84
119
|
unicode-display_width (>= 1.4.0, < 2.0)
|
85
|
-
rubocop-ast (
|
86
|
-
parser (>=
|
87
|
-
ruby-progressbar (1.
|
88
|
-
ruby2_keywords (0.0.
|
120
|
+
rubocop-ast (1.7.0)
|
121
|
+
parser (>= 3.0.1.1)
|
122
|
+
ruby-progressbar (1.11.0)
|
123
|
+
ruby2_keywords (0.0.4)
|
89
124
|
rubyzip (2.3.0)
|
90
|
-
signet (0.
|
125
|
+
signet (0.15.0)
|
91
126
|
addressable (~> 2.3)
|
92
127
|
faraday (>= 0.17.3, < 2.0)
|
93
128
|
jwt (>= 1.5, < 3.0)
|
94
129
|
multi_json (~> 1.10)
|
130
|
+
thor (1.1.0)
|
131
|
+
trailblazer-option (0.1.1)
|
132
|
+
tzinfo (2.0.4)
|
133
|
+
concurrent-ruby (~> 1.0)
|
95
134
|
uber (0.1.0)
|
96
135
|
unicode-display_width (1.7.0)
|
136
|
+
webrick (1.7.0)
|
137
|
+
zeitwerk (2.4.2)
|
97
138
|
|
98
139
|
PLATFORMS
|
99
140
|
ruby
|
@@ -26,10 +26,7 @@ module Lt
|
|
26
26
|
|
27
27
|
def download(mime_type: self.class::MIME_TYPE_EXPORT)
|
28
28
|
retry_attempt ||= 0
|
29
|
-
raw_content = service
|
30
|
-
.export_file(file_id, mime_type)
|
31
|
-
.encode('ASCII-8BIT')
|
32
|
-
.force_encoding('UTF-8')
|
29
|
+
raw_content = service.export_file(file_id, mime_type)&.force_encoding('UTF-8')
|
33
30
|
@content =
|
34
31
|
if block_given?
|
35
32
|
yield raw_content
|
data/lib/lt/lcms/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kuznetsov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|