piko-sharp-rb 0.0.1
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 +7 -0
- data/chartkick-5.2.1/CHANGELOG.md +418 -0
- data/chartkick-5.2.1/LICENSE.txt +22 -0
- data/chartkick-5.2.1/README.md +655 -0
- data/chartkick-5.2.1/lib/chartkick/core_ext.rb +26 -0
- data/chartkick-5.2.1/lib/chartkick/engine.rb +13 -0
- data/chartkick-5.2.1/lib/chartkick/helper.rb +138 -0
- data/chartkick-5.2.1/lib/chartkick/sinatra.rb +5 -0
- data/chartkick-5.2.1/lib/chartkick/utils.rb +24 -0
- data/chartkick-5.2.1/lib/chartkick/version.rb +3 -0
- data/chartkick-5.2.1/lib/chartkick.rb +27 -0
- data/chartkick-5.2.1/licenses/LICENSE-chart.js.txt +9 -0
- data/chartkick-5.2.1/licenses/LICENSE-chartjs-adapter-date-fns.txt +9 -0
- data/chartkick-5.2.1/licenses/LICENSE-chartkick.js.txt +22 -0
- data/chartkick-5.2.1/licenses/LICENSE-date-fns.txt +21 -0
- data/chartkick-5.2.1/licenses/LICENSE-kurkle-color.txt +9 -0
- data/chartkick-5.2.1/vendor/assets/javascripts/Chart.bundle.js +24219 -0
- data/chartkick-5.2.1/vendor/assets/javascripts/chartkick.js +2570 -0
- data/piko-sharp-rb.gemspec +12 -0
- metadata +59 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 44240ef8448af624c64b092d1abb3b9a86251ed79f2db1091a67f3c0c0002254
|
|
4
|
+
data.tar.gz: dde4b0f82d7d0bbf089d10ca12d4e97a58e8dab84231f034ef5c74fef43e3825
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 61577d503c341253a75af20ef0795114f8d7a0db17e2ef4733fbcde4477816da2c4ddb96eb9e7c0a2e8d7c3ffc8c067ac2eed1a11e5faf1e3dc9f83b18747f44
|
|
7
|
+
data.tar.gz: 9492c0ca0d4ec9b7911ddac67bf1ffee9550a94b14b22e194fb900f4e8b85a1e7ef9d244ad800304c72b63ab5a4f62fe1d5ab7753b1242936a148f9812e25653
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
## 5.2.1 (2025-10-13)
|
|
2
|
+
|
|
3
|
+
- Updated Chart.js to 4.5.1
|
|
4
|
+
|
|
5
|
+
## 5.2.0 (2025-06-16)
|
|
6
|
+
|
|
7
|
+
- Updated Chart.js to 4.5.0
|
|
8
|
+
- Dropped support for Ruby < 3.2
|
|
9
|
+
|
|
10
|
+
## 5.1.5 (2025-04-15)
|
|
11
|
+
|
|
12
|
+
- Updated Chart.js to 4.4.9
|
|
13
|
+
|
|
14
|
+
## 5.1.4 (2025-02-19)
|
|
15
|
+
|
|
16
|
+
- Updated Chart.js to 4.4.8
|
|
17
|
+
|
|
18
|
+
## 5.1.3 (2025-02-01)
|
|
19
|
+
|
|
20
|
+
- Updated Chart.js to 4.4.7
|
|
21
|
+
|
|
22
|
+
## 5.1.2 (2024-10-29)
|
|
23
|
+
|
|
24
|
+
- Updated Chart.js to 4.4.6
|
|
25
|
+
|
|
26
|
+
## 5.1.1 (2024-10-16)
|
|
27
|
+
|
|
28
|
+
- Updated Chart.js to 4.4.5
|
|
29
|
+
|
|
30
|
+
## 5.1.0 (2024-08-20)
|
|
31
|
+
|
|
32
|
+
- Updated Chart.js to 4.4.4
|
|
33
|
+
- Dropped support for Ruby < 3.1
|
|
34
|
+
|
|
35
|
+
## 5.0.7 (2024-05-21)
|
|
36
|
+
|
|
37
|
+
- Updated Chart.js to 4.4.3
|
|
38
|
+
|
|
39
|
+
## 5.0.6 (2024-02-28)
|
|
40
|
+
|
|
41
|
+
- Updated Chart.js to 4.4.2
|
|
42
|
+
|
|
43
|
+
## 5.0.5 (2023-12-07)
|
|
44
|
+
|
|
45
|
+
- Updated Chart.js to 4.4.1
|
|
46
|
+
|
|
47
|
+
## 5.0.4 (2023-08-27)
|
|
48
|
+
|
|
49
|
+
- Updated Chart.js to 4.4.0
|
|
50
|
+
|
|
51
|
+
## 5.0.3 (2023-07-24)
|
|
52
|
+
|
|
53
|
+
- Updated Chart.js to 4.3.1
|
|
54
|
+
|
|
55
|
+
## 5.0.2 (2023-05-02)
|
|
56
|
+
|
|
57
|
+
- Updated Chart.js to 4.3.0
|
|
58
|
+
|
|
59
|
+
## 5.0.1 (2023-01-19)
|
|
60
|
+
|
|
61
|
+
- Updated Chartkick.js to 5.0.1
|
|
62
|
+
|
|
63
|
+
## 5.0.0 (2023-01-18)
|
|
64
|
+
|
|
65
|
+
- Added support for Chart.js 4
|
|
66
|
+
- Changed `chart_json` to be defined on `Hash` and `Array` instead of `Enumerable`
|
|
67
|
+
- Updated Chartkick.js to 5.0.0
|
|
68
|
+
- Removed support for Chart.js 3
|
|
69
|
+
- Removed support for Ruby < 2.7 and Rails < 6
|
|
70
|
+
|
|
71
|
+
## 4.2.1 (2022-08-02)
|
|
72
|
+
|
|
73
|
+
- Updated Chart.js to 3.9.0
|
|
74
|
+
|
|
75
|
+
## 4.2.0 (2022-06-12)
|
|
76
|
+
|
|
77
|
+
- Updated Chartkick.js to 4.2.0
|
|
78
|
+
- Updated Chart.js to 3.8.0
|
|
79
|
+
|
|
80
|
+
## 4.1.3 (2022-01-15)
|
|
81
|
+
|
|
82
|
+
- Support for `importmap-rails` is no longer experimental
|
|
83
|
+
- Updated Chart.js to 3.7.0
|
|
84
|
+
- Fixed asset precompilation error with `importmap-rails`
|
|
85
|
+
|
|
86
|
+
## 4.1.2 (2021-11-06)
|
|
87
|
+
|
|
88
|
+
- Removed automatic pinning for `importmap-rails` (still experimental)
|
|
89
|
+
|
|
90
|
+
## 4.1.1 (2021-11-06)
|
|
91
|
+
|
|
92
|
+
- Updated Chartkick.js to 4.1.1
|
|
93
|
+
- Updated Chart.js to 3.6.0
|
|
94
|
+
|
|
95
|
+
## 4.1.0 (2021-10-23)
|
|
96
|
+
|
|
97
|
+
- Added support for Turbo
|
|
98
|
+
- Added experimental support for `importmap-rails`
|
|
99
|
+
- Updated Chartkick.js to 4.1.0
|
|
100
|
+
|
|
101
|
+
## 4.0.5 (2021-07-07)
|
|
102
|
+
|
|
103
|
+
- Updated Chartkick.js to 4.0.5
|
|
104
|
+
- Updated Chart.js to 3.4.1
|
|
105
|
+
|
|
106
|
+
## 4.0.4 (2021-05-01)
|
|
107
|
+
|
|
108
|
+
- Updated Chartkick.js to 4.0.4
|
|
109
|
+
- Updated Chart.js to 3.2.1
|
|
110
|
+
|
|
111
|
+
## 4.0.3 (2021-04-10)
|
|
112
|
+
|
|
113
|
+
- Updated Chartkick.js to 4.0.3
|
|
114
|
+
- Updated Chart.js to 3.1.0
|
|
115
|
+
|
|
116
|
+
## 4.0.2 (2021-04-06)
|
|
117
|
+
|
|
118
|
+
- Updated Chartkick.js to 4.0.2
|
|
119
|
+
|
|
120
|
+
## 4.0.1 (2021-04-06)
|
|
121
|
+
|
|
122
|
+
- Fixed error with Uglifier
|
|
123
|
+
- Updated Chartkick.js to 4.0.1
|
|
124
|
+
|
|
125
|
+
## 4.0.0 (2021-04-04)
|
|
126
|
+
|
|
127
|
+
- Added support for Chart.js 3
|
|
128
|
+
- Added `loading` option
|
|
129
|
+
- Made charts deferrable by default
|
|
130
|
+
- Set `nonce` automatically when present
|
|
131
|
+
- Prefer `empty` over `messages: {empty: ...}`
|
|
132
|
+
- Removed support for Ruby < 2.6 and Rails < 5.2
|
|
133
|
+
- Updated Chartkick.js to 4.0.0
|
|
134
|
+
|
|
135
|
+
Breaking changes
|
|
136
|
+
|
|
137
|
+
- Removed support for Chart.js 2
|
|
138
|
+
|
|
139
|
+
## 3.4.2 (2020-10-20)
|
|
140
|
+
|
|
141
|
+
- Updated Chart.js to 2.9.4
|
|
142
|
+
|
|
143
|
+
## 3.4.1 (2020-10-06)
|
|
144
|
+
|
|
145
|
+
- Relaxed validation for `width` and `height` options
|
|
146
|
+
|
|
147
|
+
## 3.4.0 (2020-08-04)
|
|
148
|
+
|
|
149
|
+
- Fixed CSS injection with `width` and `height` options - [more info](https://github.com/ankane/chartkick/issues/546)
|
|
150
|
+
|
|
151
|
+
## 3.3.2 (2020-07-23)
|
|
152
|
+
|
|
153
|
+
- Updated Chartkick.js to 3.2.1
|
|
154
|
+
|
|
155
|
+
## 3.3.1 (2019-12-26)
|
|
156
|
+
|
|
157
|
+
- Updated Chart.js to 2.9.3
|
|
158
|
+
- Fixed deprecation warnings in Ruby 2.7
|
|
159
|
+
|
|
160
|
+
## 3.3.0 (2019-11-09)
|
|
161
|
+
|
|
162
|
+
- Updated Chartkick.js to 3.2.0
|
|
163
|
+
- Rolled back Chart.js to 2.8.0 due to legend change
|
|
164
|
+
|
|
165
|
+
## 3.2.2 (2019-10-27)
|
|
166
|
+
|
|
167
|
+
- Updated Chartkick.js to 3.1.3
|
|
168
|
+
- Updated Chart.js to 2.9.1
|
|
169
|
+
|
|
170
|
+
## 3.2.1 (2019-07-15)
|
|
171
|
+
|
|
172
|
+
- Updated Chartkick.js to 3.1.1
|
|
173
|
+
|
|
174
|
+
## 3.2.0 (2019-06-04)
|
|
175
|
+
|
|
176
|
+
- Fixed XSS vulnerability - [more info](https://github.com/ankane/chartkick/issues/488)
|
|
177
|
+
|
|
178
|
+
## 3.1.0 (2019-05-26)
|
|
179
|
+
|
|
180
|
+
- Updated Chartkick.js to 3.1.0
|
|
181
|
+
- Updated Chart.js to 2.8.0
|
|
182
|
+
|
|
183
|
+
## 3.0.2 (2019-01-03)
|
|
184
|
+
|
|
185
|
+
- Fixed error with `nonce` option with Secure Headers and Rails < 5.2
|
|
186
|
+
- Updated Chartkick.js to 3.0.2
|
|
187
|
+
- Updated Chart.js to 2.7.3
|
|
188
|
+
|
|
189
|
+
## 3.0.1 (2018-08-13)
|
|
190
|
+
|
|
191
|
+
- Updated Chartkick.js to 3.0.1
|
|
192
|
+
|
|
193
|
+
## 3.0.0 (2018-08-08)
|
|
194
|
+
|
|
195
|
+
- Updated Chartkick.js to 3.0.0
|
|
196
|
+
- Added `code` option
|
|
197
|
+
- Added support for `nonce: true`
|
|
198
|
+
|
|
199
|
+
Breaking changes
|
|
200
|
+
|
|
201
|
+
- Removed support for Rails < 4.2
|
|
202
|
+
- Removed chartkick.js from asset precompile (no longer needed)
|
|
203
|
+
- Removed `xtype` option - numeric axes are automatically detected
|
|
204
|
+
- Removed `window.Chartkick = {...}` way to set config - use `Chartkick.configure` instead
|
|
205
|
+
- Removed support for the Google Charts jsapi loader - use loader.js instead
|
|
206
|
+
|
|
207
|
+
## 2.3.5 (2018-06-15)
|
|
208
|
+
|
|
209
|
+
- Updated Chartkick.js to 2.3.6
|
|
210
|
+
|
|
211
|
+
## 2.3.4 (2018-04-10)
|
|
212
|
+
|
|
213
|
+
- Updated Chartkick.js to 2.3.5
|
|
214
|
+
- Updated Chart.js to 2.7.2
|
|
215
|
+
|
|
216
|
+
## 2.3.3 (2018-03-25)
|
|
217
|
+
|
|
218
|
+
- Updated Chartkick.js to 2.3.4
|
|
219
|
+
|
|
220
|
+
## 2.3.2 (2018-02-26)
|
|
221
|
+
|
|
222
|
+
- Updated Chartkick.js to 2.3.3
|
|
223
|
+
|
|
224
|
+
## 2.3.1 (2018-02-23)
|
|
225
|
+
|
|
226
|
+
- Updated Chartkick.js to 2.3.1
|
|
227
|
+
|
|
228
|
+
## 2.3.0 (2018-02-21)
|
|
229
|
+
|
|
230
|
+
- Fixed deep merge error for non-Rails apps
|
|
231
|
+
- Updated Chartkick.js to 2.3.0
|
|
232
|
+
|
|
233
|
+
## 2.2.5 (2017-10-28)
|
|
234
|
+
|
|
235
|
+
- Updated Chart.js to 2.7.1
|
|
236
|
+
|
|
237
|
+
## 2.2.4 (2017-05-14)
|
|
238
|
+
|
|
239
|
+
- Added compatibility with Rails API
|
|
240
|
+
- Updated Chartkick.js to 2.2.4
|
|
241
|
+
|
|
242
|
+
## 2.2.3 (2017-02-22)
|
|
243
|
+
|
|
244
|
+
- Updated Chartkick.js to 2.2.3
|
|
245
|
+
- Updated Chart.js to 2.5.0
|
|
246
|
+
|
|
247
|
+
## 2.2.2 (2017-01-07)
|
|
248
|
+
|
|
249
|
+
- Updated Chartkick.js to 2.2.2
|
|
250
|
+
|
|
251
|
+
## 2.2.1 (2016-12-05)
|
|
252
|
+
|
|
253
|
+
- Updated Chartkick.js to 2.2.1
|
|
254
|
+
|
|
255
|
+
## 2.2.0 (2016-12-03)
|
|
256
|
+
|
|
257
|
+
- Updated Chartkick.js to 2.2.0
|
|
258
|
+
- Improved JavaScript API
|
|
259
|
+
- Added `download` option - *Chart.js only*
|
|
260
|
+
- Added `refresh` option
|
|
261
|
+
- Added `donut` option to pie chart
|
|
262
|
+
|
|
263
|
+
## 2.1.3 (2016-11-29)
|
|
264
|
+
|
|
265
|
+
- Updated Chartkick.js to 2.1.2 - fixes missing zero values for Chart.js
|
|
266
|
+
|
|
267
|
+
## 2.1.2 (2016-11-28)
|
|
268
|
+
|
|
269
|
+
- Added `defer` option
|
|
270
|
+
- Added `nonce` option
|
|
271
|
+
- Updated Chartkick.js to 2.1.1
|
|
272
|
+
|
|
273
|
+
## 2.1.1 (2016-09-11)
|
|
274
|
+
|
|
275
|
+
- Use custom version of Chart.js to fix label overlap
|
|
276
|
+
|
|
277
|
+
## 2.1.0 (2016-09-10)
|
|
278
|
+
|
|
279
|
+
- Added basic support for new Google Charts loader
|
|
280
|
+
- Added `configure` function
|
|
281
|
+
- Dropped jQuery and Zepto dependencies for AJAX
|
|
282
|
+
- Updated Chart.js to 2.2.2
|
|
283
|
+
|
|
284
|
+
## 2.0.2 (2016-08-11)
|
|
285
|
+
|
|
286
|
+
- Updated Chartkick.js to 2.0.1
|
|
287
|
+
- Updated Chart.js to 2.2.1
|
|
288
|
+
|
|
289
|
+
## 2.0.1 (2016-07-29)
|
|
290
|
+
|
|
291
|
+
- Small Chartkick.js fixes
|
|
292
|
+
- Updated Chart.js to 2.2.0
|
|
293
|
+
|
|
294
|
+
## 2.0.0 (2016-05-30)
|
|
295
|
+
|
|
296
|
+
- Chart.js is now the default adapter - yay open source!
|
|
297
|
+
- Axis types are automatically detected - no need for `discrete: true`
|
|
298
|
+
- Better date support
|
|
299
|
+
- New JavaScript API
|
|
300
|
+
|
|
301
|
+
## 1.5.2 (2016-05-05)
|
|
302
|
+
|
|
303
|
+
- Fixed Sprockets error
|
|
304
|
+
|
|
305
|
+
## 1.5.1 (2016-05-03)
|
|
306
|
+
|
|
307
|
+
- Updated chartkick.js to latest version
|
|
308
|
+
- Included `Chart.bundle.js`
|
|
309
|
+
|
|
310
|
+
## 1.5.0 (2016-05-01)
|
|
311
|
+
|
|
312
|
+
- Added Chart.js adapter **beta**
|
|
313
|
+
- Fixed line height on timeline charts
|
|
314
|
+
|
|
315
|
+
## 1.4.2 (2016-02-29)
|
|
316
|
+
|
|
317
|
+
- Added `width` option
|
|
318
|
+
- Added `label` option
|
|
319
|
+
- Added support for `stacked: false` for area charts
|
|
320
|
+
- Lazy load adapters
|
|
321
|
+
- Better tooltip for dates for Google Charts
|
|
322
|
+
- Fixed asset precompilation issue with Rails 5
|
|
323
|
+
|
|
324
|
+
## 1.4.1 (2015-09-07)
|
|
325
|
+
|
|
326
|
+
- Fixed regression with `min: nil`
|
|
327
|
+
|
|
328
|
+
## 1.4.0 (2015-08-31)
|
|
329
|
+
|
|
330
|
+
- Added scatter chart
|
|
331
|
+
- Added axis titles
|
|
332
|
+
|
|
333
|
+
## 1.3.2 (2014-07-04)
|
|
334
|
+
|
|
335
|
+
- Fixed `except` error when not using Rails
|
|
336
|
+
|
|
337
|
+
## 1.3.1 (2014-06-30)
|
|
338
|
+
|
|
339
|
+
- Fixed blank screen bug
|
|
340
|
+
- Fixed language support
|
|
341
|
+
|
|
342
|
+
## 1.3.0 (2014-06-28)
|
|
343
|
+
|
|
344
|
+
- Added timelines
|
|
345
|
+
|
|
346
|
+
## 1.2.5 (2014-06-12)
|
|
347
|
+
|
|
348
|
+
- Added support for multiple groups
|
|
349
|
+
- Added `html` option
|
|
350
|
+
|
|
351
|
+
## 1.2.4 (2014-03-24)
|
|
352
|
+
|
|
353
|
+
- Added global options
|
|
354
|
+
- Added `colors` option
|
|
355
|
+
|
|
356
|
+
## 1.2.3 (2014-03-23)
|
|
357
|
+
|
|
358
|
+
- Added geo chart
|
|
359
|
+
- Added `discrete` option
|
|
360
|
+
|
|
361
|
+
## 1.2.2 (2014-02-23)
|
|
362
|
+
|
|
363
|
+
- Added global `content_for` option
|
|
364
|
+
- Added `stacked` option
|
|
365
|
+
|
|
366
|
+
## 1.2.1 (2013-12-08)
|
|
367
|
+
|
|
368
|
+
- Added localization for Google Charts
|
|
369
|
+
|
|
370
|
+
## 1.2.0 (2013-07-27)
|
|
371
|
+
|
|
372
|
+
- Added bar chart and area chart
|
|
373
|
+
- Resize Google Charts on window resize
|
|
374
|
+
|
|
375
|
+
## 1.1.3 (2013-06-26)
|
|
376
|
+
|
|
377
|
+
- Added content_for option
|
|
378
|
+
|
|
379
|
+
## 1.1.2 (2013-06-11)
|
|
380
|
+
|
|
381
|
+
- Updated chartkick.js to v1.0.1
|
|
382
|
+
|
|
383
|
+
## 1.1.1 (2013-06-10)
|
|
384
|
+
|
|
385
|
+
- Added support for Sinatra
|
|
386
|
+
|
|
387
|
+
## 1.1.0 (2013-06-03)
|
|
388
|
+
|
|
389
|
+
- Added support for Padrino and Rails 2.3+
|
|
390
|
+
|
|
391
|
+
## 1.0.1 (2013-05-23)
|
|
392
|
+
|
|
393
|
+
- Updated chartkick.js to v1.0.1
|
|
394
|
+
|
|
395
|
+
## 1.0.0 (2013-05-15)
|
|
396
|
+
|
|
397
|
+
- Use semantic versioning (no changes)
|
|
398
|
+
|
|
399
|
+
## 0.0.5 (2013-05-14)
|
|
400
|
+
|
|
401
|
+
- Removed `:min => 0` default for charts with negative values
|
|
402
|
+
- Show legend when data given in `{:name => "", :data => {}}` format
|
|
403
|
+
|
|
404
|
+
## 0.0.4 (2013-05-13)
|
|
405
|
+
|
|
406
|
+
- Fix for `Uncaught ReferenceError: Chartkick is not defined` when chartkick.js is included in the `<head>`
|
|
407
|
+
|
|
408
|
+
## 0.0.3 (2013-05-12)
|
|
409
|
+
|
|
410
|
+
- Improved error messages
|
|
411
|
+
|
|
412
|
+
## 0.0.2 (2013-05-10)
|
|
413
|
+
|
|
414
|
+
- Added `min` and `max` options
|
|
415
|
+
|
|
416
|
+
## 0.0.1 (2013-05-07)
|
|
417
|
+
|
|
418
|
+
- First release
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2013-2024 Andrew Kane
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|