ruby_ci 0.2.10 → 0.2.11

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: aa6e2fa74cc6d0e4b24da9318e739db4491b91195a20aaab6e777470934d2819
4
- data.tar.gz: 5228af6801441a991d0f6802fb8ea28c658512f66240d1b1b2530337dcc8577d
3
+ metadata.gz: 1ad35fe30f8c4e72703b0ab13fb95996d76cb291955c2401c863f159e06ebea0
4
+ data.tar.gz: 06e89200e0e82e5f7c4c0dd1c2204c5fa63f13f07505f549799f6cfdbbe94326
5
5
  SHA512:
6
- metadata.gz: d03cdba5e3d219f235036e30ce595932eb69da946b1cb2c2639db9fd56abb8f883261515519cd4eec3559ba6964b8fb63964b270cef2a531a90bae684986fabd
7
- data.tar.gz: 639d761bf5da50ec7a35950e500682501dcca9c92017fed76631344f9436df42501ea8aecfe85814010abb24a194aa56f4a7ef4192c1c08df7771bfd3ddf616d
6
+ metadata.gz: 7dc9c4580c9a8b021546ad8b638583ebb18af22ed695ff54c2f378b839257404eab73a31ce6756d6205ea2135d897abbd219cf3807424eb6458860174b4a7911
7
+ data.tar.gz: 8ce9828e871bc0fc185b6a0040e336f8e520e8b813a73166e0c00d91bf70b9cb401399849d84521674e13e63a5c334b7311e2d173af8ba6fa07cc70092f3b6c5
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require "stringio"
2
3
 
3
4
  module RubyCI
4
5
  class RspecRunFormatter
@@ -70,6 +71,7 @@ module RubyCI
70
71
  end
71
72
 
72
73
  def start(start_notification)
74
+ @output.print "Starting rspec run"
73
75
  # $stderr = $stdout
74
76
 
75
77
  data = {
@@ -86,6 +88,7 @@ module RubyCI
86
88
  end
87
89
 
88
90
  def close(null_notification)
91
+ @output.print "Finished rspec run"
89
92
  # check_heap_live_num
90
93
  msg(:gc_stat, GC.stat.merge(max_heap_live_num: @max_heap_live_num))
91
94
  unless running_only_failed? || ENV["EXTRA_SLOWER_RUN"] || running_gem_or_engine?
@@ -124,6 +127,7 @@ module RubyCI
124
127
  def example_passed(example_notification)
125
128
  metadata = example_notification.example.metadata
126
129
  broadcast_example_finished(serialize_example(metadata, "passed".freeze), example_notification.example)
130
+ @output.print RSpec::Core::Formatters::ConsoleCodes.wrap('.', :success)
127
131
  end
128
132
 
129
133
  def example_failed(example_notification)
@@ -135,6 +139,7 @@ module RubyCI
135
139
  serialize_example(metadata, "failed".freeze, fully_formatted),
136
140
  example_notification.example
137
141
  )
142
+ @output.print RSpec::Core::Formatters::ConsoleCodes.wrap('F', :failure)
138
143
  end
139
144
 
140
145
  def example_pending(example_notification)
@@ -143,6 +148,7 @@ module RubyCI
143
148
  serialize_example(metadata, "pending".freeze),
144
149
  example_notification.example
145
150
  )
151
+ @output.print RSpec::Core::Formatters::ConsoleCodes.wrap('*', :pending)
146
152
  end
147
153
 
148
154
  def example_group_finished(group_notification)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyCI
4
- VERSION = "0.2.10"
4
+ VERSION = "0.2.11"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ale ∴