Skip to content

Commit

Permalink
Remove explicit dependency on Rake
Browse files Browse the repository at this point in the history
This isn't needed by default—it's only needed if users want to use the
Rake integration.

Remove it so we can avoid issues like #313.
  • Loading branch information
sds committed Oct 2, 2019
1 parent 487e798 commit 4373b51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source 'https://rubygems.org'

gemspec

gem 'rake' # For testing the Rake integration
gem 'rspec', '~> 3.8'
gem 'rspec-its', '~> 1.0'

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

## Rake Integration

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

```ruby
Expand Down
1 change: 0 additions & 1 deletion haml_lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Gem::Specification.new do |s|

s.add_dependency 'haml', '>= 4.0', '< 5.2'
s.add_dependency 'rainbow'
s.add_dependency 'rake', '>= 10', '< 14'
s.add_dependency 'rubocop', '>= 0.50.0'
s.add_dependency 'sysexits', '~> 1.1'
end

0 comments on commit 4373b51

Please sign in to comment.