Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More explicit rake tasks require; remove deprecated plugin method; fi…

…x rake task typo
  • Loading branch information...
commit 2327177e49e6068610515b88cb9c1cedfd10f40f 1 parent 7ca824c
@fidothe fidothe authored
Showing with 2 additions and 4 deletions.
  1. +1 −1  rb/cdn_helpers/cdn_helpers.rake
  2. +1 −3 rb/cdn_helpers/railtie.rb
View
2  rb/cdn_helpers/cdn_helpers.rake
@@ -8,7 +8,7 @@ namespace :cdn do
FileList['public/**/*.css'].each do |css_file_path|
css_file_path = Pathname.new(css_file_path).realpath
public_path = Rails.root.join('public')
- CdnHelpers.CssRewriter.rewrite_css_file(css_file_path, public_path)
+ CdnHelpers::CssRewriter.rewrite_css_file(css_file_path, public_path)
end
end
end
View
4 rb/cdn_helpers/railtie.rb
@@ -3,10 +3,8 @@
module CdnHelpers
class Railtie < Rails::Railtie
- railtie_name :cdn_helpers
-
rake_tasks do
- load "cdn_helpers.rake"
+ load "cdn_helpers/cdn_helpers.rake"
end
end
end

0 comments on commit 2327177

Please sign in to comment.
Something went wrong with that request. Please try again.