vega 0.2.3 → 0.2.4

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: 4e3a67fe76080049bf0aece9305b4b75830595582417ae7f041ffef56accae89
4
- data.tar.gz: c8b284392d1d872ab214ee1a25226d0d682f8e39e5099d4c549ee52be803887a
3
+ metadata.gz: a585bb036b731a2eb4408f72112bba1d64d574e8cc11e12dd22b5df392340f25
4
+ data.tar.gz: 6d703da07e6ae89275f2999e46285df66825703fecccc352ee9747d3e167dad0
5
5
  SHA512:
6
- metadata.gz: 2e9f5e249a6ad941fc37dee172ffdbe9d6d24b20b3376c49557762df5178cdaacdf535cd2d15780aeb0f68865cca23565ae8ecc1c18b47808c4d2c76b78193c1
7
- data.tar.gz: dc8fa74465709a9ef563b49747efc27be0d93c04c44668e1d05ff049eb7a686030f4323dfb8c0ec3e10d871777719eb1c2bb52c844b851eaec37d29416712bc8
6
+ metadata.gz: 2d5a50065d7b9cc715046d7f61cc406be7847e2ad91b0578b0de555e7659665f311034b1adfcfa31bd9f96e15fff240f6df6b6b4bb502d240fdf373711244e65
7
+ data.tar.gz: 297c9d86387858617ee12afb5fd44ae46929ea63c74f601240b8c53a79e50e0b6876496014caaa724f57b98eb20137309312657c7eb5f89250b0c1c70f6c73e3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.2.4 (2022-01-15)
2
+
3
+ - Support for `importmap-rails` is no longer experimental
4
+ - Fixed asset precompilation error with `importmap-rails`
5
+
1
6
  ## 0.2.3 (2021-11-15)
2
7
 
3
8
  - Updated Vega-Embed to 6.20.1 to fix spec version warnings
data/README.md CHANGED
@@ -16,9 +16,9 @@ Add this line to your application’s Gemfile:
16
16
  gem 'vega'
17
17
  ```
18
18
 
19
- The follow the instructions for how you plan to use it:
19
+ Then follow the instructions for how you plan to use it:
20
20
 
21
- - [Rails 7 / Importmap](#rails-7--importmap) (experimental)
21
+ - [Rails 7 / Importmap](#rails-7--importmap)
22
22
  - [Rails 6 / Webpacker](#rails-6--webpacker)
23
23
  - [Rails 5 / Sprockets](#rails-5--sprockets)
24
24
  - [iRuby](#iruby)
@@ -28,7 +28,7 @@ module Vega
28
28
 
29
29
  # for https://github.com/SciRuby/iruby/issues/314
30
30
  def to_iruby_mimebundle(**)
31
- [[to_iruby].to_h, nil]
31
+ [[to_iruby].to_h, {}]
32
32
  end
33
33
 
34
34
  def to_json
data/lib/vega/engine.rb CHANGED
@@ -3,8 +3,8 @@ module Vega
3
3
  # for assets
4
4
 
5
5
  # for importmap
6
- if defined?(Importmap)
7
- initializer "vega.importmap", after: "importmap" do |app|
6
+ initializer "vega.importmap" do |app|
7
+ if defined?(Importmap)
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/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vega
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vega
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-01-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@ankane.org
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubygems_version: 3.2.22
57
+ rubygems_version: 3.3.3
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Interactive charts for Ruby, powered by Vega and Vega-Lite