xcpretty-bb 0.1.12.bb4 → 0.1.12.bb5
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 +4 -4
- data/lib/xcpretty/formatters/formatter.rb +13 -4
- data/lib/xcpretty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac8db8c314cde643fbe2f4d672af8a34aa82e57e
|
|
4
|
+
data.tar.gz: 49a9f99738d7a21800d70188f93746e58fae13f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b55bd35f731dc08836522a53c1f445c7dbd0f12573096444aafd0dc8fa28caa6d238a2a5a1407df71674a73c931eacf927d92fd8c6debc7f2409c51974ab9441
|
|
7
|
+
data.tar.gz: cf175c49845e8f03f6abf5949add212da856550247fa64affd55a20e51c4e30d1c43c62e56e928da6d5eecff035c1ac927b3d71e9d48d88c1f6fafbba92c59d4
|
|
@@ -168,10 +168,19 @@ module XCPretty
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
def format_failure(f)
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"
|
|
171
|
+
snippet = Snippet.from_filepath(f[:file_path])
|
|
172
|
+
|
|
173
|
+
output = " #{f[:test_case]}, #{red(f[:reason])}\n " \
|
|
174
|
+
"#{cyan(f[:file_path])}\n ```\n"
|
|
175
|
+
|
|
176
|
+
if @colorize
|
|
177
|
+
output += Syntax.highlight(snippet)
|
|
178
|
+
else
|
|
179
|
+
output += snippet.contents
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
output += " ```"
|
|
183
|
+
output
|
|
175
184
|
end
|
|
176
185
|
|
|
177
186
|
def error_symbol
|
data/lib/xcpretty/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xcpretty-bb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.12.
|
|
4
|
+
version: 0.1.12.bb5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marin Usalj
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-10-
|
|
12
|
+
date: 2015-10-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rouge
|