Update rubocop-gitlab-security to 0.1.0
This commit is contained in:
parent
3e0757f2d2
commit
bed27b6a6d
4 changed files with 9 additions and 5 deletions
|
@ -1181,6 +1181,10 @@ GitlabSecurity/DeepMunge:
|
|||
- 'lib/**/*.rake'
|
||||
- 'spec/**/*'
|
||||
|
||||
# To be enabled by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13610
|
||||
GitlabSecurity/JsonSerialization:
|
||||
Enabled: false
|
||||
|
||||
GitlabSecurity/PublicSend:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -337,7 +337,7 @@ group :development, :test do
|
|||
|
||||
gem 'rubocop', '~> 0.49.1', require: false
|
||||
gem 'rubocop-rspec', '~> 1.15.1', require: false
|
||||
gem 'rubocop-gitlab-security', '~> 0.0.6', require: false
|
||||
gem 'rubocop-gitlab-security', '~> 0.1.0', require: false
|
||||
gem 'scss_lint', '~> 0.54.0', require: false
|
||||
gem 'haml_lint', '~> 0.26.0', require: false
|
||||
gem 'simplecov', '~> 0.14.0', require: false
|
||||
|
|
|
@ -769,7 +769,7 @@ GEM
|
|||
rainbow (>= 1.99.1, < 3.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (~> 1.0, >= 1.0.1)
|
||||
rubocop-gitlab-security (0.0.6)
|
||||
rubocop-gitlab-security (0.1.0)
|
||||
rubocop (>= 0.47.1)
|
||||
rubocop-rspec (1.15.1)
|
||||
rubocop (>= 0.42.0)
|
||||
|
@ -1125,7 +1125,7 @@ DEPENDENCIES
|
|||
rspec-set (~> 0.1.3)
|
||||
rspec_profiling (~> 0.0.5)
|
||||
rubocop (~> 0.49.1)
|
||||
rubocop-gitlab-security (~> 0.0.6)
|
||||
rubocop-gitlab-security (~> 0.1.0)
|
||||
rubocop-rspec (~> 1.15.1)
|
||||
ruby-fogbugz (~> 0.2.1)
|
||||
ruby-prof (~> 0.16.2)
|
||||
|
@ -1174,4 +1174,4 @@ DEPENDENCIES
|
|||
wikicloth (= 0.8.1)
|
||||
|
||||
BUNDLED WITH
|
||||
1.15.3
|
||||
1.15.4
|
||||
|
|
|
@ -7,7 +7,7 @@ module AfterCommitQueue
|
|||
end
|
||||
|
||||
def run_after_commit(method = nil, &block)
|
||||
_after_commit_queue << proc { self.send(method) } if method
|
||||
_after_commit_queue << proc { self.send(method) } if method # rubocop:disable GitlabSecurity/PublicSend
|
||||
_after_commit_queue << block if block
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue