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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3b93a465ca65805839d7eedde55ce6c34b9ce4fce819f333994402928acc2ae
4
- data.tar.gz: 4be5595231736777f1eb91751622822691642935ddc467c5560b43c5d793019c
3
+ metadata.gz: b0b8f5f1fc172c2e20cbcbfad5e0285802805f47d7155f35a66b4798990e4de0
4
+ data.tar.gz: faf7c6fc3fcbfad3373a16cf867c4c73bad130e87d90d9275e61487dd7bbe8cd
5
5
  SHA512:
6
- metadata.gz: 3e25b68faddb3019ad015303a2c12176c06aa5a0deb0a1585873060461df3fe5f8d6fb49a609c62ae8b43b63b152f624fb8cc43df723bc4dee6b933604327e0d
7
- data.tar.gz: 99748139eb0670c17ee3e0fbe3381690ba3113e017016ede82b11cb9f2fc692f3c971ba46874855db8e7d7ea3abf14d711483f0b57966590f0db2ca56e7f7260
6
+ metadata.gz: 1b712319820b33987c2bca3e46fde8b141cf5f9e1c129f11d1c825168ad5f107a3bf6d3f00502723b93e904612a681451bd11f5d925df2eee7e9248e07e42773
7
+ data.tar.gz: c179cc65a2c8a702f24c26d2605a53ec513398d07819ad40d5ffc3183d45febbcd8c77b8578ff648439f4f04355775b83deb9202661160da1135b37d34f63e89
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatter
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.9'
5
5
  end
@@ -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
- outputs.puts notification.exception if notification.respond_to?(:exception)
86
- outputs.puts notification.colorized_formatted_backtrace if notification.respond_to?(:colorized_formatted_backtrace)
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainbow_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Farina