infobar 0.13.0 → 0.13.1
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/CHANGES.md +8 -0
- data/infobar.gemspec +2 -2
- data/lib/infobar/version.rb +1 -1
- data/lib/infobar.rb +2 -1
- data/spec/infobar_spec.rb +1 -0
- 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: ce90bf89a05aa85dd2dafe44ce71c68719984a4553195f7c5ee3ea85a557e544
|
|
4
|
+
data.tar.gz: 2843fc691f0d520c3b1af317ec4faa6605cb40062abe384623f7c9fcc2ccf77e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b46cf5616ff55923b82a17d116729121b893be14446549878e911693986e9cff250dfeccfde5f0fd980d8775ec9b4c096d4117fe78c63556ad6560b8452c3ee4
|
|
7
|
+
data.tar.gz: a473c4788dd8cb8f09801537b18b8732fec231a62138a7a5b2bd75623d5d58186a7e7cafe27a59713ec5b272c8b13fbeea66d8768ddb31b20b8da178e06f757f
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 2026-01-29 v0.13.1
|
|
4
|
+
|
|
5
|
+
- Added `newline` method call in `ensure` block of `Infobar` class to ensure
|
|
6
|
+
proper display cleanup
|
|
7
|
+
- Updated `infobar_spec.rb` to verify that `newline` is called during busy
|
|
8
|
+
block execution
|
|
9
|
+
- This ensures consistent infobar behavior and proper terminal output handling
|
|
10
|
+
|
|
3
11
|
## 2026-01-29 v0.13.0
|
|
4
12
|
|
|
5
13
|
- Fixed `.busy` cleanup by ensuring `ib&.kill` is called safely to prevent race
|
data/infobar.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: infobar 0.13.
|
|
2
|
+
# stub: infobar 0.13.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "infobar".freeze
|
|
6
|
-
s.version = "0.13.
|
|
6
|
+
s.version = "0.13.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
9
|
s.require_paths = ["lib".freeze]
|
data/lib/infobar/version.rb
CHANGED
data/lib/infobar.rb
CHANGED
data/spec/infobar_spec.rb
CHANGED
|
@@ -20,6 +20,7 @@ describe Infobar do
|
|
|
20
20
|
it 'can be used to signal being busy with a block' do
|
|
21
21
|
expect(infobar.display).to receive(:update).at_least(1).and_call_original
|
|
22
22
|
expect(infobar).to receive(:finish).at_least(1).and_call_original
|
|
23
|
+
expect(infobar).to receive(:newline).at_least(1).and_call_original
|
|
23
24
|
Infobar.busy { sleep 0.2 }
|
|
24
25
|
end
|
|
25
26
|
|