lt-google-api 0.1.0 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +78 -0
- data/.github/workflows/rubocop-analysis.yml +42 -0
- data/.gitignore +0 -1
- data/.rubocop.yml +3 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +45 -0
- data/Gemfile.lock +130 -0
- data/README.md +3 -0
- data/lib/lt/google/api/drive.rb +26 -15
- data/lib/lt/google/api/version.rb +1 -1
- data/lt-google-api.gemspec +7 -7
- metadata +27 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e7855c5ab40fb80281ba58f130333ad81631cbaa24dd9b5d64b79d40fc8bc8
|
4
|
+
data.tar.gz: fb1393d24c6a05c168da9cd43bc460a4439424cdbb9f233f86b7df274aca474a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec024f4b0490b44dccaf9232dbebac79c466fab348ac4b0bd16e61b2fbda688c57d32c998938c2abf6c3638ed39fa039ac186706358112c26f31569380f089d
|
7
|
+
data.tar.gz: 3d100192c9e212ed8046c44b657f8660e42e0a0b839ae57a988c08b060e8ed1ae290e97cbc9469040d09fbd67f399bf768dba73f99674c8ed5e17801c7d1f1ec
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
version: "2"
|
2
|
+
checks:
|
3
|
+
argument-count:
|
4
|
+
enabled: true
|
5
|
+
config:
|
6
|
+
threshold: 5
|
7
|
+
complex-logic:
|
8
|
+
enabled: true
|
9
|
+
config:
|
10
|
+
threshold: 4
|
11
|
+
file-lines:
|
12
|
+
enabled: true
|
13
|
+
config:
|
14
|
+
threshold: 1000
|
15
|
+
method-complexity:
|
16
|
+
enabled: true
|
17
|
+
config:
|
18
|
+
threshold: 20
|
19
|
+
method-count:
|
20
|
+
enabled: true
|
21
|
+
config:
|
22
|
+
threshold: 45
|
23
|
+
method-lines:
|
24
|
+
enabled: false
|
25
|
+
nested-control-flow:
|
26
|
+
enabled: true
|
27
|
+
config:
|
28
|
+
threshold: 4
|
29
|
+
return-statements:
|
30
|
+
enabled: true
|
31
|
+
config:
|
32
|
+
threshold: 4
|
33
|
+
similar-code:
|
34
|
+
enabled: true
|
35
|
+
config:
|
36
|
+
threshold: 75
|
37
|
+
identical-code:
|
38
|
+
enabled: true
|
39
|
+
config:
|
40
|
+
threshold: 25
|
41
|
+
engines:
|
42
|
+
duplication:
|
43
|
+
# Duplication analyzes JavaScript (including JSX and ES6), PHP, Python,
|
44
|
+
# and Ruby code for structural similarities.
|
45
|
+
enabled: true
|
46
|
+
config:
|
47
|
+
languages:
|
48
|
+
- ruby
|
49
|
+
- javascript
|
50
|
+
fixme:
|
51
|
+
enabled: true
|
52
|
+
config:
|
53
|
+
strings:
|
54
|
+
- BUG
|
55
|
+
- FIXME
|
56
|
+
- HACK
|
57
|
+
rubocop:
|
58
|
+
# Style and quality checks for Ruby code.
|
59
|
+
# Includes support for modern Rubies (2.2+).
|
60
|
+
enabled: true
|
61
|
+
channel: rubocop-0-93
|
62
|
+
exclude_paths:
|
63
|
+
- vendor/
|
64
|
+
ratings:
|
65
|
+
# to receive a letter grade for a particular file or overall GPA for your project
|
66
|
+
paths:
|
67
|
+
- "app/**/*"
|
68
|
+
- "lib/**/*"
|
69
|
+
- "**.rb"
|
70
|
+
- "**.js"
|
71
|
+
exclude_paths:
|
72
|
+
- app/assets/javascripts/vendor/**/*
|
73
|
+
- features/**/*
|
74
|
+
- spec/**/*
|
75
|
+
- vendor/**/*
|
76
|
+
- node_modules/**/*
|
77
|
+
- db/**/*
|
78
|
+
- config/**/*
|
@@ -0,0 +1,42 @@
|
|
1
|
+
name: "Rubocop"
|
2
|
+
|
3
|
+
on: pull_request
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
rubocop:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
strategy:
|
9
|
+
fail-fast: false
|
10
|
+
|
11
|
+
steps:
|
12
|
+
- name: Checkout repository
|
13
|
+
uses: actions/checkout@v2
|
14
|
+
|
15
|
+
# If running on a self-hosted runner, check it meets the requirements
|
16
|
+
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
|
17
|
+
- name: Set up Ruby
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 2.6
|
21
|
+
|
22
|
+
- name: Intall legacy bundler version
|
23
|
+
run: gem install bundler -v 1.17.3
|
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 --version 0.4.0 --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
|
+
|
39
|
+
- name: Upload Sarif output
|
40
|
+
uses: github/codeql-action/upload-sarif@v1
|
41
|
+
with:
|
42
|
+
sarif_file: rubocop.sarif
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -12,7 +12,8 @@ AllCops:
|
|
12
12
|
- bin/*
|
13
13
|
- db/schema.rb
|
14
14
|
- node_modules/**/*
|
15
|
-
|
15
|
+
NewCops: enable
|
16
|
+
TargetRubyVersion: 2.6
|
16
17
|
|
17
18
|
Layout/MultilineMethodCallIndentation:
|
18
19
|
EnforcedStyle: indented_relative_to_receiver
|
@@ -44,7 +45,7 @@ Metrics/MethodLength:
|
|
44
45
|
Metrics/PerceivedComplexity:
|
45
46
|
Max: 9
|
46
47
|
|
47
|
-
Naming/
|
48
|
+
Naming/MethodParameterName:
|
48
49
|
MinNameLength: 2
|
49
50
|
|
50
51
|
Style/AndOr:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5
|
1
|
+
2.6.5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased](https://github.com/learningtapestry/lt-google-api/compare/v0.2.3...HEAD)
|
8
|
+
|
9
|
+
## [0.2.3](https://github.com/learningtapestry/lt-lcms/compare/v0.2.2...v0.2.3) - 2021-07-02
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Fix Google API query when object name contains special characters like " ' " ([#11](https://github.com/learningtapestry/lt-google-api/pull/11))
|
14
|
+
|
15
|
+
## [0.2.2](https://github.com/learningtapestry/lt-lcms/compare/v0.2.1...v0.2.2) - 2020-12-25
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
|
19
|
+
- Fix Google API namespace ([#9](https://github.com/learningtapestry/lt-google-api/pull/9))
|
20
|
+
|
21
|
+
## [0.2.1](https://github.com/learningtapestry/lt-lcms/compare/v0.2.0...v0.2.1) - 2020-10-15
|
22
|
+
|
23
|
+
### Fixed
|
24
|
+
|
25
|
+
- Correctly fetches content of Google Shared Drives ([#8](https://github.com/learningtapestry/lt-google-api/pull/8))
|
26
|
+
|
27
|
+
## [0.2.0](https://github.com/learningtapestry/lt-lcms/compare/v0.1.1...v0.2.0) - 2020-10-15
|
28
|
+
|
29
|
+
### Added
|
30
|
+
|
31
|
+
- Add support for Google Shared Drives ([#7](https://github.com/learningtapestry/lt-google-api/pull/7))
|
32
|
+
|
33
|
+
## [0.1.1](https://github.com/learningtapestry/lt-lcms/compare/v0.1.0...v0.1.1) - 2020-01-13
|
34
|
+
|
35
|
+
### Added
|
36
|
+
|
37
|
+
- Add Codeship and Codeclimate integrations [@paranoicsan](https://github.com/paranoicsan)
|
38
|
+
|
39
|
+
### Fixed
|
40
|
+
|
41
|
+
- Ignores files marked as TRASHED on fetch IDs [@paranoicsan](https://github.com/paranoicsan)
|
42
|
+
|
43
|
+
## [0.1.0] - 2019-03-12
|
44
|
+
|
45
|
+
- Initial release
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
lt-google-api (0.2.3)
|
5
|
+
google-api-client (~> 0.46)
|
6
|
+
googleauth (~> 0.14)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (6.1.4)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
zeitwerk (~> 2.3)
|
17
|
+
addressable (2.7.0)
|
18
|
+
public_suffix (>= 2.0.2, < 5.0)
|
19
|
+
ast (2.4.2)
|
20
|
+
childprocess (4.1.0)
|
21
|
+
concurrent-ruby (1.1.9)
|
22
|
+
declarative (0.0.20)
|
23
|
+
faraday (1.4.3)
|
24
|
+
faraday-em_http (~> 1.0)
|
25
|
+
faraday-em_synchrony (~> 1.0)
|
26
|
+
faraday-excon (~> 1.1)
|
27
|
+
faraday-net_http (~> 1.0)
|
28
|
+
faraday-net_http_persistent (~> 1.1)
|
29
|
+
multipart-post (>= 1.2, < 3)
|
30
|
+
ruby2_keywords (>= 0.0.4)
|
31
|
+
faraday-em_http (1.0.0)
|
32
|
+
faraday-em_synchrony (1.0.0)
|
33
|
+
faraday-excon (1.1.0)
|
34
|
+
faraday-net_http (1.0.1)
|
35
|
+
faraday-net_http_persistent (1.1.0)
|
36
|
+
gems (1.2.0)
|
37
|
+
google-api-client (0.53.0)
|
38
|
+
google-apis-core (~> 0.1)
|
39
|
+
google-apis-generator (~> 0.1)
|
40
|
+
google-apis-core (0.4.0)
|
41
|
+
addressable (~> 2.5, >= 2.5.1)
|
42
|
+
googleauth (>= 0.16.2, < 2.a)
|
43
|
+
httpclient (>= 2.8.1, < 3.a)
|
44
|
+
mini_mime (~> 1.0)
|
45
|
+
representable (~> 3.0)
|
46
|
+
retriable (>= 2.0, < 4.a)
|
47
|
+
rexml
|
48
|
+
webrick
|
49
|
+
google-apis-discovery_v1 (0.5.0)
|
50
|
+
google-apis-core (>= 0.3, < 2.a)
|
51
|
+
google-apis-generator (0.4.0)
|
52
|
+
activesupport (>= 5.0)
|
53
|
+
gems (~> 1.2)
|
54
|
+
google-apis-core (>= 0.4, < 2.a)
|
55
|
+
google-apis-discovery_v1 (~> 0.5)
|
56
|
+
thor (>= 0.20, < 2.a)
|
57
|
+
googleauth (0.16.2)
|
58
|
+
faraday (>= 0.17.3, < 2.0)
|
59
|
+
jwt (>= 1.4, < 3.0)
|
60
|
+
memoist (~> 0.16)
|
61
|
+
multi_json (~> 1.11)
|
62
|
+
os (>= 0.9, < 2.0)
|
63
|
+
signet (~> 0.14)
|
64
|
+
httpclient (2.8.3)
|
65
|
+
i18n (1.8.10)
|
66
|
+
concurrent-ruby (~> 1.0)
|
67
|
+
iniparse (1.5.0)
|
68
|
+
jwt (2.2.3)
|
69
|
+
memoist (0.16.2)
|
70
|
+
mini_mime (1.1.0)
|
71
|
+
minitest (5.14.4)
|
72
|
+
multi_json (1.15.0)
|
73
|
+
multipart-post (2.1.1)
|
74
|
+
os (1.1.1)
|
75
|
+
overcommit (0.58.0)
|
76
|
+
childprocess (>= 0.6.3, < 5)
|
77
|
+
iniparse (~> 1.4)
|
78
|
+
rexml (~> 3.2)
|
79
|
+
parallel (1.20.1)
|
80
|
+
parser (3.0.1.1)
|
81
|
+
ast (~> 2.4.1)
|
82
|
+
public_suffix (4.0.6)
|
83
|
+
rainbow (3.0.0)
|
84
|
+
rake (13.0.3)
|
85
|
+
regexp_parser (2.1.1)
|
86
|
+
representable (3.1.1)
|
87
|
+
declarative (< 0.1.0)
|
88
|
+
trailblazer-option (>= 0.1.1, < 0.2.0)
|
89
|
+
uber (< 0.2.0)
|
90
|
+
retriable (3.1.2)
|
91
|
+
rexml (3.2.5)
|
92
|
+
rubocop (0.93.1)
|
93
|
+
parallel (~> 1.10)
|
94
|
+
parser (>= 2.7.1.5)
|
95
|
+
rainbow (>= 2.2.2, < 4.0)
|
96
|
+
regexp_parser (>= 1.8)
|
97
|
+
rexml
|
98
|
+
rubocop-ast (>= 0.6.0)
|
99
|
+
ruby-progressbar (~> 1.7)
|
100
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
101
|
+
rubocop-ast (1.7.0)
|
102
|
+
parser (>= 3.0.1.1)
|
103
|
+
ruby-progressbar (1.11.0)
|
104
|
+
ruby2_keywords (0.0.4)
|
105
|
+
signet (0.15.0)
|
106
|
+
addressable (~> 2.3)
|
107
|
+
faraday (>= 0.17.3, < 2.0)
|
108
|
+
jwt (>= 1.5, < 3.0)
|
109
|
+
multi_json (~> 1.10)
|
110
|
+
thor (1.1.0)
|
111
|
+
trailblazer-option (0.1.1)
|
112
|
+
tzinfo (2.0.4)
|
113
|
+
concurrent-ruby (~> 1.0)
|
114
|
+
uber (0.1.0)
|
115
|
+
unicode-display_width (1.7.0)
|
116
|
+
webrick (1.7.0)
|
117
|
+
zeitwerk (2.4.2)
|
118
|
+
|
119
|
+
PLATFORMS
|
120
|
+
ruby
|
121
|
+
|
122
|
+
DEPENDENCIES
|
123
|
+
bundler (~> 1.16)
|
124
|
+
lt-google-api!
|
125
|
+
overcommit (~> 0.57)
|
126
|
+
rake (~> 13)
|
127
|
+
rubocop (~> 0.93.1)
|
128
|
+
|
129
|
+
BUNDLED WITH
|
130
|
+
1.17.3
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Lt::Google::Api
|
2
2
|
|
3
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/14c045858a1bdf132c3f/maintainability)](https://codeclimate.com/github/learningtapestry/lt-google-api/maintainability)
|
4
|
+
[![Codeship Status for learningtapestry/lt-google-api](https://app.codeship.com/projects/c23dbbf0-26f8-0137-d557-666da1a91ebd/status?branch=master)](https://app.codeship.com/projects/330486)
|
5
|
+
|
3
6
|
## Installation
|
4
7
|
|
5
8
|
Add this line to your application's Gemfile:
|
data/lib/lt/google/api/drive.rb
CHANGED
@@ -4,7 +4,7 @@ module Lt
|
|
4
4
|
module Google
|
5
5
|
module Api
|
6
6
|
class Drive
|
7
|
-
FOLDER_RE = %r{/drive/(.*/)?folders/([
|
7
|
+
FOLDER_RE = %r{/drive/(.*/)?folders/([^/?]+)/?}.freeze
|
8
8
|
MIME_FILE = 'application/vnd.google-apps.document'
|
9
9
|
MIME_FOLDER = 'application/vnd.google-apps.folder'
|
10
10
|
|
@@ -31,11 +31,15 @@ module Lt
|
|
31
31
|
|
32
32
|
def copy(file_ids, folder_id)
|
33
33
|
file_ids.each do |id|
|
34
|
-
service.get_file(id, fields: 'name') do |f, err|
|
34
|
+
service.get_file(id, fields: 'name', supports_all_drives: true) do |f, err|
|
35
35
|
if err.present?
|
36
36
|
Rails.logger.error "Failed to get file with #{id}, #{err.message}"
|
37
37
|
else
|
38
|
-
service.copy_file(
|
38
|
+
service.copy_file(
|
39
|
+
id,
|
40
|
+
::Google::Apis::DriveV3::File.new(name: f.name, parents: [folder_id]),
|
41
|
+
supports_all_drives: true
|
42
|
+
)
|
39
43
|
end
|
40
44
|
end
|
41
45
|
end
|
@@ -50,7 +54,7 @@ module Lt
|
|
50
54
|
current_files.each do |file|
|
51
55
|
next if new_files.detect { |f| f.name == file.name }
|
52
56
|
|
53
|
-
service.delete_file(file.id)
|
57
|
+
service.delete_file(file.id, supports_all_drives: true)
|
54
58
|
end
|
55
59
|
|
56
60
|
new_files.each do |file|
|
@@ -58,8 +62,8 @@ module Lt
|
|
58
62
|
next if current_files.detect { |f| f.name == file.name }
|
59
63
|
|
60
64
|
# copy if it's a new file
|
61
|
-
new_file = Google::Apis::DriveV3::File.new(name: file.name, parents: [target_id])
|
62
|
-
service.copy_file(file.id, new_file)
|
65
|
+
new_file = ::Google::Apis::DriveV3::File.new(name: file.name, parents: [target_id])
|
66
|
+
service.copy_file(file.id, new_file, supports_all_drives: true)
|
63
67
|
end
|
64
68
|
end
|
65
69
|
|
@@ -73,7 +77,7 @@ module Lt
|
|
73
77
|
mime_type: MIME_FOLDER,
|
74
78
|
parents: [parent_id]
|
75
79
|
)
|
76
|
-
service.create_file(metadata)
|
80
|
+
service.create_file(metadata, supports_all_drives: true)&.id
|
77
81
|
end
|
78
82
|
|
79
83
|
def list_file_ids_in(folder_id, mime_type: MIME_FILE, with_subfolders: true)
|
@@ -81,10 +85,13 @@ module Lt
|
|
81
85
|
page_token = nil
|
82
86
|
loop do
|
83
87
|
response = service.list_files(
|
84
|
-
q: "
|
88
|
+
q: %("#{folder_id}" in parents and trashed = false"),
|
85
89
|
fields: 'files(id, mime_type), nextPageToken',
|
86
|
-
page_token: page_token
|
90
|
+
page_token: page_token.to_s,
|
91
|
+
include_items_from_all_drives: true,
|
92
|
+
supports_all_drives: true
|
87
93
|
)
|
94
|
+
break if response.nil?
|
88
95
|
|
89
96
|
response.files.each do |f|
|
90
97
|
case f.mime_type
|
@@ -102,18 +109,22 @@ module Lt
|
|
102
109
|
|
103
110
|
def fetch_folders(name, folder_id)
|
104
111
|
service.list_files(
|
105
|
-
q: "
|
106
|
-
fields: 'files(id)'
|
107
|
-
|
112
|
+
q: %("#{folder_id}" in parents and name = "#{name}" and mimeType = "#{MIME_FOLDER}" and trashed = false),
|
113
|
+
fields: 'files(id)',
|
114
|
+
include_items_from_all_drives: true,
|
115
|
+
supports_all_drives: true
|
116
|
+
)&.files
|
108
117
|
end
|
109
118
|
|
110
119
|
private
|
111
120
|
|
112
121
|
def list(folder_id)
|
113
122
|
service.list_files(
|
114
|
-
q: "
|
115
|
-
fields: 'files(id, name)'
|
116
|
-
|
123
|
+
q: %("#{folder_id}" in parents and mimeType = "#{MIME_FILE}" and trashed = false),
|
124
|
+
fields: 'files(id, name)',
|
125
|
+
include_items_from_all_drives: true,
|
126
|
+
supports_all_drives: true
|
127
|
+
)&.files
|
117
128
|
end
|
118
129
|
end
|
119
130
|
end
|
data/lt-google-api.gemspec
CHANGED
@@ -15,6 +15,8 @@ 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'
|
19
|
+
|
18
20
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
21
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
22
|
if spec.respond_to?(:metadata)
|
@@ -31,13 +33,11 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
31
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
34
|
spec.require_paths = ['lib']
|
33
35
|
|
34
|
-
spec.add_dependency 'google-api-client'
|
35
|
-
spec.add_dependency 'googleauth'
|
36
|
+
spec.add_dependency 'google-api-client', '~> 0.46'
|
37
|
+
spec.add_dependency 'googleauth', '~> 0.14'
|
36
38
|
|
37
|
-
spec.add_development_dependency 'brakeman'
|
38
39
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
39
|
-
spec.add_development_dependency '
|
40
|
-
spec.add_development_dependency '
|
41
|
-
spec.add_development_dependency '
|
42
|
-
spec.add_development_dependency 'rubocop'
|
40
|
+
spec.add_development_dependency 'overcommit', '~> 0.57'
|
41
|
+
spec.add_development_dependency 'rake', '~> 13'
|
42
|
+
spec.add_development_dependency 'rubocop', '~> 0.93.1'
|
43
43
|
end
|
metadata
CHANGED
@@ -1,57 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lt-google-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.3
|
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: 2021-07-02 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
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: brakeman
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
40
|
+
version: '0.14'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: bundler
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,62 +52,48 @@ dependencies:
|
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '1.16'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bundler-audit
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
56
|
name: overcommit
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
86
58
|
requirements:
|
87
59
|
- - "~>"
|
88
60
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
61
|
+
version: '0.57'
|
90
62
|
type: :development
|
91
63
|
prerelease: false
|
92
64
|
version_requirements: !ruby/object:Gem::Requirement
|
93
65
|
requirements:
|
94
66
|
- - "~>"
|
95
67
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
68
|
+
version: '0.57'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: rake
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
100
72
|
requirements:
|
101
73
|
- - "~>"
|
102
74
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
75
|
+
version: '13'
|
104
76
|
type: :development
|
105
77
|
prerelease: false
|
106
78
|
version_requirements: !ruby/object:Gem::Requirement
|
107
79
|
requirements:
|
108
80
|
- - "~>"
|
109
81
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
82
|
+
version: '13'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: rubocop
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
|
-
- - "
|
87
|
+
- - "~>"
|
116
88
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
89
|
+
version: 0.93.1
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
93
|
requirements:
|
122
|
-
- - "
|
94
|
+
- - "~>"
|
123
95
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
96
|
+
version: 0.93.1
|
125
97
|
description: ''
|
126
98
|
email:
|
127
99
|
- alexander@learningtapeestry.com
|
@@ -130,12 +102,16 @@ executables: []
|
|
130
102
|
extensions: []
|
131
103
|
extra_rdoc_files: []
|
132
104
|
files:
|
105
|
+
- ".codeclimate.yml"
|
106
|
+
- ".github/workflows/rubocop-analysis.yml"
|
133
107
|
- ".gitignore"
|
134
108
|
- ".overcommit.yml"
|
135
109
|
- ".rubocop.yml"
|
136
110
|
- ".ruby-gemset"
|
137
111
|
- ".ruby-version"
|
112
|
+
- CHANGELOG.md
|
138
113
|
- Gemfile
|
114
|
+
- Gemfile.lock
|
139
115
|
- LICENSE
|
140
116
|
- README.md
|
141
117
|
- Rakefile
|
@@ -154,7 +130,7 @@ licenses:
|
|
154
130
|
- Apache-2.0
|
155
131
|
metadata:
|
156
132
|
allowed_push_host: https://rubygems.org
|
157
|
-
post_install_message:
|
133
|
+
post_install_message:
|
158
134
|
rdoc_options: []
|
159
135
|
require_paths:
|
160
136
|
- lib
|
@@ -162,16 +138,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
138
|
requirements:
|
163
139
|
- - ">="
|
164
140
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
141
|
+
version: '2.6'
|
166
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
143
|
requirements:
|
168
144
|
- - ">="
|
169
145
|
- !ruby/object:Gem::Version
|
170
146
|
version: '0'
|
171
147
|
requirements: []
|
172
|
-
|
173
|
-
|
174
|
-
signing_key:
|
148
|
+
rubygems_version: 3.0.9
|
149
|
+
signing_key:
|
175
150
|
specification_version: 4
|
176
151
|
summary: Provides the set of classes to simplify work with Google services
|
177
152
|
test_files: []
|