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
|
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
|
92
|
-
|
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
|
|