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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDI5YWFjNGViNmJmODM2OTI1M2JkMGI3MTY5ZDU5NTk4MTJkZmQwMQ==
4
+ YmE4YzA5OGQ0N2MwMGM3MTI5NzgzYjU0NTcyYWViZTE2NmIzZWY2Yw==
5
5
  data.tar.gz: !binary |-
6
- NDliZGE0ODgxYjJmYWEwNzY0YTAzZjQ5YWIwOTFhYzMwYTAxY2RjZg==
6
+ MDU5YjlmYTYxYTI5ZTIwYWQ2N2NhNTQ4ODNhMGVlYzllMDlkNDliYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MzFhODVmNDI5NGEwZTc1NTUyZmUzOGIyNzRkNDJkNThkMzU2ZDNmYzNhNjdk
10
- NzUwNjlhMzU4ZDQ2ZDM2MmU1ZTI4ZDUwNDk0Y2EyYTljOTQzMGMwNDMyOWI1
11
- ZmE3ODJiOTAzZGYyMTBhMjJjNWE3OWIyNWNmZTM1OTY3ZjVlMzY=
9
+ OWU3MzBmNzM4MjJiZDVmNDZjNTMyZTk5NWRlYThkYTgyMTA1NDZlNzVjN2U2
10
+ Y2Y2NjJlODBkNDRkMDdlMTEwMWEzOTQ3YjlmMWJlYzFhNzRiZmY1NjljNzMw
11
+ MzRjZWVlNjZlN2EyYmYxZGYzMDVlN2YzNjNlNTY2OWViOTc2M2U=
12
12
  data.tar.gz: !binary |-
13
- NTZkOTgwOGVmN2E2M2VjMzJiZDU0NDcwNzg1ZWY0ZDAwZDhhNjVkNThlOTgw
14
- ZTMyNWJlN2I3NzgwMzYyOTM4NzUzZTFjYTIyNGFiNjFmNThmODExODFhNjAy
15
- MjU4NzQyZGQ1Mjc0MzlhODc4YmY5ZWYxYzM1MTdkMGMzNDIyY2I=
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 postprocessors and engines except ERB to return unprocessed source file
10
+ # Remove all engine processors except ERB to return unprocessed source file
12
11
  allowed_engines = [Tilt::ERBTemplate]
13
- processors = preprocessors + (attributes.engines & allowed_engines)
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 = preprocessors + (attributes.engines & allowed_engines)
23
+ processors = attributes.processors - (attributes.engines - allowed_engines)
25
24
  @source = context.evaluate(pathname, :processors => processors)
26
25
  end
27
26
 
@@ -1,3 +1,3 @@
1
1
  module TurboSprockets
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
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.8
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-16 00:00:00.000000000 Z
11
+ date: 2013-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets