chartkick 5.0.6 → 5.1.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: 3990dc8d7dcc12779a0fa7e69be8cc56c36268181a7120cec044a1c6cd78599f
4
- data.tar.gz: fec488a8e79f43e10e572239aaf19b0886cbd03e4d6931dca4155ebb6ef5be45
3
+ metadata.gz: d5ac461e695511a2f9d8ef5dbcb60ddfb451bc6eb1da80db82af9de2f18ce377
4
+ data.tar.gz: a06858d0d5a6380f0422ebcb31654741791f20fa517d6ad97a3cc2e5d8348133
5
5
  SHA512:
6
- metadata.gz: d926ace8a238d9a41f901a9f626c93678c66e7a8e2087178b06db8a253cc160c8bc74b18580049d58619730b0893b21e2f6ebfc922933b336d9a472eb71cf456
7
- data.tar.gz: 8012187958af8bb1070d7c9e645f6b20252ede8a3341e23b8d7a0eacf6b9afd342db9c1e8951bfdecf2b9ddcf5dae90948df06ff792e94a3859be253dc885029
6
+ metadata.gz: 16b1eca3fd6d1c0d716c509632d35a093ecd41135d1b55be968a103d6aa8a92555ef7b9f2b86d324bbbf2967223c93355999439ca3f4c131e29cf4e49c78421a
7
+ data.tar.gz: 401394b301c1fd783f5cb2b5456274ffba30913935436c48360311e907b8e24f4dada58c0b526a4f04558f03a130b07625981894654e8d0fa8a3df66b63aaded
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.1.0 (2024-08-20)
2
+
3
+ - Updated Chart.js to 4.4.4
4
+ - Dropped support for Ruby < 3.1
5
+
6
+ ## 5.0.7 (2024-05-21)
7
+
8
+ - Updated Chart.js to 4.4.3
9
+
1
10
  ## 5.0.6 (2024-02-28)
2
11
 
3
12
  - Updated Chart.js to 4.4.2
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013-2023 Andrew Kane
1
+ Copyright (c) 2013-2024 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
@@ -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 html_vars[k] =~ /\A[a-zA-Z0-9%.]*\z/
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|
@@ -1,3 +1,3 @@
1
1
  module Chartkick
2
- VERSION = "5.0.6"
2
+ VERSION = "5.1.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2022 Chart.js Contributors
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