gruff 0.28.0 → 0.29.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/CHANGELOG.md +4 -0
- data/lib/gruff/line.rb +1 -1
- data/lib/gruff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79572698484a762e000b269890c2575523d452453fc6a00d5e6302acae126c89
|
4
|
+
data.tar.gz: 06a6b5e010af0c354bbc9547b594ea6e3412f3f30662d985c3bcb7143cb92fbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c557571a807ac8157c8f43401514374a052e61c1b22482169c9baf8b5b1c686b715fe222bd7d838118e33e536cdf2cf4639c75a0e5d21c8ab268993dc457ef8
|
7
|
+
data.tar.gz: 22ccb5f2c70327d30c8de0cafb13d9f1ec05d13b53cfef37a27e9a3d23b66f8009d13c90dc12425dcf460bf518d84eca2cff3140028629916be70964af928592
|
data/CHANGELOG.md
CHANGED
data/lib/gruff/line.rb
CHANGED
@@ -229,9 +229,9 @@ private
|
|
229
229
|
|
230
230
|
stroke_width = @line_width || clip_value_if_greater_than(@columns / (store.norm_data.first.y_points.size * 4.0), 5.0)
|
231
231
|
circle_radius = @dot_radius || clip_value_if_greater_than(@columns / (store.norm_data.first.y_points.size * 2.5), 5.0)
|
232
|
-
prev_x = prev_y = nil
|
233
232
|
|
234
233
|
store.norm_data.each do |data_row|
|
234
|
+
prev_x = prev_y = nil
|
235
235
|
data_row.coordinates.each_with_index do |(x_data, y_data), index|
|
236
236
|
new_x = begin
|
237
237
|
if x_data.nil?
|
data/lib/gruff/version.rb
CHANGED