fbe 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fbe/octo.rb +11 -0
  3. data/lib/fbe.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e857aa5ed166b003997aaafddd6e7c5cf523451321b4f3fe1597ef35228b7063
4
- data.tar.gz: bb2b3e7aa0d3a210d131618d7b444d842f4b36bdc7512aacbef429f43db024c4
3
+ metadata.gz: d24abbe61d348fe36be6906b68607c26f66cd128b0f49a0b937bc1f3d78eeab0
4
+ data.tar.gz: 74ca1b97ae8d7e9aa3accba9789e7b5a20770bbc234feba3fefcf0ac8ce7ebca
5
5
  SHA512:
6
- metadata.gz: 4e96e84f8eba6d37456832150df00956fa456eb348f044e30714e64fb5eafd2a484eeb30f0ae90e3dd9a4ae64d5a04d55ed5b830940e3b3b0425c0a29459714d
7
- data.tar.gz: 576278b551ac1b748526fe57b2465d176ab91208d1bcaab7eb761b1b59ceaed1d05ea818536b0b0acab581a9fb293d80e79b5383194891399c7d51f013e4bbe1
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
@@ -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.17'
30
+ VERSION = '0.0.18'
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko