importmap-rails 0.2.5 → 0.2.6

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: 7ac84f89fb26d278f81e9a7ce208f804833eab66cd76876884cf068ec5b68d94
4
- data.tar.gz: 540c19550f7d4a7f3c7d5beb7fdba155fc1526b6a32c1a76c4b8f0be7b5486e2
3
+ metadata.gz: 271785dcc1a13f77093f95d79b7463f615754ea02129d6b7a8ff1d0fb32caf83
4
+ data.tar.gz: af98f4e072978fd478ae00bc80d34a9357fd2375fde1bb246125852dbd65f92b
5
5
  SHA512:
6
- metadata.gz: be5069a7570c5f56ee11833d387c1e16d0075e8699bd6e23c62bd7ff2296dd38760195d4e4d3296489bda6070406bc2016771bc423b396ff0f1a9fb1c5197e15
7
- data.tar.gz: c6c5c08a36c69b2707d5047b5d2957cc0d0a7ac67fcce8343ea53316b43e3df008e47381ae77d5e4c8d624f9eb6cef0260c6ff255f78d9bd2fe4855494187855
6
+ metadata.gz: 5775f5dd5149baa20c4cc4a9dde8caee59caffcddb2eb4c8ae65c20b5b90a7f8299957760cc6accffd192c250f37e0ec09f871a7b8354301aecf679f4a02ef8a
7
+ data.tar.gz: baa9e8cd92f9d5d315d65924aa4e289d3dda8a920619fc202fcbd9e797df68ea1da80cab5569ec41ed6f21c9dd1c5d3cac5c17ac2a4975c84161590d99d6b36f
data/lib/importmap/map.rb CHANGED
@@ -10,11 +10,11 @@ class Importmap::Map
10
10
  instance_eval(&block)
11
11
  end
12
12
 
13
- def pin(name, to: nil, preload: true)
13
+ def pin(name, to: nil, preload: false)
14
14
  @files[name] = MappedFile.new(name: name, path: to || "#{name}.js", preload: preload)
15
15
  end
16
16
 
17
- def pin_all_from(path, under: nil, preload: true)
17
+ def pin_all_from(path, under: nil, preload: false)
18
18
  @directories[path] = MappedDir.new(path: path, under: under, preload: preload)
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Importmap
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: importmap-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson