rainbow_formatter 0.1.8 → 0.1.9
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/formatter/version.rb +1 -1
- data/lib/rainbow_formatter.rb +5 -2
- 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: b0b8f5f1fc172c2e20cbcbfad5e0285802805f47d7155f35a66b4798990e4de0
|
4
|
+
data.tar.gz: faf7c6fc3fcbfad3373a16cf867c4c73bad130e87d90d9275e61487dd7bbe8cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b712319820b33987c2bca3e46fde8b141cf5f9e1c129f11d1c825168ad5f107a3bf6d3f00502723b93e904612a681451bd11f5d925df2eee7e9248e07e42773
|
7
|
+
data.tar.gz: c179cc65a2c8a702f24c26d2605a53ec513398d07819ad40d5ffc3183d45febbcd8c77b8578ff648439f4f04355775b83deb9202661160da1135b37d34f63e89
|
data/lib/formatter/version.rb
CHANGED
data/lib/rainbow_formatter.rb
CHANGED
@@ -82,8 +82,11 @@ class RainbowFormatter
|
|
82
82
|
def dump_summary(notification)
|
83
83
|
duration = notification.duration
|
84
84
|
summary = "\nYou've rainbowified for #{format_duration(duration)}\n".split(//).map { |c| rainbowify(c) }
|
85
|
-
|
86
|
-
|
85
|
+
@failed_examples.each do |n|
|
86
|
+
puts "\n-> #{n.description}\n\n"
|
87
|
+
puts n.colorized_message_lines
|
88
|
+
end
|
89
|
+
output.puts notification.colorized_message_lines if notification.respond_to?(:colorized_message_lines)
|
87
90
|
output.puts summary.join
|
88
91
|
output.puts notification.fully_formatted
|
89
92
|
dump_commands_to_rerun_failed_examples if respond_to?(:dump_commands_to_rerun_failed_examples)
|