gruff 0.6.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +14 -0
  3. data/.github/ISSUE_TEMPLATE.md +18 -0
  4. data/.gitignore +3 -0
  5. data/.rubocop.yml +109 -0
  6. data/.rubocop_todo.yml +112 -0
  7. data/.travis.yml +24 -15
  8. data/.yardopts +1 -0
  9. data/{History.txt → CHANGELOG.md} +72 -25
  10. data/Gemfile +3 -7
  11. data/README.md +57 -25
  12. data/Rakefile +21 -192
  13. data/assets/plastik/blue.png +0 -0
  14. data/assets/plastik/green.png +0 -0
  15. data/assets/plastik/red.png +0 -0
  16. data/docker/Dockerfile +14 -0
  17. data/docker/build.sh +4 -0
  18. data/docker/launch.sh +4 -0
  19. data/gruff.gemspec +21 -13
  20. data/init.rb +2 -0
  21. data/lib/gruff.rb +26 -2
  22. data/lib/gruff/accumulator_bar.rb +18 -8
  23. data/lib/gruff/area.rb +33 -19
  24. data/lib/gruff/bar.rb +76 -45
  25. data/lib/gruff/base.rb +435 -704
  26. data/lib/gruff/bezier.rb +32 -17
  27. data/lib/gruff/bullet.rb +62 -68
  28. data/lib/gruff/dot.rb +38 -82
  29. data/lib/gruff/helper/bar_conversion.rb +47 -0
  30. data/lib/gruff/helper/bar_value_label_mixin.rb +30 -0
  31. data/lib/gruff/helper/stacked_mixin.rb +23 -0
  32. data/lib/gruff/histogram.rb +60 -0
  33. data/lib/gruff/line.rb +134 -170
  34. data/lib/gruff/mini/bar.rb +17 -10
  35. data/lib/gruff/mini/legend.rb +24 -36
  36. data/lib/gruff/mini/pie.rb +18 -12
  37. data/lib/gruff/mini/side_bar.rb +26 -12
  38. data/lib/gruff/net.rb +68 -81
  39. data/lib/gruff/patch/rmagick.rb +33 -0
  40. data/lib/gruff/patch/string.rb +10 -0
  41. data/lib/gruff/photo_bar.rb +39 -42
  42. data/lib/gruff/pie.rb +180 -89
  43. data/lib/gruff/renderer/bezier.rb +21 -0
  44. data/lib/gruff/renderer/circle.rb +21 -0
  45. data/lib/gruff/renderer/dash_line.rb +22 -0
  46. data/lib/gruff/renderer/dot.rb +39 -0
  47. data/lib/gruff/renderer/ellipse.rb +21 -0
  48. data/lib/gruff/renderer/line.rb +42 -0
  49. data/lib/gruff/renderer/polygon.rb +23 -0
  50. data/lib/gruff/renderer/polyline.rb +21 -0
  51. data/lib/gruff/renderer/rectangle.rb +19 -0
  52. data/lib/gruff/renderer/renderer.rb +132 -0
  53. data/lib/gruff/renderer/text.rb +53 -0
  54. data/lib/gruff/scatter.rb +163 -182
  55. data/lib/gruff/scene.rb +31 -41
  56. data/lib/gruff/side_bar.rb +81 -65
  57. data/lib/gruff/side_stacked_bar.rb +78 -62
  58. data/lib/gruff/spider.rb +49 -57
  59. data/lib/gruff/stacked_area.rb +40 -32
  60. data/lib/gruff/stacked_bar.rb +86 -53
  61. data/lib/gruff/store/base_data.rb +38 -0
  62. data/lib/gruff/store/custom_data.rb +38 -0
  63. data/lib/gruff/store/store.rb +80 -0
  64. data/lib/gruff/store/xy_data.rb +59 -0
  65. data/lib/gruff/themes.rb +32 -33
  66. data/lib/gruff/version.rb +3 -1
  67. metadata +80 -89
  68. data/Manifest.txt +0 -81
  69. data/RELEASE.md +0 -30
  70. data/assets/bubble.png +0 -0
  71. data/assets/city_scene/background/0000.png +0 -0
  72. data/assets/city_scene/background/0600.png +0 -0
  73. data/assets/city_scene/background/2000.png +0 -0
  74. data/assets/city_scene/clouds/cloudy.png +0 -0
  75. data/assets/city_scene/clouds/partly_cloudy.png +0 -0
  76. data/assets/city_scene/clouds/stormy.png +0 -0
  77. data/assets/city_scene/grass/default.png +0 -0
  78. data/assets/city_scene/haze/true.png +0 -0
  79. data/assets/city_scene/number_sample/1.png +0 -0
  80. data/assets/city_scene/number_sample/2.png +0 -0
  81. data/assets/city_scene/number_sample/default.png +0 -0
  82. data/assets/city_scene/sky/0000.png +0 -0
  83. data/assets/city_scene/sky/0200.png +0 -0
  84. data/assets/city_scene/sky/0400.png +0 -0
  85. data/assets/city_scene/sky/0600.png +0 -0
  86. data/assets/city_scene/sky/0800.png +0 -0
  87. data/assets/city_scene/sky/1000.png +0 -0
  88. data/assets/city_scene/sky/1200.png +0 -0
  89. data/assets/city_scene/sky/1400.png +0 -0
  90. data/assets/city_scene/sky/1500.png +0 -0
  91. data/assets/city_scene/sky/1700.png +0 -0
  92. data/assets/city_scene/sky/2000.png +0 -0
  93. data/assets/pc306715.jpg +0 -0
  94. data/lib/gruff/bar_conversion.rb +0 -46
  95. data/lib/gruff/deprecated.rb +0 -39
  96. data/lib/gruff/stacked_mixin.rb +0 -23
  97. data/test/gruff_test_case.rb +0 -154
  98. data/test/image_compare.rb +0 -58
  99. data/test/test_accumulator_bar.rb +0 -51
  100. data/test/test_area.rb +0 -134
  101. data/test/test_bar.rb +0 -505
  102. data/test/test_base.rb +0 -8
  103. data/test/test_bezier.rb +0 -33
  104. data/test/test_bullet.rb +0 -26
  105. data/test/test_dot.rb +0 -263
  106. data/test/test_labels_for_null_data.rb +0 -27
  107. data/test/test_legend.rb +0 -68
  108. data/test/test_line.rb +0 -657
  109. data/test/test_mini_bar.rb +0 -33
  110. data/test/test_mini_pie.rb +0 -25
  111. data/test/test_mini_side_bar.rb +0 -36
  112. data/test/test_net.rb +0 -231
  113. data/test/test_photo.rb +0 -41
  114. data/test/test_pie.rb +0 -161
  115. data/test/test_scatter.rb +0 -233
  116. data/test/test_scene.rb +0 -100
  117. data/test/test_side_bar.rb +0 -56
  118. data/test/test_sidestacked_bar.rb +0 -105
  119. data/test/test_spider.rb +0 -226
  120. data/test/test_stacked_area.rb +0 -52
  121. data/test/test_stacked_bar.rb +0 -68
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gruff
4
+ class Store
5
+ class CustomData < Struct.new(:label, :points, :color, :custom)
6
+ def initialize(label, points, color, custom = nil)
7
+ self.label = label.to_s
8
+ self.points = Array(points)
9
+ self.color = color
10
+ self.custom = custom
11
+ end
12
+
13
+ def empty?
14
+ points.empty?
15
+ end
16
+
17
+ def columns
18
+ points.length
19
+ end
20
+
21
+ def min
22
+ points.compact.min
23
+ end
24
+
25
+ def max
26
+ points.compact.max
27
+ end
28
+
29
+ def normalize(args = {})
30
+ norm_points = points.map do |point|
31
+ point.nil? ? nil : (point.to_f - args[:minimum].to_f) / args[:spread]
32
+ end
33
+
34
+ self.class.new(label, norm_points, color, custom)
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gruff
4
+ class Store
5
+ attr_reader :data, :norm_data
6
+
7
+ def initialize(data_class)
8
+ @data_class = data_class
9
+ @data = []
10
+ @norm_data = []
11
+ @normalized = false
12
+ end
13
+
14
+ def add(*args)
15
+ @data << @data_class.new(*args)
16
+ end
17
+
18
+ def normalize(args = {})
19
+ unless @normalized
20
+ @data.each do |data_row|
21
+ @norm_data << data_row.normalize(args)
22
+ end
23
+
24
+ @normalized = true
25
+ end
26
+ end
27
+
28
+ def empty?
29
+ @data.all?(&:empty?)
30
+ end
31
+
32
+ def length
33
+ @data.length
34
+ end
35
+
36
+ def columns
37
+ @columns ||= @data.empty? ? 0 : @data.map(&:columns).max
38
+ end
39
+
40
+ def min
41
+ @min ||= @data.map(&:min).compact.min
42
+ end
43
+ alias min_y min
44
+
45
+ def max
46
+ @max ||= @data.map(&:max).compact.max
47
+ end
48
+ alias max_y max
49
+
50
+ def min_x
51
+ @min_x ||= @data.map(&:min_x).compact.min
52
+ end
53
+
54
+ def max_x
55
+ @max_x ||= @data.map(&:max_x).compact.max
56
+ end
57
+
58
+ def sort_data!
59
+ @data = @data.sort_by { |a| -a.points.reduce(0) { |acc, elem| acc + elem.to_f } }
60
+ end
61
+
62
+ def sort_norm_data!
63
+ @norm_data = @norm_data.sort_by { |a| -a.points.reduce(0) { |acc, elem| acc + elem.to_f } }
64
+ end
65
+
66
+ def reverse!
67
+ @data.reverse!
68
+ end
69
+
70
+ def change_colors(colors)
71
+ index = 0
72
+ @data.each do |data_row|
73
+ data_row.color ||= begin
74
+ index = (index + 1) % colors.length
75
+ colors[index - 1]
76
+ end
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,59 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gruff
4
+ class Store
5
+ class XYData < Struct.new(:label, :y_points, :color, :x_points)
6
+ def initialize(label, y_points, color, x_points = nil)
7
+ self.label = label.to_s
8
+ self.y_points = Array(y_points)
9
+ self.color = color
10
+ self.x_points = Array(x_points) if x_points
11
+ end
12
+
13
+ def x_points
14
+ self[:x_points] || Array.new(y_points.length)
15
+ end
16
+
17
+ def coordinates
18
+ x_points.zip(y_points)
19
+ end
20
+
21
+ def empty?
22
+ y_points.empty?
23
+ end
24
+
25
+ def columns
26
+ y_points.length
27
+ end
28
+
29
+ def min
30
+ y_points.compact.min
31
+ end
32
+ alias min_y min
33
+
34
+ def max
35
+ y_points.compact.max
36
+ end
37
+ alias max_y max
38
+
39
+ def min_x
40
+ x_points.compact.min
41
+ end
42
+
43
+ def max_x
44
+ x_points.compact.max
45
+ end
46
+
47
+ def normalize(args = {})
48
+ norm_x_points = x_points.map do |x|
49
+ x.nil? ? nil : (x.to_f - args[:minimum_x].to_f) / args[:spread_x]
50
+ end
51
+ norm_y_points = y_points.map do |y|
52
+ y.nil? ? nil : (y.to_f - args[:minimum_y].to_f) / args[:spread_y]
53
+ end
54
+
55
+ self.class.new(label, norm_y_points, color, norm_x_points)
56
+ end
57
+ end
58
+ end
59
+ end
@@ -1,9 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Gruff
2
4
  module Themes
3
-
4
5
  # A color scheme similar to the popular presentation software.
5
6
  KEYNOTE = {
6
- :colors => [
7
+ colors: [
7
8
  '#FDD84E', # yellow
8
9
  '#6886B4', # blue
9
10
  '#72AE6E', # green
@@ -12,14 +13,14 @@ module Gruff
12
13
  '#EFAA43', # orange
13
14
  'white'
14
15
  ],
15
- :marker_color => 'white',
16
- :font_color => 'white',
17
- :background_colors => %w(black #4a465a)
16
+ marker_color: 'white',
17
+ font_color: 'white',
18
+ background_colors: %w[black #4a465a]
18
19
  }
19
20
 
20
21
  # A color scheme plucked from the colors on the popular usability blog.
21
22
  THIRTYSEVEN_SIGNALS = {
22
- :colors => [
23
+ colors: [
23
24
  '#FFF804', # yellow
24
25
  '#336699', # blue
25
26
  '#339933', # green
@@ -28,15 +29,15 @@ module Gruff
28
29
  '#cf5910', # orange
29
30
  'black'
30
31
  ],
31
- :marker_color => 'black',
32
- :font_color => 'black',
33
- :background_colors => %w(#d1edf5 white)
32
+ marker_color: 'black',
33
+ font_color: 'black',
34
+ background_colors: %w[#d1edf5 white]
34
35
  }
35
36
 
36
37
  # A color scheme from the colors used on the 2005 Rails keynote
37
38
  # presentation at RubyConf.
38
39
  RAILS_KEYNOTE = {
39
- :colors => [
40
+ colors: [
40
41
  '#00ff00', # green
41
42
  '#333333', # grey
42
43
  '#ff5d00', # orange
@@ -45,14 +46,14 @@ module Gruff
45
46
  '#999999', # light grey
46
47
  'black'
47
48
  ],
48
- :marker_color => 'white',
49
- :font_color => 'white',
50
- :background_colors => %w(#0083a3 #0083a3)
49
+ marker_color: 'white',
50
+ font_color: 'white',
51
+ background_colors: %w[#0083a3 #0083a3]
51
52
  }
52
53
 
53
54
  # A color scheme similar to that used on the popular podcast site.
54
55
  ODEO = {
55
- :colors => [
56
+ colors: [
56
57
  '#202020', # grey
57
58
  'white',
58
59
  '#3a5b87', # dark blue
@@ -61,14 +62,14 @@ module Gruff
61
62
  '#999999', # light grey
62
63
  'black'
63
64
  ],
64
- :marker_color => 'white',
65
- :font_color => 'white',
66
- :background_colors => %w(#ff47a4 #ff1f81)
65
+ marker_color: 'white',
66
+ font_color: 'white',
67
+ background_colors: %w[#ff47a4 #ff1f81]
67
68
  }
68
69
 
69
70
  # A pastel theme
70
71
  PASTEL = {
71
- :colors => [
72
+ colors: [
72
73
  '#a9dada', # blue
73
74
  '#aedaa9', # green
74
75
  '#daaea9', # peach
@@ -77,26 +78,24 @@ module Gruff
77
78
  '#daaeda', # purple
78
79
  '#dadada' # grey
79
80
  ],
80
- :marker_color => '#aea9a9', # Grey
81
- :font_color => 'black',
82
- :background_colors => 'white'
81
+ marker_color: '#aea9a9', # Grey
82
+ font_color: 'black',
83
+ background_colors: 'white'
83
84
  }
84
85
 
85
86
  # A greyscale theme
86
87
  GREYSCALE = {
87
- :colors => [
88
- '#282828', #
89
- '#383838', #
90
- '#686868', #
91
- '#989898', #
92
- '#c8c8c8', #
93
- '#e8e8e8', #
88
+ colors: [
89
+ '#282828',
90
+ '#383838',
91
+ '#686868',
92
+ '#989898',
93
+ '#c8c8c8',
94
+ '#e8e8e8'
94
95
  ],
95
- :marker_color => '#aea9a9', # Grey
96
- :font_color => 'black',
97
- :background_colors => 'white'
96
+ marker_color: '#aea9a9', # Grey
97
+ font_color: 'black',
98
+ background_colors: 'white'
98
99
  }
99
-
100
100
  end
101
101
  end
102
-
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Gruff
2
- VERSION = '0.6.0'
4
+ VERSION = '0.11.0'
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffrey Grosenbach
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-31 00:00:00.000000000 Z
12
+ date: 2020-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rmagick
@@ -17,14 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 2.13.4
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rubocop
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 0.81.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 0.81.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: histogram
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
21
49
  type: :runtime
22
50
  prerelease: false
23
51
  version_requirements: !ruby/object:Gem::Requirement
24
52
  requirements:
25
53
  - - ">="
26
54
  - !ruby/object:Gem::Version
27
- version: 2.13.4
55
+ version: '0'
28
56
  - !ruby/object:Gem::Dependency
29
57
  name: rake
30
58
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +68,7 @@ dependencies:
40
68
  - !ruby/object:Gem::Version
41
69
  version: '0'
42
70
  - !ruby/object:Gem::Dependency
43
- name: test-unit
71
+ name: minitest-reporters
44
72
  requirement: !ruby/object:Gem::Requirement
45
73
  requirements:
46
74
  - - ">="
@@ -53,6 +81,20 @@ dependencies:
53
81
  - - ">="
54
82
  - !ruby/object:Gem::Version
55
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: yard
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 0.9.25
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: 0.9.25
56
98
  description: Beautiful graphs for one or multiple datasets. Can be used on websites
57
99
  or in documents.
58
100
  email: boss@topfunky.com
@@ -60,62 +102,59 @@ executables: []
60
102
  extensions: []
61
103
  extra_rdoc_files: []
62
104
  files:
105
+ - ".editorconfig"
106
+ - ".github/ISSUE_TEMPLATE.md"
63
107
  - ".gitignore"
108
+ - ".rubocop.yml"
109
+ - ".rubocop_todo.yml"
64
110
  - ".travis.yml"
111
+ - ".yardopts"
112
+ - CHANGELOG.md
65
113
  - Gemfile
66
- - History.txt
67
114
  - MIT-LICENSE
68
- - Manifest.txt
69
115
  - README.md
70
- - RELEASE.md
71
116
  - Rakefile
72
- - assets/bubble.png
73
- - assets/city_scene/background/0000.png
74
- - assets/city_scene/background/0600.png
75
- - assets/city_scene/background/2000.png
76
- - assets/city_scene/clouds/cloudy.png
77
- - assets/city_scene/clouds/partly_cloudy.png
78
- - assets/city_scene/clouds/stormy.png
79
- - assets/city_scene/grass/default.png
80
- - assets/city_scene/haze/true.png
81
- - assets/city_scene/number_sample/1.png
82
- - assets/city_scene/number_sample/2.png
83
- - assets/city_scene/number_sample/default.png
84
- - assets/city_scene/sky/0000.png
85
- - assets/city_scene/sky/0200.png
86
- - assets/city_scene/sky/0400.png
87
- - assets/city_scene/sky/0600.png
88
- - assets/city_scene/sky/0800.png
89
- - assets/city_scene/sky/1000.png
90
- - assets/city_scene/sky/1200.png
91
- - assets/city_scene/sky/1400.png
92
- - assets/city_scene/sky/1500.png
93
- - assets/city_scene/sky/1700.png
94
- - assets/city_scene/sky/2000.png
95
- - assets/pc306715.jpg
96
117
  - assets/plastik/blue.png
97
118
  - assets/plastik/green.png
98
119
  - assets/plastik/red.png
120
+ - docker/Dockerfile
121
+ - docker/build.sh
122
+ - docker/launch.sh
99
123
  - gruff.gemspec
100
124
  - init.rb
101
125
  - lib/gruff.rb
102
126
  - lib/gruff/accumulator_bar.rb
103
127
  - lib/gruff/area.rb
104
128
  - lib/gruff/bar.rb
105
- - lib/gruff/bar_conversion.rb
106
129
  - lib/gruff/base.rb
107
130
  - lib/gruff/bezier.rb
108
131
  - lib/gruff/bullet.rb
109
- - lib/gruff/deprecated.rb
110
132
  - lib/gruff/dot.rb
133
+ - lib/gruff/helper/bar_conversion.rb
134
+ - lib/gruff/helper/bar_value_label_mixin.rb
135
+ - lib/gruff/helper/stacked_mixin.rb
136
+ - lib/gruff/histogram.rb
111
137
  - lib/gruff/line.rb
112
138
  - lib/gruff/mini/bar.rb
113
139
  - lib/gruff/mini/legend.rb
114
140
  - lib/gruff/mini/pie.rb
115
141
  - lib/gruff/mini/side_bar.rb
116
142
  - lib/gruff/net.rb
143
+ - lib/gruff/patch/rmagick.rb
144
+ - lib/gruff/patch/string.rb
117
145
  - lib/gruff/photo_bar.rb
118
146
  - lib/gruff/pie.rb
147
+ - lib/gruff/renderer/bezier.rb
148
+ - lib/gruff/renderer/circle.rb
149
+ - lib/gruff/renderer/dash_line.rb
150
+ - lib/gruff/renderer/dot.rb
151
+ - lib/gruff/renderer/ellipse.rb
152
+ - lib/gruff/renderer/line.rb
153
+ - lib/gruff/renderer/polygon.rb
154
+ - lib/gruff/renderer/polyline.rb
155
+ - lib/gruff/renderer/rectangle.rb
156
+ - lib/gruff/renderer/renderer.rb
157
+ - lib/gruff/renderer/text.rb
119
158
  - lib/gruff/scatter.rb
120
159
  - lib/gruff/scene.rb
121
160
  - lib/gruff/side_bar.rb
@@ -123,37 +162,15 @@ files:
123
162
  - lib/gruff/spider.rb
124
163
  - lib/gruff/stacked_area.rb
125
164
  - lib/gruff/stacked_bar.rb
126
- - lib/gruff/stacked_mixin.rb
165
+ - lib/gruff/store/base_data.rb
166
+ - lib/gruff/store/custom_data.rb
167
+ - lib/gruff/store/store.rb
168
+ - lib/gruff/store/xy_data.rb
127
169
  - lib/gruff/themes.rb
128
170
  - lib/gruff/version.rb
129
171
  - rails_generators/gruff/gruff_generator.rb
130
172
  - rails_generators/gruff/templates/controller.rb
131
173
  - rails_generators/gruff/templates/functional_test.rb
132
- - test/gruff_test_case.rb
133
- - test/image_compare.rb
134
- - test/test_accumulator_bar.rb
135
- - test/test_area.rb
136
- - test/test_bar.rb
137
- - test/test_base.rb
138
- - test/test_bezier.rb
139
- - test/test_bullet.rb
140
- - test/test_dot.rb
141
- - test/test_labels_for_null_data.rb
142
- - test/test_legend.rb
143
- - test/test_line.rb
144
- - test/test_mini_bar.rb
145
- - test/test_mini_pie.rb
146
- - test/test_mini_side_bar.rb
147
- - test/test_net.rb
148
- - test/test_photo.rb
149
- - test/test_pie.rb
150
- - test/test_scatter.rb
151
- - test/test_scene.rb
152
- - test/test_side_bar.rb
153
- - test/test_sidestacked_bar.rb
154
- - test/test_spider.rb
155
- - test/test_stacked_area.rb
156
- - test/test_stacked_bar.rb
157
174
  homepage: https://github.com/topfunky/gruff
158
175
  licenses:
159
176
  - MIT
@@ -166,41 +183,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
183
  requirements:
167
184
  - - ">="
168
185
  - !ruby/object:Gem::Version
169
- version: '0'
186
+ version: 1.9.3
170
187
  required_rubygems_version: !ruby/object:Gem::Requirement
171
188
  requirements:
172
189
  - - ">="
173
190
  - !ruby/object:Gem::Version
174
191
  version: '0'
175
192
  requirements: []
176
- rubyforge_project:
177
- rubygems_version: 2.4.6
193
+ rubygems_version: 3.1.2
178
194
  signing_key:
179
195
  specification_version: 4
180
196
  summary: Beautiful graphs for one or multiple datasets.
181
- test_files:
182
- - test/gruff_test_case.rb
183
- - test/image_compare.rb
184
- - test/test_accumulator_bar.rb
185
- - test/test_area.rb
186
- - test/test_bar.rb
187
- - test/test_base.rb
188
- - test/test_bezier.rb
189
- - test/test_bullet.rb
190
- - test/test_dot.rb
191
- - test/test_labels_for_null_data.rb
192
- - test/test_legend.rb
193
- - test/test_line.rb
194
- - test/test_mini_bar.rb
195
- - test/test_mini_pie.rb
196
- - test/test_mini_side_bar.rb
197
- - test/test_net.rb
198
- - test/test_photo.rb
199
- - test/test_pie.rb
200
- - test/test_scatter.rb
201
- - test/test_scene.rb
202
- - test/test_side_bar.rb
203
- - test/test_sidestacked_bar.rb
204
- - test/test_spider.rb
205
- - test/test_stacked_area.rb
206
- - test/test_stacked_bar.rb
197
+ test_files: []