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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac8016ce34c94a5e3ab531f39da5d552677ea816
4
- data.tar.gz: 98ec9232cc83c5378e07bb7e91ca3cda5a8ab896
3
+ metadata.gz: c9468ffb005596e649ed47f6c3bf0a673307c559
4
+ data.tar.gz: b4b0fe6291c8b35e0082b444c70be8cde4292bde
5
5
  SHA512:
6
- metadata.gz: f3771c0464943b15a140c27c4ee7b70a414670ea88f779002fd433cda04b8cd5ce78dbe6a7824457425872e40f2e0e21aac3f78b4004fb5d1426d01c4989a92b
7
- data.tar.gz: ef2ff358cc4841a44b03f0762c0cb997452c36f6ac19df2b8bb37c8e42e15b51c19ec05f2b8afce34bb725d70c1c9405de4be45caca5016f53e39b6d89bb7c3c
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.underline + "\n"
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.underline : 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
@@ -29,7 +29,7 @@ module Danger
29
29
  self.command = "danger"
30
30
  self.version = Danger::VERSION
31
31
 
32
- self.plugin_prefixes = %w[claide danger]
32
+ self.plugin_prefixes = %w(claide danger)
33
33
 
34
34
  def initialize(argv)
35
35
  dangerfile = argv.option("dangerfile", "Dangerfile")
@@ -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[errors warnings messages].each do |key|
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[title body author labels json].each do |suffix|
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[title body author labels json diff].each do |suffix|
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
 
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "4.3.3".freeze
2
+ VERSION = "4.3.4".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
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.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-05 00:00:00.000000000 Z
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.2.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.