xcpretty-yandex-money-formatter 1.0.1 → 1.0.2

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: d4602bb49820ad579c2eeec706e9ff7ed3acda5942d06f7474b495befa85c040
4
- data.tar.gz: b8583a89a04a06fda705797b5b6d9839027724f16fc041aff3df8b8ec0cde8be
3
+ metadata.gz: e8676f1a43a50f44d70a6002d364a3d1c33eb5a17e3c6074751ba849284f83ed
4
+ data.tar.gz: 3653bf2f09ff91f2901cf7a192af40d52b0788e4862f3b801423e1e75c06144d
5
5
  SHA512:
6
- metadata.gz: 2c701bf17993d81b6777a7cce4a79889593d9c9a02c49dbf1306d35ee1f6f5399cf3e59760bf7ea14c60c43fd1ac3a2e0282e0fbf097c8b671bc196c8d7b991f
7
- data.tar.gz: 8b83f3468a19c34b98bb83568fd55d7188972ee72f4880674df1f1f858b9d6c480cb3758bcafc850208320b344ed5957de0a01599427d54cbcc56f7f8d9ee014
6
+ metadata.gz: d7f0821e2a153454fd581d4bf5948c3b39cb3cdca51a80bfdd24d89b117f198e2e6f6f37bf04c1b118e23350c74a9e7f7fa75ec30ca0b13c44de07c2f7382b13
7
+ data.tar.gz: b614bd99cf8ed535f14172df89d2faba39e41c671d38d00ca66ee056c4a4596e3e992c11dc910f905d5690cb85dab806cfc3cab5219cc6a4aa22e3d7b694196e
@@ -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}' status='ERROR']\n")
14
+ STDOUT.puts("##teamcity[message text='Compile error' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
19
+ STDOUT.puts("##teamcity[message text='Error' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
24
+ STDOUT.puts("##teamcity[message text='Missing file' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
29
+ STDOUT.puts("##teamcity[message text='LD warning' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
34
+ STDOUT.puts("##teamcity[message text='Undefined symbols' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
39
+ STDOUT.puts("##teamcity[message text='Duplicate symbols' errorDetails='#{super.strip}' 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}' status='WARNING']\n")
44
+ STDOUT.puts("##teamcity[message text='Warning' errorDetails='#{super.strip}' 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}' status='ERROR']\n")
49
+ STDOUT.puts("##teamcity[message text='Compile warning' errorDetails='#{super.strip}' 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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alxander Zalutskiy