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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24f3702ff02a882e27c6694c7ecdcb908055ff75fcc636f3e429192a17dbc80b
4
- data.tar.gz: a89e1130d35dcd74bc9f4b3317e6a6fb0ce3ca28861d46700e818dce82e9b709
3
+ metadata.gz: 14d1461644aa9f865df4f57cecd1060168040d64484259f128658516ddf7c7f4
4
+ data.tar.gz: 2c63e6568c07bdee1c89f4bf5f931e66f9dc4f6bdc967ccd3e7018cae68870f3
5
5
  SHA512:
6
- metadata.gz: e004986d5fc3a2bcc3196ad690a9f1a776ccba8fda8b8648d5c9cffe1456bf47e9baf53d414e7f55d59115a71a318014bba7c091d48d9158d814695b4458c67b
7
- data.tar.gz: 6e38b179684ed39ac51084f981f532b632ea8f976ed4272ab00699cc5c3948d8377fa56bb18d48b71fd1305172e5eb55d4d75a309e7a043b6cf3750782a18056
6
+ metadata.gz: 67a2f0495e24ed4d5a714b3cbad2017f3b04934a21778570b4ec56d7b4fa596f857fbaea8bf1b60550aae34b94252fd68bdb499c6637b2e95aea4a5594c46128
7
+ data.tar.gz: 3ecef3f8ea92142184953c3225df5f23e3e8e85b667068c72322a1003e795685b704b1c8c3bddf7f355ca1c6b748d975453b47a02137d49990a0f0e1d298acdd
@@ -7,7 +7,9 @@ module Requestjs
7
7
  end
8
8
 
9
9
  initializer "requestjs.importmap", before: "importmap" do |app|
10
- app.config.importmap.paths << Engine.root.join("config/importmap.rb")
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
@@ -1,3 +1,3 @@
1
1
  module Requestjs
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: requestjs-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Lauxen