chartkick 4.1.3 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89ed1824ceea10158a8321a32e75daeb96dcb1eaeea839dc6f4eddd1de97cd88
4
- data.tar.gz: 8c4a6ff2477b7314cec55237fbcfafe7e0b95efb4890a50925edb4eb095bb468
3
+ metadata.gz: f2d2a4efa99cc9de5d1f4bafd419ebc3d56f25fd9ff58abcf6ae4a3bbad8751f
4
+ data.tar.gz: c2c6ce648f0d0bde544ef4a7191396ba499a2bdb9b4d8892a63c19a96152f083
5
5
  SHA512:
6
- metadata.gz: 5f6bedf2f1e49a194cdede42c1fb80d7dbf02a0d26955f0c0248b625736efc52269c966b3c8a50a0f3ba8bc5782bc7ad6843195a123fe6e9211026255305c825
7
- data.tar.gz: 341942cf99eaf9a262d13b0abc8ca00898d88a2ac688a269bf932e6d0e365592a1ccca0f46bbc9e4ebca9fffcb9991853a8c4ea82448e73fe04b1847f12d5bd4
6
+ metadata.gz: 3ddd0b4c49fc2f761937a884440ce3500442f5ff998650a45723371315813f253d9f49f8f2833821f2d550fa879a09d533ca807e5a1bc69bfb552c3aff91f0b7
7
+ data.tar.gz: 38ee5f44d26d5d3b17aa84272493f4fcb4c39eb6ec581813fc30364398db5ab08b85b79fd2320b2bfdb885f3a2880c9b7639f9b27f478ae00da2f82f385586ce
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 4.2.0 (2022-06-12)
2
+
3
+ - Updated Chartkick.js to 4.2.0
4
+ - Updated Chart.js to 3.8.0
5
+
1
6
  ## 4.1.3 (2022-01-15)
2
7
 
3
8
  - Support for `importmap-rails` is no longer experimental
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:
@@ -1,3 +1,3 @@
1
1
  module Chartkick
2
- VERSION = "4.1.3"
2
+ VERSION = "4.2.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2021 Chart.js Contributors
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