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 +4 -4
- data/lib/yandex_money_formatter.rb +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8676f1a43a50f44d70a6002d364a3d1c33eb5a17e3c6074751ba849284f83ed
|
4
|
+
data.tar.gz: 3653bf2f09ff91f2901cf7a192af40d52b0788e4862f3b801423e1e75c06144d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|