assets_precompile_enforcer 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,7 @@ module Sprockets
31
31
  end
32
32
 
33
33
  def ensure_asset_will_be_precompiled!(source, ext)
34
+ return if asset_paths.is_uri? source
34
35
  asset_file = asset_paths.rewrite_extension(source, nil, ext)
35
36
  unless asset_environment.send(:matches_filter, Rails.application.config.assets.precompile, asset_file)
36
37
  raise AssetPaths::AssetNotPrecompiledError.new("#{asset_file} must be added to config.assets.precompile, " <<
@@ -1,3 +1,3 @@
1
1
  module AssetsPrecompileEnforcer
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assets_precompile_enforcer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-11 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Raises an exception if assets are missing from config.assets.precompile
15
15
  during development
@@ -43,7 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
43
  version: '0'
44
44
  segments:
45
45
  - 0
46
- hash: 2010719649315506949
46
+ hash: 487360101943308726
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  none: false
49
49
  requirements:
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  segments:
54
54
  - 0
55
- hash: 2010719649315506949
55
+ hash: 487360101943308726
56
56
  requirements: []
57
57
  rubyforge_project:
58
58
  rubygems_version: 1.8.24