xcpretty-yandex-money-formatter 1.0.2 → 1.0.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
  SHA256:
3
- metadata.gz: e8676f1a43a50f44d70a6002d364a3d1c33eb5a17e3c6074751ba849284f83ed
4
- data.tar.gz: 3653bf2f09ff91f2901cf7a192af40d52b0788e4862f3b801423e1e75c06144d
3
+ metadata.gz: 0211ee3efc0bf67b83df47132102b572afe602485b33b09634a6d9554b9e0350
4
+ data.tar.gz: 7b7cdda9ccd6df83e03c45979a32359c2861f31b7022d82aa2cecfad50237939
5
5
  SHA512:
6
- metadata.gz: d7f0821e2a153454fd581d4bf5948c3b39cb3cdca51a80bfdd24d89b117f198e2e6f6f37bf04c1b118e23350c74a9e7f7fa75ec30ca0b13c44de07c2f7382b13
7
- data.tar.gz: b614bd99cf8ed535f14172df89d2faba39e41c671d38d00ca66ee056c4a4596e3e992c11dc910f905d5690cb85dab806cfc3cab5219cc6a4aa22e3d7b694196e
6
+ metadata.gz: fe14806ae8554f095b74e0a4385de1771b00785230a115a6c992a13b55d8758e9e8fd17365202a6748ee4cc83f485e3b107581b88b36625a0a24793e2d0a06fd
7
+ data.tar.gz: 2735891bfd38220b500c461e2d935ce2f47a720f6412325711219ab0fe35729ea48cb097716de857f696e974b57aaecae0da0a1f73a5233b3bbc6a078d81ba3a
@@ -11,42 +11,42 @@ class TeamCityFormatter < XCPretty::Simple
11
11
 
12
12
  # Errors and warnings.
13
13
  def format_compile_error(file_name, file_path, reason, line, cursor)
14
- STDOUT.puts("##teamcity[message text='Compile error' errorDetails='#{super.strip}' status='ERROR']\n")
14
+ STDOUT.puts("##teamcity[message text='Compile error' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
15
15
  super
16
16
  end
17
17
 
18
18
  def format_error(message)
19
- STDOUT.puts("##teamcity[message text='Error' errorDetails='#{super.strip}' status='ERROR']\n")
19
+ STDOUT.puts("##teamcity[message text='Error' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
20
20
  super
21
21
  end
22
22
 
23
23
  def format_file_missing_error(error, file_path)
24
- STDOUT.puts("##teamcity[message text='Missing file' errorDetails='#{super.strip}' status='ERROR']\n")
24
+ STDOUT.puts("##teamcity[message text='Missing file' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
25
25
  super
26
26
  end
27
27
 
28
28
  def format_ld_warning(message)
29
- STDOUT.puts("##teamcity[message text='LD warning' errorDetails='#{super.strip}' status='ERROR']\n")
29
+ STDOUT.puts("##teamcity[message text='LD warning' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
30
30
  super
31
31
  end
32
32
 
33
33
  def format_undefined_symbols(message, symbol, reference)
34
- STDOUT.puts("##teamcity[message text='Undefined symbols' errorDetails='#{super.strip}' status='ERROR']\n")
34
+ STDOUT.puts("##teamcity[message text='Undefined symbols' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
35
35
  super
36
36
  end
37
37
 
38
38
  def format_duplicate_symbols(message, file_paths)
39
- STDOUT.puts("##teamcity[message text='Duplicate symbols' errorDetails='#{super.strip}' status='ERROR']\n")
39
+ STDOUT.puts("##teamcity[message text='Duplicate symbols' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
40
40
  super
41
41
  end
42
42
 
43
43
  def format_warning(message)
44
- STDOUT.puts("##teamcity[message text='Warning' errorDetails='#{super.strip}' status='WARNING']\n")
44
+ STDOUT.puts("##teamcity[message text='Warning' errorDetails='#{super.tr("\n", "")}' status='WARNING']\n")
45
45
  super
46
46
  end
47
47
 
48
48
  def format_compile_warning(file_name, file_path, reason, line, cursor)
49
- STDOUT.puts("##teamcity[message text='Compile warning' errorDetails='#{super.strip}' status='ERROR']\n")
49
+ STDOUT.puts("##teamcity[message text='Compile warning' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
50
50
  super
51
51
  end
52
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcpretty-yandex-money-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alxander Zalutskiy