chartkick 4.1.3 → 4.2.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +15 -2
- data/lib/chartkick/version.rb +1 -1
- data/licenses/LICENSE-chart.js.txt +1 -1
- data/vendor/assets/javascripts/Chart.bundle.js +1326 -1129
- data/vendor/assets/javascripts/chartkick.js +39 -34
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d2a4efa99cc9de5d1f4bafd419ebc3d56f25fd9ff58abcf6ae4a3bbad8751f
|
4
|
+
data.tar.gz: c2c6ce648f0d0bde544ef4a7191396ba499a2bdb9b4d8892a63c19a96152f083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ddd0b4c49fc2f761937a884440ce3500442f5ff998650a45723371315813f253d9f49f8f2833821f2d550fa879a09d533ca807e5a1bc69bfb552c3aff91f0b7
|
7
|
+
data.tar.gz: 38ee5f44d26d5d3b17aa84272493f4fcb4c39eb6ec581813fc30364398db5ab08b85b79fd2320b2bfdb885f3a2880c9b7639f9b27f478ae00da2f82f385586ce
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,8 +4,6 @@ Create beautiful JavaScript charts with one line of Ruby. No more fighting with
|
|
4
4
|
|
5
5
|
[See it in action](https://chartkick.com)
|
6
6
|
|
7
|
-
**Chartkick 4.0 was recently released** - see [how to upgrade](#upgrading)
|
8
|
-
|
9
7
|
:fire: For admin charts and dashboards, check out [Blazer](https://github.com/ankane/blazer/), and for advanced visualizations, check out [Vega](https://github.com/ankane/vega)
|
10
8
|
|
11
9
|
:two_hearts: A perfect companion to [Groupdate](https://github.com/ankane/groupdate), [Hightop](https://github.com/ankane/hightop), and [ActiveMedian](https://github.com/ankane/active_median)
|
@@ -23,6 +21,7 @@ gem "chartkick"
|
|
23
21
|
Then follow the instructions for your framework:
|
24
22
|
|
25
23
|
- [Rails 7 / Importmap](#rails-7--importmap)
|
24
|
+
- [Rails 7 / esbuild or Webpack](#rails-7--esbuild-or-webpack)
|
26
25
|
- [Rails 6 / Webpacker](#rails-6--webpacker)
|
27
26
|
- [Rails 5 / Sprockets](#rails-5--sprockets)
|
28
27
|
|
@@ -44,6 +43,20 @@ import "chartkick"
|
|
44
43
|
import "Chart.bundle"
|
45
44
|
```
|
46
45
|
|
46
|
+
### Rails 7 / esbuild or Webpack
|
47
|
+
|
48
|
+
Run:
|
49
|
+
|
50
|
+
```sh
|
51
|
+
yarn add chartkick chart.js
|
52
|
+
```
|
53
|
+
|
54
|
+
And in `app/javascript/application.js`, add:
|
55
|
+
|
56
|
+
```js
|
57
|
+
import "chartkick/chart.js"
|
58
|
+
```
|
59
|
+
|
47
60
|
### Rails 6 / Webpacker
|
48
61
|
|
49
62
|
Run:
|
data/lib/chartkick/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2014-
|
3
|
+
Copyright (c) 2014-2022 Chart.js Contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
6
|
|