trackman 0.2.80 → 0.2.81
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -16,6 +16,7 @@ module Trackman
|
|
16
16
|
if path.relative?
|
17
17
|
folder = (root + Pathname.new(parent_url)).parent.realpath
|
18
18
|
path = (folder + path).to_s
|
19
|
+
|
19
20
|
path.slice! sprockets.paths.select{|p| path.include? p }.first
|
20
21
|
end
|
21
22
|
|
@@ -30,6 +31,7 @@ module Trackman
|
|
30
31
|
def init_env
|
31
32
|
if defined?(::Rails) && ::Rails.application
|
32
33
|
env = ::Rails.application.class.assets
|
34
|
+
env.append_path "#{working_dir}/public"
|
33
35
|
else
|
34
36
|
env = ::Sprockets::Environment.new
|
35
37
|
paths = ['app', 'lib', 'vendor'].inject([]) do |array, f|
|
data/lib/trackman/version.rb
CHANGED