Skip to content

Commit

Permalink
Remove dependency on Rake
Browse files Browse the repository at this point in the history
This was only necessary for the Rake integration, which is option.
Update the documentation and remove from the gemspec.
  • Loading branch information
sds committed Oct 11, 2019
1 parent 17b0285 commit a02a6aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## master (unreleased)

* Add `overflow-wrap` to `PropertySortOrder` list for SMACSS
* Remove dependency on `rake` gem

## 0.58.0

Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -7,6 +7,9 @@ gem 'rspec', '~> 3.8'
# Run all pre-commit checks via Overcommit during CI runs
gem 'overcommit', '0.49.1'

# Needed to test Rake integration in specs
gem 'rake'

# Pin tool versions (which are executed by Overcommit) for Travis builds
gem 'rubocop', '0.74.0'

Expand Down
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -575,7 +575,8 @@ Git hook manager, [overcommit](https://github.com/sds/overcommit).

## Rake Integration

To execute `scss-lint` via a [Rake](https://github.com/ruby/rake) task, add the
To execute `scss-lint` via a [Rake](https://github.com/ruby/rake) task, ensure
you have `rake` in your gem path (e.g. by adding to your `Gemfile`), and add the
following to your `Rakefile`:

```ruby
Expand Down
1 change: 0 additions & 1 deletion scss_lint.gemspec
Expand Up @@ -25,6 +25,5 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.4'

s.add_dependency 'rake', '>= 0.9', '< 13'
s.add_dependency 'sass', '~> 3.5', '>= 3.5.5'
end

0 comments on commit a02a6aa

Please sign in to comment.