danger-warnings_next_generation 0.1.4 → 0.1.5

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: e491de1fafb3fbdd4e2dd7d979b892ec91a0500b5ae3126e9e1eb5668e7a10c9
4
- data.tar.gz: 6a81ea59d7cce5f9b6abc3285a9b57b9edc9550ee3d5197b9d005f383ace42cd
3
+ metadata.gz: d88f812549e81bc81f9da5038e5e821e9accd66317241b6d064cf60751b99048
4
+ data.tar.gz: 9c44904b68e5094ead295cd7ad8184a553bd898c01680f7c8716a084afe57fa3
5
5
  SHA512:
6
- metadata.gz: a3b9e1f02a8a9bacb0ca5045582b9dd98bcc181c1550c52fe06ff8c15fd6cde52d6690550c59c443b750c90360ffd90b7fe8cf31b1163f2416a3a22456055166
7
- data.tar.gz: 37e834d9785592e8546fdfc56f71b3f18185db2b8e60c92ad90d54bf9224b433e020bbbebaa969b04ce3544ed97892c4d60c32b310b5bb81131292bf87b837c2
6
+ metadata.gz: 8a3bfc08322aa9a3507b70db3f88333bbbbcdc54fd60e8b2ad7278adfd063bbe5f7f162da736a7085ae23545cb11c6cb08b588282d4dd472a9cb0a464038cdef
7
+ data.tar.gz: 28a702a71425ed522d63dedd01dffb9f48e340b730d3b5ccb11f80e18e27e3925271386bbec78a5f79ef9ee2d01f22e8fc34941c5b5f13eec1576d801c203cac
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.5] - 2019-6-02
8
+ ### Changed
9
+ - Add tool name to inline comment
10
+
7
11
  ## [0.1.4] - 2019-5-28
8
12
  ### Fixed
9
13
  - Modify frozen baseline string
data/README.md CHANGED
@@ -107,7 +107,7 @@ This plugin is inspired and works only with the jenkins [warnings-ng-plugin](htt
107
107
 
108
108
  ### As inline
109
109
  ```text
110
- NORMAL
110
+ Android Lint Warnings - NORMAL
111
111
  [Correctness - GradleDependency]
112
112
  Obsolete Gradle Dependency A newer version of com.android.support:design than 27.1.1 is available: 28.0.0 This detector looks for usages of libraries where the version you are using is not the current stable release. Using older versions is fine, and there are cases where you deliberately want to stick with an older version. However, you may simply not be aware that a more recent version is available, and that is what this lint check helps find.
113
113
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WarningsNextGeneration
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
@@ -100,7 +100,7 @@ module Danger
100
100
  next if use_include_option?(options) && !tool_ids.include?(id)
101
101
 
102
102
  if inline?(options) && check_baseline(options)
103
- inline_report(url, baseline(options))
103
+ inline_report(name, url, baseline(options))
104
104
  else
105
105
  tool_table(name, url)
106
106
  end
@@ -179,7 +179,7 @@ module Danger
179
179
  end
180
180
  end
181
181
 
182
- def inline_report(url, baseline)
182
+ def inline_report(name, url, baseline)
183
183
  details = details_result(url)
184
184
  issues = details["issues"]
185
185
 
@@ -191,7 +191,7 @@ module Danger
191
191
 
192
192
  next unless file_in_changeset?(file)
193
193
 
194
- inline_message = "#{severity}\n#{category_type(issue)}\n#{message}"
194
+ inline_message = "\n**#{name}** - #{severity}\n#{category_type(issue)}\n#{message}"
195
195
  message(inline_message, file: file, line: line)
196
196
  end
197
197
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-warnings_next_generation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Schwamberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api