fanforce-plugin-factory 2.0.0.rc7 → 2.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/plugin_factory/plugin.rb +1 -2
- data/lib/fanforce/plugin_factory/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b064a79cff700b98ef2368c397347d9607ff0fc
|
4
|
+
data.tar.gz: 6fd8016e58e474c025f881db81dab0437053d533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a4e4952a8056bebdc8caa2c16dbe4b8076fc15b7f583131a224c3ab49347ce705a50d72100d1b9fcccec9aa96d9a1daae7bc5f04e030973affb83aead0d10a
|
7
|
+
data.tar.gz: 35a33f079c42dd4ff817c38ff14f5c2abe28df927e0a819e800afbdd3074564a0b244dea1e1ce816631adbf48c041e6d73d770c80776f22607334a3629bd7338
|
@@ -50,11 +50,10 @@ class Fanforce::Plugin
|
|
50
50
|
|
51
51
|
# Method for use in config.ru files (i.e., run Fanforce::Plugin)
|
52
52
|
def self.call(env)
|
53
|
-
Sass::Plugin.options[:cache_location] = './tmp/sass-cache'
|
54
|
-
|
55
53
|
if ENV['RACK_ENV'] == 'development' and env['PATH_INFO'] =~ /^\/assets\//
|
56
54
|
env['PATH_INFO'] = env['PATH_INFO'].gsub(/^\/assets/, '')
|
57
55
|
sprockets = SprocketsCompiler.setup(base_dir)
|
56
|
+
Sass::Plugin.options[:cache_location] = './tmp/sass-cache'
|
58
57
|
return sprockets.index.call(env)
|
59
58
|
end
|
60
59
|
return Rack::File.new("#{base_dir}").call(env) if env['PATH_INFO'] =~ /^\/(favicon.ico|robots.txt)/
|