lt-google-api 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +11 -9
- data/lib/lt/google/api/drive.rb +2 -2
- data/lib/lt/google/api/version.rb +1 -1
- data/lt-google-api.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 792d156e9613ca9fce4229d451f7393002dd8b3afe971175bfac68dd12898622
|
4
|
+
data.tar.gz: 4adc95510a384d2fbf01a2e62b302672c67f09158804cc0d9fdbe1a2f8e459ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78065c646e75ca5eb9a10a7426c423b9ee81364ed851792903f2b1545b6b3d000b18f3c79d8cb2bd95c6e5816fc1dcdf4922536724c89710bf386a289650b901
|
7
|
+
data.tar.gz: 80313bffccf3df4867bc07170e515df3e1e6c7a0ba327214bdd86a7a3b1cb13bd96a48e14f31cfb218954b4bd38527eeecc34136ee8314e85819745a6d3512fa
|
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/lt-google-api/compare/v0.2.
|
7
|
+
## [Unreleased](https://github.com/learningtapestry/lt-google-api/compare/v0.2.2...HEAD)
|
8
|
+
|
9
|
+
## [0.2.1](https://github.com/learningtapestry/lt-lcms/compare/v0.2.1...v0.2.2) - 2020-12-25
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Fix Google API namespace ([#9](https://github.com/learningtapestry/lt-google-api/pull/9))
|
8
14
|
|
9
15
|
## [0.2.1](https://github.com/learningtapestry/lt-lcms/compare/v0.2.0...v0.2.1) - 2020-10-15
|
10
16
|
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lt-google-api (0.
|
5
|
-
google-api-client
|
6
|
-
googleauth
|
4
|
+
lt-google-api (0.2.2)
|
5
|
+
google-api-client (~> 0.46)
|
6
|
+
googleauth (~> 0.14)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -14,9 +14,10 @@ GEM
|
|
14
14
|
childprocess (4.0.0)
|
15
15
|
declarative (0.0.20)
|
16
16
|
declarative-option (0.1.0)
|
17
|
-
faraday (1.0
|
17
|
+
faraday (1.2.0)
|
18
18
|
multipart-post (>= 1.2, < 3)
|
19
|
-
|
19
|
+
ruby2_keywords
|
20
|
+
google-api-client (0.52.0)
|
20
21
|
addressable (~> 2.5, >= 2.5.1)
|
21
22
|
googleauth (~> 0.9)
|
22
23
|
httpclient (>= 2.8.1, < 3.0)
|
@@ -43,13 +44,13 @@ GEM
|
|
43
44
|
overcommit (0.57.0)
|
44
45
|
childprocess (>= 0.6.3, < 5)
|
45
46
|
iniparse (~> 1.4)
|
46
|
-
parallel (1.
|
47
|
+
parallel (1.20.1)
|
47
48
|
parser (2.7.2.0)
|
48
49
|
ast (~> 2.4.1)
|
49
50
|
public_suffix (4.0.6)
|
50
51
|
rainbow (3.0.0)
|
51
|
-
rake (13.0.
|
52
|
-
regexp_parser (
|
52
|
+
rake (13.0.3)
|
53
|
+
regexp_parser (2.0.1)
|
53
54
|
representable (3.0.4)
|
54
55
|
declarative (< 0.1.0)
|
55
56
|
declarative-option (< 0.2.0)
|
@@ -65,9 +66,10 @@ GEM
|
|
65
66
|
rubocop-ast (>= 0.6.0)
|
66
67
|
ruby-progressbar (~> 1.7)
|
67
68
|
unicode-display_width (>= 1.4.0, < 2.0)
|
68
|
-
rubocop-ast (
|
69
|
+
rubocop-ast (1.3.0)
|
69
70
|
parser (>= 2.7.1.5)
|
70
71
|
ruby-progressbar (1.10.1)
|
72
|
+
ruby2_keywords (0.0.2)
|
71
73
|
signet (0.14.0)
|
72
74
|
addressable (~> 2.3)
|
73
75
|
faraday (>= 0.17.3, < 2.0)
|
data/lib/lt/google/api/drive.rb
CHANGED
@@ -37,7 +37,7 @@ module Lt
|
|
37
37
|
else
|
38
38
|
service.copy_file(
|
39
39
|
id,
|
40
|
-
Google::Apis::DriveV3::File.new(name: f.name, parents: [folder_id]),
|
40
|
+
::Google::Apis::DriveV3::File.new(name: f.name, parents: [folder_id]),
|
41
41
|
supports_all_drives: true
|
42
42
|
)
|
43
43
|
end
|
@@ -62,7 +62,7 @@ module Lt
|
|
62
62
|
next if current_files.detect { |f| f.name == file.name }
|
63
63
|
|
64
64
|
# copy if it's a new file
|
65
|
-
new_file = Google::Apis::DriveV3::File.new(name: file.name, parents: [target_id])
|
65
|
+
new_file = ::Google::Apis::DriveV3::File.new(name: file.name, parents: [target_id])
|
66
66
|
service.copy_file(file.id, new_file, supports_all_drives: true)
|
67
67
|
end
|
68
68
|
end
|
data/lt-google-api.gemspec
CHANGED
@@ -33,8 +33,8 @@ 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-api-client'
|
37
|
-
spec.add_dependency 'googleauth'
|
36
|
+
spec.add_dependency 'google-api-client', '~> 0.46'
|
37
|
+
spec.add_dependency 'googleauth', '~> 0.14'
|
38
38
|
|
39
39
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
40
40
|
spec.add_development_dependency 'overcommit', '~> 0.57'
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lt-google-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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: 2020-
|
11
|
+
date: 2020-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.46'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.46'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: googleauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '0.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '0.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|