rainbow_formatter 0.1.7 → 0.1.8

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
- SHA1:
3
- metadata.gz: 5ce1ca765a3788550fe68ca1419d619cb8e37ccc
4
- data.tar.gz: bb26de69871808ad21a0607ae2fb0b9e7a1e7fcd
2
+ SHA256:
3
+ metadata.gz: d3b93a465ca65805839d7eedde55ce6c34b9ce4fce819f333994402928acc2ae
4
+ data.tar.gz: 4be5595231736777f1eb91751622822691642935ddc467c5560b43c5d793019c
5
5
  SHA512:
6
- metadata.gz: 37cb92a482526efdb6eca12be8df2abadd74904cfadb9df7e095c84d25704b0298d94a0e74bb6a64f9dd7dad7e98edd09d567a64e361dfa2d4d99038581ad1f3
7
- data.tar.gz: 4b27afd2b7cc509a8cc4a7514babdb20d85932a3fee2c4e35cfd4c93dcb2883f6c4a7f923acbf30d66b44ecafa5dd113f08726b27e0913838b4faf52453dfa6e
6
+ metadata.gz: 3e25b68faddb3019ad015303a2c12176c06aa5a0deb0a1585873060461df3fe5f8d6fb49a609c62ae8b43b63b152f624fb8cc43df723bc4dee6b933604327e0d
7
+ data.tar.gz: 99748139eb0670c17ee3e0fbe3381690ba3113e017016ede82b11cb9f2fc692f3c971ba46874855db8e7d7ea3abf14d711483f0b57966590f0db2ca56e7f7260
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.5
1
+ 2.5.5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatter
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
@@ -82,6 +82,8 @@ 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
87
  output.puts summary.join
86
88
  output.puts notification.fully_formatted
87
89
  dump_commands_to_rerun_failed_examples if respond_to?(:dump_commands_to_rerun_failed_examples)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainbow_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Farina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-22 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.6.14.3
126
+ rubygems_version: 2.7.6.2
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Customizable RSpec formatter