importmap-rails 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/importmap/version.rb +1 -1
- data/lib/install/install.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcd496989c946621a4dccc32b156c97e004a74ef8d66e78522442e54f2858e6c
|
4
|
+
data.tar.gz: c061500b3fef30791bb95de2b6aa80f1bb4e8c2ed308eda646e047c637a3b0c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c6a4eb2cfdb02c183e561f8f0b32838c7cb592f80f1fe366fc4bd2b26b0f4fc609618eb547598a8062b20cf609e54a72653b51ce5b23b77c88aecec3c6f806
|
7
|
+
data.tar.gz: 41baf3b41697d8476e73b50cd048be991c926717eca77fe6424591956851bbec00bc7b1eab44065d9ce3334c11492bf225df9420d96724d71e0621c32d7aaa1c
|
data/lib/importmap/version.rb
CHANGED
data/lib/install/install.rb
CHANGED
@@ -14,6 +14,10 @@ create_file Rails.root.join("app/javascript/application.js") do <<-JS
|
|
14
14
|
JS
|
15
15
|
end
|
16
16
|
|
17
|
+
say "Use vendor/javascript for downloaded pins"
|
18
|
+
empty_directory "vendor/javascript"
|
19
|
+
keep_file "vendor/javascript"
|
20
|
+
|
17
21
|
if (sprockets_manifest_path = Rails.root.join("app/assets/config/manifest.js")).exist?
|
18
22
|
say "Ensure JavaScript files are in the Sprocket manifest"
|
19
23
|
append_to_file sprockets_manifest_path,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: importmap-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|