Build(deps): Bump rubocop from 1.18.2 to 1.18.3 (#13653)

* Build(deps): Bump rubocop from 1.18.2 to 1.18.3

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.2 to 1.18.3.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.2...v1.18.3)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix offences

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
dependabot[bot] 2021-07-07 01:51:43 +02:00 committed by GitHub
parent f86af689ee
commit dda41cf253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -383,7 +383,7 @@ GEM
json-schema (~> 2.2) json-schema (~> 2.2)
railties (>= 3.1, < 7.0) railties (>= 3.1, < 7.0)
rtlit (0.0.5) rtlit (0.0.5)
rubocop (1.18.2) rubocop (1.18.3)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.0.0.0) parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)

View File

@ -23,7 +23,7 @@
require "open-uri" require "open-uri"
module OpenURI module OpenURI
class <<self class << self
alias_method :open_uri_original, :open_uri alias_method :open_uri_original, :open_uri
alias_method :redirectable_cautious?, :redirectable? alias_method :redirectable_cautious?, :redirectable?

View File

@ -54,7 +54,7 @@ describe GlobalSetting do
describe '.add_default' do describe '.add_default' do
after do after do
class <<GlobalSetting; remove_method :foo_bar_foo; end class << GlobalSetting; remove_method :foo_bar_foo; end
end end
it "can correctly add defaults" do it "can correctly add defaults" do