trackman 0.2.80 → 0.2.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trackman (0.2.80)
4
+ trackman (0.2.81)
5
5
  heroku (>= 2.26.2)
6
6
  json
7
7
  nokogiri
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module Trackman
2
- VERSION = "0.2.80"
2
+ VERSION = "0.2.81"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.80
4
+ version: 0.2.81
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: