chartkick 4.0.1 → 4.0.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 +4 -0
- data/lib/chartkick/version.rb +1 -1
- data/vendor/assets/javascripts/chartkick.js +3 -3
- 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: 6c7fa77eaa5945f84a46d2482bcdf7d5472d76a1f64e658b5703ca94af159b5c
|
4
|
+
data.tar.gz: 6a6ba76b72c5f5a1f19e5fad672221c4dd5ac9939f89be4550b39cc87175b35d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b316a62c2fa403bb4fb02a8340360366431d3c5ffd198b52f055cc710d176d745d660283df955aee40e45b9f99d340e935eb3f2aa191e98770258858938534e5
|
7
|
+
data.tar.gz: 061df713e35e3bda787b12a2567f7a38980979fc4c696268a9095db13f1de98ea0dbdea66c0b727c3f596c3d2c4a27dc7d464a24ca60956a0c6e14d9c4038536
|
data/CHANGELOG.md
CHANGED
data/lib/chartkick/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Chartkick.js
|
3
3
|
* Create beautiful charts with one line of JavaScript
|
4
4
|
* https://github.com/ankane/chartkick.js
|
5
|
-
* v4.0.
|
5
|
+
* v4.0.2
|
6
6
|
* MIT License
|
7
7
|
*/
|
8
8
|
|
@@ -92,8 +92,8 @@
|
|
92
92
|
// try our best to get the str into iso8601
|
93
93
|
// TODO be smarter about this
|
94
94
|
var str = n.replace(/ /, "T").replace(" ", "").replace("UTC", "Z");
|
95
|
-
//
|
96
|
-
n = Date.parse(str) ||
|
95
|
+
// Date.parse returns milliseconds if valid and NaN if invalid
|
96
|
+
n = new Date(Date.parse(str) || n);
|
97
97
|
}
|
98
98
|
}
|
99
99
|
}
|
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: 4.0.
|
4
|
+
version: 4.0.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: 2021-04-
|
11
|
+
date: 2021-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|