chartkick 5.0.6 → 5.1.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 +9 -0
- data/LICENSE.txt +1 -1
- data/lib/chartkick/helper.rb +1 -1
- data/lib/chartkick/version.rb +1 -1
- data/licenses/LICENSE-chart.js.txt +1 -1
- data/vendor/assets/javascripts/Chart.bundle.js +453 -587
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5ac461e695511a2f9d8ef5dbcb60ddfb451bc6eb1da80db82af9de2f18ce377
|
4
|
+
data.tar.gz: a06858d0d5a6380f0422ebcb31654741791f20fa517d6ad97a3cc2e5d8348133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16b1eca3fd6d1c0d716c509632d35a093ecd41135d1b55be968a103d6aa8a92555ef7b9f2b86d324bbbf2967223c93355999439ca3f4c131e29cf4e49c78421a
|
7
|
+
data.tar.gz: 401394b301c1fd783f5cb2b5456274ffba30913935436c48360311e907b8e24f4dada58c0b526a4f04558f03a130b07625981894654e8d0fa8a3df66b63aaded
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/lib/chartkick/helper.rb
CHANGED
@@ -78,7 +78,7 @@ module Chartkick
|
|
78
78
|
# limit to alphanumeric and % for simplicity
|
79
79
|
# this prevents things like calc() but safety is the priority
|
80
80
|
# dot does not need escaped in square brackets
|
81
|
-
raise ArgumentError, "Invalid #{k}" unless
|
81
|
+
raise ArgumentError, "Invalid #{k}" unless /\A[a-zA-Z0-9%.]*\z/.match?(html_vars[k])
|
82
82
|
end
|
83
83
|
|
84
84
|
html_vars.each_key do |k|
|
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-2024 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
|
|