This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove engine, Railtie, and install task
This is an artifact left from the days before the Rails Assets Pipeline. Moving forward, this option of install will no longer be available and we'll only support Rails 4.2+.
- Loading branch information
Showing
3 changed files
with
2 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
require "sass" | ||
require "neat/generator" | ||
|
||
module Neat | ||
if defined?(Rails) && defined?(Rails::Engine) | ||
class Engine < ::Rails::Engine | ||
require 'neat/engine' | ||
end | ||
|
||
module Rails | ||
class Railtie < ::Rails::Railtie | ||
rake_tasks do | ||
load "tasks/install.rake" | ||
end | ||
end | ||
end | ||
else | ||
Sass.load_paths << File.expand_path("../../core", __FILE__) | ||
end | ||
end | ||
neat_path = File.expand_path("../../core", __FILE__) | ||
ENV["SASS_PATH"] = File.join([ENV["SASS_PATH"], neat_path].compact) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.