fbe 0.0.66 → 0.0.67
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/lib/fbe/octo.rb +63 -0
- data/lib/fbe.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5adb2d9b9ca4a9d11bc4ef76e9cd92242af706e932b6df13b2344280d7cb9767
|
4
|
+
data.tar.gz: 55252a1f89312bf2bd6fc37a7e32fc6059d31630e77ab46d40ef2619a4eefe14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66386a3fe388c6c718b16e5cb64cca0c13d6b0244137b97fd8d361b47d9e2cb790c8faf09f29053f49a9daf8a7e4991fd7c7b3cdd22a30bc0cbeb49f21549daf
|
7
|
+
data.tar.gz: bc4006107a15beb21074be870ad5d909188c3cc91d18bfb4929da12560f822c0e6a39b4026f8491530ee291a6631490d2e33f6ebc0ec26b74fe7b9d619ed3afd
|
data/Gemfile
CHANGED
@@ -29,7 +29,7 @@ gem 'minitest-reporters', '1.7.1', require: false
|
|
29
29
|
gem 'rake', '13.2.1', require: false
|
30
30
|
gem 'rspec-rails', '7.0.1', require: false
|
31
31
|
gem 'rubocop', '1.66.1', require: false
|
32
|
-
gem 'rubocop-performance', '1.
|
32
|
+
gem 'rubocop-performance', '1.22.0', require: false
|
33
33
|
gem 'rubocop-rspec', '3.0.5', require: false
|
34
34
|
gem 'simplecov', '0.22.0', require: false
|
35
35
|
gem 'simplecov-cobertura', '2.1.0', require: false
|
data/Gemfile.lock
CHANGED
@@ -240,7 +240,7 @@ GEM
|
|
240
240
|
unicode-display_width (>= 2.4.0, < 3.0)
|
241
241
|
rubocop-ast (1.32.3)
|
242
242
|
parser (>= 3.3.1.0)
|
243
|
-
rubocop-performance (1.
|
243
|
+
rubocop-performance (1.22.0)
|
244
244
|
rubocop (>= 1.48.1, < 2.0)
|
245
245
|
rubocop-ast (>= 1.31.1, < 2.0)
|
246
246
|
rubocop-rspec (3.0.5)
|
@@ -267,7 +267,7 @@ GEM
|
|
267
267
|
ethon (>= 0.9.0)
|
268
268
|
tzinfo (2.0.6)
|
269
269
|
concurrent-ruby (~> 1.0)
|
270
|
-
unicode-display_width (2.
|
270
|
+
unicode-display_width (2.6.0)
|
271
271
|
uri (0.13.0)
|
272
272
|
useragent (0.16.10)
|
273
273
|
verbose (0.0.2)
|
@@ -297,7 +297,7 @@ DEPENDENCIES
|
|
297
297
|
rake (= 13.2.1)
|
298
298
|
rspec-rails (= 7.0.1)
|
299
299
|
rubocop (= 1.66.1)
|
300
|
-
rubocop-performance (= 1.
|
300
|
+
rubocop-performance (= 1.22.0)
|
301
301
|
rubocop-rspec (= 3.0.5)
|
302
302
|
simplecov (= 0.22.0)
|
303
303
|
simplecov-cobertura (= 2.1.0)
|
data/lib/fbe/octo.rb
CHANGED
@@ -297,6 +297,69 @@ class Fbe::FakeOctokit
|
|
297
297
|
}
|
298
298
|
end
|
299
299
|
|
300
|
+
def pull_requests(_repo, _options = {})
|
301
|
+
[
|
302
|
+
{
|
303
|
+
id: 2_072_543_250,
|
304
|
+
number: 100,
|
305
|
+
state: 'closed',
|
306
|
+
locked: false,
|
307
|
+
title: '#90: some title',
|
308
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
309
|
+
body: 'Closes #90',
|
310
|
+
created_at: Time.parse('2024-09-15 09:32:49 UTC'),
|
311
|
+
updated_at: Time.parse('2024-09-15 10:06:23 UTC'),
|
312
|
+
closed_at: Time.parse('2024-09-15 10:05:34 UTC'),
|
313
|
+
merged_at: Time.parse('2024-09-15 10:05:34 UTC'),
|
314
|
+
merge_commit_sha: '0527cc188b0495e',
|
315
|
+
draft: false,
|
316
|
+
head: {
|
317
|
+
label: 'yegor256:90',
|
318
|
+
ref: '90',
|
319
|
+
sha: '0527cc188b049',
|
320
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
321
|
+
repo: repository('yegor256/repo')
|
322
|
+
},
|
323
|
+
base: {
|
324
|
+
label: 'zerocracy:master',
|
325
|
+
ref: 'master',
|
326
|
+
sha: '4643eb3c7a0ccb3c',
|
327
|
+
user: { login: 'zerocracy', id: 24_234_201, type: 'Organization' },
|
328
|
+
repo: repository('zerocracy/repo')
|
329
|
+
}
|
330
|
+
},
|
331
|
+
{
|
332
|
+
id: 2_072_543_240,
|
333
|
+
number: 95,
|
334
|
+
state: 'open',
|
335
|
+
locked: false,
|
336
|
+
title: '#80: some title',
|
337
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
338
|
+
body: 'Closes #80',
|
339
|
+
created_at: Time.parse('2024-09-14 09:32:49 UTC'),
|
340
|
+
updated_at: Time.parse('2024-09-14 10:06:23 UTC'),
|
341
|
+
closed_at: nil,
|
342
|
+
merged_at: nil,
|
343
|
+
merge_commit_sha: '0627cc188b0497e',
|
344
|
+
draft: false,
|
345
|
+
head: {
|
346
|
+
label: 'yegor256:80',
|
347
|
+
ref: '80',
|
348
|
+
sha: '1527cc188b040',
|
349
|
+
user: { login: 'yegor256', id: 526_301, type: 'User' },
|
350
|
+
repo: repository('yegor256/repo')
|
351
|
+
},
|
352
|
+
base: {
|
353
|
+
label: 'zerocracy:master',
|
354
|
+
ref: 'master',
|
355
|
+
sha: '5643eb3c7a0ccb3b',
|
356
|
+
user: { login: 'zerocracy', id: 24_234_201, type: 'Organization' },
|
357
|
+
repo: repository('zerocracy/repo')
|
358
|
+
}
|
359
|
+
}
|
360
|
+
]
|
361
|
+
end
|
362
|
+
|
300
363
|
def pull_request_reviews(_repo, _number)
|
301
364
|
[
|
302
365
|
{
|
data/lib/fbe.rb
CHANGED
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.
|
4
|
+
version: 0.0.67
|
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-09-
|
11
|
+
date: 2024-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|