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 +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: 0211ee3efc0bf67b83df47132102b572afe602485b33b09634a6d9554b9e0350
|
4
|
+
data.tar.gz: 7b7cdda9ccd6df83e03c45979a32359c2861f31b7022d82aa2cecfad50237939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
49
|
+
STDOUT.puts("##teamcity[message text='Compile warning' errorDetails='#{super.tr("\n", "")}' status='ERROR']\n")
|
50
50
|
super
|
51
51
|
end
|
52
52
|
|