From e0a7d984ee12b0beb7ea8afbdbd3fbd1998cd545 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 25 Dec 2015 19:38:01 +0900 Subject: [PATCH 1/5] :warning: mismatched indentations at 'end' with 'class' at 73 --- core/lib/compass/core/sass_extensions/functions/image_size.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/compass/core/sass_extensions/functions/image_size.rb b/core/lib/compass/core/sass_extensions/functions/image_size.rb index fad357d1e5..e2da315db6 100644 --- a/core/lib/compass/core/sass_extensions/functions/image_size.rb +++ b/core/lib/compass/core/sass_extensions/functions/image_size.rb @@ -113,5 +113,5 @@ def next end end end -end + end end From 5664d639034ae32e7b796472ce3190f1a7ea2cea Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 25 Dec 2015 19:39:31 +0900 Subject: [PATCH 2/5] :warning: mismatched indentations at 'end' with 'if' at 760 --- .../core/sass_extensions/functions/gradient_support.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb index 750df258f3..51771fd79d 100644 --- a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb +++ b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb @@ -759,9 +759,9 @@ def normalize_stops(color_list) end if (positions.last.stop.eq(number(0, "px")).to_bool || positions.last.stop.eq(number(0, "%")).to_bool) - raise Sass::SyntaxError.new("Color stops must be specified in increasing order") - end - opts(list(positions, color_list.separator)) + raise Sass::SyntaxError.new("Color stops must be specified in increasing order") + end + opts(list(positions, color_list.separator)) end def parse_color_stop(arg) From 5d0ea3206966b42d725906064f7a8d26930daaa9 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 25 Dec 2015 19:40:20 +0900 Subject: [PATCH 3/5] :warning: assigned but unused variable - svg --- .../compass/core/sass_extensions/functions/gradient_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb index 51771fd79d..4a13da232f 100644 --- a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb +++ b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb @@ -817,7 +817,7 @@ def color_stops_svg(color_stops) end def svg(gradient) - svg = <<-EOS + <<-EOS #{gradient} EOS From 5f2e10d44accc0a4500ea95cbf2d7ca31c540e9f Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 25 Dec 2015 19:43:57 +0900 Subject: [PATCH 4/5] :warning: method redefined; to_webkit, to_moz --- .../compass/core/sass_extensions/functions/gradient_support.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb index 4a13da232f..75b60b7cce 100644 --- a/core/lib/compass/core/sass_extensions/functions/gradient_support.rb +++ b/core/lib/compass/core/sass_extensions/functions/gradient_support.rb @@ -306,9 +306,6 @@ def supports?(aspect) end end - standardized_prefix :webkit - standardized_prefix :moz - def to_webkit(options = self.options) s = "-webkit-radial-gradient(" s << old_standard_arguments(options) From dd1a1afaea5d60c8cce7f012fbae1b2b7b361501 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 25 Dec 2015 19:48:51 +0900 Subject: [PATCH 5/5] :warning: mismatched indentations at 'end' with 'def' at 36 --- .../compass/sass_extensions/sprites/image_methods.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/lib/compass/sass_extensions/sprites/image_methods.rb b/cli/lib/compass/sass_extensions/sprites/image_methods.rb index 1a80f3ca51..116b3256cd 100644 --- a/cli/lib/compass/sass_extensions/sprites/image_methods.rb +++ b/cli/lib/compass/sass_extensions/sprites/image_methods.rb @@ -34,13 +34,13 @@ def has_active?(name) SEPERATORS = ['_', '-'] def get_magic_selector_image(name, selector) - SEPERATORS.each do |seperator| - file = image_for("#{name}#{seperator}#{selector}") - return file if !file.nil? - end + SEPERATORS.each do |seperator| + file = image_for("#{name}#{seperator}#{selector}") + return file if !file.nil? + end - nil - end + nil + end # Return and array of image names that make up this sprite def sprite_names