-
Notifications
You must be signed in to change notification settings - Fork 581
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RubySyntaxBear: Use DistributionRequirement
RubySyntaxBear only depends on the ruby executable. Removes 'ruby' from Gemfile, added in 35c242b.
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,5 @@ gem "csvlint" | |
gem "puppet-lint" | ||
gem "reek" | ||
gem "rubocop" | ||
gem "ruby" | ||
gem "scss_lint", require: false | ||
gem "sqlint" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
from coalib.bearlib.abstractions.Linter import linter | ||
from dependency_management.requirements.GemRequirement import GemRequirement | ||
from dependency_management.requirements.DistributionRequirement import ( | ||
DistributionRequirement) | ||
|
||
|
||
@linter(executable='ruby', | ||
|
@@ -14,7 +16,7 @@ class RubySyntaxBear: | |
Checks the code with ``ruby -wc`` on each file separately. | ||
""" | ||
LANGUAGES = {'Ruby'} | ||
REQUIREMENTS = {GemRequirement('ruby', '2.1.5')} | ||
REQUIREMENTS = {DistributionRequirement(apt_get='ruby')} | ||
AUTHORS = {'The coala developers'} | ||
AUTHORS_EMAILS = {'[email protected]'} | ||
LICENSE = 'AGPL-3.0' | ||
|