sprockets-rails 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 297298e54e64641392c2f8f338ee0f23f2bcdb32
4
- data.tar.gz: ac1d41b39342e7e737e0d5708316bbdd3fbcabd7
3
+ metadata.gz: 39e398ffbc209c5cbf8fa3ce81c73374c6b9b924
4
+ data.tar.gz: dddcf7c0d3d429eb0972f0008b63b2290c8a1e3d
5
5
  SHA512:
6
- metadata.gz: 6fd8e9443fd61f208445746ed4626749bd3673e954d3fb717dc12d719f810813c159e9ff22703b7d0680fe054aa09d439ad2ea13e46a0af0910745a6eca7d6cb
7
- data.tar.gz: d936c88b840a7f528316ebe0c5f70f95f8d7d51df7aa138581393ae830a9daef6177a9542e60280096c314e5cdae9f71632ed35c78daf0ae280bd90516404ffd
6
+ metadata.gz: 8dd86f152b8d8c2b6a628f06674101294ad79c164b06c1557d19f680f77d1c5ff08736b011ae8262af4b5a8d714707c9618a93251be2efc731c3fef6d6e4b934
7
+ data.tar.gz: afd37534176e26a7bd47a60dc4197a3c90cc62498bacc19e1833aa849ae56c47c2ad40e4f14178469f149052e9a37fd79180192fbb30c1735445dd6f83cf1a4f
@@ -130,7 +130,7 @@ module Sprockets
130
130
 
131
131
  if environment = assets_environment
132
132
  if asset = environment[path]
133
- if self.raise_runtime_errors && path != asset.logical_path
133
+ if self.is_a?(ActionView::Base) && self.raise_runtime_errors && path != asset.logical_path
134
134
  raise AssetAliasUsed.new(path, asset.logical_path)
135
135
  end
136
136
 
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Rails
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Peek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets