spark_engine 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spark_engine/middleware.rb +1 -1
- data/lib/spark_engine/plugin/assets/asset.rb +1 -1
- data/lib/spark_engine/version.rb +1 -1
- data/lib/spark_engine.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 647ee00f20e3d13661e4983708c8b2b8ff2ef17940717ada453d66d00aacedcc
|
4
|
+
data.tar.gz: 625beab3299b72120e49389110f52a116c08b6a60516fb4c1e53ebf089cce7f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2121b9e2b3dd60a99066c559ebe7d05ded392b51213adfb946693d45d39918545de0e26fefcb9ef9e89cc30e6080923a778589a3e3c31135a7d586ad7066a7de
|
7
|
+
data.tar.gz: 0b9c3310053e39b33156e8a3d1fd7c1e4001ea3e6ea0ea2df6b2c7aa4b8addc4c963b3705e6420c695dbbce5d4c3f4ccb4429d89d1ebfcd121a51efb8ad128ce
|
@@ -11,7 +11,7 @@ module SparkEngine
|
|
11
11
|
|
12
12
|
def call(env)
|
13
13
|
req = Rack::Request.new env
|
14
|
-
prefix = File.join
|
14
|
+
prefix = File.join Rails.application.config.assets.prefix, @engine_name
|
15
15
|
|
16
16
|
if req.get? || req.head?
|
17
17
|
path = req.path_info.chomp('/'.freeze)
|
data/lib/spark_engine/version.rb
CHANGED
data/lib/spark_engine.rb
CHANGED
@@ -12,7 +12,6 @@ require "spark_engine/config_data"
|
|
12
12
|
module SparkEngine
|
13
13
|
extend self
|
14
14
|
attr_accessor :plugin
|
15
|
-
autoload :Application, "spark_engine/middleware"
|
16
15
|
|
17
16
|
def production?
|
18
17
|
ENV['CI'] || ENV['RAILS_ENV'] == 'production' || ( defined?(Command) && Command.production? )
|