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 (#13653)

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

Bumps rubocop from 1.18.2 to 1.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

diff --git a/Gemfile.lock b/Gemfile.lock
index 4e1908e..5c8cbb1 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -383,7 +383,7 @@ GEM
       json-schema (~> 2.2)
       railties (>= 3.1, < 7.0)
     rtlit (0.0.5)
-    rubocop (1.18.2)
+    rubocop (1.18.3)
       parallel (~> 1.10)
       parser (>= 3.0.0.0)
       rainbow (>= 2.2.2, < 4.0)
diff --git a/lib/freedom_patches/open_uri_redirections.rb b/lib/freedom_patches/open_uri_redirections.rb
index b677279..5886fcc 100644
--- a/lib/freedom_patches/open_uri_redirections.rb
+++ b/lib/freedom_patches/open_uri_redirections.rb
@@ -23,7 +23,7 @@
 require "open-uri"
 
 module OpenURI
-  class <<self
+  class << self
     alias_method :open_uri_original, :open_uri
     alias_method :redirectable_cautious?, :redirectable?
 
diff --git a/spec/models/global_setting_spec.rb b/spec/models/global_setting_spec.rb
index 349c191..36b29e8 100644
--- a/spec/models/global_setting_spec.rb
+++ b/spec/models/global_setting_spec.rb
@@ -54,7 +54,7 @@ describe GlobalSetting do
 
   describe '.add_default' do
     after do
-      class <<GlobalSetting; remove_method :foo_bar_foo; end
+      class << GlobalSetting; remove_method :foo_bar_foo; end
     end
 
     it "can correctly add defaults" do

GitHub sha: dda41cf25322fc21ceb62a97a0fbba6d49952c56

This commit appears in #13653 which was approved by CvX. It was merged by CvX.