gruff 0.5.0-java → 0.9.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.editorconfig +14 -0
- data/.github/ISSUE_TEMPLATE.md +18 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +109 -0
- data/.rubocop_todo.yml +136 -0
- data/.travis.yml +24 -12
- data/.yardopts +1 -0
- data/{History.txt → CHANGELOG.md} +63 -24
- data/Gemfile +3 -7
- data/README.md +53 -25
- data/Rakefile +6 -201
- data/assets/plastik/blue.png +0 -0
- data/assets/plastik/green.png +0 -0
- data/assets/plastik/red.png +0 -0
- data/docker/Dockerfile +14 -0
- data/docker/build.sh +4 -0
- data/docker/launch.sh +4 -0
- data/gruff.gemspec +18 -14
- data/init.rb +2 -0
- data/lib/gruff.rb +25 -2
- data/lib/gruff/accumulator_bar.rb +7 -7
- data/lib/gruff/area.rb +12 -19
- data/lib/gruff/bar.rb +60 -44
- data/lib/gruff/base.rb +281 -585
- data/lib/gruff/bezier.rb +15 -18
- data/lib/gruff/bullet.rb +41 -62
- data/lib/gruff/dot.rb +26 -61
- data/lib/gruff/helper/bar_conversion.rb +47 -0
- data/lib/gruff/helper/bar_value_label_mixin.rb +30 -0
- data/lib/gruff/{stacked_mixin.rb → helper/stacked_mixin.rb} +8 -8
- data/lib/gruff/line.rb +126 -148
- data/lib/gruff/mini/bar.rb +8 -9
- data/lib/gruff/mini/legend.rb +24 -36
- data/lib/gruff/mini/pie.rb +10 -11
- data/lib/gruff/mini/side_bar.rb +9 -10
- data/lib/gruff/net.rb +37 -82
- data/lib/gruff/patch/rmagick.rb +33 -0
- data/lib/gruff/patch/string.rb +8 -0
- data/lib/gruff/photo_bar.rb +27 -30
- data/lib/gruff/pie.rb +185 -89
- data/lib/gruff/renderer/bezier.rb +21 -0
- data/lib/gruff/renderer/circle.rb +21 -0
- data/lib/gruff/renderer/dash_line.rb +22 -0
- data/lib/gruff/renderer/dot.rb +39 -0
- data/lib/gruff/renderer/ellipse.rb +21 -0
- data/lib/gruff/renderer/line.rb +34 -0
- data/lib/gruff/renderer/polygon.rb +23 -0
- data/lib/gruff/renderer/polyline.rb +21 -0
- data/lib/gruff/renderer/rectangle.rb +19 -0
- data/lib/gruff/renderer/renderer.rb +127 -0
- data/lib/gruff/renderer/text.rb +42 -0
- data/lib/gruff/scatter.rb +154 -179
- data/lib/gruff/scene.rb +31 -41
- data/lib/gruff/side_bar.rb +64 -63
- data/lib/gruff/side_stacked_bar.rb +61 -59
- data/lib/gruff/spider.rb +25 -49
- data/lib/gruff/stacked_area.rb +21 -29
- data/lib/gruff/stacked_bar.rb +77 -49
- data/lib/gruff/store/base_data.rb +34 -0
- data/lib/gruff/store/custom_data.rb +34 -0
- data/lib/gruff/store/store.rb +80 -0
- data/lib/gruff/store/xy_data.rb +55 -0
- data/lib/gruff/themes.rb +32 -33
- data/lib/gruff/version.rb +3 -1
- metadata +75 -1084
- data/Manifest.txt +0 -81
- data/RELEASE.md +0 -41
- data/assets/bubble.png +0 -0
- data/assets/city_scene/background/0000.png +0 -0
- data/assets/city_scene/background/0600.png +0 -0
- data/assets/city_scene/background/2000.png +0 -0
- data/assets/city_scene/clouds/cloudy.png +0 -0
- data/assets/city_scene/clouds/partly_cloudy.png +0 -0
- data/assets/city_scene/clouds/stormy.png +0 -0
- data/assets/city_scene/grass/default.png +0 -0
- data/assets/city_scene/haze/true.png +0 -0
- data/assets/city_scene/number_sample/1.png +0 -0
- data/assets/city_scene/number_sample/2.png +0 -0
- data/assets/city_scene/number_sample/default.png +0 -0
- data/assets/city_scene/sky/0000.png +0 -0
- data/assets/city_scene/sky/0200.png +0 -0
- data/assets/city_scene/sky/0400.png +0 -0
- data/assets/city_scene/sky/0600.png +0 -0
- data/assets/city_scene/sky/0800.png +0 -0
- data/assets/city_scene/sky/1000.png +0 -0
- data/assets/city_scene/sky/1200.png +0 -0
- data/assets/city_scene/sky/1400.png +0 -0
- data/assets/city_scene/sky/1500.png +0 -0
- data/assets/city_scene/sky/1700.png +0 -0
- data/assets/city_scene/sky/2000.png +0 -0
- data/assets/pc306715.jpg +0 -0
- data/lib/gruff/bar_conversion.rb +0 -46
- data/lib/gruff/deprecated.rb +0 -39
- data/test/gruff_test_case.rb +0 -154
- data/test/image_compare.rb +0 -58
- data/test/output/accum_bar.png +0 -0
- data/test/output/area_keynote.png +0 -0
- data/test/output/area_keynote_small.png +0 -0
- data/test/output/area_many.png +0 -0
- data/test/output/area_many_areas_small.png +0 -0
- data/test/output/area_tiny.png +0 -0
- data/test/output/area_wide.png +0 -0
- data/test/output/bar2_wrapped_legend_16_400.png +0 -0
- data/test/output/bar2_wrapped_legend_16_800.png +0 -0
- data/test/output/bar2_wrapped_legend_30_400.png +0 -0
- data/test/output/bar2_wrapped_legend_30_800.png +0 -0
- data/test/output/bar2_wrapped_legend_4_400.png +0 -0
- data/test/output/bar2_wrapped_legend_4_800.png +0 -0
- data/test/output/bar2_wrapped_legend__400.png +0 -0
- data/test/output/bar2_wrapped_legend__800.png +0 -0
- data/test/output/bar_background_gradient_bottom_top.png +0 -0
- data/test/output/bar_background_gradient_left_right.png +0 -0
- data/test/output/bar_background_gradient_right_left.png +0 -0
- data/test/output/bar_background_gradient_top_bottom.png +0 -0
- data/test/output/bar_background_gradient_topleft_bottomright.png +0 -0
- data/test/output/bar_background_gradient_topright_bottomleft.png +0 -0
- data/test/output/bar_formatted_numbers.png +0 -0
- data/test/output/bar_keynote.png +0 -0
- data/test/output/bar_keynote_small.png +0 -0
- data/test/output/bar_long_legend_text.png +0 -0
- data/test/output/bar_manual_colors.png +0 -0
- data/test/output/bar_marker_shadow.png +0 -0
- data/test/output/bar_nearly_zero_max_10.png +0 -0
- data/test/output/bar_no_legend.png +0 -0
- data/test/output/bar_no_line_markers.png +0 -0
- data/test/output/bar_no_title.png +0 -0
- data/test/output/bar_no_title_or_legend.png +0 -0
- data/test/output/bar_odeo.png +0 -0
- data/test/output/bar_one_value.png +0 -0
- data/test/output/bar_pos_neg.png +0 -0
- data/test/output/bar_rails_keynote.png +0 -0
- data/test/output/bar_set_absolute_trunc.png +0 -0
- data/test/output/bar_set_label_stagger_height.png +0 -0
- data/test/output/bar_set_legend_box_size_lg.png +0 -0
- data/test/output/bar_set_legend_box_size_sm.png +0 -0
- data/test/output/bar_set_marker.png +0 -0
- data/test/output/bar_set_trailing_dots_trunc.png +0 -0
- data/test/output/bar_spacing_full.png +0 -0
- data/test/output/bar_spacing_half.png +0 -0
- data/test/output/bar_spacing_none.png +0 -0
- data/test/output/bar_tall_graph.png +0 -0
- data/test/output/bar_tall_graph_small.png +0 -0
- data/test/output/bar_themed.png +0 -0
- data/test/output/bar_title_margin.png +0 -0
- data/test/output/bar_value_labels.png +0 -0
- data/test/output/bar_wide_graph.png +0 -0
- data/test/output/bar_wide_graph_small.png +0 -0
- data/test/output/bar_wrapped_legend_16_400.png +0 -0
- data/test/output/bar_wrapped_legend_16_800.png +0 -0
- data/test/output/bar_wrapped_legend_30_400.png +0 -0
- data/test/output/bar_wrapped_legend_30_800.png +0 -0
- data/test/output/bar_wrapped_legend_4_400.png +0 -0
- data/test/output/bar_wrapped_legend_4_800.png +0 -0
- data/test/output/bar_wrapped_legend__400.png +0 -0
- data/test/output/bar_wrapped_legend__800.png +0 -0
- data/test/output/bar_x_y_labels.png +0 -0
- data/test/output/bar_y_increment_1.png +0 -0
- data/test/output/bar_y_increment_2.0.png +0 -0
- data/test/output/bar_y_increment_20.png +0 -0
- data/test/output/bar_y_increment_5.png +0 -0
- data/test/output/bar_zero_marker_count.png +0 -0
- data/test/output/bar_zero_spacing.png +0 -0
- data/test/output/bezier.png +0 -0
- data/test/output/bezier_2.png +0 -0
- data/test/output/bezier_3.png +0 -0
- data/test/output/bullet_greyscale.png +0 -0
- data/test/output/bullet_no_options.png +0 -0
- data/test/output/dot.png +0 -0
- data/test/output/dot_manual_colors.png +0 -0
- data/test/output/dot_nearly_zero_max_10.png +0 -0
- data/test/output/dot_no_legend.png +0 -0
- data/test/output/dot_no_line_markers.png +0 -0
- data/test/output/dot_no_title.png +0 -0
- data/test/output/dot_no_title_or_legend.png +0 -0
- data/test/output/dot_one_value.png +0 -0
- data/test/output/dot_pos_neg.png +0 -0
- data/test/output/dot_set_legend_box_size_lg.png +0 -0
- data/test/output/dot_set_legend_box_size_sm.png +0 -0
- data/test/output/dot_set_marker.png +0 -0
- data/test/output/dot_small.png +0 -0
- data/test/output/dot_tall_graph.png +0 -0
- data/test/output/dot_tall_graph_small.png +0 -0
- data/test/output/dot_themed.png +0 -0
- data/test/output/dot_wide_graph.png +0 -0
- data/test/output/dot_wide_graph_small.png +0 -0
- data/test/output/dot_x_y_labels.png +0 -0
- data/test/output/dot_y_increment_1.png +0 -0
- data/test/output/dot_y_increment_2.0.png +0 -0
- data/test/output/dot_y_increment_20.png +0 -0
- data/test/output/dot_y_increment_5.png +0 -0
- data/test/output/enhancements-1.png +0 -0
- data/test/output/enhancements.png +0 -0
- data/test/output/line_all_neg.png +0 -0
- data/test/output/line_all_neg_400.png +0 -0
- data/test/output/line_all_neg_no_max.png +0 -0
- data/test/output/line_baseline.png +0 -0
- data/test/output/line_hang_value.png +0 -0
- data/test/output/line_hide_dots.png +0 -0
- data/test/output/line_hide_lines.png +0 -0
- data/test/output/line_jruby_error.png +0 -0
- data/test/output/line_large.png +0 -0
- data/test/output/line_large_baseline.png +0 -0
- data/test/output/line_legend_at_bottom.png +0 -0
- data/test/output/line_many.png +0 -0
- data/test/output/line_many_lines_small.png +0 -0
- data/test/output/line_many_numbers.png +0 -0
- data/test/output/line_marker_label_accuracy.png +0 -0
- data/test/output/line_more_sets_than_colors.png +0 -0
- data/test/output/line_no_data.png +0 -0
- data/test/output/line_no_data_msg.png +0 -0
- data/test/output/line_no_data_other.png +0 -0
- data/test/output/line_no_hide.png +0 -0
- data/test/output/line_no_legend.png +0 -0
- data/test/output/line_no_line_markers.png +0 -0
- data/test/output/line_no_title.png +0 -0
- data/test/output/line_nothing_but_the_graph.png +0 -0
- data/test/output/line_one_value.png +0 -0
- data/test/output/line_one_value_array.png +0 -0
- data/test/output/line_pos_neg.png +0 -0
- data/test/output/line_pos_neg_400.png +0 -0
- data/test/output/line_reference_lines.png +0 -0
- data/test/output/line_similar_high_end_values.png +0 -0
- data/test/output/line_similar_high_end_values_with_floor.png +0 -0
- data/test/output/line_small_small_zero.png +0 -0
- data/test/output/line_small_values.png +0 -0
- data/test/output/line_small_values_small.png +0 -0
- data/test/output/line_small_zero.png +0 -0
- data/test/output/line_some_nil_points.png +0 -0
- data/test/output/line_theme_37signals_.png +0 -0
- data/test/output/line_theme_37signals_400.png +0 -0
- data/test/output/line_theme_keynote_.png +0 -0
- data/test/output/line_theme_keynote_400.png +0 -0
- data/test/output/line_theme_odeo_.png +0 -0
- data/test/output/line_theme_odeo_400.png +0 -0
- data/test/output/line_theme_rails_keynote_.png +0 -0
- data/test/output/line_theme_rails_keynote_400.png +0 -0
- data/test/output/line_tiny.png +0 -0
- data/test/output/line_transparent.png +0 -0
- data/test/output/line_very_small.png +0 -0
- data/test/output/line_webp.webp +0 -0
- data/test/output/line_wide_graph.png +0 -0
- data/test/output/line_wide_graph_small.png +0 -0
- data/test/output/line_xy.png +0 -0
- data/test/output/line_xy_pairs.png +0 -0
- data/test/output/line_y_axis_increment.png +0 -0
- data/test/output/mini_bar.png +0 -0
- data/test/output/mini_pie.png +0 -0
- data/test/output/mini_pie_right_legend.png +0 -0
- data/test/output/mini_side_bar.png +0 -0
- data/test/output/mini_side_bar_multi_color.png +0 -0
- data/test/output/net_dots_tiny.png +0 -0
- data/test/output/net_large.png +0 -0
- data/test/output/net_many.png +0 -0
- data/test/output/net_many_nets_small.png +0 -0
- data/test/output/net_no_data.png +0 -0
- data/test/output/net_no_data_msg.png +0 -0
- data/test/output/net_no_data_other.png +0 -0
- data/test/output/net_no_legend.png +0 -0
- data/test/output/net_no_net_markers.png +0 -0
- data/test/output/net_no_title.png +0 -0
- data/test/output/net_nothing_but_the_graph.png +0 -0
- data/test/output/net_similar_high_end_values.png +0 -0
- data/test/output/net_small.png +0 -0
- data/test/output/net_small_small.png +0 -0
- data/test/output/net_small_small_zero.png +0 -0
- data/test/output/net_small_zero.png +0 -0
- data/test/output/net_wide_graph.png +0 -0
- data/test/output/net_wide_graph_small.png +0 -0
- data/test/output/pie_equal.png +0 -0
- data/test/output/pie_grey.png +0 -0
- data/test/output/pie_keynote.png +0 -0
- data/test/output/pie_keynote_small.png +0 -0
- data/test/output/pie_legend.png +0 -0
- data/test/output/pie_legend_small.png +0 -0
- data/test/output/pie_nearly_equal.png +0 -0
- data/test/output/pie_one_val.png +0 -0
- data/test/output/pie_pastel.png +0 -0
- data/test/output/pie_simple.png +0 -0
- data/test/output/pie_wide.png +0 -0
- data/test/output/pie_wrapped_legend_16_400.png +0 -0
- data/test/output/pie_wrapped_legend_16_800.png +0 -0
- data/test/output/pie_wrapped_legend_30_400.png +0 -0
- data/test/output/pie_wrapped_legend_30_800.png +0 -0
- data/test/output/pie_wrapped_legend_4_400.png +0 -0
- data/test/output/pie_wrapped_legend_4_800.png +0 -0
- data/test/output/pie_wrapped_legend__400.png +0 -0
- data/test/output/pie_wrapped_legend__800.png +0 -0
- data/test/output/pie_zero.png +0 -0
- data/test/output/scatter_all_neg.png +0 -0
- data/test/output/scatter_all_neg_400.png +0 -0
- data/test/output/scatter_basic.png +0 -0
- data/test/output/scatter_many.png +0 -0
- data/test/output/scatter_no_data.png +0 -0
- data/test/output/scatter_no_data_msg.png +0 -0
- data/test/output/scatter_no_data_other.png +0 -0
- data/test/output/scatter_no_hide.png +0 -0
- data/test/output/scatter_no_labels.png +0 -0
- data/test/output/scatter_no_legend.png +0 -0
- data/test/output/scatter_no_line_markers.png +0 -0
- data/test/output/scatter_no_title.png +0 -0
- data/test/output/scatter_nothing_but_the_graph.png +0 -0
- data/test/output/scatter_pos_neg.png +0 -0
- data/test/output/scatter_pos_neg_400.png +0 -0
- data/test/output/scatter_wide_graph.png +0 -0
- data/test/output/scatter_wide_graph_small.png +0 -0
- data/test/output/scene_hazy_night.png +0 -0
- data/test/output/scene_not_hazy_day.png +0 -0
- data/test/output/scene_partly_cloudy_day.png +0 -0
- data/test/output/scene_stormy_day.png +0 -0
- data/test/output/scene_stormy_night.png +0 -0
- data/test/output/side_bar.png +0 -0
- data/test/output/side_bar_data_range.png +0 -0
- data/test/output/side_bar_labels.png +0 -0
- data/test/output/side_bar_spacing_full.png +0 -0
- data/test/output/side_bar_spacing_half.png +0 -0
- data/test/output/side_bar_spacing_none.png +0 -0
- data/test/output/side_stacked_bar_keynote.png +0 -0
- data/test/output/side_stacked_bar_keynote_small.png +0 -0
- data/test/output/side_stacked_bar_labels.png +0 -0
- data/test/output/side_stacked_bar_long_label.png +0 -0
- data/test/output/side_stacked_bar_wide.png +0 -0
- data/test/output/spider_37signals.png +0 -0
- data/test/output/spider_equal.png +0 -0
- data/test/output/spider_keynote.png +0 -0
- data/test/output/spider_legend.png +0 -0
- data/test/output/spider_legend_small.png +0 -0
- data/test/output/spider_lots_of_data.png +0 -0
- data/test/output/spider_lots_of_data_normal_names.png +0 -0
- data/test/output/spider_nearly_equal.png +0 -0
- data/test/output/spider_no_axes.png +0 -0
- data/test/output/spider_no_background.png +0 -0
- data/test/output/spider_no_print.png +0 -0
- data/test/output/spider_overlay_1.png +0 -0
- data/test/output/spider_overlay_2.png +0 -0
- data/test/output/spider_rotation.png +0 -0
- data/test/output/spider_small.png +0 -0
- data/test/output/spider_wide.png +0 -0
- data/test/output/spider_zero.png +0 -0
- data/test/output/stacked_area_keynote.png +0 -0
- data/test/output/stacked_area_keynote_small.png +0 -0
- data/test/output/stacked_bar_keynote.png +0 -0
- data/test/output/stacked_bar_keynote_small.png +0 -0
- data/test/output_java/accum_bar.png +0 -0
- data/test/output_java/area_keynote.png +0 -0
- data/test/output_java/area_keynote_small.png +0 -0
- data/test/output_java/area_many.png +0 -0
- data/test/output_java/area_many_areas_small.png +0 -0
- data/test/output_java/area_tiny.png +0 -0
- data/test/output_java/area_wide.png +0 -0
- data/test/output_java/bar2_wrapped_legend_16_400.png +0 -0
- data/test/output_java/bar2_wrapped_legend_16_800.png +0 -0
- data/test/output_java/bar2_wrapped_legend_30_400.png +0 -0
- data/test/output_java/bar2_wrapped_legend_30_800.png +0 -0
- data/test/output_java/bar2_wrapped_legend_4_400.png +0 -0
- data/test/output_java/bar2_wrapped_legend_4_800.png +0 -0
- data/test/output_java/bar2_wrapped_legend__400.png +0 -0
- data/test/output_java/bar2_wrapped_legend__800.png +0 -0
- data/test/output_java/bar_background_gradient_bottom_top.png +0 -0
- data/test/output_java/bar_background_gradient_left_right.png +0 -0
- data/test/output_java/bar_background_gradient_right_left.png +0 -0
- data/test/output_java/bar_background_gradient_top_bottom.png +0 -0
- data/test/output_java/bar_background_gradient_topleft_bottomright.png +0 -0
- data/test/output_java/bar_background_gradient_topright_bottomleft.png +0 -0
- data/test/output_java/bar_formatted_numbers.png +0 -0
- data/test/output_java/bar_keynote.png +0 -0
- data/test/output_java/bar_keynote_small.png +0 -0
- data/test/output_java/bar_long_legend_text.png +0 -0
- data/test/output_java/bar_manual_colors.png +0 -0
- data/test/output_java/bar_marker_shadow.png +0 -0
- data/test/output_java/bar_nearly_zero_max_10.png +0 -0
- data/test/output_java/bar_no_legend.png +0 -0
- data/test/output_java/bar_no_line_markers.png +0 -0
- data/test/output_java/bar_no_title.png +0 -0
- data/test/output_java/bar_no_title_or_legend.png +0 -0
- data/test/output_java/bar_odeo.png +0 -0
- data/test/output_java/bar_one_value.png +0 -0
- data/test/output_java/bar_pos_neg.png +0 -0
- data/test/output_java/bar_rails_keynote.png +0 -0
- data/test/output_java/bar_set_absolute_trunc.png +0 -0
- data/test/output_java/bar_set_label_stagger_height.png +0 -0
- data/test/output_java/bar_set_legend_box_size_lg.png +0 -0
- data/test/output_java/bar_set_legend_box_size_sm.png +0 -0
- data/test/output_java/bar_set_marker.png +0 -0
- data/test/output_java/bar_set_trailing_dots_trunc.png +0 -0
- data/test/output_java/bar_spacing_full.png +0 -0
- data/test/output_java/bar_spacing_half.png +0 -0
- data/test/output_java/bar_spacing_none.png +0 -0
- data/test/output_java/bar_tall_graph.png +0 -0
- data/test/output_java/bar_tall_graph_small.png +0 -0
- data/test/output_java/bar_themed.png +0 -0
- data/test/output_java/bar_title_margin.png +0 -0
- data/test/output_java/bar_value_labels.png +0 -0
- data/test/output_java/bar_wide_graph.png +0 -0
- data/test/output_java/bar_wide_graph_small.png +0 -0
- data/test/output_java/bar_wrapped_legend_16_400.png +0 -0
- data/test/output_java/bar_wrapped_legend_16_800.png +0 -0
- data/test/output_java/bar_wrapped_legend_30_400.png +0 -0
- data/test/output_java/bar_wrapped_legend_30_800.png +0 -0
- data/test/output_java/bar_wrapped_legend_4_400.png +0 -0
- data/test/output_java/bar_wrapped_legend_4_800.png +0 -0
- data/test/output_java/bar_wrapped_legend__400.png +0 -0
- data/test/output_java/bar_wrapped_legend__800.png +0 -0
- data/test/output_java/bar_x_y_labels.png +0 -0
- data/test/output_java/bar_y_increment_1.png +0 -0
- data/test/output_java/bar_y_increment_2.0.png +0 -0
- data/test/output_java/bar_y_increment_20.png +0 -0
- data/test/output_java/bar_y_increment_5.png +0 -0
- data/test/output_java/bar_zero_marker_count.png +0 -0
- data/test/output_java/bar_zero_spacing.png +0 -0
- data/test/output_java/bezier.png +0 -0
- data/test/output_java/bezier_2.png +0 -0
- data/test/output_java/bezier_3.png +0 -0
- data/test/output_java/bullet_greyscale.png +0 -0
- data/test/output_java/bullet_no_options.png +0 -0
- data/test/output_java/dot.png +0 -0
- data/test/output_java/dot_manual_colors.png +0 -0
- data/test/output_java/dot_nearly_zero_max_10.png +0 -0
- data/test/output_java/dot_no_legend.png +0 -0
- data/test/output_java/dot_no_line_markers.png +0 -0
- data/test/output_java/dot_no_title.png +0 -0
- data/test/output_java/dot_no_title_or_legend.png +0 -0
- data/test/output_java/dot_one_value.png +0 -0
- data/test/output_java/dot_pos_neg.png +0 -0
- data/test/output_java/dot_set_legend_box_size_lg.png +0 -0
- data/test/output_java/dot_set_legend_box_size_sm.png +0 -0
- data/test/output_java/dot_set_marker.png +0 -0
- data/test/output_java/dot_small.png +0 -0
- data/test/output_java/dot_tall_graph.png +0 -0
- data/test/output_java/dot_tall_graph_small.png +0 -0
- data/test/output_java/dot_themed.png +0 -0
- data/test/output_java/dot_wide_graph.png +0 -0
- data/test/output_java/dot_wide_graph_small.png +0 -0
- data/test/output_java/dot_x_y_labels.png +0 -0
- data/test/output_java/dot_y_increment_1.png +0 -0
- data/test/output_java/dot_y_increment_2.0.png +0 -0
- data/test/output_java/dot_y_increment_20.png +0 -0
- data/test/output_java/dot_y_increment_5.png +0 -0
- data/test/output_java/enhancements-1.png +0 -0
- data/test/output_java/enhancements.png +0 -0
- data/test/output_java/line_all_neg.png +0 -0
- data/test/output_java/line_all_neg_400.png +0 -0
- data/test/output_java/line_all_neg_no_max.png +0 -0
- data/test/output_java/line_baseline.png +0 -0
- data/test/output_java/line_hang_value.png +0 -0
- data/test/output_java/line_hide_dots.png +0 -0
- data/test/output_java/line_hide_lines.png +0 -0
- data/test/output_java/line_jruby_error.png +0 -0
- data/test/output_java/line_large.png +0 -0
- data/test/output_java/line_large_baseline.png +0 -0
- data/test/output_java/line_legend_at_bottom.png +0 -0
- data/test/output_java/line_many.png +0 -0
- data/test/output_java/line_many_lines_small.png +0 -0
- data/test/output_java/line_many_numbers.png +0 -0
- data/test/output_java/line_marker_label_accuracy.png +0 -0
- data/test/output_java/line_more_sets_than_colors.png +0 -0
- data/test/output_java/line_no_data.png +0 -0
- data/test/output_java/line_no_data_msg.png +0 -0
- data/test/output_java/line_no_data_other.png +0 -0
- data/test/output_java/line_no_hide.png +0 -0
- data/test/output_java/line_no_legend.png +0 -0
- data/test/output_java/line_no_line_markers.png +0 -0
- data/test/output_java/line_no_title.png +0 -0
- data/test/output_java/line_nothing_but_the_graph.png +0 -0
- data/test/output_java/line_one_value.png +0 -0
- data/test/output_java/line_one_value_array.png +0 -0
- data/test/output_java/line_pos_neg.png +0 -0
- data/test/output_java/line_pos_neg_400.png +0 -0
- data/test/output_java/line_reference_lines.png +0 -0
- data/test/output_java/line_similar_high_end_values.png +0 -0
- data/test/output_java/line_similar_high_end_values_with_floor.png +0 -0
- data/test/output_java/line_small_small_zero.png +0 -0
- data/test/output_java/line_small_values.png +0 -0
- data/test/output_java/line_small_values_small.png +0 -0
- data/test/output_java/line_small_zero.png +0 -0
- data/test/output_java/line_some_nil_points.png +0 -0
- data/test/output_java/line_theme_37signals_.png +0 -0
- data/test/output_java/line_theme_37signals_400.png +0 -0
- data/test/output_java/line_theme_keynote_.png +0 -0
- data/test/output_java/line_theme_keynote_400.png +0 -0
- data/test/output_java/line_theme_odeo_.png +0 -0
- data/test/output_java/line_theme_odeo_400.png +0 -0
- data/test/output_java/line_theme_rails_keynote_.png +0 -0
- data/test/output_java/line_theme_rails_keynote_400.png +0 -0
- data/test/output_java/line_tiny.png +0 -0
- data/test/output_java/line_transparent.png +0 -0
- data/test/output_java/line_very_small.png +0 -0
- data/test/output_java/line_webp.webp +0 -0
- data/test/output_java/line_wide_graph.png +0 -0
- data/test/output_java/line_wide_graph_small.png +0 -0
- data/test/output_java/line_xy.png +0 -0
- data/test/output_java/line_xy_pairs.png +0 -0
- data/test/output_java/line_y_axis_increment.png +0 -0
- data/test/output_java/mini_bar.png +0 -0
- data/test/output_java/mini_pie.png +0 -0
- data/test/output_java/mini_pie_right_legend.png +0 -0
- data/test/output_java/mini_side_bar.png +0 -0
- data/test/output_java/mini_side_bar_multi_color.png +0 -0
- data/test/output_java/net_dots_tiny.png +0 -0
- data/test/output_java/net_large.png +0 -0
- data/test/output_java/net_many.png +0 -0
- data/test/output_java/net_many_nets_small.png +0 -0
- data/test/output_java/net_no_data.png +0 -0
- data/test/output_java/net_no_data_msg.png +0 -0
- data/test/output_java/net_no_data_other.png +0 -0
- data/test/output_java/net_no_legend.png +0 -0
- data/test/output_java/net_no_net_markers.png +0 -0
- data/test/output_java/net_no_title.png +0 -0
- data/test/output_java/net_nothing_but_the_graph.png +0 -0
- data/test/output_java/net_similar_high_end_values.png +0 -0
- data/test/output_java/net_small.png +0 -0
- data/test/output_java/net_small_small.png +0 -0
- data/test/output_java/net_small_small_zero.png +0 -0
- data/test/output_java/net_small_zero.png +0 -0
- data/test/output_java/net_wide_graph.png +0 -0
- data/test/output_java/net_wide_graph_small.png +0 -0
- data/test/output_java/pie_equal.png +0 -0
- data/test/output_java/pie_grey.png +0 -0
- data/test/output_java/pie_keynote.png +0 -0
- data/test/output_java/pie_keynote_small.png +0 -0
- data/test/output_java/pie_legend.png +0 -0
- data/test/output_java/pie_legend_small.png +0 -0
- data/test/output_java/pie_nearly_equal.png +0 -0
- data/test/output_java/pie_one_val.png +0 -0
- data/test/output_java/pie_pastel.png +0 -0
- data/test/output_java/pie_simple.png +0 -0
- data/test/output_java/pie_wide.png +0 -0
- data/test/output_java/pie_wrapped_legend_16_400.png +0 -0
- data/test/output_java/pie_wrapped_legend_16_800.png +0 -0
- data/test/output_java/pie_wrapped_legend_30_400.png +0 -0
- data/test/output_java/pie_wrapped_legend_30_800.png +0 -0
- data/test/output_java/pie_wrapped_legend_4_400.png +0 -0
- data/test/output_java/pie_wrapped_legend_4_800.png +0 -0
- data/test/output_java/pie_wrapped_legend__400.png +0 -0
- data/test/output_java/pie_wrapped_legend__800.png +0 -0
- data/test/output_java/pie_zero.png +0 -0
- data/test/output_java/scatter_all_neg.png +0 -0
- data/test/output_java/scatter_all_neg_400.png +0 -0
- data/test/output_java/scatter_basic.png +0 -0
- data/test/output_java/scatter_many.png +0 -0
- data/test/output_java/scatter_no_data.png +0 -0
- data/test/output_java/scatter_no_data_msg.png +0 -0
- data/test/output_java/scatter_no_data_other.png +0 -0
- data/test/output_java/scatter_no_hide.png +0 -0
- data/test/output_java/scatter_no_labels.png +0 -0
- data/test/output_java/scatter_no_legend.png +0 -0
- data/test/output_java/scatter_no_line_markers.png +0 -0
- data/test/output_java/scatter_no_title.png +0 -0
- data/test/output_java/scatter_nothing_but_the_graph.png +0 -0
- data/test/output_java/scatter_pos_neg.png +0 -0
- data/test/output_java/scatter_pos_neg_400.png +0 -0
- data/test/output_java/scatter_wide_graph.png +0 -0
- data/test/output_java/scatter_wide_graph_small.png +0 -0
- data/test/output_java/scene_hazy_night.png +0 -0
- data/test/output_java/scene_not_hazy_day.png +0 -0
- data/test/output_java/scene_partly_cloudy_day.png +0 -0
- data/test/output_java/scene_stormy_day.png +0 -0
- data/test/output_java/scene_stormy_night.png +0 -0
- data/test/output_java/side_bar.png +0 -0
- data/test/output_java/side_bar_data_range.png +0 -0
- data/test/output_java/side_bar_labels.png +0 -0
- data/test/output_java/side_bar_spacing_full.png +0 -0
- data/test/output_java/side_bar_spacing_half.png +0 -0
- data/test/output_java/side_bar_spacing_none.png +0 -0
- data/test/output_java/side_stacked_bar_keynote.png +0 -0
- data/test/output_java/side_stacked_bar_keynote_small.png +0 -0
- data/test/output_java/side_stacked_bar_labels.png +0 -0
- data/test/output_java/side_stacked_bar_long_label.png +0 -0
- data/test/output_java/side_stacked_bar_wide.png +0 -0
- data/test/output_java/spider_37signals.png +0 -0
- data/test/output_java/spider_equal.png +0 -0
- data/test/output_java/spider_keynote.png +0 -0
- data/test/output_java/spider_legend.png +0 -0
- data/test/output_java/spider_legend_small.png +0 -0
- data/test/output_java/spider_lots_of_data.png +0 -0
- data/test/output_java/spider_lots_of_data_normal_names.png +0 -0
- data/test/output_java/spider_nearly_equal.png +0 -0
- data/test/output_java/spider_no_axes.png +0 -0
- data/test/output_java/spider_no_background.png +0 -0
- data/test/output_java/spider_no_print.png +0 -0
- data/test/output_java/spider_overlay_1.png +0 -0
- data/test/output_java/spider_overlay_2.png +0 -0
- data/test/output_java/spider_rotation.png +0 -0
- data/test/output_java/spider_small.png +0 -0
- data/test/output_java/spider_wide.png +0 -0
- data/test/output_java/spider_zero.png +0 -0
- data/test/output_java/stacked_area_keynote.png +0 -0
- data/test/output_java/stacked_area_keynote_small.png +0 -0
- data/test/output_java/stacked_bar_keynote.png +0 -0
- data/test/output_java/stacked_bar_keynote_small.png +0 -0
- data/test/test_accumulator_bar.rb +0 -51
- data/test/test_area.rb +0 -134
- data/test/test_bar.rb +0 -505
- data/test/test_base.rb +0 -8
- data/test/test_bezier.rb +0 -33
- data/test/test_bullet.rb +0 -26
- data/test/test_dot.rb +0 -263
- data/test/test_legend.rb +0 -68
- data/test/test_line.rb +0 -657
- data/test/test_mini_bar.rb +0 -33
- data/test/test_mini_pie.rb +0 -25
- data/test/test_mini_side_bar.rb +0 -36
- data/test/test_net.rb +0 -231
- data/test/test_photo.rb +0 -41
- data/test/test_pie.rb +0 -154
- data/test/test_scatter.rb +0 -233
- data/test/test_scene.rb +0 -100
- data/test/test_side_bar.rb +0 -56
- data/test/test_sidestacked_bar.rb +0 -105
- data/test/test_spider.rb +0 -226
- data/test/test_stacked_area.rb +0 -52
- data/test/test_stacked_bar.rb +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4391afb55e326b855c066f1f7e3479fec91aa004366d44d5b5d987eceb1ad797
|
4
|
+
data.tar.gz: b3ff057010d8a3b335072597655b07806fd999f25a6fef4a549a82afaabffea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aecf3c51d0e1043ead7952711839053a7455a62d87f74f536dede1bdf40d30f16136d41286b27754eab14a7d3284c992d42339eec31ac39fd607b0e0cc9cf6c
|
7
|
+
data.tar.gz: 0a2e2e8db08f48ae2da36432894e96b95cd736be2b7f6a398009fb0e6b7f77de4466b64e0aac105cd5ce7557cb672a483b84b82b18bc8875c50a6f13e5dbf693
|
data/.editorconfig
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
2
|
+
# @see http://editorconfig.org
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
end_of_line = lf
|
7
|
+
charset = utf-8
|
8
|
+
trim_trailing_whitespace = true
|
9
|
+
insert_final_newline = true
|
10
|
+
indent_style = spaces
|
11
|
+
tab_width = 2
|
12
|
+
|
13
|
+
[{*.{rb,yml,md}]
|
14
|
+
indent_size = 2
|
@@ -0,0 +1,18 @@
|
|
1
|
+
### Description
|
2
|
+
<!-- A description of the bug or feature -->
|
3
|
+
|
4
|
+
### Steps to Reproduce
|
5
|
+
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
|
6
|
+
Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
|
7
|
+
|
8
|
+
### System Configuration
|
9
|
+
<!-- Tell us about the environment where you are experiencing the bug -->
|
10
|
+
|
11
|
+
- ImageMagick version:
|
12
|
+
- RMagick version:
|
13
|
+
- Gruff version:
|
14
|
+
- Ruby version:
|
15
|
+
- Environment (Operating system, version and so on):
|
16
|
+
- Additional information:
|
17
|
+
|
18
|
+
<!-- Thanks for reporting the issue to Gruff! -->
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
EnabledByDefault: true
|
5
|
+
Exclude:
|
6
|
+
- 'vendor/bundle/**/*'
|
7
|
+
- 'rails_generators/gruff/**/*'
|
8
|
+
|
9
|
+
Gemspec/OrderedDependencies:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Gemspec/RequiredRubyVersion:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Layout/AccessModifierIndentation:
|
16
|
+
EnforcedStyle: outdent
|
17
|
+
|
18
|
+
Layout/ClassStructure:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Layout/CommentIndentation:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Layout/FirstMethodArgumentLineBreak:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Layout/LeadingCommentSpace:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
Layout/MultilineAssignmentLayout:
|
34
|
+
EnforcedStyle: same_line
|
35
|
+
|
36
|
+
Lint/AssignmentInCondition:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
Lint/NumberConversion:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
Style/ConditionalAssignment:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
Style/ConstantVisibility:
|
46
|
+
Enabled: false
|
47
|
+
|
48
|
+
Style/Copyright:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
Style/Encoding:
|
52
|
+
Enabled: false
|
53
|
+
|
54
|
+
Style/FormatString:
|
55
|
+
EnforcedStyle: sprintf
|
56
|
+
|
57
|
+
Style/FormatStringToken:
|
58
|
+
Enabled: false
|
59
|
+
|
60
|
+
Style/GuardClause:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
Style/HashSyntax:
|
64
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
65
|
+
|
66
|
+
Style/IfUnlessModifier:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
Style/InlineComment:
|
70
|
+
Enabled: false
|
71
|
+
|
72
|
+
Style/ImplicitRuntimeError:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
Style/MethodCallWithArgsParentheses:
|
76
|
+
Enabled: false
|
77
|
+
|
78
|
+
Style/MissingElse:
|
79
|
+
Enabled: false
|
80
|
+
|
81
|
+
Style/MutableConstant:
|
82
|
+
Enabled: false
|
83
|
+
|
84
|
+
Style/Next:
|
85
|
+
Enabled: false
|
86
|
+
|
87
|
+
Style/NumericLiterals:
|
88
|
+
Enabled: false
|
89
|
+
|
90
|
+
Style/NumericPredicate:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
Style/OptionHash:
|
94
|
+
Enabled: false
|
95
|
+
|
96
|
+
Style/SingleLineBlockParams:
|
97
|
+
Enabled: false
|
98
|
+
|
99
|
+
Style/SpecialGlobalVars:
|
100
|
+
Enabled: false
|
101
|
+
|
102
|
+
Style/StructInheritance:
|
103
|
+
Enabled: false
|
104
|
+
|
105
|
+
Style/SymbolArray:
|
106
|
+
Enabled: false
|
107
|
+
|
108
|
+
Style/TernaryParentheses:
|
109
|
+
Enabled: false
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2020-05-24 08:35:04 +0000 using RuboCop version 0.81.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
Lint/DuplicateMethods:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/gruff/photo_bar.rb'
|
13
|
+
|
14
|
+
# Offense count: 1
|
15
|
+
Lint/UnreachableCode:
|
16
|
+
Exclude:
|
17
|
+
- 'lib/gruff/photo_bar.rb'
|
18
|
+
|
19
|
+
# Offense count: 1
|
20
|
+
Lint/UselessAssignment:
|
21
|
+
Exclude:
|
22
|
+
- 'lib/gruff/photo_bar.rb'
|
23
|
+
|
24
|
+
# Offense count: 1
|
25
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
26
|
+
Lint/Void:
|
27
|
+
Exclude:
|
28
|
+
- 'lib/gruff/patch/rmagick.rb'
|
29
|
+
|
30
|
+
# Offense count: 49
|
31
|
+
# Configuration parameters: IgnoredMethods.
|
32
|
+
Metrics/AbcSize:
|
33
|
+
Max: 78
|
34
|
+
|
35
|
+
# Offense count: 1
|
36
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
37
|
+
# ExcludedMethods: refine
|
38
|
+
Metrics/BlockLength:
|
39
|
+
Max: 29
|
40
|
+
|
41
|
+
# Offense count: 12
|
42
|
+
# Configuration parameters: CountComments.
|
43
|
+
Metrics/ClassLength:
|
44
|
+
Max: 634
|
45
|
+
|
46
|
+
# Offense count: 12
|
47
|
+
# Configuration parameters: IgnoredMethods.
|
48
|
+
Metrics/CyclomaticComplexity:
|
49
|
+
Max: 17
|
50
|
+
|
51
|
+
# Offense count: 126
|
52
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
53
|
+
Metrics/MethodLength:
|
54
|
+
Max: 81
|
55
|
+
|
56
|
+
# Offense count: 2
|
57
|
+
# Configuration parameters: CountKeywordArgs.
|
58
|
+
Metrics/ParameterLists:
|
59
|
+
Max: 7
|
60
|
+
|
61
|
+
# Offense count: 9
|
62
|
+
# Configuration parameters: IgnoredMethods.
|
63
|
+
Metrics/PerceivedComplexity:
|
64
|
+
Max: 20
|
65
|
+
|
66
|
+
# Offense count: 2
|
67
|
+
Naming/AccessorMethodName:
|
68
|
+
Exclude:
|
69
|
+
- 'lib/gruff/helper/stacked_mixin.rb'
|
70
|
+
- 'lib/gruff/store/store.rb'
|
71
|
+
|
72
|
+
# Offense count: 1
|
73
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
74
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
75
|
+
Naming/MemoizedInstanceVariableName:
|
76
|
+
Exclude:
|
77
|
+
- 'lib/gruff/scene.rb'
|
78
|
+
|
79
|
+
# Offense count: 7
|
80
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
81
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
82
|
+
Naming/MethodParameterName:
|
83
|
+
Exclude:
|
84
|
+
- 'lib/gruff/base.rb'
|
85
|
+
- 'lib/gruff/patch/rmagick.rb'
|
86
|
+
- 'lib/gruff/pie.rb'
|
87
|
+
- 'lib/gruff/renderer/text.rb'
|
88
|
+
|
89
|
+
# Offense count: 2
|
90
|
+
Security/Eval:
|
91
|
+
Exclude:
|
92
|
+
- 'test/gruff_test_case.rb'
|
93
|
+
|
94
|
+
# Offense count: 1
|
95
|
+
# Cop supports --auto-correct.
|
96
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
97
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
98
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
99
|
+
# FunctionalMethods: let, let!, subject, watch
|
100
|
+
# IgnoredMethods: lambda, proc, it
|
101
|
+
Style/BlockDelimiters:
|
102
|
+
Exclude:
|
103
|
+
- 'test/test_accumulator_bar.rb'
|
104
|
+
|
105
|
+
# Offense count: 33
|
106
|
+
# Cop supports --auto-correct.
|
107
|
+
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
108
|
+
# SupportedStyles: nested, compact
|
109
|
+
Style/ClassAndModuleChildren:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
# Offense count: 39
|
113
|
+
Style/Documentation:
|
114
|
+
Enabled: false
|
115
|
+
|
116
|
+
# Offense count: 134
|
117
|
+
# Configuration parameters: RequireForNonPublicMethods.
|
118
|
+
Style/DocumentationMethod:
|
119
|
+
Enabled: false
|
120
|
+
|
121
|
+
# Offense count: 3
|
122
|
+
Style/EvalWithLocation:
|
123
|
+
Exclude:
|
124
|
+
- 'test/gruff_test_case.rb'
|
125
|
+
|
126
|
+
# Offense count: 1
|
127
|
+
Style/MissingRespondToMissing:
|
128
|
+
Exclude:
|
129
|
+
- 'lib/gruff/scene.rb'
|
130
|
+
|
131
|
+
# Offense count: 406
|
132
|
+
# Cop supports --auto-correct.
|
133
|
+
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
134
|
+
# URISchemes: http, https
|
135
|
+
Layout/LineLength:
|
136
|
+
Max: 164
|
data/.travis.yml
CHANGED
@@ -1,14 +1,26 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
dist: bionic
|
3
|
+
cache: bundler
|
4
|
+
|
5
5
|
rvm:
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
11
|
-
- jruby-
|
12
|
-
-
|
13
|
-
-
|
14
|
-
-
|
6
|
+
- 2.3
|
7
|
+
- 2.4
|
8
|
+
- 2.5
|
9
|
+
- 2.6
|
10
|
+
- 2.7
|
11
|
+
- jruby-1.7.27
|
12
|
+
- jruby-9.0.5.0
|
13
|
+
- jruby-9.1.17.0
|
14
|
+
- jruby-9.2.11.1
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
include:
|
18
|
+
- name: 'Lint'
|
19
|
+
rvm: 2.3
|
20
|
+
script: bundle exec rubocop
|
21
|
+
|
22
|
+
addons:
|
23
|
+
apt:
|
24
|
+
packages:
|
25
|
+
- gsfonts
|
26
|
+
- ghostscript
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--no-private
|
@@ -1,4 +1,43 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 0.9.0
|
4
|
+
|
5
|
+
* Fix that sidebar label is not displayed on JRuby platform (#402)
|
6
|
+
* Add `group_spacing` which is spacing factor applied between a group of bars belonging to the same label (#400)
|
7
|
+
* Fix that label is displayed in the center of the side bar (#399)
|
8
|
+
* Fix that value label is displayed in the center of the side bar (#398)
|
9
|
+
* Add `show_labels_for_bar_values` into StackedBar (#396)
|
10
|
+
* Auto resize title font size if long title will be cut off (#395)
|
11
|
+
* Adjust label position in StackedBar (#394)
|
12
|
+
* Fix that labels are rendered in the center of bar graph (#393)
|
13
|
+
* Remove `stacked` property marked as experimental (#392)
|
14
|
+
* Fix to not move away from the baseline if big value was given into `segment_spacing` (#391)
|
15
|
+
* Add `segment_spacing property` into SideStackedBar like StackedBar (#390)
|
16
|
+
* Fix an exception when using an object as an argument that behaves as an Array (#317)
|
17
|
+
* Add `Scatter#dataxy` method like `Line#dataxy` (#316)
|
18
|
+
* Retry to fill background to fix "cache resources exhausted" error (#305)
|
19
|
+
* Fix label position in Gruff::Bar with negative value (#265)
|
20
|
+
* Fixed a bug that did not handle the specified minimum/maximum properly (#260)
|
21
|
+
* Fix error of “comparison of Integer with nil failed” (#257, #366, #367)
|
22
|
+
* Fix redundant label padding with many decimal points (#254)
|
23
|
+
* Fix that value label might be displayed with scientific notation (#252)
|
24
|
+
|
25
|
+
## 0.8.0
|
26
|
+
|
27
|
+
* Remove version restriction in RMagick (#186)
|
28
|
+
* Remove the upper limit (< Ruby 3.0) from the required Ruby version (#207)
|
29
|
+
|
30
|
+
## 0.5.1
|
31
|
+
|
32
|
+
Skip packaging the test images. This reduces the gem from 20MB+ to
|
33
|
+
300KB+.
|
34
|
+
|
35
|
+
Bugfixes:
|
36
|
+
|
37
|
+
* Issue #92 Reduce the gem size by not shipping the test images.
|
38
|
+
|
39
|
+
|
40
|
+
## 0.5.0
|
2
41
|
|
3
42
|
We have added a couple of cosmetic changes: Multiple marker lines both
|
4
43
|
vertically and horizontally, and multi-line titles, or no title at all if
|
@@ -19,7 +58,7 @@ Pull requests:
|
|
19
58
|
* Issue #90 Added missing parenthesis in base.rb
|
20
59
|
|
21
60
|
|
22
|
-
|
61
|
+
## 0.4.0
|
23
62
|
|
24
63
|
All old branches and pull requests have been merged or deleted. Over 40
|
25
64
|
issues have been resolved! Ruby 2.0 compatibility has been confirmed.
|
@@ -91,55 +130,55 @@ Internal:
|
|
91
130
|
* Issue #80 Remove the .rmvrc file from the project
|
92
131
|
|
93
132
|
|
94
|
-
|
133
|
+
## 0.3.7
|
95
134
|
|
96
135
|
* ???
|
97
136
|
|
98
|
-
|
137
|
+
## 0.3.6
|
99
138
|
|
100
139
|
* Fixed manifest to list dot graph [theirishpenguin]
|
101
140
|
* Fixed color cycling error [Gunnar Wolf]
|
102
141
|
* Handle case where a line graph data set only has one value [Ron Colwill]
|
103
142
|
|
104
|
-
|
143
|
+
## 0.3.5
|
105
144
|
|
106
145
|
* Added dot graph from Erik Andrejko
|
107
146
|
|
108
|
-
|
147
|
+
## 0.3.4
|
109
148
|
|
110
149
|
* Reverted DEBUG=true. Will add a check in the release process so this doesn't happen again.
|
111
150
|
* Future releases will end in an odd number for development (topfunky-gruff on GitHub) or even for production releases.
|
112
151
|
|
113
|
-
|
152
|
+
## 0.3.3
|
114
153
|
|
115
154
|
* Legend line wrapping [Mat Schaffer]
|
116
155
|
* Stacked area graph fixes [James Coglan]
|
117
156
|
|
118
|
-
|
157
|
+
## 0.3.2
|
119
158
|
|
120
159
|
* Include init.rb for use as a Rails plugin.
|
121
160
|
|
122
|
-
|
161
|
+
## 0.3.1
|
123
162
|
|
124
163
|
* Fixed missing bullet graph bug (experimental, will be in a future release).
|
125
164
|
|
126
|
-
|
165
|
+
## 0.3.0
|
127
166
|
|
128
167
|
* Fixed bug where pie graphs weren't drawing their label correctly.
|
129
168
|
|
130
|
-
|
169
|
+
## 0.2.9
|
131
170
|
|
132
171
|
* Patch to make SideBar accurate instead of stacked [Marik]
|
133
172
|
* Will be extracting net, pie, stacked, and side-stacked to separate gem
|
134
173
|
in next release.
|
135
174
|
|
136
|
-
|
175
|
+
## 0.2.8
|
137
176
|
|
138
177
|
* New accumulator bar graph (experimental)
|
139
178
|
* Better mini graphs
|
140
179
|
* Bug fixes
|
141
180
|
|
142
|
-
|
181
|
+
## 0.2.7
|
143
182
|
|
144
183
|
* Regenerated Manifest.txt
|
145
184
|
* Added scene sample to package
|
@@ -148,27 +187,27 @@ Internal:
|
|
148
187
|
* Increased size of numbers in Gruff::Mini::Pie
|
149
188
|
* Added legend_box_size accessor
|
150
189
|
|
151
|
-
|
190
|
+
## 0.2.6
|
152
191
|
|
153
192
|
* Fixed missing side_bar.rb in Manifest.txt
|
154
193
|
|
155
|
-
|
194
|
+
## 0.2.5
|
156
195
|
|
157
196
|
* New mini graph types (Experimental)
|
158
197
|
* Marker lines can be different color than text labels
|
159
198
|
* Theme definition cleanup
|
160
199
|
|
161
|
-
|
200
|
+
## 0.2.4
|
162
201
|
|
163
202
|
* Added option to hide line numbers
|
164
203
|
* Fixed code that was causing warnings
|
165
204
|
|
166
|
-
|
205
|
+
## 0.2.3
|
167
206
|
|
168
207
|
* Cleaned up measurements so the graph expands to fill the available space
|
169
208
|
* Added x-axis and y-axis label options
|
170
209
|
|
171
|
-
|
210
|
+
## 0.1.2
|
172
211
|
|
173
212
|
* minimum_value and maximum_value can be set after data() to manually scale the graph
|
174
213
|
* Fixed infinite loop bug when values are all equal
|
@@ -177,17 +216,17 @@ Internal:
|
|
177
216
|
* Initial refactoring of tests
|
178
217
|
* A host of other bug fixes
|
179
218
|
|
180
|
-
|
219
|
+
## 0.0.8
|
181
220
|
|
182
221
|
* NEW Sidestacked Bar Graphs. [Alun Eyre]
|
183
222
|
* baseline_value larger than data will now show correctly. [Mike Perham]
|
184
223
|
* hide_dots and hide_lines are now options for line graphs.
|
185
224
|
|
186
|
-
|
225
|
+
## 0.0.6
|
187
226
|
|
188
227
|
* Fixed hang when no data is passed.
|
189
228
|
|
190
|
-
|
229
|
+
## 0.0.4
|
191
230
|
|
192
231
|
* Added bar graphs
|
193
232
|
* Added area graphs
|
@@ -197,18 +236,18 @@ Internal:
|
|
197
236
|
* Added initial line marker rounding to significant digits (Christian Winkler)
|
198
237
|
* Line graphs line width is scaled with number of points being drawn (Christian Winkler)
|
199
238
|
|
200
|
-
|
239
|
+
## 0.0.3
|
201
240
|
|
202
241
|
* Added option to draw line graphs without the lines (points only), thanks to Eric Hodel
|
203
242
|
* Removed font-minimum check so graphs look better at 300px width
|
204
243
|
|
205
|
-
|
244
|
+
## 0.0.2
|
206
245
|
|
207
246
|
* Fixed to_blob (thanks to Carlos Villela)
|
208
247
|
* Added bar graphs (initial functionality...will be enhanced)
|
209
248
|
* Removed rendered test output from gem
|
210
249
|
|
211
|
-
|
250
|
+
## 0.0.1
|
212
251
|
|
213
252
|
* Initial release.
|
214
253
|
* Line graphs only. Other graph styles coming soon.
|