lock_diff 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lock_diff.rb +6 -0
- data/lib/lock_diff/formatter/github_markdown.rb +4 -1
- data/lib/lock_diff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd53748cc250bef15eff5a49da0a505faa84d24
|
4
|
+
data.tar.gz: 528f3e74318971a0d942539964ab4b8c90796e1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d91859144482b359679a161f24d1f98b3ee83c259a7344d73df64175b12023104dff90257bac38f4c88a31a1e222ae403e87eed70b74a12bd5ac82f9f29c119
|
7
|
+
data.tar.gz: 0c0b50ccd947fca8f228f0e67da4896dbc5c0c73a1062edc7775805e46e261a67b6c2f44ec1dc3e49268450db6d3222907cbb6a15a93c682ae00002c31b43901
|
data/lib/lock_diff.rb
CHANGED
@@ -40,6 +40,12 @@ module LockDiff
|
|
40
40
|
|
41
41
|
def _run(pull_request:, post_comment: false)
|
42
42
|
lockfile_diff_infos = LockfileComparator.compare_by(pull_request)
|
43
|
+
|
44
|
+
if lockfile_diff_infos.empty?
|
45
|
+
LockDiff.logger.info("Lock file is changed but changed gem does not exist.")
|
46
|
+
return
|
47
|
+
end
|
48
|
+
|
43
49
|
result = config.formatter.format(lockfile_diff_infos)
|
44
50
|
|
45
51
|
if post_comment
|
data/lib/lock_diff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vividmuimui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|