parallel 1.6.2 → 1.7.0

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
  SHA1:
3
- metadata.gz: fd3638799c28c5668a5392f0f3ca40f4a2a40513
4
- data.tar.gz: e9dd1c46d6428d46521b9e9b52b4a66da4023450
3
+ metadata.gz: 05382db7d0b4b4f68df10928de7361d70ccac05f
4
+ data.tar.gz: 5e2ad497c0cd970096597b55463dc8537eb28a13
5
5
  SHA512:
6
- metadata.gz: f5046cb834fcf403a38d85c8e75c41998cfd8122a52f02068338c200b89c1970364181dab7302cd0c7a7a3cf257f3ba7498aaacfa5339e3e6397e4731899d69c
7
- data.tar.gz: 03291fcc3deb2575c21eb154e259598c142c726831301ea01a0aa21014dbfd981c97dfd7da7a5efeb5aba46ed3ab7ca0eb2250b655896e325746330506a25a21
6
+ metadata.gz: 95cd753742bca781538717f438151e16088fa4a952e75047654731e38b53a6beaf6d551ead69c332f6d1f7563d83dfae5e4b5b34138dceb14a944e3c0804d935
7
+ data.tar.gz: f13c32555e567c9a14f61a3315cb2b90a353d3f8fa6022ff1a7735e66de189b303592c400d11fa34610544a898e200e75df23dac719d5fcd44a9230be52dc6fe
@@ -244,7 +244,9 @@ module Parallel
244
244
  raise "Progressbar can only be used with array like items" if job_factory.size == Float::INFINITY
245
245
  require 'ruby-progressbar'
246
246
 
247
- if progress_options.respond_to? :to_str
247
+ if progress_options == true
248
+ progress_options = { title: "Progress" }
249
+ elsif progress_options.respond_to? :to_str
248
250
  progress_options = { title: progress_options.to_str }
249
251
  end
250
252
 
@@ -1,3 +1,3 @@
1
1
  module Parallel
2
- VERSION = Version = '1.6.2'
2
+ VERSION = Version = '1.7.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-24 00:00:00.000000000 Z
11
+ date: 2016-03-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it