vega 0.3.2 → 0.4.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: 2cbe3f79c8626d51ab419723a26bd9133015a488d91a8ef60f5925cd252127fa
4
- data.tar.gz: 8d42e626aa562a4829f71c383601d3b5a0cc7b84b4efeb4224d70b739c572689
3
+ metadata.gz: 9f85c3aa151c65606522c672d8d2a52911bdf075b9f69c6ecb0fe6f385cf72cf
4
+ data.tar.gz: c732f2817d85f970a0070eb4dae07b2f4a045b745ee89696184d9c7c133efa6e
5
5
  SHA512:
6
- metadata.gz: eea278e7d7eb6ad1957ed3a009a07db088ee16bada50ed0df89da3474cfbee75f4fdec3f08b7667f57d78688069f8e89455d3832764e2502ada631b52c810a1c
7
- data.tar.gz: 4083b48f59c39a69ecfadea7e5a7e30903a10188baa1fcf3858e13d491b723c7a94041e5abfe61e7b44bb92db91cc754a1d763d9b53c3de6894d0ac22b7ecbf7
6
+ metadata.gz: 6bc45e4277c4459515f4c5194d37e5f32106ae466469889f50b30868d95c725c9f45667e04c0b481ffaef3ac3c6c50c9247211f2e435cbf7c97511d0a369d042
7
+ data.tar.gz: 50e04b60a43f22caf073e45b1d6bf68161274843aab1caef192349bdf53a441b0807b592a21b5026b0b2d8ada81378325f6f9e23b4f5f077ba525c7849a61ec1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.4.0 (2024-10-22)
2
+
3
+ - Updated Vega-Lite to 5.21.0 and Vega-Embed to 6.26.0
4
+ - Dropped support for Ruby < 3.1 and Rails < 7
5
+
1
6
  ## 0.3.2 (2024-06-30)
2
7
 
3
8
  - Updated Vega to 5.30.0, Vega-Lite to 5.19.0, and Vega-Embed to 6.25.0
data/lib/vega/engine.rb CHANGED
@@ -4,7 +4,7 @@ module Vega
4
4
 
5
5
  # for importmap
6
6
  initializer "vega.importmap" do |app|
7
- if defined?(Importmap)
7
+ if app.config.respond_to?(:assets) && defined?(Importmap) && defined?(Sprockets)
8
8
  app.config.assets.precompile << "vega-embed.js"
9
9
  app.config.assets.precompile << "vega-interpreter.js"
10
10
  app.config.assets.precompile << "vega-lite.js"
data/lib/vega/spec.rb CHANGED
@@ -34,10 +34,10 @@ module Vega
34
34
  <script>
35
35
  require.config({
36
36
  paths: {
37
- 'vega': 'https://cdn.jsdelivr.net/npm/vega@5.22.1/build/vega.min',
38
- 'vega-util': 'https://cdn.jsdelivr.net/npm/vega-util@1.17.0/build/vega-util.min',
39
- 'vega-lite': 'https://cdn.jsdelivr.net/npm/vega-lite@5.6.1/build/vega-lite.min',
40
- 'vega-embed': 'https://cdn.jsdelivr.net/npm/vega-embed@6.21.3/build/vega-embed.min'
37
+ 'vega': 'https://cdn.jsdelivr.net/npm/vega@5.30.0/build/vega.min',
38
+ 'vega-util': 'https://cdn.jsdelivr.net/npm/vega-util@1.17.2/build/vega-util.min',
39
+ 'vega-lite': 'https://cdn.jsdelivr.net/npm/vega-lite@5.21.0/build/vega-lite.min',
40
+ 'vega-embed': 'https://cdn.jsdelivr.net/npm/vega-embed@6.26.0/build/vega-embed.min'
41
41
  }
42
42
  });
43
43
  require(['vega', 'vega-util', 'vega-lite', 'vega-embed'], function(vega, vegaUtil, vegaLite, vegaEmbed) {
data/lib/vega/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vega
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end