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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/warnings_next_generation/gem_version.rb +1 -1
- data/lib/warnings_next_generation/plugin.rb +3 -3
- 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: d88f812549e81bc81f9da5038e5e821e9accd66317241b6d064cf60751b99048
|
4
|
+
data.tar.gz: 9c44904b68e5094ead295cd7ad8184a553bd898c01680f7c8716a084afe57fa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
```
|
@@ -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
|
+
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-
|
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
|