danger 4.3.3 → 4.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger/commands/init_helpers/interviewer.rb +2 -2
- data/lib/danger/commands/runner.rb +1 -1
- data/lib/danger/danger_core/dangerfile.rb +1 -1
- data/lib/danger/danger_core/plugins/dangerfile_github_plugin.rb +1 -1
- data/lib/danger/danger_core/plugins/dangerfile_gitlab_plugin.rb +1 -1
- data/lib/danger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9468ffb005596e649ed47f6c3bf0a673307c559
|
4
|
+
data.tar.gz: b4b0fe6291c8b35e0082b444c70be8cde4292bde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 040c2e0cbdfd98011680f866a7f56e6c2df5f9957d019c6b648f54573c68d96d1d6cdf092bcecddd4958e0bf54984060de624977fcd18d4e894481dcc1e961a0
|
7
|
+
data.tar.gz: 5e3c7043ca844732a2eac061414ebc8351ba1662eb068d2433cbe8907a038b243ee93355c4b894b9abe969aa73226dbe6619c74a83fd2052cfb2fcefb02fc47a
|
@@ -33,7 +33,7 @@ module Danger
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def link(url)
|
36
|
-
say " -> " + url.
|
36
|
+
say " -> " + url.underlined + "\n"
|
37
37
|
end
|
38
38
|
|
39
39
|
def pause(time)
|
@@ -57,7 +57,7 @@ module Danger
|
|
57
57
|
|
58
58
|
print_info = proc do
|
59
59
|
possible_answers.each_with_index do |answer, i|
|
60
|
-
the_answer = i.zero? ? answer.
|
60
|
+
the_answer = i.zero? ? answer.underlined : answer
|
61
61
|
ui.print " " + the_answer
|
62
62
|
ui.print(" /") if i != possible_answers.length - 1
|
63
63
|
end
|
@@ -212,7 +212,7 @@ module Danger
|
|
212
212
|
return if (violations[:errors] + violations[:warnings] + violations[:messages] + status[:markdowns]).count.zero?
|
213
213
|
|
214
214
|
ui.section("Results:") do
|
215
|
-
%i
|
215
|
+
%i(errors warnings messages).each do |key|
|
216
216
|
formatted = key.to_s.capitalize + ":"
|
217
217
|
title = case key
|
218
218
|
when :errors
|
@@ -234,7 +234,7 @@ module Danger
|
|
234
234
|
@github.dismiss_out_of_range_messages = dismiss == true
|
235
235
|
end
|
236
236
|
|
237
|
-
%i
|
237
|
+
%i(title body author labels json).each do |suffix|
|
238
238
|
alias_method "mr_#{suffix}".to_sym, "pr_#{suffix}".to_sym
|
239
239
|
end
|
240
240
|
|
@@ -207,7 +207,7 @@ module Danger
|
|
207
207
|
paths.first(paths.count - 1).join(", ") + " & " + paths.last
|
208
208
|
end
|
209
209
|
|
210
|
-
%i
|
210
|
+
%i(title body author labels json diff).each do |suffix|
|
211
211
|
alias_method "pr_#{suffix}".to_sym, "mr_#{suffix}".to_sym
|
212
212
|
end
|
213
213
|
|
data/lib/danger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-04-
|
12
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|
@@ -466,7 +466,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
466
466
|
version: '0'
|
467
467
|
requirements: []
|
468
468
|
rubyforge_project:
|
469
|
-
rubygems_version: 2.
|
469
|
+
rubygems_version: 2.5.2
|
470
470
|
signing_key:
|
471
471
|
specification_version: 4
|
472
472
|
summary: Like Unit Tests, but for your Team Culture.
|