danger-warnings_next_generation 0.1.3 → 0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e491de1fafb3fbdd4e2dd7d979b892ec91a0500b5ae3126e9e1eb5668e7a10c9
|
4
|
+
data.tar.gz: 6a81ea59d7cce5f9b6abc3285a9b57b9edc9550ee3d5197b9d005f383ace42cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3b9e1f02a8a9bacb0ca5045582b9dd98bcc181c1550c52fe06ff8c15fd6cde52d6690550c59c443b750c90360ffd90b7fe8cf31b1163f2416a3a22456055166
|
7
|
+
data.tar.gz: 37e834d9785592e8546fdfc56f71b3f18185db2b8e60c92ad90d54bf9224b433e020bbbebaa969b04ce3544ed97892c4d60c32b310b5bb81131292bf87b837c2
|
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.4] - 2019-5-28
|
8
|
+
### Fixed
|
9
|
+
- Modify frozen baseline string
|
10
|
+
|
7
11
|
## [0.1.3] - 2019-5-28
|
8
12
|
### Fixed
|
9
13
|
- Target files not initialized
|
@@ -207,6 +207,22 @@ module Danger
|
|
207
207
|
expect(messages.length).to be(8)
|
208
208
|
end
|
209
209
|
|
210
|
+
it "baseline frozen string is modifiable" do
|
211
|
+
aggregation_return("/assets/aggregation_single.json")
|
212
|
+
details_return("/assets/java_detail_all.json")
|
213
|
+
baseline = JAVA_ALL_BASELINE.chomp("/").freeze
|
214
|
+
expect(baseline.chars.last).not_to be("/")
|
215
|
+
expect(baseline.frozen?).to be_truthy
|
216
|
+
|
217
|
+
@my_plugin.tools_report(inline: true, baseline: baseline)
|
218
|
+
|
219
|
+
markdowns = @dangerfile.status_report[:markdowns]
|
220
|
+
expect(markdowns.length).to be(0)
|
221
|
+
|
222
|
+
messages = @dangerfile.status_report[:messages]
|
223
|
+
expect(messages.length).to be(8)
|
224
|
+
end
|
225
|
+
|
210
226
|
it "inline comments remove baseline" do
|
211
227
|
aggregation_return("/assets/aggregation_single.json")
|
212
228
|
details_return("/assets/java_detail_all.json")
|