fbe 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -3
  3. data/Gemfile.lock +26 -27
  4. data/lib/fbe/octo.rb +29 -0
  5. data/lib/fbe.rb +1 -1
  6. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d96502169a7e6ed683496261dacef96acb4bf7d413861d043e310e3a4bdc8302
4
- data.tar.gz: 5eea1f292484692f7ce7252546c0f572deb6de4adea8753ba0abd3a6e93bf77d
3
+ metadata.gz: 0672b3f41fa280a30275163479acc52898dacd94cf3772a9627cb9c451c7a1c2
4
+ data.tar.gz: 196176a05a86a3356b91eed8c5ba2ba3f3b805982beaa640cac512b8794a9d7b
5
5
  SHA512:
6
- metadata.gz: feb0e280da5bde5f46f042fb9233d0d6d2c1dc5344ad7c5e7d8cf75b305d3fac27c60f90df0428e6ef5c35e89502e40acd365177eb0754722cc58e70484b846f
7
- data.tar.gz: 262067fa870f2b4881e1715da52f7688b8c8f73cf332578ad24a933efd7e40ee8057592e706d7d60fa207864dfe4b5ccce66f1de1c047e745102733aea1b682a
6
+ metadata.gz: e6be3ae5603941f7655e1ca5ed973d109a34a8ab407e85b47bf960abffa0317f46608fb11d5cb233de3c3b818db02a2bf51ae71fc822020e70b4d3c2ebfc7c0f
7
+ data.tar.gz: 319887a5a13f96d888d4b7e841c4b682d12b1df30e2ee2369c63b75b1b16e04140ba9d3ed16a9332bab70f0836f98cdcd68bca3d1e2409d0de040d3b6401c671
data/Gemfile CHANGED
@@ -27,11 +27,11 @@ gem 'graphql-client'
27
27
  gem 'minitest', '5.25.1', require: false
28
28
  gem 'minitest-reporters', '1.7.1', require: false
29
29
  gem 'rake', '13.2.1', require: false
30
- gem 'rspec-rails', '6.1.4', require: false
31
- gem 'rubocop', '1.65.1', require: false
30
+ gem 'rspec-rails', '7.0.1', require: false
31
+ gem 'rubocop', '1.66.1', require: false
32
32
  gem 'rubocop-performance', '1.21.1', require: false
33
33
  gem 'rubocop-rspec', '3.0.4', require: false
34
34
  gem 'simplecov', '0.22.0', require: false
35
35
  gem 'simplecov-cobertura', '2.1.0', require: false
36
36
  gem 'webmock', '3.23.1', require: false
37
- gem 'yard', '0.9.36', require: false
37
+ gem 'yard', '0.9.37', require: false
data/Gemfile.lock CHANGED
@@ -21,9 +21,9 @@ PATH
21
21
  GEM
22
22
  remote: https://rubygems.org/
23
23
  specs:
24
- actionpack (7.2.0)
25
- actionview (= 7.2.0)
26
- activesupport (= 7.2.0)
24
+ actionpack (7.2.1)
25
+ actionview (= 7.2.1)
26
+ activesupport (= 7.2.1)
27
27
  nokogiri (>= 1.8.5)
28
28
  racc
29
29
  rack (>= 2.2.4, < 3.2)
@@ -32,13 +32,13 @@ GEM
32
32
  rails-dom-testing (~> 2.2)
33
33
  rails-html-sanitizer (~> 1.6)
34
34
  useragent (~> 0.16)
35
- actionview (7.2.0)
36
- activesupport (= 7.2.0)
35
+ actionview (7.2.1)
36
+ activesupport (= 7.2.1)
37
37
  builder (~> 3.1)
38
38
  erubi (~> 1.11)
39
39
  rails-dom-testing (~> 2.2)
40
40
  rails-html-sanitizer (~> 1.6)
41
- activesupport (7.2.0)
41
+ activesupport (7.2.1)
42
42
  base64
43
43
  bigdecimal
44
44
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -142,7 +142,7 @@ GEM
142
142
  typhoeus (~> 1.3)
143
143
  language_server-protocol (3.17.0.3)
144
144
  liquid (5.5.1)
145
- logger (1.6.0)
145
+ logger (1.6.1)
146
146
  loofah (2.22.0)
147
147
  crass (~> 1.0.2)
148
148
  nokogiri (>= 1.12.0)
@@ -193,9 +193,9 @@ GEM
193
193
  rails-html-sanitizer (1.6.0)
194
194
  loofah (~> 2.21)
195
195
  nokogiri (~> 1.14)
196
- railties (7.2.0)
197
- actionpack (= 7.2.0)
198
- activesupport (= 7.2.0)
196
+ railties (7.2.1)
197
+ actionpack (= 7.2.1)
198
+ activesupport (= 7.2.1)
199
199
  irb (~> 1.13)
200
200
  rackup (>= 1.0.0)
201
201
  rake (>= 12.2)
@@ -209,37 +209,36 @@ GEM
209
209
  reline (0.5.9)
210
210
  io-console (~> 0.5)
211
211
  retries (0.0.5)
212
- rexml (3.3.5)
212
+ rexml (3.3.6)
213
213
  strscan
214
- rspec-core (3.13.0)
214
+ rspec-core (3.13.1)
215
215
  rspec-support (~> 3.13.0)
216
- rspec-expectations (3.13.1)
216
+ rspec-expectations (3.13.2)
217
217
  diff-lcs (>= 1.2.0, < 2.0)
218
218
  rspec-support (~> 3.13.0)
219
219
  rspec-mocks (3.13.1)
220
220
  diff-lcs (>= 1.2.0, < 2.0)
221
221
  rspec-support (~> 3.13.0)
222
- rspec-rails (6.1.4)
223
- actionpack (>= 6.1)
224
- activesupport (>= 6.1)
225
- railties (>= 6.1)
222
+ rspec-rails (7.0.1)
223
+ actionpack (>= 7.0)
224
+ activesupport (>= 7.0)
225
+ railties (>= 7.0)
226
226
  rspec-core (~> 3.13)
227
227
  rspec-expectations (~> 3.13)
228
228
  rspec-mocks (~> 3.13)
229
229
  rspec-support (~> 3.13)
230
230
  rspec-support (3.13.1)
231
- rubocop (1.65.1)
231
+ rubocop (1.66.1)
232
232
  json (~> 2.3)
233
233
  language_server-protocol (>= 3.17.0)
234
234
  parallel (~> 1.10)
235
235
  parser (>= 3.3.0.2)
236
236
  rainbow (>= 2.2.2, < 4.0)
237
237
  regexp_parser (>= 2.4, < 3.0)
238
- rexml (>= 3.2.5, < 4.0)
239
- rubocop-ast (>= 1.31.1, < 2.0)
238
+ rubocop-ast (>= 1.32.2, < 2.0)
240
239
  ruby-progressbar (~> 1.7)
241
240
  unicode-display_width (>= 2.4.0, < 3.0)
242
- rubocop-ast (1.32.1)
241
+ rubocop-ast (1.32.2)
243
242
  parser (>= 3.3.1.0)
244
243
  rubocop-performance (1.21.1)
245
244
  rubocop (>= 1.48.1, < 2.0)
@@ -263,7 +262,7 @@ GEM
263
262
  stringio (3.1.1)
264
263
  strscan (3.1.0)
265
264
  tago (0.0.2)
266
- thor (1.3.1)
265
+ thor (1.3.2)
267
266
  typhoeus (1.4.1)
268
267
  ethon (>= 0.9.0)
269
268
  tzinfo (2.0.6)
@@ -280,8 +279,8 @@ GEM
280
279
  hashdiff (>= 0.4.0, < 2.0.0)
281
280
  webrick (1.8.1)
282
281
  yaml (0.3.0)
283
- yard (0.9.36)
284
- zeitwerk (2.6.17)
282
+ yard (0.9.37)
283
+ zeitwerk (2.6.18)
285
284
 
286
285
  PLATFORMS
287
286
  arm64-darwin-22
@@ -296,14 +295,14 @@ DEPENDENCIES
296
295
  minitest (= 5.25.1)
297
296
  minitest-reporters (= 1.7.1)
298
297
  rake (= 13.2.1)
299
- rspec-rails (= 6.1.4)
300
- rubocop (= 1.65.1)
298
+ rspec-rails (= 7.0.1)
299
+ rubocop (= 1.66.1)
301
300
  rubocop-performance (= 1.21.1)
302
301
  rubocop-rspec (= 3.0.4)
303
302
  simplecov (= 0.22.0)
304
303
  simplecov-cobertura (= 2.1.0)
305
304
  webmock (= 3.23.1)
306
- yard (= 0.9.36)
305
+ yard (= 0.9.37)
307
306
 
308
307
  BUNDLED WITH
309
308
  2.4.22
data/lib/fbe/octo.rb CHANGED
@@ -320,6 +320,35 @@ class Fbe::FakeOctokit
320
320
  ]
321
321
  end
322
322
 
323
+ def review_comments(_repo, _number)
324
+ [
325
+ {
326
+ pull_request_review_id: 22_687_249,
327
+ id: 17_361_949,
328
+ body: 'Some comment 1',
329
+ user: { login: 'yegor256', id: 526_301, type: 'User' },
330
+ created_at: Time.parse('2024-09-05 15:31:06 UTC'),
331
+ updated_at: Time.parse('2024-09-05 15:33:04 UTC')
332
+ },
333
+ {
334
+ pull_request_review_id: 22_687_503,
335
+ id: 17_361_950,
336
+ body: 'Some comment 2',
337
+ user: { login: 'yegor256', id: 526_301, type: 'User' },
338
+ created_at: Time.parse('2024-09-06 14:20:00 UTC'),
339
+ updated_at: Time.parse('2024-09-06 14:20:50 UTC')
340
+ },
341
+ {
342
+ pull_request_review_id: 22_687_255,
343
+ id: 17_361_970,
344
+ body: 'Some comment 3',
345
+ user: { login: 'yegor256', id: 526_301, type: 'User' },
346
+ created_at: Time.parse('2024-09-06 20:45:30 UTC'),
347
+ updated_at: Time.parse('2024-09-06 20:45:30 UTC')
348
+ }
349
+ ]
350
+ end
351
+
323
352
  def add_comment(_repo, _issue, _text)
324
353
  {
325
354
  id: 42
data/lib/fbe.rb CHANGED
@@ -27,5 +27,5 @@
27
27
  # License:: MIT
28
28
  module Fbe
29
29
  # Current version of the gem (changed by .rultor.yml on every release)
30
- VERSION = '0.0.64'
30
+ VERSION = '0.0.65'
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.64
4
+ version: 0.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace