solidus_support 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: e02f1d121a5fdb96c6ac2770d1db4a464e17701c
4
- data.tar.gz: 80fe033181815691ec0c9b5330553e76ef0bb2a9
3
+ metadata.gz: 3aec87c48c0cc4995216cc464e671089c35d7af3
4
+ data.tar.gz: ae2ffab8f47c2f1315855200248cb816de1ae626
5
5
  SHA512:
6
- metadata.gz: b91fcb31fd86f080abf0e4bc573934c6fd0de9aab278c5b90b2b8edc2d03e3783199a4ffd1e10fbbb0c8d094cf313159bdfb2b0602b3cd67d2f7521da2df60f1
7
- data.tar.gz: 4df0aa0b0bf0b8ffc91fd38154f236edbe6377915e4d64a20536b68415aac6cd81b16c2c3d0d30efb198111206d5c8ba46c36f6c8a17e0dcbce7db79a0b17371
6
+ metadata.gz: 02af523ed1f5b88e320695423a797561f1c130587344ab18c6cb31ff3736f126a21cc13ac5ee8195e133791029cb766232a9ef365f27f379f23c82f634afed7c
7
+ data.tar.gz: 38011eaf1d09cce1d807b4fd3dcc606d67f79a961c47a0119f36c950b17ba63a3ec4b87a77dcff56d83341e73823937f6005debd9ea83b8a04d6819c6832b8e7
@@ -23,7 +23,14 @@ RSpec.configure do |config|
23
23
  config.when_first_matching_example_defined(type: :feature) do
24
24
  config.before :suite do
25
25
  # Preload assets
26
- Rails.application.precompiled_assets
26
+ if Rails.application.respond_to?(:precompiled_assets)
27
+ Rails.application.precompiled_assets
28
+ else
29
+ # For older sprockets 2.x
30
+ Rails.application.config.assets.precompile.each do |asset|
31
+ Rails.application.assets.find_asset(asset)
32
+ end
33
+ end
27
34
  end
28
35
  end
29
36
  end
@@ -1,3 +1,3 @@
1
1
  module SolidusSupport
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawthorn