spina 2.3.1 → 2.3.2
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 +1 -1
- data/lib/spina.rb +1 -2
- data/lib/spina/engine.rb +5 -5
- data/lib/spina/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffabe76e2a9ea5c40de7afe20d8ef0d30b8790833e5c40fb7c5da1907cf1fe17
|
4
|
+
data.tar.gz: 956e03b0dcfb82cd62be40a2d1fb824b523c990dfa8e22d3bd34c618a64dba7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e875cfcea973f999e87e598c047f5cfe5c4f52ac869099b1a33e712aaedd1ff62bb741f85f64ba0e9281fdd12a16cdc551c3e521734a4c56f0a4dd7fc9f4452
|
7
|
+
data.tar.gz: 907d025a80b3a40346f9da4fc6dad23673681c9937549db9c62ef17d3c2fa87c6666ee80827423e41cae054529230b2d6d06f6dae007df7b6abccc4da55d065b
|
@@ -2,7 +2,7 @@ module Spina::SpinaHelper
|
|
2
2
|
|
3
3
|
def spina_importmap_tags
|
4
4
|
safe_join [
|
5
|
-
javascript_inline_importmap_tag(Spina.config.importmap
|
5
|
+
javascript_inline_importmap_tag(Spina.config.importmap),
|
6
6
|
javascript_importmap_shim_tag,
|
7
7
|
javascript_include_tag("spina/libraries/trix"),
|
8
8
|
javascript_import_module_tag("application")
|
data/lib/spina.rb
CHANGED
@@ -51,8 +51,7 @@ module Spina
|
|
51
51
|
self.queues = ActiveSupport::InheritableOptions.new
|
52
52
|
|
53
53
|
# An importmap specifically meant for Spina
|
54
|
-
self.importmap =
|
55
|
-
self.importmap.paths = Importmap::Paths.new
|
54
|
+
self.importmap = Importmap::Map.new
|
56
55
|
|
57
56
|
# Tailwind purging
|
58
57
|
# Spina will by default purge all unused Tailwind classes by scanning
|
data/lib/spina/engine.rb
CHANGED
@@ -40,13 +40,13 @@ module Spina
|
|
40
40
|
end
|
41
41
|
|
42
42
|
initializer "spina.importmap" do
|
43
|
-
Spina.config.importmap.
|
43
|
+
Spina.config.importmap.draw do
|
44
44
|
# Stimulus & Turbo
|
45
|
-
|
46
|
-
|
47
|
-
|
45
|
+
pin "@hotwired/stimulus", to: "stimulus.js"
|
46
|
+
pin "@hotwired/stimulus-autoloader", to: "stimulus-autoloader.js"
|
47
|
+
pin "@hotwired/turbo-rails", to: "turbo.js"
|
48
48
|
|
49
|
-
|
49
|
+
pin_all_from Spina::Engine.root.join("app/assets/javascripts/spina"), append_base_path: true
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
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.2
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -182,44 +182,44 @@ dependencies:
|
|
182
182
|
name: importmap-rails
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.
|
187
|
+
version: 0.2.2
|
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.
|
194
|
+
version: 0.2.2
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: turbo-rails
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - "
|
199
|
+
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.7.
|
201
|
+
version: 0.7.2
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - "
|
206
|
+
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.7.
|
208
|
+
version: 0.7.2
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: stimulus-rails
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - "
|
213
|
+
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.3.
|
215
|
+
version: 0.3.3
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - "
|
220
|
+
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.3.
|
222
|
+
version: 0.3.3
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: babosa
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|