fbe 0.0.63 → 0.0.64
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fbe/octo.rb +14 -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: d96502169a7e6ed683496261dacef96acb4bf7d413861d043e310e3a4bdc8302
|
4
|
+
data.tar.gz: 5eea1f292484692f7ce7252546c0f572deb6de4adea8753ba0abd3a6e93bf77d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feb0e280da5bde5f46f042fb9233d0d6d2c1dc5344ad7c5e7d8cf75b305d3fac27c60f90df0428e6ef5c35e89502e40acd365177eb0754722cc58e70484b846f
|
7
|
+
data.tar.gz: 262067fa870f2b4881e1715da52f7688b8c8f73cf332578ad24a933efd7e40ee8057592e706d7d60fa207864dfe4b5ccce66f1de1c047e745102733aea1b682a
|
data/lib/fbe/octo.rb
CHANGED
@@ -350,6 +350,20 @@ class Fbe::FakeOctokit
|
|
350
350
|
}
|
351
351
|
]
|
352
352
|
}
|
353
|
+
elsif query.include?('type:pr') && query.include?('is:merged')
|
354
|
+
{
|
355
|
+
total_count: 1,
|
356
|
+
incomplete_results: false,
|
357
|
+
items: [
|
358
|
+
{
|
359
|
+
id: 42,
|
360
|
+
number: 10,
|
361
|
+
title: 'Awesome PR 10',
|
362
|
+
created_at: Time.parse('2024-08-21 19:00:00 UTC'),
|
363
|
+
merged_at: Time.parse('2024-08-23 19:00:00 UTC')
|
364
|
+
}
|
365
|
+
]
|
366
|
+
}
|
353
367
|
elsif query.include?('type:pr')
|
354
368
|
{
|
355
369
|
total_count: 2,
|
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.64
|
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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|