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 +4 -4
- data/lib/parallel.rb +3 -1
- data/lib/parallel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05382db7d0b4b4f68df10928de7361d70ccac05f
|
|
4
|
+
data.tar.gz: 5e2ad497c0cd970096597b55463dc8537eb28a13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95cd753742bca781538717f438151e16088fa4a952e75047654731e38b53a6beaf6d551ead69c332f6d1f7563d83dfae5e4b5b34138dceb14a944e3c0804d935
|
|
7
|
+
data.tar.gz: f13c32555e567c9a14f61a3315cb2b90a353d3f8fa6022ff1a7735e66de189b303592c400d11fa34610544a898e200e75df23dac719d5fcd44a9230be52dc6fe
|
data/lib/parallel.rb
CHANGED
|
@@ -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
|
|
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
|
|
data/lib/parallel/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: michael@grosser.it
|