ruby-progressbar 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ class ProgressBar
4
4
  include Timer
5
5
 
6
6
  def initialize(options = {})
7
- @period = options.delete(:throttle_rate) { 0.01 }
7
+ @period = options.delete(:throttle_rate) { 0.01 } || 0.01
8
8
  end
9
9
 
10
10
  def choke(force = false, &block)
@@ -1,3 +1,3 @@
1
1
  class ProgressBar
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-progressbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: