fbe 0.0.17 → 0.0.18
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 +11 -0
- data/lib/fbe.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d24abbe61d348fe36be6906b68607c26f66cd128b0f49a0b937bc1f3d78eeab0
|
4
|
+
data.tar.gz: 74ca1b97ae8d7e9aa3accba9789e7b5a20770bbc234feba3fefcf0ac8ce7ebca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d8ec18732572750d5424efdf12ed2245d74e841ac3b058771eea922b6f4471391751f892b5f614e156216e5aa9fe797e474b90e5c4d150fe7251488f4609f6f
|
7
|
+
data.tar.gz: c378ebb1e584a4d07f5a0443b3804ee8966b5002f9f93b3b19353d7c458b913d1419e7163d01765119e05c01f58e4a6d4c8ec8552ca9f9a73be595b0e35e9973
|
data/lib/fbe/octo.rb
CHANGED
@@ -181,6 +181,17 @@ class Fbe::FakeOctokit
|
|
181
181
|
}
|
182
182
|
end
|
183
183
|
|
184
|
+
def create_commit_comment(_repo, sha, text)
|
185
|
+
{
|
186
|
+
commit_id: sha,
|
187
|
+
id: 42,
|
188
|
+
body: text,
|
189
|
+
path: 'something.txt',
|
190
|
+
line: 1,
|
191
|
+
position: 1
|
192
|
+
}
|
193
|
+
end
|
194
|
+
|
184
195
|
def search_issues(_query, _options = {})
|
185
196
|
{
|
186
197
|
items: [
|
data/lib/fbe.rb
CHANGED