sprockets-dotjs 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Dotjs
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
@@ -34,7 +34,6 @@ module Sprockets
34
34
  def render(scope=Object.new, locals={}, &block)
35
35
  @@context['def'] = {}
36
36
  dep = []
37
- digest = scope.environment.file_digest(scope.pathname).to_s
38
37
  scope._dependency_assets.each {|pathname|
39
38
  if scope.pathname.to_s != pathname
40
39
  dep << pathname
@@ -43,7 +42,6 @@ module Sprockets
43
42
  }
44
43
  dep.reverse_each do |pathname|
45
44
  @@context['doT']['compile'].call(open(pathname).read,@@context['def'])
46
- digest << "#{pathname}:#{scope.environment.file_digest(pathname).to_s}"
47
45
  end
48
46
  @@context['doT']['compile'].call(data,@@context['def']).to_s
49
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-dotjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: