qfill 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ module Qfill
48
48
  raise ArgumentError, "#{self.class}: mismatched ratios for queues #{with_ratio.join(' + ')} must not total more than 1"
49
49
  end
50
50
  num_without_ratio = self.queues.length - with_ratio.length
51
- if num_without_ratio > 0 && ratio_to_split < 1
51
+ if num_without_ratio > 0 && ratio_to_split <= 1
52
52
  equal_portion = ratio_to_split / num_without_ratio
53
53
  self.queues.each do |queue|
54
54
  if queue.ratio.nil?
@@ -1,3 +1,3 @@
1
1
  module Qfill
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qfill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: