spina 2.3.3 → 2.3.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spina might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/helpers/spina/spina_helper.rb +4 -3
- data/lib/spina/engine.rb +5 -1
- data/lib/spina/version.rb +1 -1
- 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: c97beac4ca46c39f812ae453d8dc2c2c55e7074af2e10e96975db7dd0e7e9c74
|
4
|
+
data.tar.gz: 821c60141f3e68320c21a8f7e0c972bc042c98bd5e0c67aa8c1bd2fe2929ea36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f867838a13bf13a8092306dad90b0ac6186b05a11443f2a7d0bc8f21b7133cd4dc6d883785da430b9eab93a5447835eec3b2c02f7dbb177bea959e51927ddb64
|
7
|
+
data.tar.gz: f836d9d8be8706319f1bedaa58c15ba89a663066c2cd9eb00954d62588038a77559ddf309e9aca90438ac667557f4fb3f27682a5894e119336d35b0636cc1df7
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Spina::SpinaHelper
|
2
2
|
|
3
|
-
def spina_importmap_tags
|
3
|
+
def spina_importmap_tags(entry_point = "application")
|
4
4
|
safe_join [
|
5
|
-
javascript_inline_importmap_tag(Spina.config.importmap),
|
5
|
+
javascript_inline_importmap_tag(Spina.config.importmap.to_json(resolver: self)),
|
6
|
+
javascript_importmap_module_preload_tags(Spina.config.importmap),
|
6
7
|
javascript_importmap_shim_tag,
|
7
8
|
javascript_include_tag("spina/libraries/trix"),
|
8
|
-
javascript_import_module_tag(
|
9
|
+
javascript_import_module_tag(entry_point)
|
9
10
|
], "\n"
|
10
11
|
end
|
11
12
|
|
data/lib/spina/engine.rb
CHANGED
@@ -46,7 +46,11 @@ module Spina
|
|
46
46
|
pin "@hotwired/stimulus-autoloader", to: "stimulus-autoloader.js"
|
47
47
|
pin "@hotwired/turbo-rails", to: "turbo.js"
|
48
48
|
|
49
|
-
|
49
|
+
# Spina entrypoint
|
50
|
+
pin "application", to: "spina/application.js"
|
51
|
+
|
52
|
+
pin_all_from Spina::Engine.root.join("app/assets/javascripts/spina/controllers"), under: "controllers", to: "spina/controllers"
|
53
|
+
pin_all_from Spina::Engine.root.join("app/assets/javascripts/spina/libraries"), under: "libraries", to: "spina/libraries"
|
50
54
|
end
|
51
55
|
end
|
52
56
|
|
data/lib/spina/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bram Jetten
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - '='
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.2.
|
187
|
+
version: 0.2.7
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.2.
|
194
|
+
version: 0.2.7
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: turbo-rails
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|