turbo-sprockets-rails3 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sprockets/unprocessed_asset.rb +3 -4
- data/lib/turbo-sprockets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmE4YzA5OGQ0N2MwMGM3MTI5NzgzYjU0NTcyYWViZTE2NmIzZWY2Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDU5YjlmYTYxYTI5ZTIwYWQ2N2NhNTQ4ODNhMGVlYzllMDlkNDliYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWU3MzBmNzM4MjJiZDVmNDZjNTMyZTk5NWRlYThkYTgyMTA1NDZlNzVjN2U2
|
10
|
+
Y2Y2NjJlODBkNDRkMDdlMTEwMWEzOTQ3YjlmMWJlYzFhNzRiZmY1NjljNzMw
|
11
|
+
MzRjZWVlNjZlN2EyYmYxZGYzMDVlN2YzNjNlNTY2OWViOTc2M2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmI0OWZhMTNhYzRlOGJjMjllYzQ0YjFjOTE3MGI5ZDliODJhZjkzYWEwMGEz
|
14
|
+
YWE0OTc3YTk2ZmE1YWYyNjAzNDhhZjE3NTJjMjY0OTMyMDdlMzFhNDFlN2Zi
|
15
|
+
NTk0N2MzNjVmZGM4MjRkZDk5NzA1OGFlMDU2MzI2M2NhN2QyNzE=
|
@@ -6,11 +6,10 @@ module Sprockets
|
|
6
6
|
@environment = environment
|
7
7
|
context = environment.context_class.new(environment, logical_path, pathname)
|
8
8
|
attributes = environment.attributes_for(pathname)
|
9
|
-
preprocessors = environment.preprocessors(content_type)
|
10
9
|
|
11
|
-
# Remove all
|
10
|
+
# Remove all engine processors except ERB to return unprocessed source file
|
12
11
|
allowed_engines = [Tilt::ERBTemplate]
|
13
|
-
processors =
|
12
|
+
processors = attributes.processors - (attributes.engines - allowed_engines)
|
14
13
|
|
15
14
|
@source = context.evaluate(pathname, :processors => processors)
|
16
15
|
|
@@ -21,7 +20,7 @@ module Sprockets
|
|
21
20
|
allowed_engines << Sass::Rails::ScssTemplate if defined?(Sass::Rails::ScssTemplate)
|
22
21
|
allowed_engines << Sass::Rails::SassTemplate if defined?(Sass::Rails::SassTemplate)
|
23
22
|
allowed_engines << Less::Rails::LessTemplate if defined?(Less::Rails::LessTemplate)
|
24
|
-
processors =
|
23
|
+
processors = attributes.processors - (attributes.engines - allowed_engines)
|
25
24
|
@source = context.evaluate(pathname, :processors => processors)
|
26
25
|
end
|
27
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbo-sprockets-rails3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Broadbent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|