danger-chikuwatter 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37c63d1704f80d6cd8ec6cc2fbc031012fc161ecdbe65bfa9e162bbeeb81e7b7
4
- data.tar.gz: f4c9ece4ae61dbe1d0aa4ee42ebe9444687e890506a31f57ffefd229480fee46
3
+ metadata.gz: e7a602ef5810a9cfe876817c4c1b746266d715fd1af8a0928952488c91171426
4
+ data.tar.gz: 3aadfb9008e6a0703436a87dccf63737bfc4a45b99e737a7c66a32a6bb61fc23
5
5
  SHA512:
6
- metadata.gz: 76ccced85fa0d95d1418673ec680c695d627f77a40196b1340b1a94253c59b307017a1e225d2e419ab11d713368b33dbf913c756357480778d1d1f0e79e228df
7
- data.tar.gz: 226d7893282b8b8334d8dc142ad43faac2bcd6b5043fc83ea18e21056a38dea6e2f7ce1cc9e7313cda26640d31e752bced9b267eb219681e52801784ee074d46
6
+ metadata.gz: 6a752695bba8e31fb3f379550cd2a85da512916155e66b469eb7177ac800c62e3fd6c55000d81d9bf25312142174e3638928d73ae4e6d358e31bddaf140af0e5
7
+ data.tar.gz: c640f16976cdee35887a14680c8ce1c33ccb464b327accd0ba4e0e3f1f3f48ad190453a4e14b88fc266a6716ec2f04db935020ef9d0463187f6fcbaa2e5570fc
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chikuwatter
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
@@ -81,7 +81,7 @@ module Danger
81
81
  type = Type.from_string(type_str)
82
82
  file, line_num = logs[2].strip!.split(":")
83
83
 
84
- message = "#{type_str} • #{logs[3].strip!}: #{logs[1].strip!}"
84
+ message = "#{type_str} • `#{logs[3].strip!}`\n#{logs[1].strip!}"
85
85
 
86
86
  report_data.push(
87
87
  ReportData.new(message, type, file, line_num.to_i)
@@ -34,8 +34,8 @@ module Danger
34
34
  file_path = "#{File.dirname(__FILE__)}/fixtures/analyze.log"
35
35
  @my_plugin.inline_mode = true
36
36
  @my_plugin.report file_path
37
- expect(@dangerfile.status_report[:warnings]).to eq(["warning • invalid_null_aware_operator: The receiver can't be null, so the null-aware operator '?.' is unnecessary", "info • deprecated_member_use: 'headline1' is deprecated and shouldn't be used. Use displayLarge instead. This feature was deprecated after v3.1.0-0.0.pre"])
38
- expect(@dangerfile.status_report[:errors]).to eq(["error • argument_type_not_assignable: The argument type 'String?' can't be assigned to the parameter type 'String'"])
37
+ expect(@dangerfile.status_report[:warnings]).to eq(["warning • `invalid_null_aware_operator`\nThe receiver can't be null, so the null-aware operator '?.' is unnecessary", "info • `deprecated_member_use`\n'headline1' is deprecated and shouldn't be used. Use displayLarge instead. This feature was deprecated after v3.1.0-0.0.pre"])
38
+ expect(@dangerfile.status_report[:errors]).to eq(["error • `argument_type_not_assignable`\nThe argument type 'String?' can't be assigned to the parameter type 'String'"])
39
39
  end
40
40
  end
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-chikuwatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - watanavex