chartkick 5.1.1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/chartkick/version.rb +1 -1
- data/vendor/assets/javascripts/Chart.bundle.js +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c02c167e89a1d4b519eef7efd26bba1cdd94454058d5c1c172263cd338c854da
|
4
|
+
data.tar.gz: 54537bba9415ee70f1f0b081c5614348c37a75f3220aa114061486b6ee170dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6109c2e24f9dc17e48769d88da714c38e463c49379af85361d4c560e79369208e4b03282ed41be7aab0bc3fd5af29d15ea9af697caf347d8c8b9b76afeb50b1
|
7
|
+
data.tar.gz: daca8c4bb5c24e889a9feaa542d2088ec8b62b41658179bbbc4ad6afe67e7eecc3e9d956e7dc560596b3c2cae10a286b5304929debfa0db35c6acd0b7ef09dd9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 5.1.2 (2024-10-29)
|
2
|
+
|
3
|
+
- Updated Chart.js to 4.4.6
|
4
|
+
|
1
5
|
## 5.1.1 (2024-10-16)
|
2
6
|
|
3
7
|
- Updated Chart.js to 4.4.5
|
@@ -379,3 +383,15 @@ Breaking changes
|
|
379
383
|
## 0.0.4 (2013-05-13)
|
380
384
|
|
381
385
|
- Fix for `Uncaught ReferenceError: Chartkick is not defined` when chartkick.js is included in the `<head>`
|
386
|
+
|
387
|
+
## 0.0.3 (2013-05-12)
|
388
|
+
|
389
|
+
- Improved error messages
|
390
|
+
|
391
|
+
## 0.0.2 (2013-05-10)
|
392
|
+
|
393
|
+
- Added `min` and `max` options
|
394
|
+
|
395
|
+
## 0.0.1 (2013-05-07)
|
396
|
+
|
397
|
+
- First release
|
data/lib/chartkick/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Chart.js v4.4.
|
2
|
+
* Chart.js v4.4.6
|
3
3
|
* https://www.chartjs.org
|
4
4
|
* (c) 2024 Chart.js Contributors
|
5
5
|
* Released under the MIT License
|
@@ -4496,9 +4496,11 @@
|
|
4496
4496
|
if (value === null) {
|
4497
4497
|
return;
|
4498
4498
|
}
|
4499
|
+
var found = false;
|
4499
4500
|
for (i = 0, ilen = keys.length; i < ilen; ++i) {
|
4500
4501
|
datasetIndex = +keys[i];
|
4501
4502
|
if (datasetIndex === dsIndex) {
|
4503
|
+
found = true;
|
4502
4504
|
if (options.all) {
|
4503
4505
|
continue;
|
4504
4506
|
}
|
@@ -4509,6 +4511,9 @@
|
|
4509
4511
|
value += otherValue;
|
4510
4512
|
}
|
4511
4513
|
}
|
4514
|
+
if (!found && !options.all) {
|
4515
|
+
return 0;
|
4516
|
+
}
|
4512
4517
|
return value;
|
4513
4518
|
}
|
4514
4519
|
function convertObjectDataToArray(data, meta) {
|
@@ -10397,7 +10402,7 @@
|
|
10397
10402
|
}
|
10398
10403
|
return false;
|
10399
10404
|
}
|
10400
|
-
var version = "4.4.
|
10405
|
+
var version = "4.4.6";
|
10401
10406
|
var KNOWN_POSITIONS = ['top', 'bottom', 'left', 'right', 'chartArea'];
|
10402
10407
|
function positionIsHorizontal(position, axis) {
|
10403
10408
|
return position === 'top' || position === 'bottom' || KNOWN_POSITIONS.indexOf(position) === -1 && axis === 'x';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chartkick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|