tsunami 0.3.0 → 0.3.1
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.
- data/VERSION +1 -1
- data/lib/tsunami/bucket.rb +4 -2
- data/tsunami.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/tsunami/bucket.rb
CHANGED
@@ -17,9 +17,11 @@ class Tsunami
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def set(frame, value)
|
20
|
-
|
20
|
+
frame_values = values(frame)
|
21
21
|
|
22
|
-
|
22
|
+
frame_values[:min] = value if value < frame_values[:min]
|
23
|
+
|
24
|
+
frame_values[:max] = value if value > frame_values[:max]
|
23
25
|
end
|
24
26
|
|
25
27
|
def frames_per_pixel
|
data/tsunami.gemspec
CHANGED