Skip to content

Commit a02a6aa

Browse files
committedOct 11, 2019
Remove dependency on Rake
This was only necessary for the Rake integration, which is option. Update the documentation and remove from the gemspec.
1 parent 17b0285 commit a02a6aa

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## master (unreleased)
44

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

78
## 0.58.0
89

‎Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ gem 'rspec', '~> 3.8'
77
# Run all pre-commit checks via Overcommit during CI runs
88
gem 'overcommit', '0.49.1'
99

10+
# Needed to test Rake integration in specs
11+
gem 'rake'
12+
1013
# Pin tool versions (which are executed by Overcommit) for Travis builds
1114
gem 'rubocop', '0.74.0'
1215

‎README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ Git hook manager, [overcommit](https://github.com/sds/overcommit).
575575

576576
## Rake Integration
577577

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

581582
```ruby

‎scss_lint.gemspec

-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ Gem::Specification.new do |s|
2525

2626
s.required_ruby_version = '>= 2.4'
2727

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

0 commit comments

Comments
 (0)
Please sign in to comment.