Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

s/AssetFile/Assetfile/

  • Loading branch information...
commit 7f8831d6652d7ac4fe23dae87229ee1aa01e17db 1 parent bd2cf8c
@dudleyf authored
View
4 README.yard
@@ -6,10 +6,10 @@ output files based on input changes.
= Usage
-The easiest way to use Rake::Pipeline is via a +AssetFile+ file in the
+The easiest way to use Rake::Pipeline is via a +Assetfile+ file in the
root of your project.
-A sample +AssetFile+ looks like this:
+A sample +Assetfile+ looks like this:
!!!ruby
input "assets"
View
4 bin/rakep
@@ -9,7 +9,7 @@ module Rake
class Server < Rack::Server
def app
not_found = proc { [404, { "Content-Type" => "text/plain" }, ["not found"]] }
- config = "AssetFile"
+ config = "Assetfile"
Middleware.new(not_found, config)
end
@@ -18,7 +18,7 @@ module Rake
end
if ARGV[0] == "build"
- config = "AssetFile"
+ config = "Assetfile"
pipeline_source = File.read(config)
pipeline = Rake::Pipeline.class_eval "build do\n#{pipeline_source}\nend", config, 1
pipeline.invoke
View
2  lib/rake-pipeline/rails_plugin.rb
@@ -2,7 +2,7 @@
Rails.configuration.after_initialize do
if defined?(RAKEP_ENABLED) && RAKEP_ENABLED
- assetfile = defined?(RAKEP_ASSETFILE) ? RAKEP_ASSETFILE : 'AssetFile'
+ assetfile = defined?(RAKEP_ASSETFILE) ? RAKEP_ASSETFILE : 'Assetfile'
Rails.configuration.middleware.use(Rake::Pipeline::Middleware, assetfile)
end
end
View
2  lib/rake-pipeline/railtie.rb
@@ -4,7 +4,7 @@ module Rake
class Pipeline
class Railtie < ::Rails::Railtie
config.rake_pipeline_enabled = false
- config.rake_pipeline_assetfile = 'AssetFile'
+ config.rake_pipeline_assetfile = 'Assetfile'
initializer "rake-pipeline.assetfile" do |app|
if config.rake_pipeline_enabled
Please sign in to comment.
Something went wrong with that request. Please try again.