rspec-progress-bar 0.1.1 → 0.1.2

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: c1bf926c21b6ac214c4aab42c218c61f756d9a970abfd11fefd534325e918032
4
- data.tar.gz: 198449e5bd7afa7935d55d0b590f9fdeb1b897d0c7b5643973888e95a0fce466
3
+ metadata.gz: 35f172a27c7ecab77c6d6f05913f27b2ed12bd383067f25d89904ac7fda0121b
4
+ data.tar.gz: f5c5b3e56d16e62c9fbbb7e12f8437100d67754805dd5079c2d0477a178a9249
5
5
  SHA512:
6
- metadata.gz: 70c8d5ac52a9f35934f27d93b6046c860556f2da1e6887cf7280b374ac85cfae8a0698b908bde2f0dcf1c769d52c7802a0e43168e625fb372a374ceb3e23342c
7
- data.tar.gz: 474c88df469c43163d3023fa70d32349b979cfb6361a26f778f4bc7b25ab7e84bf36e1fb9086ce8cf0133a0e5107419f0d46590d0a88ed485fb8370aa9783632
6
+ metadata.gz: c4265a69cbc0b1e5788a223a208b6584e7d5101be13929c31dffdc0800b3bb3f7dac2ad7d3bdb49a34c7334c831ba9fa824f47229aaff70550afeb769d19f940
7
+ data.tar.gz: a406be12b8ca0e0abf8405d11f37f447a2680f6cbefc2e0f846cc5a9bdb118413eea401056b8c42ab6a4558ff04eab8b73dc71abdce88ad436652ac60425247e
@@ -14,8 +14,7 @@ module RspecProgressBar
14
14
 
15
15
  def example_started(_notification)
16
16
  progress_bar.count += 1
17
- output << "#{progress_bar}\r"
18
- output.flush
17
+ output << "\r#{progress_bar}"
19
18
  end
20
19
  end
21
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RspecProgressBar
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -54,13 +54,7 @@ RSpec.describe RspecProgressBar::Formatter do
54
54
 
55
55
  expect(io)
56
56
  .to have_received(:<<)
57
- .with("PROGRESS\r")
58
- end
59
-
60
- it 'flushes IO to OS' do
61
- formatter.example_started(notification)
62
-
63
- expect(io).to have_received(:flush)
57
+ .with("\rPROGRESS")
64
58
  end
65
59
  end
66
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-progress-bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Trushkevich