diff --git a/Gemfile b/Gemfile index 1277e55..bed5913 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ # Pull gems from RubyGems source 'https://rubygems.org' -gem 'scss-lint', '~> 0.24.0' +gem 'scss-lint', '~> 0.30.0' gem 'windows-pr' if RUBY_PLATFORM =~ /win32/i || RUBY_PLATFORM =~ /mingw32/i gem 'win32console' if RUBY_PLATFORM =~ /win32/i || RUBY_PLATFORM =~ /mingw32/i diff --git a/Gemfile.lock b/Gemfile.lock index 63ad927..7f816fb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,13 +2,13 @@ GEM remote: https://rubygems.org/ specs: rainbow (2.0.0) - sass (3.3.11) - scss-lint (0.24.1) + sass (3.4.7) + scss-lint (0.30.0) rainbow (~> 2.0) - sass (~> 3.3.0) + sass (~> 3.4.0) PLATFORMS ruby DEPENDENCIES - scss-lint (~> 0.24.0) + scss-lint (~> 0.30.0) diff --git a/package.json b/package.json index 96f08aa..d465285 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-scss-lint", "description": "Validate `.scss` files with `scss-lint`.", - "version": "0.3.3", + "version": "0.3.4", "homepage": "https://github.com/ahmednuaman/grunt-scss-lint", "author": { "name": "Ahmed Nuaman", diff --git a/test/scss-lint-test.js b/test/scss-lint-test.js index afcd7f2..53b9183 100644 --- a/test/scss-lint-test.js +++ b/test/scss-lint-test.js @@ -27,12 +27,11 @@ exports.scsslint = { scsslint.lint(files, defaultOptions, function (results) { results = results.split('\n'); test.ok( - results[0].indexOf('Class `Button` in selector should be written in all lowercase as `button`') !== -1, + results[0].indexOf('SelectorFormat: Selector `Button` should be written in lowercase with hyphens') !== -1, 'Should report bad case.' ); test.ok( - results[1].indexOf('Properties should be sorted in order, with vendor-prefixed extensions before the ' + - 'standardized CSS property') !== -1, + results[1].indexOf('PropertySortOrder: Properties should be ordered color, display') !== -1, 'Should report bad ordering.' ); test.ok(