danger-swiftlint 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger_plugin.rb +2 -2
- data/lib/version.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: 5cd5d3b2a8207e36d2dfa02f1ee774cef0bace4c161bcacac59c73b2a238e459
|
4
|
+
data.tar.gz: 8d323b4d4c680944a962e799bd8687e0e42fa5d830e44cf221ebd0ff3ee289f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee781f8dedbff3244c32005e78589e599e51b55cabeb7fad12e548489b4b3e2c9abd65854a7b77bcd592f7ac019f7f00c2b555359f747a055845839512248c4
|
7
|
+
data.tar.gz: 6a416e58c1826e0c1b57cfe07c3c00359c7c36c270af1cd928cb6c146b28cd7dd68c85c10f831a2528d252e1f36f1f5f3bdb6c26dd7b541b0a17c642d3b85f23
|
data/lib/danger_plugin.rb
CHANGED
@@ -110,7 +110,7 @@ module Danger
|
|
110
110
|
warn other_issues_message(other_issues_count) if other_issues_count > 0
|
111
111
|
elsif warnings.count > 0 || errors.count > 0
|
112
112
|
# Report if any warning or error
|
113
|
-
message =
|
113
|
+
message = "### SwiftLint found issues\n\n".dup
|
114
114
|
message << markdown_issues(warnings, 'Warnings') unless warnings.empty?
|
115
115
|
message << markdown_issues(errors, 'Errors') unless errors.empty?
|
116
116
|
message << "\n#{other_issues_message(other_issues_count)}" if other_issues_count > 0
|
@@ -225,7 +225,7 @@ module Danger
|
|
225
225
|
#
|
226
226
|
# @return [String]
|
227
227
|
def markdown_issues(results, heading)
|
228
|
-
message =
|
228
|
+
message = "#### #{heading}\n\n".dup
|
229
229
|
|
230
230
|
message << "File | Line | Reason |\n"
|
231
231
|
message << "| --- | ----- | ----- |\n"
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-swiftlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ash Furrow
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: danger
|