turbo-sprockets-rails3 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,10 +86,12 @@ namespace :assets do
86
86
  if ::Rails.application.config.assets.digest
87
87
  internal_precompile(false)
88
88
 
89
- # Other gems may add hooks to run after the 'assets:precompile:nondigest' task.
89
+ # Other gems may want to add hooks to run after the 'assets:precompile:***' tasks.
90
90
  # Since we aren't running separate rake tasks anymore,
91
- # we need to manually invoke those extra actions now.
92
- Rake::Task["assets:precompile:nondigest"].actions[1..-1].each &:call
91
+ # we need to manually invoke the extra actions.
92
+ %w(primary nondigest).each do |asset_type|
93
+ Rake::Task["assets:precompile:#{asset_type}"].actions[1..-1].each &:call
94
+ end
93
95
  end
94
96
  end
95
97
 
@@ -1,3 +1,3 @@
1
1
  module TurboSprockets
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-sprockets-rails3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: