sprockets-rails 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sprockets/rails/version.rb +1 -1
- data/lib/sprockets/railtie.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a500788d5205aab0ae2737cd77ed4286ee713c4c
|
4
|
+
data.tar.gz: 4bab31e54846ed9bdf3cfa2d0054cbdb16b8d2b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621a78c415f8ae641d28ad7a06de570c60aae770b7390abfe448aedc270a0908e33472d5a208cb029f3b6d42cad4199f19643860641b3def9f24eb2f16986797
|
7
|
+
data.tar.gz: e03f4b9d4ff4b11a55725fe8a92e7f0f3ee3ca8cf5d7cf705ffcf821797f5ac8725c34b96869df0687342d9f2e77d3571306f36a0b12a1bd1e45b970e1a8acc7
|
data/lib/sprockets/railtie.rb
CHANGED
@@ -57,9 +57,8 @@ end
|
|
57
57
|
|
58
58
|
module Sprockets
|
59
59
|
class Railtie < ::Rails::Railtie
|
60
|
-
LOOSE_APP_ASSETS = lambda do |
|
61
|
-
|
62
|
-
!%w(.js .css).include?(File.extname(logical_path))
|
60
|
+
LOOSE_APP_ASSETS = lambda do |filename, path|
|
61
|
+
path =~ /app\/assets/ && !%w(.js .css).include?(File.extname(filename))
|
63
62
|
end
|
64
63
|
|
65
64
|
class OrderedOptions < ActiveSupport::OrderedOptions
|