lib/scss_lint.rb in scss-lint-0.7.1 vs lib/scss_lint.rb in scss-lint-0.9.0
- old
+ new
@@ -6,14 +6,16 @@
autoload :Lint, 'scss_lint/lint'
autoload :LinterRegistry, 'scss_lint/linter_registry'
autoload :Linter, 'scss_lint/linter'
autoload :Reporter, 'scss_lint/reporter'
autoload :Runner, 'scss_lint/runner'
+ autoload :Utils, 'scss_lint/utils'
autoload :VERSION, 'scss_lint/version'
# Preload Sass so we can monkey patch it
require 'sass'
- require 'sass/tree'
+ require File.expand_path('sass/script', File.dirname(__FILE__))
+ require File.expand_path('sass/tree', File.dirname(__FILE__))
# Load all linters
Dir[File.expand_path('scss_lint/linter/*.rb', File.dirname(__FILE__))].each do |file|
require file
end