gruff 0.5.1-java → 0.10.0-java
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 +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 +130 -0
- data/.travis.yml +24 -12
- data/.yardopts +1 -0
- data/{History.txt → CHANGELOG.md} +61 -25
- data/Gemfile +3 -7
- data/README.md +57 -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 +19 -14
- data/init.rb +2 -0
- data/lib/gruff.rb +26 -2
- data/lib/gruff/accumulator_bar.rb +18 -8
- data/lib/gruff/area.rb +33 -19
- data/lib/gruff/bar.rb +76 -45
- data/lib/gruff/base.rb +337 -613
- data/lib/gruff/bezier.rb +34 -19
- data/lib/gruff/bullet.rb +51 -62
- data/lib/gruff/dot.rb +38 -62
- data/lib/gruff/helper/bar_conversion.rb +47 -0
- data/lib/gruff/helper/bar_value_label_mixin.rb +30 -0
- data/lib/gruff/helper/stacked_mixin.rb +23 -0
- data/lib/gruff/histogram.rb +59 -0
- data/lib/gruff/line.rb +130 -150
- data/lib/gruff/mini/bar.rb +17 -10
- data/lib/gruff/mini/legend.rb +24 -36
- data/lib/gruff/mini/pie.rb +18 -12
- data/lib/gruff/mini/side_bar.rb +26 -12
- data/lib/gruff/net.rb +60 -84
- data/lib/gruff/patch/rmagick.rb +33 -0
- data/lib/gruff/patch/string.rb +10 -0
- data/lib/gruff/photo_bar.rb +27 -30
- data/lib/gruff/pie.rb +190 -93
- 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 +156 -180
- data/lib/gruff/scene.rb +31 -41
- data/lib/gruff/side_bar.rb +77 -63
- data/lib/gruff/side_stacked_bar.rb +77 -60
- data/lib/gruff/spider.rb +37 -50
- data/lib/gruff/stacked_area.rb +32 -30
- data/lib/gruff/stacked_bar.rb +87 -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 +88 -94
- data/Manifest.txt +0 -81
- data/RELEASE.md +0 -30
- 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/lib/gruff/stacked_mixin.rb +0 -23
- data/test/gruff_test_case.rb +0 -154
- data/test/image_compare.rb +0 -58
- 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: 6efd63c58b0b6e99141a8f96acac661c53bf7c3c36b9821e3ff6e39846de6601
|
|
4
|
+
data.tar.gz: f1a55c5c16668094c461de8a201e6358ce23054829687af411e6b4b343949803
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: feecb5cf63e6b621b9a4b17f1b71d83f2e1ddfc1d4f09eb0efe432b767f484fdb672a1bda4712da0df628ecde9f234553c18eeb5de59f08ed3cdb196026f534e
|
|
7
|
+
data.tar.gz: 1cf1098579f7c942cced3ab22fef432245b1708aa0a3fcfdcf6d69556c378ab0801dfcbe52060c36b77d3be4035940693f04ff919c7ee7ad904e2aca00349853
|
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,130 @@
|
|
|
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: 1
|
|
67
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
|
68
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
|
69
|
+
Naming/MemoizedInstanceVariableName:
|
|
70
|
+
Exclude:
|
|
71
|
+
- 'lib/gruff/scene.rb'
|
|
72
|
+
|
|
73
|
+
# Offense count: 7
|
|
74
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
75
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
|
76
|
+
Naming/MethodParameterName:
|
|
77
|
+
Exclude:
|
|
78
|
+
- 'lib/gruff/base.rb'
|
|
79
|
+
- 'lib/gruff/patch/rmagick.rb'
|
|
80
|
+
- 'lib/gruff/pie.rb'
|
|
81
|
+
- 'lib/gruff/renderer/text.rb'
|
|
82
|
+
|
|
83
|
+
# Offense count: 2
|
|
84
|
+
Security/Eval:
|
|
85
|
+
Exclude:
|
|
86
|
+
- 'test/gruff_test_case.rb'
|
|
87
|
+
|
|
88
|
+
# Offense count: 1
|
|
89
|
+
# Cop supports --auto-correct.
|
|
90
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
|
91
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
|
92
|
+
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
|
93
|
+
# FunctionalMethods: let, let!, subject, watch
|
|
94
|
+
# IgnoredMethods: lambda, proc, it
|
|
95
|
+
Style/BlockDelimiters:
|
|
96
|
+
Exclude:
|
|
97
|
+
- 'test/test_accumulator_bar.rb'
|
|
98
|
+
|
|
99
|
+
# Offense count: 33
|
|
100
|
+
# Cop supports --auto-correct.
|
|
101
|
+
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
|
102
|
+
# SupportedStyles: nested, compact
|
|
103
|
+
Style/ClassAndModuleChildren:
|
|
104
|
+
Enabled: false
|
|
105
|
+
|
|
106
|
+
# Offense count: 39
|
|
107
|
+
Style/Documentation:
|
|
108
|
+
Enabled: false
|
|
109
|
+
|
|
110
|
+
# Offense count: 134
|
|
111
|
+
# Configuration parameters: RequireForNonPublicMethods.
|
|
112
|
+
Style/DocumentationMethod:
|
|
113
|
+
Enabled: false
|
|
114
|
+
|
|
115
|
+
# Offense count: 3
|
|
116
|
+
Style/EvalWithLocation:
|
|
117
|
+
Exclude:
|
|
118
|
+
- 'test/gruff_test_case.rb'
|
|
119
|
+
|
|
120
|
+
# Offense count: 1
|
|
121
|
+
Style/MissingRespondToMissing:
|
|
122
|
+
Exclude:
|
|
123
|
+
- 'lib/gruff/scene.rb'
|
|
124
|
+
|
|
125
|
+
# Offense count: 406
|
|
126
|
+
# Cop supports --auto-correct.
|
|
127
|
+
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
128
|
+
# URISchemes: http, https
|
|
129
|
+
Layout/LineLength:
|
|
130
|
+
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,40 @@
|
|
|
1
|
-
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
* Add Histogram chart (#419)
|
|
6
|
+
* Fix that Y axis label is not displayed on JRuby platform (#415)
|
|
7
|
+
* Add fill_opacity and stroke_width in Gruff::Area in order to specify the filling opacity (#413)
|
|
8
|
+
* Fix "`get_type_metrics': no text to measure" exception (#410, #409)
|
|
9
|
+
|
|
10
|
+
## 0.9.0
|
|
11
|
+
|
|
12
|
+
* Fix that sidebar label is not displayed on JRuby platform (#402)
|
|
13
|
+
* Add `group_spacing` which is spacing factor applied between a group of bars belonging to the same label (#400)
|
|
14
|
+
* Fix that label is displayed in the center of the side bar (#399)
|
|
15
|
+
* Fix that value label is displayed in the center of the side bar (#398)
|
|
16
|
+
* Add `show_labels_for_bar_values` into StackedBar (#396)
|
|
17
|
+
* Auto resize title font size if long title will be cut off (#395)
|
|
18
|
+
* Adjust label position in StackedBar (#394)
|
|
19
|
+
* Fix that labels are rendered in the center of bar graph (#393)
|
|
20
|
+
* Remove `stacked` property marked as experimental (#392)
|
|
21
|
+
* Fix to not move away from the baseline if big value was given into `segment_spacing` (#391)
|
|
22
|
+
* Add `segment_spacing property` into SideStackedBar like StackedBar (#390)
|
|
23
|
+
* Fix an exception when using an object as an argument that behaves as an Array (#317)
|
|
24
|
+
* Add `Scatter#dataxy` method like `Line#dataxy` (#316)
|
|
25
|
+
* Retry to fill background to fix "cache resources exhausted" error (#305)
|
|
26
|
+
* Fix label position in Gruff::Bar with negative value (#265)
|
|
27
|
+
* Fixed a bug that did not handle the specified minimum/maximum properly (#260)
|
|
28
|
+
* Fix error of “comparison of Integer with nil failed” (#257, #366, #367)
|
|
29
|
+
* Fix redundant label padding with many decimal points (#254)
|
|
30
|
+
* Fix that value label might be displayed with scientific notation (#252)
|
|
31
|
+
|
|
32
|
+
## 0.8.0
|
|
33
|
+
|
|
34
|
+
* Remove version restriction in RMagick (#186)
|
|
35
|
+
* Remove the upper limit (< Ruby 3.0) from the required Ruby version (#207)
|
|
36
|
+
|
|
37
|
+
## 0.5.1
|
|
2
38
|
|
|
3
39
|
Skip packaging the test images. This reduces the gem from 20MB+ to
|
|
4
40
|
300KB+.
|
|
@@ -8,7 +44,7 @@ Bugfixes:
|
|
|
8
44
|
* Issue #92 Reduce the gem size by not shipping the test images.
|
|
9
45
|
|
|
10
46
|
|
|
11
|
-
|
|
47
|
+
## 0.5.0
|
|
12
48
|
|
|
13
49
|
We have added a couple of cosmetic changes: Multiple marker lines both
|
|
14
50
|
vertically and horizontally, and multi-line titles, or no title at all if
|
|
@@ -29,7 +65,7 @@ Pull requests:
|
|
|
29
65
|
* Issue #90 Added missing parenthesis in base.rb
|
|
30
66
|
|
|
31
67
|
|
|
32
|
-
|
|
68
|
+
## 0.4.0
|
|
33
69
|
|
|
34
70
|
All old branches and pull requests have been merged or deleted. Over 40
|
|
35
71
|
issues have been resolved! Ruby 2.0 compatibility has been confirmed.
|
|
@@ -101,55 +137,55 @@ Internal:
|
|
|
101
137
|
* Issue #80 Remove the .rmvrc file from the project
|
|
102
138
|
|
|
103
139
|
|
|
104
|
-
|
|
140
|
+
## 0.3.7
|
|
105
141
|
|
|
106
142
|
* ???
|
|
107
143
|
|
|
108
|
-
|
|
144
|
+
## 0.3.6
|
|
109
145
|
|
|
110
146
|
* Fixed manifest to list dot graph [theirishpenguin]
|
|
111
147
|
* Fixed color cycling error [Gunnar Wolf]
|
|
112
148
|
* Handle case where a line graph data set only has one value [Ron Colwill]
|
|
113
149
|
|
|
114
|
-
|
|
150
|
+
## 0.3.5
|
|
115
151
|
|
|
116
152
|
* Added dot graph from Erik Andrejko
|
|
117
153
|
|
|
118
|
-
|
|
154
|
+
## 0.3.4
|
|
119
155
|
|
|
120
156
|
* Reverted DEBUG=true. Will add a check in the release process so this doesn't happen again.
|
|
121
157
|
* Future releases will end in an odd number for development (topfunky-gruff on GitHub) or even for production releases.
|
|
122
158
|
|
|
123
|
-
|
|
159
|
+
## 0.3.3
|
|
124
160
|
|
|
125
161
|
* Legend line wrapping [Mat Schaffer]
|
|
126
162
|
* Stacked area graph fixes [James Coglan]
|
|
127
163
|
|
|
128
|
-
|
|
164
|
+
## 0.3.2
|
|
129
165
|
|
|
130
166
|
* Include init.rb for use as a Rails plugin.
|
|
131
167
|
|
|
132
|
-
|
|
168
|
+
## 0.3.1
|
|
133
169
|
|
|
134
170
|
* Fixed missing bullet graph bug (experimental, will be in a future release).
|
|
135
171
|
|
|
136
|
-
|
|
172
|
+
## 0.3.0
|
|
137
173
|
|
|
138
174
|
* Fixed bug where pie graphs weren't drawing their label correctly.
|
|
139
175
|
|
|
140
|
-
|
|
176
|
+
## 0.2.9
|
|
141
177
|
|
|
142
178
|
* Patch to make SideBar accurate instead of stacked [Marik]
|
|
143
179
|
* Will be extracting net, pie, stacked, and side-stacked to separate gem
|
|
144
180
|
in next release.
|
|
145
181
|
|
|
146
|
-
|
|
182
|
+
## 0.2.8
|
|
147
183
|
|
|
148
184
|
* New accumulator bar graph (experimental)
|
|
149
185
|
* Better mini graphs
|
|
150
186
|
* Bug fixes
|
|
151
187
|
|
|
152
|
-
|
|
188
|
+
## 0.2.7
|
|
153
189
|
|
|
154
190
|
* Regenerated Manifest.txt
|
|
155
191
|
* Added scene sample to package
|
|
@@ -158,27 +194,27 @@ Internal:
|
|
|
158
194
|
* Increased size of numbers in Gruff::Mini::Pie
|
|
159
195
|
* Added legend_box_size accessor
|
|
160
196
|
|
|
161
|
-
|
|
197
|
+
## 0.2.6
|
|
162
198
|
|
|
163
199
|
* Fixed missing side_bar.rb in Manifest.txt
|
|
164
200
|
|
|
165
|
-
|
|
201
|
+
## 0.2.5
|
|
166
202
|
|
|
167
203
|
* New mini graph types (Experimental)
|
|
168
204
|
* Marker lines can be different color than text labels
|
|
169
205
|
* Theme definition cleanup
|
|
170
206
|
|
|
171
|
-
|
|
207
|
+
## 0.2.4
|
|
172
208
|
|
|
173
209
|
* Added option to hide line numbers
|
|
174
210
|
* Fixed code that was causing warnings
|
|
175
211
|
|
|
176
|
-
|
|
212
|
+
## 0.2.3
|
|
177
213
|
|
|
178
214
|
* Cleaned up measurements so the graph expands to fill the available space
|
|
179
215
|
* Added x-axis and y-axis label options
|
|
180
216
|
|
|
181
|
-
|
|
217
|
+
## 0.1.2
|
|
182
218
|
|
|
183
219
|
* minimum_value and maximum_value can be set after data() to manually scale the graph
|
|
184
220
|
* Fixed infinite loop bug when values are all equal
|
|
@@ -187,17 +223,17 @@ Internal:
|
|
|
187
223
|
* Initial refactoring of tests
|
|
188
224
|
* A host of other bug fixes
|
|
189
225
|
|
|
190
|
-
|
|
226
|
+
## 0.0.8
|
|
191
227
|
|
|
192
228
|
* NEW Sidestacked Bar Graphs. [Alun Eyre]
|
|
193
229
|
* baseline_value larger than data will now show correctly. [Mike Perham]
|
|
194
230
|
* hide_dots and hide_lines are now options for line graphs.
|
|
195
231
|
|
|
196
|
-
|
|
232
|
+
## 0.0.6
|
|
197
233
|
|
|
198
234
|
* Fixed hang when no data is passed.
|
|
199
235
|
|
|
200
|
-
|
|
236
|
+
## 0.0.4
|
|
201
237
|
|
|
202
238
|
* Added bar graphs
|
|
203
239
|
* Added area graphs
|
|
@@ -207,18 +243,18 @@ Internal:
|
|
|
207
243
|
* Added initial line marker rounding to significant digits (Christian Winkler)
|
|
208
244
|
* Line graphs line width is scaled with number of points being drawn (Christian Winkler)
|
|
209
245
|
|
|
210
|
-
|
|
246
|
+
## 0.0.3
|
|
211
247
|
|
|
212
248
|
* Added option to draw line graphs without the lines (points only), thanks to Eric Hodel
|
|
213
249
|
* Removed font-minimum check so graphs look better at 300px width
|
|
214
250
|
|
|
215
|
-
|
|
251
|
+
## 0.0.2
|
|
216
252
|
|
|
217
253
|
* Fixed to_blob (thanks to Carlos Villela)
|
|
218
254
|
* Added bar graphs (initial functionality...will be enhanced)
|
|
219
255
|
* Removed rendered test output from gem
|
|
220
256
|
|
|
221
|
-
|
|
257
|
+
## 0.0.1
|
|
222
258
|
|
|
223
259
|
* Initial release.
|
|
224
260
|
* Line graphs only. Other graph styles coming soon.
|