gruff 0.7.0-java → 0.12.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/{History.txt → CHANGELOG.md} +81 -25
- data/Gemfile +3 -1
- data/README.md +51 -23
- data/assets/plastik/blue.png +0 -0
- data/assets/plastik/green.png +0 -0
- data/assets/plastik/red.png +0 -0
- data/gruff.gemspec +23 -13
- data/init.rb +2 -0
- data/lib/gruff.rb +33 -4
- data/lib/gruff/accumulator_bar.rb +17 -9
- data/lib/gruff/area.rb +31 -21
- data/lib/gruff/bar.rb +90 -46
- data/lib/gruff/base.rb +476 -710
- data/lib/gruff/bezier.rb +29 -18
- data/lib/gruff/bullet.rb +58 -71
- data/lib/gruff/dot.rb +35 -83
- data/lib/gruff/helper/bar_conversion.rb +47 -0
- data/lib/gruff/helper/bar_value_label_mixin.rb +33 -0
- data/lib/gruff/helper/stacked_mixin.rb +23 -0
- data/lib/gruff/histogram.rb +59 -0
- data/lib/gruff/line.rb +121 -199
- data/lib/gruff/mini/bar.rb +17 -10
- data/lib/gruff/mini/legend.rb +26 -38
- data/lib/gruff/mini/pie.rb +18 -13
- data/lib/gruff/mini/side_bar.rb +25 -12
- data/lib/gruff/net.rb +69 -83
- data/lib/gruff/patch/rmagick.rb +31 -0
- data/lib/gruff/patch/string.rb +13 -0
- data/lib/gruff/photo_bar.rb +36 -43
- data/lib/gruff/pie.rb +42 -103
- data/lib/gruff/renderer/bezier.rb +22 -0
- data/lib/gruff/renderer/circle.rb +22 -0
- data/lib/gruff/renderer/dash_line.rb +23 -0
- data/lib/gruff/renderer/dot.rb +40 -0
- data/lib/gruff/renderer/ellipse.rb +22 -0
- data/lib/gruff/renderer/line.rb +43 -0
- data/lib/gruff/renderer/polygon.rb +24 -0
- data/lib/gruff/renderer/polyline.rb +22 -0
- data/lib/gruff/renderer/rectangle.rb +20 -0
- data/lib/gruff/renderer/renderer.rb +120 -0
- data/lib/gruff/renderer/text.rb +57 -0
- data/lib/gruff/scatter.rb +128 -201
- data/lib/gruff/scene.rb +30 -41
- data/lib/gruff/side_bar.rb +100 -68
- data/lib/gruff/side_stacked_bar.rb +92 -63
- data/lib/gruff/spider.rb +47 -53
- data/lib/gruff/stacked_area.rb +37 -34
- data/lib/gruff/stacked_bar.rb +99 -54
- data/lib/gruff/store/basic_data.rb +36 -0
- data/lib/gruff/store/custom_data.rb +36 -0
- data/lib/gruff/store/store.rb +81 -0
- data/lib/gruff/store/xy_data.rb +58 -0
- data/lib/gruff/themes.rb +32 -33
- data/lib/gruff/version.rb +3 -1
- metadata +74 -102
- data/.gitignore +0 -7
- data/.travis.yml +0 -19
- data/Manifest.txt +0 -81
- data/RELEASE.md +0 -30
- data/Rakefile +0 -218
- 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 -152
- 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 -33
- data/test/test_bezier.rb +0 -33
- data/test/test_bullet.rb +0 -26
- data/test/test_dot.rb +0 -263
- data/test/test_labels_for_null_data.rb +0 -27
- data/test/test_legend.rb +0 -68
- data/test/test_line.rb +0 -674
- 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 -194
- data/test/test_scatter.rb +0 -270
- 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 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86f7128ad67d7111e7f286742bef3ec55674923f120f7b53747c2aeb19011aa7
|
4
|
+
data.tar.gz: 8a8554f44e0c642a04d2aa87763696be6cba4d207e7bd33a8945df860fac9246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c709368e7a3cb96390099e7577df107343e179005c374dda3ad0f1ec981304f556eea435c71b50214e622a11544c4bb7ca6ec8519af41616c9b463c69940ec
|
7
|
+
data.tar.gz: 19528b2ac748979d5acb64c7fd8ff3c66d819d03754249398ab4daacb16a44bac28afad60db20eac1c8b4e4b94e610508702c45c035e49da241847a4e42f834f
|
@@ -1,4 +1,60 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 0.12.0
|
4
|
+
- Mark Gruff::Base#to_blob as deprecated (#473)
|
5
|
+
- Add Gruff::Base#to_image method (#472)
|
6
|
+
- Drop support of Ruby v2.3.x or below (#453, #448)
|
7
|
+
- add hide_labels to stacked side bar graphs (#452)
|
8
|
+
- add hide_labels to side bar graphs (#451)
|
9
|
+
- add hide_labels to stacked bar graphs (#450)
|
10
|
+
- support hide_labels separate from hide_line_markers for bar graphs only (#446)
|
11
|
+
|
12
|
+
## 0.11.0
|
13
|
+
- Fix regression in empty data handling (#445)
|
14
|
+
- Rendering text in front most (#439)
|
15
|
+
- Allow to change settings even after entered the data in Gruff::Histogram (#437)
|
16
|
+
- Adjust label position in Gruff::Net (#436)
|
17
|
+
- Adjust LABEL_MARGIN value (#435)
|
18
|
+
- Add shadow line in marker line into Gruff::{Dot, SideBar, Scatter} (#430)
|
19
|
+
- Move no data message to the vertical center (#428)
|
20
|
+
- Remove the getter method in attributes for configuration (#424)
|
21
|
+
- Fix title margin in Gruff::Bullet if empty title was given (#422)
|
22
|
+
|
23
|
+
## 0.10.0
|
24
|
+
|
25
|
+
* Add Histogram chart (#419)
|
26
|
+
* Fix that Y axis label is not displayed on JRuby platform (#415)
|
27
|
+
* Add fill_opacity and stroke_width in Gruff::Area in order to specify the filling opacity (#413)
|
28
|
+
* Fix "`get_type_metrics': no text to measure" exception (#410, #409)
|
29
|
+
|
30
|
+
## 0.9.0
|
31
|
+
|
32
|
+
* Fix that sidebar label is not displayed on JRuby platform (#402)
|
33
|
+
* Add `group_spacing` which is spacing factor applied between a group of bars belonging to the same label (#400)
|
34
|
+
* Fix that label is displayed in the center of the side bar (#399)
|
35
|
+
* Fix that value label is displayed in the center of the side bar (#398)
|
36
|
+
* Add `show_labels_for_bar_values` into StackedBar (#396)
|
37
|
+
* Auto resize title font size if long title will be cut off (#395)
|
38
|
+
* Adjust label position in StackedBar (#394)
|
39
|
+
* Fix that labels are rendered in the center of bar graph (#393)
|
40
|
+
* Remove `stacked` property marked as experimental (#392)
|
41
|
+
* Fix to not move away from the baseline if big value was given into `segment_spacing` (#391)
|
42
|
+
* Add `segment_spacing property` into SideStackedBar like StackedBar (#390)
|
43
|
+
* Fix an exception when using an object as an argument that behaves as an Array (#317)
|
44
|
+
* Add `Scatter#dataxy` method like `Line#dataxy` (#316)
|
45
|
+
* Retry to fill background to fix "cache resources exhausted" error (#305)
|
46
|
+
* Fix label position in Gruff::Bar with negative value (#265)
|
47
|
+
* Fixed a bug that did not handle the specified minimum/maximum properly (#260)
|
48
|
+
* Fix error of “comparison of Integer with nil failed” (#257, #366, #367)
|
49
|
+
* Fix redundant label padding with many decimal points (#254)
|
50
|
+
* Fix that value label might be displayed with scientific notation (#252)
|
51
|
+
|
52
|
+
## 0.8.0
|
53
|
+
|
54
|
+
* Remove version restriction in RMagick (#186)
|
55
|
+
* Remove the upper limit (< Ruby 3.0) from the required Ruby version (#207)
|
56
|
+
|
57
|
+
## 0.5.1
|
2
58
|
|
3
59
|
Skip packaging the test images. This reduces the gem from 20MB+ to
|
4
60
|
300KB+.
|
@@ -8,7 +64,7 @@ Bugfixes:
|
|
8
64
|
* Issue #92 Reduce the gem size by not shipping the test images.
|
9
65
|
|
10
66
|
|
11
|
-
|
67
|
+
## 0.5.0
|
12
68
|
|
13
69
|
We have added a couple of cosmetic changes: Multiple marker lines both
|
14
70
|
vertically and horizontally, and multi-line titles, or no title at all if
|
@@ -29,7 +85,7 @@ Pull requests:
|
|
29
85
|
* Issue #90 Added missing parenthesis in base.rb
|
30
86
|
|
31
87
|
|
32
|
-
|
88
|
+
## 0.4.0
|
33
89
|
|
34
90
|
All old branches and pull requests have been merged or deleted. Over 40
|
35
91
|
issues have been resolved! Ruby 2.0 compatibility has been confirmed.
|
@@ -101,55 +157,55 @@ Internal:
|
|
101
157
|
* Issue #80 Remove the .rmvrc file from the project
|
102
158
|
|
103
159
|
|
104
|
-
|
160
|
+
## 0.3.7
|
105
161
|
|
106
162
|
* ???
|
107
163
|
|
108
|
-
|
164
|
+
## 0.3.6
|
109
165
|
|
110
166
|
* Fixed manifest to list dot graph [theirishpenguin]
|
111
167
|
* Fixed color cycling error [Gunnar Wolf]
|
112
168
|
* Handle case where a line graph data set only has one value [Ron Colwill]
|
113
169
|
|
114
|
-
|
170
|
+
## 0.3.5
|
115
171
|
|
116
172
|
* Added dot graph from Erik Andrejko
|
117
173
|
|
118
|
-
|
174
|
+
## 0.3.4
|
119
175
|
|
120
176
|
* Reverted DEBUG=true. Will add a check in the release process so this doesn't happen again.
|
121
177
|
* Future releases will end in an odd number for development (topfunky-gruff on GitHub) or even for production releases.
|
122
178
|
|
123
|
-
|
179
|
+
## 0.3.3
|
124
180
|
|
125
181
|
* Legend line wrapping [Mat Schaffer]
|
126
182
|
* Stacked area graph fixes [James Coglan]
|
127
183
|
|
128
|
-
|
184
|
+
## 0.3.2
|
129
185
|
|
130
186
|
* Include init.rb for use as a Rails plugin.
|
131
187
|
|
132
|
-
|
188
|
+
## 0.3.1
|
133
189
|
|
134
190
|
* Fixed missing bullet graph bug (experimental, will be in a future release).
|
135
191
|
|
136
|
-
|
192
|
+
## 0.3.0
|
137
193
|
|
138
194
|
* Fixed bug where pie graphs weren't drawing their label correctly.
|
139
195
|
|
140
|
-
|
196
|
+
## 0.2.9
|
141
197
|
|
142
198
|
* Patch to make SideBar accurate instead of stacked [Marik]
|
143
199
|
* Will be extracting net, pie, stacked, and side-stacked to separate gem
|
144
200
|
in next release.
|
145
201
|
|
146
|
-
|
202
|
+
## 0.2.8
|
147
203
|
|
148
204
|
* New accumulator bar graph (experimental)
|
149
205
|
* Better mini graphs
|
150
206
|
* Bug fixes
|
151
207
|
|
152
|
-
|
208
|
+
## 0.2.7
|
153
209
|
|
154
210
|
* Regenerated Manifest.txt
|
155
211
|
* Added scene sample to package
|
@@ -158,27 +214,27 @@ Internal:
|
|
158
214
|
* Increased size of numbers in Gruff::Mini::Pie
|
159
215
|
* Added legend_box_size accessor
|
160
216
|
|
161
|
-
|
217
|
+
## 0.2.6
|
162
218
|
|
163
219
|
* Fixed missing side_bar.rb in Manifest.txt
|
164
220
|
|
165
|
-
|
221
|
+
## 0.2.5
|
166
222
|
|
167
223
|
* New mini graph types (Experimental)
|
168
224
|
* Marker lines can be different color than text labels
|
169
225
|
* Theme definition cleanup
|
170
226
|
|
171
|
-
|
227
|
+
## 0.2.4
|
172
228
|
|
173
229
|
* Added option to hide line numbers
|
174
230
|
* Fixed code that was causing warnings
|
175
231
|
|
176
|
-
|
232
|
+
## 0.2.3
|
177
233
|
|
178
234
|
* Cleaned up measurements so the graph expands to fill the available space
|
179
235
|
* Added x-axis and y-axis label options
|
180
236
|
|
181
|
-
|
237
|
+
## 0.1.2
|
182
238
|
|
183
239
|
* minimum_value and maximum_value can be set after data() to manually scale the graph
|
184
240
|
* Fixed infinite loop bug when values are all equal
|
@@ -187,17 +243,17 @@ Internal:
|
|
187
243
|
* Initial refactoring of tests
|
188
244
|
* A host of other bug fixes
|
189
245
|
|
190
|
-
|
246
|
+
## 0.0.8
|
191
247
|
|
192
248
|
* NEW Sidestacked Bar Graphs. [Alun Eyre]
|
193
249
|
* baseline_value larger than data will now show correctly. [Mike Perham]
|
194
250
|
* hide_dots and hide_lines are now options for line graphs.
|
195
251
|
|
196
|
-
|
252
|
+
## 0.0.6
|
197
253
|
|
198
254
|
* Fixed hang when no data is passed.
|
199
255
|
|
200
|
-
|
256
|
+
## 0.0.4
|
201
257
|
|
202
258
|
* Added bar graphs
|
203
259
|
* Added area graphs
|
@@ -207,18 +263,18 @@ Internal:
|
|
207
263
|
* Added initial line marker rounding to significant digits (Christian Winkler)
|
208
264
|
* Line graphs line width is scaled with number of points being drawn (Christian Winkler)
|
209
265
|
|
210
|
-
|
266
|
+
## 0.0.3
|
211
267
|
|
212
268
|
* Added option to draw line graphs without the lines (points only), thanks to Eric Hodel
|
213
269
|
* Removed font-minimum check so graphs look better at 300px width
|
214
270
|
|
215
|
-
|
271
|
+
## 0.0.2
|
216
272
|
|
217
273
|
* Fixed to_blob (thanks to Carlos Villela)
|
218
274
|
* Added bar graphs (initial functionality...will be enhanced)
|
219
275
|
* Removed rendered test output from gem
|
220
276
|
|
221
|
-
|
277
|
+
## 0.0.1
|
222
278
|
|
223
279
|
* Initial release.
|
224
280
|
* Line graphs only. Other graph styles coming soon.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -5,23 +5,32 @@
|
|
5
5
|
|
6
6
|
A library for making beautiful graphs.
|
7
7
|
|
8
|
+
Built on top of [rmagick](https://github.com/rmagick/rmagick); see its web page
|
9
|
+
for a list of the system-level prerequisities (ImageMagick etc) and how to install them.
|
10
|
+
|
8
11
|
## Installation
|
9
12
|
|
10
13
|
Add this line to your application's Gemfile:
|
11
14
|
|
12
|
-
|
15
|
+
```sh
|
16
|
+
gem 'gruff'
|
17
|
+
```
|
13
18
|
|
14
19
|
And then execute:
|
15
20
|
|
16
|
-
|
21
|
+
```sh
|
22
|
+
$ bundle
|
23
|
+
```
|
17
24
|
|
18
25
|
Or install it yourself as:
|
19
26
|
|
20
|
-
|
27
|
+
```sh
|
28
|
+
$ gem install gruff
|
29
|
+
```
|
21
30
|
|
22
31
|
## Usage
|
23
32
|
|
24
|
-
```
|
33
|
+
```ruby
|
25
34
|
require 'gruff'
|
26
35
|
g = Gruff::Line.new
|
27
36
|
g.title = 'Wow! Look at this!'
|
@@ -40,77 +49,79 @@ g.write('exciting.png')
|
|
40
49
|
|
41
50
|
You can find many examples in the [test](https://github.com/topfunky/gruff/tree/master/test)
|
42
51
|
directory along with their resulting charts in the
|
43
|
-
[
|
44
|
-
|
45
|
-
You can find older examples here: http://nubyonrails.com/pages/gruff
|
52
|
+
[expected](https://github.com/topfunky/gruff/tree/master/test/expected) directory.
|
46
53
|
|
47
54
|
### Accumulator bar chart
|
48
55
|
|
49
|
-

|
50
57
|
|
51
58
|
### Area chart
|
52
59
|
|
53
|
-

|
54
61
|
|
55
62
|
### Bar chart
|
56
63
|
|
57
|
-

|
58
65
|
|
59
66
|
### Bezier chart
|
60
67
|
|
61
68
|
In progress!
|
62
69
|
|
63
|
-

|
64
71
|
|
65
72
|
### Bullet chart
|
66
73
|
|
67
74
|
In progress!
|
68
75
|
|
69
|
-

|
70
77
|
|
71
78
|
### Dot chart
|
72
79
|
|
73
|
-

|
74
81
|
|
75
82
|
### Line chart
|
76
83
|
|
77
|
-

|
78
85
|
|
79
86
|
### LineXY chart
|
80
87
|
|
81
|
-

|
82
89
|
|
83
90
|
### Net chart
|
84
91
|
|
85
|
-

|
86
93
|
|
87
94
|
### Pie chart
|
88
95
|
|
89
|
-

|
90
97
|
|
91
98
|
### Scatter chart
|
92
99
|
|
93
|
-

|
94
101
|
|
95
102
|
### Side bar chart
|
96
103
|
|
97
|
-

|
98
105
|
|
99
106
|
### Side stacked bar chart
|
100
107
|
|
101
|
-

|
102
109
|
|
103
110
|
### Spider chart
|
104
111
|
|
105
|
-

|
106
113
|
|
107
114
|
### Stacked area chart
|
108
115
|
|
109
|
-

|
110
117
|
|
111
118
|
### Stacked bar chart
|
112
119
|
|
113
|
-

|
121
|
+
|
122
|
+
### Histogram chart
|
123
|
+
|
124
|
+

|
114
125
|
|
115
126
|
|
116
127
|
## Documentation
|
@@ -122,6 +133,23 @@ http://www.rubydoc.info/github/topfunky/gruff/frames
|
|
122
133
|
We aim to support all Ruby implementations supporting Ruby language level 1.9.3
|
123
134
|
or later. Currently we are running CI for MRI, JRuby, and Rubinius.
|
124
135
|
|
136
|
+
## Development Setup
|
137
|
+
1. Build docker image
|
138
|
+
```sh
|
139
|
+
$ ./docker/build.sh
|
140
|
+
```
|
141
|
+
|
142
|
+
2. Launch docker image
|
143
|
+
```sh
|
144
|
+
$ ./docker/launch.sh
|
145
|
+
```
|
146
|
+
|
147
|
+
3. Run tests
|
148
|
+
```sh
|
149
|
+
$ bundle install
|
150
|
+
$ bundle exec rake
|
151
|
+
```
|
152
|
+
|
125
153
|
## Contributing
|
126
154
|
|
127
155
|
### Source
|
data/assets/plastik/blue.png
CHANGED
Binary file
|
data/assets/plastik/green.png
CHANGED
Binary file
|
data/assets/plastik/red.png
CHANGED
Binary file
|
data/gruff.gemspec
CHANGED
@@ -1,32 +1,42 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
lib = File.expand_path('lib')
|
3
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
6
|
require 'date'
|
5
7
|
require 'gruff/version'
|
6
8
|
|
7
9
|
Gem::Specification.new do |s|
|
8
|
-
s.name =
|
10
|
+
s.name = 'gruff'
|
9
11
|
s.version = Gruff::VERSION
|
10
12
|
s.authors = ['Geoffrey Grosenbach', 'Uwe Kubosch']
|
11
13
|
s.date = Date.today.to_s
|
12
|
-
s.description =
|
13
|
-
s.email =
|
14
|
-
s.files = `git ls-files`.split
|
15
|
-
|
16
|
-
|
17
|
-
s.
|
14
|
+
s.description = 'Beautiful graphs for one or multiple datasets. Can be used on websites or in documents.'
|
15
|
+
s.email = 'boss@topfunky.com'
|
16
|
+
s.files = `git ls-files`.split.reject do |f|
|
17
|
+
f =~ /^\.|^test|^docker|^Rakefile/
|
18
|
+
end
|
19
|
+
s.homepage = 'https://github.com/topfunky/gruff'
|
20
|
+
s.require_paths = %w[lib]
|
21
|
+
s.summary = 'Beautiful graphs for one or multiple datasets.'
|
18
22
|
s.license = 'MIT'
|
19
23
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
20
24
|
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
21
25
|
s.specification_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
22
|
-
s.required_ruby_version = ['>= 1.9.3', '< 3']
|
23
26
|
|
24
27
|
if defined? JRUBY_VERSION
|
25
28
|
s.platform = 'java'
|
26
|
-
s.add_dependency 'rmagick4j'
|
29
|
+
s.add_dependency 'rmagick4j'
|
27
30
|
else
|
28
|
-
s.add_dependency 'rmagick'
|
31
|
+
s.add_dependency 'rmagick'
|
32
|
+
s.add_development_dependency 'rubocop', '~> 1.0.0'
|
33
|
+
s.add_development_dependency 'rubocop-performance', '~> 1.8'
|
29
34
|
end
|
30
|
-
s.
|
31
|
-
s.
|
35
|
+
s.add_dependency 'histogram'
|
36
|
+
s.required_ruby_version = '>= 2.4.0'
|
37
|
+
|
38
|
+
s.add_development_dependency 'rake'
|
39
|
+
s.add_development_dependency 'parallel'
|
40
|
+
s.add_development_dependency 'minitest-reporters'
|
41
|
+
s.add_development_dependency 'yard', '~> 0.9.25'
|
32
42
|
end
|