Skip to content

Commit

Permalink
bumped to support new gem version
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednuaman committed Nov 12, 2014
1 parent 77a3b16 commit 7a38ff6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 2 additions & 3 deletions test/scss-lint-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7a38ff6

Please sign in to comment.