mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
fixing ruby
This commit is contained in:
parent
0689c57fdf
commit
7f15e0bf4e
4 changed files with 24 additions and 17 deletions
|
@ -42,7 +42,7 @@ ARG GLIBC_VERSION='2.31-r0'
|
|||
####################
|
||||
# Run APK installs #
|
||||
####################
|
||||
RUN apk add --no-cache \
|
||||
RUN apk add --update --no-cache \
|
||||
ansible-lint \
|
||||
bash \
|
||||
curl \
|
||||
|
|
6
dependencies/Gemfile
vendored
6
dependencies/Gemfile
vendored
|
@ -4,7 +4,7 @@ source "https://rubygems.org"
|
|||
|
||||
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
||||
|
||||
|
||||
gem "rubocop", "~> 0.77.0"
|
||||
gem "rubocop", "~> 0.82.0"
|
||||
gem "rubocop-github", "~> 0.16.0"
|
||||
gem "rubocop-performance", "~>1.7.0"
|
||||
gem "rubocop-rails", "~> 2.5"
|
||||
gem "rubocop-github", "~> 0.14.0"
|
||||
|
|
29
dependencies/Gemfile.lock
vendored
29
dependencies/Gemfile.lock
vendored
|
@ -18,32 +18,39 @@ GEM
|
|||
ast (~> 2.4.1)
|
||||
rack (2.2.3)
|
||||
rainbow (3.0.0)
|
||||
rubocop (0.77.0)
|
||||
rexml (3.2.4)
|
||||
rubocop (0.82.0)
|
||||
jaro_winkler (~> 1.5.1)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 2.6)
|
||||
parser (>= 2.7.0.1)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
rexml
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 1.4.0, < 1.7)
|
||||
rubocop-github (0.14.0)
|
||||
rubocop (~> 0.59)
|
||||
rubocop-rails (2.5.2)
|
||||
activesupport
|
||||
unicode-display_width (>= 1.4.0, < 2.0)
|
||||
rubocop-github (0.16.0)
|
||||
rubocop (<= 0.82.0)
|
||||
rubocop-performance (~> 1.0)
|
||||
rubocop-rails (~> 2.0)
|
||||
rubocop-performance (1.7.0)
|
||||
rubocop (>= 0.82.0)
|
||||
rubocop-rails (2.6.0)
|
||||
activesupport (>= 4.2.0)
|
||||
rack (>= 1.1)
|
||||
rubocop (>= 0.72.0)
|
||||
rubocop (>= 0.82.0)
|
||||
ruby-progressbar (1.10.1)
|
||||
thread_safe (0.3.6)
|
||||
tzinfo (1.2.7)
|
||||
thread_safe (~> 0.1)
|
||||
unicode-display_width (1.6.1)
|
||||
unicode-display_width (1.7.0)
|
||||
zeitwerk (2.4.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
rubocop (~> 0.77.0)
|
||||
rubocop-github (~> 0.14.0)
|
||||
rubocop (~> 0.82.0)
|
||||
rubocop-github (~> 0.16.0)
|
||||
rubocop-performance (~> 1.7.0)
|
||||
rubocop-rails (~> 2.5)
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
|
@ -1064,7 +1064,7 @@ if [ "$VALIDATE_RUBY" == "true" ]; then
|
|||
# Lint the ruby files #
|
||||
#######################
|
||||
# LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY"
|
||||
LintCodebase "RUBY" "rubocop" "rubocop -c $RUBY_LINTER_RULES" ".*\.\(rb\)\$" "${FILE_ARRAY_RUBY[@]}"
|
||||
LintCodebase "RUBY" "rubocop" "rubocop -c $RUBY_LINTER_RULES --force-exclusion" ".*\.\(rb\)\$" "${FILE_ARRAY_RUBY[@]}"
|
||||
fi
|
||||
|
||||
########################
|
||||
|
|
Loading…
Reference in a new issue