This commit is contained in:
Thomas Reynolds 2015-10-01 13:54:54 -07:00
parent 67fc3d0c05
commit e9abfe1134
4 changed files with 4 additions and 5 deletions

View file

@ -85,7 +85,7 @@ module Middleman
} }
if ctx.config[:sass_source_maps] if ctx.config[:sass_source_maps]
more_opts[:source_map_file] = "." more_opts[:source_map_file] = '.'
more_opts[:source_map_embed] = true more_opts[:source_map_embed] = true
more_opts[:source_map_contents] = true more_opts[:source_map_contents] = true
end end

View file

@ -1,9 +1,8 @@
module Middleman module Middleman
module Sass module Sass
module Functions module Functions
def asset_path(source, options) def asset_path(_source, _options)
# current_resource # current_resource
end end
# Using Middleman::Util#asset_path, return the full path # Using Middleman::Util#asset_path, return the full path

View file

@ -143,7 +143,7 @@ module Middleman
end end
def to_s def to_s
"#<#{self.class.to_s} path=#{@path} target=#{@target}>" "#<#{self.class} path=#{@path} target=#{@target}>"
end end
alias_method :inspect, :to_s alias_method :inspect, :to_s
end end

View file

@ -194,7 +194,7 @@ module Middleman
end end
def to_s def to_s
"#<#{self.class.to_s} path=#{@path}>" "#<#{self.class} path=#{@path}>"
end end
alias_method :inspect, :to_s # Ruby 2.0 calls inspect for NoMethodError instead of to_s alias_method :inspect, :to_s # Ruby 2.0 calls inspect for NoMethodError instead of to_s
end end