turbo-rails 0.7.1 → 0.7.2

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: d693019f1ad4faadbaad84b55386d17aa4874d33be169d7641fdd4ac47ac0eb0
4
- data.tar.gz: 01562da91f25cad722e92ece91c21a5280cd91cc61a8359510573bfb5d205454
3
+ metadata.gz: e401e540c8c64780f9984ed0d5120511777c47ca3b5d4c023f980469e10085e8
4
+ data.tar.gz: 44d76bd4452ec01a2580d58e828616f2b634d8cb29a4470f082dd1c4ece899b5
5
5
  SHA512:
6
- metadata.gz: 5d8c769812b11bfafa30a960aa65f78fb5a9b6c9b7eaafad62a88fc305169be864baaec58d9012f56cd5ec1fbd402382154fdb60a75708e77d0a102e254d0976
7
- data.tar.gz: 13020b72abb6e42edd6cbf16af8ac5d84340c68f40197f37cebbb9ffc76c8fc3d9c0aba396986947539de051ee5029f6945e382a028053290cf905e566af0298
6
+ metadata.gz: 5ff10bfdaecd3c50008a3f9ac63976be979b5a1208c0f2cf39b786889156bdaef33e863ad5e6cdb45e2cf2e61acb8672e42a177326d8b0155e7da7d0bd559006
7
+ data.tar.gz: 77413a732f4014a257f724c117d47b07ebb3190dc70802348462a9bcd19c6a525e9d18a22c5342bab6f74b70f0f461b871e4c92a5650b5ec10ced95304c6e472
data/lib/turbo/engine.rb CHANGED
@@ -28,9 +28,7 @@ module Turbo
28
28
 
29
29
  initializer "turbo.importmap" do
30
30
  if Rails.application.config.respond_to?(:importmap)
31
- Rails.application.config.importmap.paths.tap do |paths|
32
- paths.asset "@hotwired/turbo-rails", path: "turbo.js"
33
- end
31
+ Rails.application.config.importmap.pin "@hotwired/turbo-rails", to: "turbo.js"
34
32
  end
35
33
  end
36
34
 
data/lib/turbo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Turbo
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-13 00:00:00.000000000 Z
13
+ date: 2021-08-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails