bps-google-api 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +16 -16
- data/Readme.md +6 -0
- data/bps-google-api.gemspec +2 -2
- data/lib/google_api.rb +6 -0
- data/spec/spec_helper.rb +2 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f9ffa3df8c2ddfecc62cfe5a9830ea2c48293aef1952240e9dd5acd12b260ca1
|
4
|
+
data.tar.gz: 1f3079fcec7a957a890fa217ee44e4ddcf664c31c0bc8129502ca70b92b0503f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6412ddc986f1aff995bde999836779c649d9025fd885ab98e7ebb6dd1cc1e35c02f7685648cfa5308069e641e9c1da4bcb435c48a1274ccf7621bfc191849253
|
7
|
+
data.tar.gz: 7745f51650c013b668e1bdb535db57f5957f9ad5cf5b49b785e8280b91f0aeab2bef2f9964c1e6735b50ec87d45b48a954ee89e516098c4f3b36d7b1c8ee348a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bps-google-api (0.4.
|
4
|
+
bps-google-api (0.4.6)
|
5
5
|
exp_retry (~> 0.0.13)
|
6
6
|
fileutils (~> 1.2)
|
7
7
|
google-api-client (~> 0.23.4)
|
@@ -10,17 +10,17 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
addressable (2.
|
14
|
-
public_suffix (>= 2.0.2, <
|
13
|
+
addressable (2.7.0)
|
14
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
15
|
ast (2.4.0)
|
16
|
-
declarative (0.0.
|
16
|
+
declarative (0.0.20)
|
17
17
|
declarative-option (0.1.0)
|
18
18
|
diff-lcs (1.3)
|
19
19
|
docile (1.3.2)
|
20
20
|
exp_retry (0.0.13)
|
21
|
-
faraday (0.
|
21
|
+
faraday (0.17.3)
|
22
22
|
multipart-post (>= 1.2, < 3)
|
23
|
-
fileutils (1.
|
23
|
+
fileutils (1.5.0)
|
24
24
|
google-api-client (0.23.9)
|
25
25
|
addressable (~> 2.5, >= 2.5.1)
|
26
26
|
googleauth (>= 0.5, < 0.7.0)
|
@@ -38,19 +38,19 @@ GEM
|
|
38
38
|
signet (~> 0.7)
|
39
39
|
httpclient (2.8.3)
|
40
40
|
jaro_winkler (1.5.3)
|
41
|
-
json (2.
|
42
|
-
jwt (2.2.
|
43
|
-
memoist (0.16.
|
44
|
-
mime-types (3.
|
41
|
+
json (2.3.1)
|
42
|
+
jwt (2.2.2)
|
43
|
+
memoist (0.16.2)
|
44
|
+
mime-types (3.3.1)
|
45
45
|
mime-types-data (~> 3.2015)
|
46
|
-
mime-types-data (3.
|
47
|
-
multi_json (1.
|
46
|
+
mime-types-data (3.2020.1104)
|
47
|
+
multi_json (1.15.0)
|
48
48
|
multipart-post (2.1.1)
|
49
|
-
os (1.
|
49
|
+
os (1.1.1)
|
50
50
|
parallel (1.17.0)
|
51
51
|
parser (2.6.3.0)
|
52
52
|
ast (~> 2.4.0)
|
53
|
-
public_suffix (
|
53
|
+
public_suffix (4.0.6)
|
54
54
|
rainbow (3.0.0)
|
55
55
|
representable (3.0.4)
|
56
56
|
declarative (< 0.1.0)
|
@@ -78,9 +78,9 @@ GEM
|
|
78
78
|
ruby-progressbar (~> 1.7)
|
79
79
|
unicode-display_width (>= 1.4.0, < 1.7)
|
80
80
|
ruby-progressbar (1.10.1)
|
81
|
-
signet (0.
|
81
|
+
signet (0.14.1)
|
82
82
|
addressable (~> 2.3)
|
83
|
-
faraday (
|
83
|
+
faraday (>= 0.17.3, < 2.0)
|
84
84
|
jwt (>= 1.5, < 3.0)
|
85
85
|
multi_json (~> 1.10)
|
86
86
|
simplecov (0.16.1)
|
data/Readme.md
CHANGED
data/bps-google-api.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'bps-google-api'
|
5
|
-
s.version = '0.4.
|
6
|
-
s.date = '
|
5
|
+
s.version = '0.4.6'
|
6
|
+
s.date = '2021-01-30'
|
7
7
|
s.summary = 'Configured Google API'
|
8
8
|
s.description = 'A configured Google API wrapper.'
|
9
9
|
s.homepage = 'http://rubygems.org/gems/bps-google-api'
|
data/lib/google_api.rb
CHANGED
@@ -29,6 +29,12 @@ class GoogleAPI
|
|
29
29
|
configuration
|
30
30
|
end
|
31
31
|
|
32
|
+
def self.logging!(level = :FATAL)
|
33
|
+
raise ArgumentError, 'Unknown logging level' unless %i[INFO WARN ERROR FATAL].include?(level)
|
34
|
+
|
35
|
+
Google::Apis.logger.level = Logger.const_get(level)
|
36
|
+
end
|
37
|
+
|
32
38
|
# Internal requires
|
33
39
|
require 'google_api/base'
|
34
40
|
require 'google_api/calendar'
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bps-google-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Fiander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: exp_retry
|
@@ -179,8 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
|
183
|
-
rubygems_version: 2.6.14.1
|
182
|
+
rubygems_version: 3.2.7
|
184
183
|
signing_key:
|
185
184
|
specification_version: 4
|
186
185
|
summary: Configured Google API
|