danger 3.5.2 → 3.5.3

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: cf1fbaac1bbe5c1cb110f065f37b19772d3cbebf
4
- data.tar.gz: 1e84ab93e47a63bbf3cca572d64cf41beb0fdbec
3
+ metadata.gz: 69859c177c990bcaee0d10f8af0a64d3a2e55425
4
+ data.tar.gz: 738a8057e92708fb38a925b87990896744782903
5
5
  SHA512:
6
- metadata.gz: 4e480e5a5ec36286c58dcf60558b654af901f9e2a067a9d965d1372912016b79f053451be3115264eeaf6103c074a72bd697dd8f158a08f119b67267c8efbf87
7
- data.tar.gz: d4a88d439c803e4798819d283bd3b5cc7eba53f096815352d2a4a963dde776281492b258372724f193ef27cc61b2c2beaa15d967f36d5f554cd68c05155bb6a2
6
+ metadata.gz: 3158cef1db9039f75a6e88f1d7f228f3ed2046618bd2bd1d9fb1186fa073b343b4b1c26378ec7d634f061ee7d86157e0747e3c59545c416b9d007ccdee7a086e
7
+ data.tar.gz: 18f00f6ae41414d2f50dd433cc3ece132b785765323959d9c8c126648670dcd9cd0ee51242208f9adfb79586b77042fe1da49ae7f5ce79836de55fae4bdc9ba2
@@ -122,12 +122,15 @@ module Danger
122
122
  when :api
123
123
  value = "Octokit::Client"
124
124
 
125
- when :pr_json
126
- value = "[Skipped]"
125
+ when :pr_json, :mr_json
126
+ value = "[Skipped JSON]"
127
+
128
+ when :pr_diff, :mr_diff
129
+ value = "[Skipped Diff]"
127
130
 
128
131
  else
129
132
  value = plugin.send(method)
130
- value = wrap_text(value) if value.kind_of?(String)
133
+ value = wrap_text(value.encode("utf-8")) if value.kind_of?(String)
131
134
  # So that we either have one value per row
132
135
  # or we have [] for an empty array
133
136
  value = value.join("\n") if value.kind_of?(Array) && value.count > 0
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "3.5.2".freeze
2
+ VERSION = "3.5.3".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: 3.5.2
4
+ version: 3.5.3
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: 2016-10-07 00:00:00.000000000 Z
12
+ date: 2016-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide
@@ -469,7 +469,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  version: '0'
470
470
  requirements: []
471
471
  rubyforge_project:
472
- rubygems_version: 2.2.2
472
+ rubygems_version: 2.6.7
473
473
  signing_key:
474
474
  specification_version: 4
475
475
  summary: Like Unit Tests, but for your Team Culture.