bps-google-api 0.6.1 → 0.6.2.pre.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 540fa2ba8ad29b21ce50059260754290cbe504473e98223bc3f67350370b463c
4
- data.tar.gz: bdcc41d7094d5c65ce8480a7cecdf254928d9c5fac8489087440925474c58c8d
3
+ metadata.gz: 3289f4d16d65e63d55f50a64eee1f304a9bdc09cbde938f768bd7f21905cb297
4
+ data.tar.gz: bd3b5363ec5fe6612029d8cbf084682384f60db8060f9b67f1b9a2c8230944f2
5
5
  SHA512:
6
- metadata.gz: 54acb149d5d602249ba8b388115dbdc85ff677d1fd05f61a4bfc6c0c20b91514aed548e9e39dd5c61c8c8a34ae577c9b56de5c8ee558a9055d4ade1d627fc05f
7
- data.tar.gz: 62df0a62762edf8eaa409ea92730b01e552c0923df976601559cd0ce5ba86f9a0c4cebe8fc48b444588bd2d060fa0720ff40039b22e0b796db8ca073c49756fb
6
+ metadata.gz: 598ebafb62a6dea9464f51515bf5909438ed0c418398e2a4ecf77d3e9ee3cc71d5694c476a0bd759c06ca0f5089855e0db2ac63987465f43314642bbf382eb13
7
+ data.tar.gz: a0092ecc8d0e6c2e171626eaa33ba307ef653b2a932e3975403a26fa0f976ed33182871d9edcfecfb5536c9ea7b1072a0896f28486aa797a644e63f9c3f648ab
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 3.0.7
data/Gemfile.lock CHANGED
@@ -12,117 +12,109 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- addressable (2.8.4)
15
+ addressable (2.8.6)
16
16
  public_suffix (>= 2.0.2, < 6.0)
17
- ast (2.4.0)
17
+ ast (2.4.2)
18
+ base64 (0.2.0)
18
19
  declarative (0.0.20)
19
- diff-lcs (1.3)
20
- docile (1.3.2)
20
+ diff-lcs (1.5.1)
21
+ docile (1.4.0)
21
22
  exp_retry (0.0.14)
22
- faraday (1.10.3)
23
- faraday-em_http (~> 1.0)
24
- faraday-em_synchrony (~> 1.0)
25
- faraday-excon (~> 1.1)
26
- faraday-httpclient (~> 1.0)
27
- faraday-multipart (~> 1.0)
28
- faraday-net_http (~> 1.0)
29
- faraday-net_http_persistent (~> 1.0)
30
- faraday-patron (~> 1.0)
31
- faraday-rack (~> 1.0)
32
- faraday-retry (~> 1.0)
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-httpclient (1.0.1)
38
- faraday-multipart (1.0.4)
39
- multipart-post (~> 2)
40
- faraday-net_http (1.0.1)
41
- faraday-net_http_persistent (1.2.0)
42
- faraday-patron (1.0.0)
43
- faraday-rack (1.0.0)
44
- faraday-retry (1.0.3)
45
- fileutils (1.7.1)
46
- google-apis-admin_directory_v1 (0.40.0)
47
- google-apis-core (>= 0.11.0, < 2.a)
48
- google-apis-calendar_v3 (0.27.0)
49
- google-apis-core (>= 0.11.0, < 2.a)
50
- google-apis-core (0.11.0)
23
+ faraday (2.9.0)
24
+ faraday-net_http (>= 2.0, < 3.2)
25
+ faraday-net_http (3.1.0)
26
+ net-http
27
+ fileutils (1.7.2)
28
+ google-apis-admin_directory_v1 (0.54.0)
29
+ google-apis-core (>= 0.14.0, < 2.a)
30
+ google-apis-calendar_v3 (0.40.0)
31
+ google-apis-core (>= 0.14.0, < 2.a)
32
+ google-apis-core (0.15.0)
51
33
  addressable (~> 2.5, >= 2.5.1)
52
- googleauth (>= 0.16.2, < 2.a)
34
+ googleauth (~> 1.9)
53
35
  httpclient (>= 2.8.1, < 3.a)
54
36
  mini_mime (~> 1.0)
55
37
  representable (~> 3.0)
56
38
  retriable (>= 2.0, < 4.a)
57
39
  rexml
58
- webrick
59
- google-apis-groupssettings_v1 (0.13.0)
60
- google-apis-core (>= 0.11.0, < 2.a)
61
- googleauth (1.1.3)
62
- faraday (>= 0.17.3, < 3.a)
40
+ google-apis-groupssettings_v1 (0.15.0)
41
+ google-apis-core (>= 0.14.0, < 2.a)
42
+ google-cloud-env (2.1.1)
43
+ faraday (>= 1.0, < 3.a)
44
+ googleauth (1.11.0)
45
+ faraday (>= 1.0, < 3.a)
46
+ google-cloud-env (~> 2.1)
63
47
  jwt (>= 1.4, < 3.0)
64
- memoist (~> 0.16)
65
48
  multi_json (~> 1.11)
66
49
  os (>= 0.9, < 2.0)
67
50
  signet (>= 0.16, < 2.a)
68
51
  httpclient (2.8.3)
69
- jaro_winkler (1.5.3)
70
- json (2.3.1)
71
- jwt (2.7.0)
72
- memoist (0.16.2)
73
- mini_mime (1.1.2)
52
+ jwt (2.8.1)
53
+ base64
54
+ mini_mime (1.1.5)
74
55
  multi_json (1.15.0)
75
- multipart-post (2.3.0)
56
+ net-http (0.4.1)
57
+ uri
76
58
  os (1.1.4)
77
- parallel (1.17.0)
78
- parser (2.6.3.0)
79
- ast (~> 2.4.0)
80
- public_suffix (4.0.7)
81
- rainbow (3.0.0)
59
+ parallel (1.24.0)
60
+ parser (3.3.1.0)
61
+ ast (~> 2.4.1)
62
+ racc
63
+ public_suffix (5.0.5)
64
+ racc (1.7.3)
65
+ rainbow (3.1.1)
66
+ regexp_parser (2.9.2)
82
67
  representable (3.2.0)
83
68
  declarative (< 0.1.0)
84
69
  trailblazer-option (>= 0.1.1, < 0.2.0)
85
70
  uber (< 0.2.0)
86
71
  retriable (3.1.2)
87
- rexml (3.2.5)
88
- rspec (3.8.0)
89
- rspec-core (~> 3.8.0)
90
- rspec-expectations (~> 3.8.0)
91
- rspec-mocks (~> 3.8.0)
92
- rspec-core (3.8.1)
93
- rspec-support (~> 3.8.0)
94
- rspec-expectations (3.8.4)
72
+ rexml (3.2.8)
73
+ strscan (>= 3.0.9)
74
+ rspec (3.13.0)
75
+ rspec-core (~> 3.13.0)
76
+ rspec-expectations (~> 3.13.0)
77
+ rspec-mocks (~> 3.13.0)
78
+ rspec-core (3.13.0)
79
+ rspec-support (~> 3.13.0)
80
+ rspec-expectations (3.13.0)
95
81
  diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.8.0)
97
- rspec-mocks (3.8.1)
82
+ rspec-support (~> 3.13.0)
83
+ rspec-mocks (3.13.1)
98
84
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.8.0)
100
- rspec-support (3.8.2)
101
- rubocop (0.71.0)
102
- jaro_winkler (~> 1.5.1)
85
+ rspec-support (~> 3.13.0)
86
+ rspec-support (3.13.1)
87
+ rubocop (0.93.1)
103
88
  parallel (~> 1.10)
104
- parser (>= 2.6)
89
+ parser (>= 2.7.1.5)
105
90
  rainbow (>= 2.2.2, < 4.0)
91
+ regexp_parser (>= 1.8)
92
+ rexml
93
+ rubocop-ast (>= 0.6.0)
106
94
  ruby-progressbar (~> 1.7)
107
- unicode-display_width (>= 1.4.0, < 1.7)
108
- ruby-progressbar (1.10.1)
109
- ruby2_keywords (0.0.5)
110
- signet (0.16.1)
95
+ unicode-display_width (>= 1.4.0, < 2.0)
96
+ rubocop-ast (1.31.3)
97
+ parser (>= 3.3.1.0)
98
+ ruby-progressbar (1.13.0)
99
+ signet (0.19.0)
111
100
  addressable (~> 2.8)
112
- faraday (>= 0.17.5, < 3.0)
101
+ faraday (>= 0.17.5, < 3.a)
113
102
  jwt (>= 1.5, < 3.0)
114
103
  multi_json (~> 1.10)
115
- simplecov (0.16.1)
104
+ simplecov (0.22.0)
116
105
  docile (~> 1.1)
117
- json (>= 1.8, < 3)
118
- simplecov-html (~> 0.10.0)
119
- simplecov-html (0.10.2)
106
+ simplecov-html (~> 0.11)
107
+ simplecov_json_formatter (~> 0.1)
108
+ simplecov-html (0.12.3)
109
+ simplecov_json_formatter (0.1.4)
110
+ strscan (3.1.0)
120
111
  trailblazer-option (0.1.2)
121
112
  uber (0.1.0)
122
- unicode-display_width (1.6.0)
123
- webrick (1.8.1)
113
+ unicode-display_width (1.8.0)
114
+ uri (0.13.0)
124
115
 
125
116
  PLATFORMS
117
+ arm64-darwin-23
126
118
  ruby
127
119
 
128
120
  DEPENDENCIES
@@ -132,4 +124,4 @@ DEPENDENCIES
132
124
  simplecov (~> 0.16, >= 0.16.1)
133
125
 
134
126
  BUNDLED WITH
135
- 1.17.3
127
+ 2.5.10
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'bps-google-api'
5
- s.version = '0.6.1'
6
- s.date = '2023-04-10'
5
+ s.version = '0.6.2-1'
6
+ s.date = '2024-05-17'
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'
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.require_paths = %w[lib]
14
14
  s.files = `git ls-files`.split("\n")
15
15
 
16
- s.required_ruby_version = '>= 2.4'
16
+ s.required_ruby_version = '>= 3.0'
17
17
 
18
18
  s.add_runtime_dependency 'exp_retry', '~> 0.0.13'
19
19
  s.add_runtime_dependency 'fileutils', '~> 1.4', '>= 1.4.1'
@@ -21,8 +21,8 @@ class GoogleAPI
21
21
  GoogleAPI.configuration.local_path('tmp', 'run', 'last_page_token')
22
22
  end
23
23
 
24
- def create(calendar_id, event_options = {})
25
- call(:insert_event, calendar_id, event(event_options), conference_data_version: 1)
24
+ def create(calendar_id, **event_options)
25
+ call(:insert_event, calendar_id, event(**event_options), conference_data_version: 1)
26
26
  end
27
27
 
28
28
  def list(calendar_id, max_results: 2500, page_token: nil)
@@ -49,12 +49,12 @@ class GoogleAPI
49
49
  call(:get_event, calendar_id, event_id)
50
50
  end
51
51
 
52
- def patch(calendar_id, event_id, patch_options = {})
53
- call(:patch_event, calendar_id, event_id, patch_options, conference_data_version: 1)
52
+ def patch(calendar_id, event_id, **patch_options)
53
+ call(:patch_event, calendar_id, event_id, **patch_options, conference_data_version: 1)
54
54
  end
55
55
 
56
- def update(calendar_id, event_id, event_options = {})
57
- call(:update_event, calendar_id, event_id, event(event_options), conference_data_version: 1)
56
+ def update(calendar_id, event_id, **event_options)
57
+ call(:update_event, calendar_id, event_id, event(**event_options), conference_data_version: 1)
58
58
  end
59
59
 
60
60
  def delete(calendar_id, event_id)
@@ -21,20 +21,20 @@ class GoogleAPI
21
21
  self.class.api.list_all(calendar_id)
22
22
  end
23
23
 
24
- def create(event_options = {})
25
- self.class.api.create(calendar_id, event_options)
24
+ def create(**event_options)
25
+ self.class.api.create(calendar_id, **event_options)
26
26
  end
27
27
 
28
28
  def get(event_id)
29
29
  self.class.api.get(calendar_id, event_id)
30
30
  end
31
31
 
32
- def patch(event_id, event_options = {})
33
- self.class.api.patch(calendar_id, event_id, event_options)
32
+ def patch(event_id, **event_options)
33
+ self.class.api.patch(calendar_id, event_id, **event_options)
34
34
  end
35
35
 
36
- def update(event_id, event_options = {})
37
- self.class.api.update(calendar_id, event_id, event_options)
36
+ def update(event_id, **event_options)
37
+ self.class.api.update(calendar_id, event_id, **event_options)
38
38
  end
39
39
 
40
40
  def delete(event_id)
@@ -19,12 +19,12 @@ class GoogleAPI
19
19
  self.class.api.get(calendar_id, event_id)
20
20
  end
21
21
 
22
- def patch(patch_options = {})
23
- self.class.api.patch(calendar_id, event_id, patch_options)
22
+ def patch(** patch_options)
23
+ self.class.api.patch(calendar_id, event_id, ** patch_options)
24
24
  end
25
25
 
26
- def update(event_options = {})
27
- self.class.api.update(calendar_id, event_id, event_options)
26
+ def update(**event_options)
27
+ self.class.api.update(calendar_id, event_id, **event_options)
28
28
  end
29
29
 
30
30
  def delete
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.6.1
4
+ version: 0.6.2.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-10 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exp_retry
@@ -199,7 +199,7 @@ homepage: http://rubygems.org/gems/bps-google-api
199
199
  licenses:
200
200
  - GPL-3.0
201
201
  metadata: {}
202
- post_install_message:
202
+ post_install_message:
203
203
  rdoc_options: []
204
204
  require_paths:
205
205
  - lib
@@ -207,15 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: '2.4'
210
+ version: '3.0'
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ">="
213
+ - - ">"
214
214
  - !ruby/object:Gem::Version
215
- version: '0'
215
+ version: 1.3.1
216
216
  requirements: []
217
- rubygems_version: 3.2.30
218
- signing_key:
217
+ rubygems_version: 3.2.33
218
+ signing_key:
219
219
  specification_version: 4
220
220
  summary: Configured Google API
221
221
  test_files: []