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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deadbe6d57c929c594070425f46f30801dc55fce99f384b9773d4feceaefecea
4
- data.tar.gz: bf49b1851d79915d02db6b6ddb4ffd7701677fe23cab3b6e38a9b0cbc0f86aa8
3
+ metadata.gz: 5cd5d3b2a8207e36d2dfa02f1ee774cef0bace4c161bcacac59c73b2a238e459
4
+ data.tar.gz: 8d323b4d4c680944a962e799bd8687e0e42fa5d830e44cf221ebd0ff3ee289f8
5
5
  SHA512:
6
- metadata.gz: f217f055c54cdbc7ef59b54a526ade9ca38afffb7767d2c549c5ae4036bba484973f95dee8367175ea955f901f49a5e3c34b95c2ef2ad5107d5fc44edfa33b09
7
- data.tar.gz: b405c26b1046a2f5b81d059a9dae12c9f1584e1c4b08568a5b9d4a2031312c7b244682bed57570da23f90d5075ae4ddf40c0f368fd9507d67ca5a0e00f0f0f69
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 = +"### SwiftLint found issues\n\n"
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 = +"#### #{heading}\n\n"
228
+ message = "#### #{heading}\n\n".dup
229
229
 
230
230
  message << "File | Line | Reason |\n"
231
231
  message << "| --- | ----- | ----- |\n"
data/lib/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DangerSwiftlint
4
- VERSION = '0.18.0'
4
+ VERSION = '0.18.1'
5
5
  SWIFTLINT_VERSION = '0.28.1'
6
6
  end
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.0
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: 2018-11-29 00:00:00.000000000 Z
15
+ date: 2019-01-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: danger