qfill 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qfill/popper.rb +1 -1
- data/lib/qfill/pusher.rb +8 -0
- data/lib/qfill/result.rb +5 -1
- data/lib/qfill/version.rb +1 -1
- metadata +2 -2
data/lib/qfill/popper.rb
CHANGED
data/lib/qfill/pusher.rb
CHANGED
data/lib/qfill/result.rb
CHANGED
@@ -110,7 +110,11 @@ module Qfill
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def is_full?
|
113
|
-
self.
|
113
|
+
self.fill_count >= self.max
|
114
|
+
end
|
115
|
+
|
116
|
+
def to_s
|
117
|
+
"Qfill::Result: ratio: #{self.ratio}, list_ratios: #{self.list_ratios}, fill_tracker: #{self.fill_tracker}, fill_count: #{self.fill_count}, filter: #{!!self.filter ? 'Yes' : 'No'}, current_list_ratio_index: #{self.current_list_ratio_index}, max: #{self.max}"
|
114
118
|
end
|
115
119
|
end
|
116
120
|
end
|
data/lib/qfill/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|