tty-progressbar 0.18.1 → 0.18.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: 7ce16ff1076a290596a04263c1fb09cd3246d4ea02e70a050405ee64c1b402e7
4
- data.tar.gz: 7cd54ae7c051e037bad54b6992779bbd3afaeab89a112f9e9d1dd5f1bbeb0a11
3
+ metadata.gz: 6e266e18a501b913609146035057b886fb5810fa9415b4ba217cf21901b4963e
4
+ data.tar.gz: 7ef378c17f1d033f4ef38258591ece40267cf51f4867786f42c6aaec4734edf7
5
5
  SHA512:
6
- metadata.gz: 04c89a52f0c7467b420419edb5841e52f5ce667b666cb8637aebf6295448598d6fbdd73874823d3b73df7fb38d633a7b94931c34356295dd812bb86cc55aa882
7
- data.tar.gz: c8f65a47aa2258da3baceb42a146b528779e4b659031c2dd5dab33aba55d42673abcb885197112608a01c6147c4476d5bbdeea9db577a69478bf2f5aaa58cc91
6
+ metadata.gz: b77549a6eafedcd5bbe077013f53a694cbcfe0b21fe3d098a8e790dbb8c95e37af1f49b2d3c928196002c26f3e0f1dbda0eb472a947f5c0f421e49cf9bfc3df1
7
+ data.tar.gz: 22b5ea40361f6a300211a34031f39436120be9fcac78a62fb51a334c0f279422ad45229c5379584a85368478e72a242f376abbec6682833b4c82015d5bb3f816
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## [v0.18.2] - 2021-03-08
4
+
5
+ ### Fixed
6
+ * Fix calculating total in MultiBar with indeterminate children by Tim Tilberg(@ttilberg)
7
+
3
8
  ## [v0.18.1] - 2021-01-25
4
9
 
5
10
  ### Fixed
@@ -237,6 +242,7 @@
237
242
 
238
243
  * Initial implementation and release
239
244
 
245
+ [v0.18.2]: https://github.com/piotrmurach/tty-progressbar/compare/v0.18.1...v0.18.2
240
246
  [v0.18.1]: https://github.com/piotrmurach/tty-progressbar/compare/v0.18.0...v0.18.1
241
247
  [v0.18.0]: https://github.com/piotrmurach/tty-progressbar/compare/v0.17.0...v0.18.0
242
248
  [v0.17.0]: https://github.com/piotrmurach/tty-progressbar/compare/v0.16.0...v0.17.0
@@ -142,7 +142,7 @@ module TTY
142
142
  # @api public
143
143
  def total
144
144
  synchronize do
145
- (@bars - [@top_bar]).map(&:total).reduce(&:+)
145
+ (@bars - [@top_bar]).map(&:total).compact.reduce(&:+)
146
146
  end
147
147
  end
148
148
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class ProgressBar
5
- VERSION = "0.18.1"
5
+ VERSION = "0.18.2"
6
6
  end # ProgressBar
7
7
  end # TTY
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-progressbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: strings-ansi