opal 0.8.0 → 0.8.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +0,0 @@
1
- require 'sprockets'
2
- require 'sprockets/base'
3
-
4
- module Sprockets
5
- class Base
6
- def cache_key_for(path, options)
7
- "#{path}:#{options[:bundle] ? '1' : '0'}"
8
- processors = attributes_for(path).processors
9
- processors_key = processors.map do |p|
10
- version = p.respond_to?(:version) ? p.version : '0'
11
- "#{p.name}-#{version}"
12
- end.join(':')
13
-
14
- "#{path}:#{options[:bundle] ? '1' : '0'}:#{processors_key}"
15
- end
16
- end
17
- end