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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb84bc7bd36b7ffd20672c1efcbda643081f920e
4
- data.tar.gz: 8537e4e2c75db0113dc7bd6d5dffea203c61abb2
3
+ metadata.gz: a500788d5205aab0ae2737cd77ed4286ee713c4c
4
+ data.tar.gz: 4bab31e54846ed9bdf3cfa2d0054cbdb16b8d2b9
5
5
  SHA512:
6
- metadata.gz: b7a77641c6db3f4d153ea10ae620e079fe722d2c77195b2c2d1834fed324c295942f0ab6c7568c9d7d9ac9344dd02d80a6cb78d389a40da09b95d5696b32b23b
7
- data.tar.gz: d28e2d7b5f4560762d320325b58c82c71fb5a6f2c1f84a7c706fcb67ef2a05e19bd25e6b7a0d0db0c86d3caf49c5908e82d126d7503a2d93b378196a5294487c
6
+ metadata.gz: 621a78c415f8ae641d28ad7a06de570c60aae770b7390abfe448aedc270a0908e33472d5a208cb029f3b6d42cad4199f19643860641b3def9f24eb2f16986797
7
+ data.tar.gz: e03f4b9d4ff4b11a55725fe8a92e7f0f3ee3ca8cf5d7cf705ffcf821797f5ac8725c34b96869df0687342d9f2e77d3571306f36a0b12a1bd1e45b970e1a8acc7
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Rails
3
- VERSION = "2.2.3"
3
+ VERSION = "2.2.4"
4
4
  end
5
5
  end
@@ -57,9 +57,8 @@ end
57
57
 
58
58
  module Sprockets
59
59
  class Railtie < ::Rails::Railtie
60
- LOOSE_APP_ASSETS = lambda do |logical_path, filename|
61
- filename.start_with?(::Rails.root.join("app/assets").to_s) &&
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Peek