ducalis 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3636dd1578350f688593543620d35e9e782e0b39
4
- data.tar.gz: c997555224124c9361a3ecd5aab458c14aea652c
3
+ metadata.gz: 91cf323e4eba82ef0585479b751e91805b46bae2
4
+ data.tar.gz: f4e8b12ff782bc3fcf0e220f2f9ec3ca2771fcec
5
5
  SHA512:
6
- metadata.gz: 61c8e646cfe003d73b6a6294c3290a27fbcb3ab0d0669049af3ed48fad7ddfb9d9cb53e4626c63eca1792060744b2838c681aa0d34d2dddccf42972630ccb633
7
- data.tar.gz: 3e83ab6f45d7afee87c06433fd469685cb026f30c552da2de12df6d990d9efaa654923bf1bebe296f6c71bed7711f3a04d909320ecf2ef33212f704be4cca336
6
+ metadata.gz: 0c79353e420fe0386cd95da89c558668d9cad61a30df8e67c1198aafd910094db80529e1d3be1c3122a37ca0328e647eb02ed1f25cecee92e6fce7ed0165b119
7
+ data.tar.gz: 63018b24719db126d2230007546b3b09303dceaf6f00d5abbfe6a6cbe04b5f60d33e7beff930b84a5b1ffc272a6dbc70fc500cda8aa63828ac38182027e5eb6d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ducalis (0.5.2)
4
+ ducalis (0.5.3)
5
5
  git (~> 1.3, >= 1.3.0)
6
6
  policial (= 0.0.4)
7
7
  regexp-examples (~> 1.3, >= 1.3.2)
@@ -15,6 +15,7 @@ module Ducalis
15
15
  next if commented?(violation)
16
16
  generate_comment(violation)
17
17
  end.compact
18
+ return if comments.empty?
18
19
  Utils.octokit
19
20
  .create_pull_request_review(@config.repo, @config.id,
20
21
  event: STATUS, comments: comments)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ducalis
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ducalis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignat Zakrevsky