requestjs-rails 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/requestjs/engine.rb +3 -1
- data/lib/requestjs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d1461644aa9f865df4f57cecd1060168040d64484259f128658516ddf7c7f4
|
4
|
+
data.tar.gz: 2c63e6568c07bdee1c89f4bf5f931e66f9dc4f6bdc967ccd3e7018cae68870f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a2f0495e24ed4d5a714b3cbad2017f3b04934a21778570b4ec56d7b4fa596f857fbaea8bf1b60550aae34b94252fd68bdb499c6637b2e95aea4a5594c46128
|
7
|
+
data.tar.gz: 3ecef3f8ea92142184953c3225df5f23e3e8e85b667068c72322a1003e795685b704b1c8c3bddf7f355ca1c6b748d975453b47a02137d49990a0f0e1d298acdd
|
data/lib/requestjs/engine.rb
CHANGED
@@ -7,7 +7,9 @@ module Requestjs
|
|
7
7
|
end
|
8
8
|
|
9
9
|
initializer "requestjs.importmap", before: "importmap" do |app|
|
10
|
-
|
10
|
+
if Rails.application.respond_to?(:importmap)
|
11
|
+
app.config.importmap.paths << Engine.root.join("config/importmap.rb")
|
12
|
+
end
|
11
13
|
end
|
12
14
|
end
|
13
15
|
end
|
data/lib/requestjs/version.rb
CHANGED