fbe 0.0.73 → 0.0.75
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +5 -5
- data/lib/fbe/octo.rb +59 -1
- 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: 0ee5e617e644f6582bfda0ccc3a6a011b8ffcf1a2ff1718f03747ed92186b25f
|
4
|
+
data.tar.gz: b1f07d01b3831501d48725eed9bac593abe3f120c136d6499987f4f25d57e1fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7f945536294f79ff097ed15bf921287f2f65366bef1b2bf80d5cde4ad872262d33941c4a4b6360a9909e33a2be0b70631fb8c9f10dce19716b793de395094e
|
7
|
+
data.tar.gz: 9d2735bf1d0cf4c42f3c4cc6f9728faae5bf6b79406062a63927830e985576109dabcb5d0c0675d507568dc470719d13e635c63997176e5ae42098a538779ea0
|
data/Gemfile
CHANGED
@@ -30,8 +30,8 @@ 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
32
|
gem 'rubocop-performance', '1.22.1', require: false
|
33
|
-
gem 'rubocop-rspec', '3.0
|
33
|
+
gem 'rubocop-rspec', '3.1.0', require: false
|
34
34
|
gem 'simplecov', '0.22.0', require: false
|
35
35
|
gem 'simplecov-cobertura', '2.1.0', require: false
|
36
|
-
gem 'webmock', '3.
|
36
|
+
gem 'webmock', '3.24.0', require: false
|
37
37
|
gem 'yard', '0.9.37', require: false
|
data/Gemfile.lock
CHANGED
@@ -211,7 +211,7 @@ GEM
|
|
211
211
|
reline (0.5.10)
|
212
212
|
io-console (~> 0.5)
|
213
213
|
retries (0.0.5)
|
214
|
-
rexml (3.3.
|
214
|
+
rexml (3.3.8)
|
215
215
|
rspec-core (3.13.1)
|
216
216
|
rspec-support (~> 3.13.0)
|
217
217
|
rspec-expectations (3.13.3)
|
@@ -244,7 +244,7 @@ GEM
|
|
244
244
|
rubocop-performance (1.22.1)
|
245
245
|
rubocop (>= 1.48.1, < 2.0)
|
246
246
|
rubocop-ast (>= 1.31.1, < 2.0)
|
247
|
-
rubocop-rspec (3.0
|
247
|
+
rubocop-rspec (3.1.0)
|
248
248
|
rubocop (~> 1.61)
|
249
249
|
ruby-progressbar (1.13.0)
|
250
250
|
sawyer (0.9.2)
|
@@ -273,7 +273,7 @@ GEM
|
|
273
273
|
verbose (0.0.2)
|
274
274
|
loog (~> 0.2)
|
275
275
|
tago (~> 0.0)
|
276
|
-
webmock (3.
|
276
|
+
webmock (3.24.0)
|
277
277
|
addressable (>= 2.8.0)
|
278
278
|
crack (>= 0.3.2)
|
279
279
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -298,10 +298,10 @@ DEPENDENCIES
|
|
298
298
|
rspec-rails (= 7.0.1)
|
299
299
|
rubocop (= 1.66.1)
|
300
300
|
rubocop-performance (= 1.22.1)
|
301
|
-
rubocop-rspec (= 3.0
|
301
|
+
rubocop-rspec (= 3.1.0)
|
302
302
|
simplecov (= 0.22.0)
|
303
303
|
simplecov-cobertura (= 2.1.0)
|
304
|
-
webmock (= 3.
|
304
|
+
webmock (= 3.24.0)
|
305
305
|
yard (= 0.9.37)
|
306
306
|
|
307
307
|
BUNDLED WITH
|
data/lib/fbe/octo.rb
CHANGED
@@ -497,7 +497,8 @@ class Fbe::FakeOctokit
|
|
497
497
|
{
|
498
498
|
name: 'bug'
|
499
499
|
}
|
500
|
-
]
|
500
|
+
],
|
501
|
+
created_at: Time.parse('2024-08-20 19:00:00 UTC')
|
501
502
|
}
|
502
503
|
]
|
503
504
|
}
|
@@ -520,6 +521,63 @@ class Fbe::FakeOctokit
|
|
520
521
|
}
|
521
522
|
end
|
522
523
|
|
524
|
+
def search_commits(_query, _options = {})
|
525
|
+
{
|
526
|
+
total_count: 3,
|
527
|
+
incomplete_results: false,
|
528
|
+
items: [
|
529
|
+
{
|
530
|
+
commit: {
|
531
|
+
author: { name: 'Yegor', email: 'yegor@gmail.com', date: Time.parse('2024-09-15 12:23:25 UTC') },
|
532
|
+
committer: { name: 'Yegor', email: 'yegor@gmail.com', date: Time.parse('2024-09-15 12:23:25 UTC') },
|
533
|
+
message: 'Some text',
|
534
|
+
tree: { sha: '6e04579960bf67610d' },
|
535
|
+
comment_count: 0
|
536
|
+
},
|
537
|
+
author: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
538
|
+
committer: { login: 'yegor256', id: 526_301, type: 'User', site_admin: false },
|
539
|
+
parents: [{ sha: '60cff20bdb66' }],
|
540
|
+
repository: {
|
541
|
+
id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
|
542
|
+
owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
|
543
|
+
}
|
544
|
+
},
|
545
|
+
{
|
546
|
+
commit: {
|
547
|
+
author: { name: 'Yegor', email: 'yegor2@gmail.com', date: Time.parse('2024-09-14 12:23:25 UTC') },
|
548
|
+
committer: { name: 'Yegor', email: 'yegor2@gmail.com', date: Time.parse('2024-09-14 12:23:25 UTC') },
|
549
|
+
message: 'Some text 2',
|
550
|
+
tree: { sha: 'defa18e4e2250987' },
|
551
|
+
comment_count: 0
|
552
|
+
},
|
553
|
+
author: { login: 'yegor257', id: 526_302, type: 'User', site_admin: false },
|
554
|
+
committer: { login: 'yegor257', id: 526_302, type: 'User', site_admin: false },
|
555
|
+
parents: [{ sha: 'a04c15bb34fddbba' }],
|
556
|
+
repository: {
|
557
|
+
id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
|
558
|
+
owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
|
559
|
+
}
|
560
|
+
},
|
561
|
+
{
|
562
|
+
commit: {
|
563
|
+
author: { name: 'Yegor', email: 'yegor3@gmail.com', date: Time.parse('2024-09-13 12:23:25 UTC') },
|
564
|
+
committer: { name: 'Yegor', email: 'yegor3@gmail.com', date: Time.parse('2024-09-13 12:23:25 UTC') },
|
565
|
+
message: 'Some text 3',
|
566
|
+
tree: { sha: 'bb7277441139739b902a' },
|
567
|
+
comment_count: 0
|
568
|
+
},
|
569
|
+
author: { login: 'yegor258', id: 526_303, type: 'User', site_admin: false },
|
570
|
+
committer: { login: 'yegor258', id: 526_303, type: 'User', site_admin: false },
|
571
|
+
parents: [{ sha: '18db84d469bb727' }],
|
572
|
+
repository: {
|
573
|
+
id: 799_177_290, name: 'judges-action', full_name: 'zerocracy/judges-action',
|
574
|
+
owner: { login: 'zerocracy', id: 24_234_201, type: 'Organization', site_admin: false }
|
575
|
+
}
|
576
|
+
}
|
577
|
+
]
|
578
|
+
}
|
579
|
+
end
|
580
|
+
|
523
581
|
def issue_timeline(_repo, _issue, _options = {})
|
524
582
|
[
|
525
583
|
{
|
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.75
|
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-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|