From 6614c7f0c3721289367d16b0419d66b8ab677224 Mon Sep 17 00:00:00 2001 From: Nikita Shilnikov Date: Mon, 7 Feb 2022 15:00:46 +0300 Subject: [PATCH] [rubocop] fix offences --- bin/console | 2 +- spec/support/fixtures/ordinalize.rb | 2 ++ spec/support/fixtures/singularize.rb | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/console b/bin/console index 73395b4..212dbae 100755 --- a/bin/console +++ b/bin/console @@ -13,5 +13,5 @@ require "dry/inflector" require "irb" Dry::Inflector.new.instance_exec do - binding.irb # rubocop:disable Lint/Debugger + binding.irb end diff --git a/spec/support/fixtures/ordinalize.rb b/spec/support/fixtures/ordinalize.rb index 146f6ab..970f8a4 100644 --- a/spec/support/fixtures/ordinalize.rb +++ b/spec/support/fixtures/ordinalize.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true module Fixtures + # rubocop:disable Metrics/ModuleLength module Ordinalize def self.cases CASES @@ -110,4 +111,5 @@ module Fixtures 100 => "100th" }.freeze end + # rubocop:enable Metrics/ModuleLength end diff --git a/spec/support/fixtures/singularize.rb b/spec/support/fixtures/singularize.rb index 78f78a9..84b34cb 100644 --- a/spec/support/fixtures/singularize.rb +++ b/spec/support/fixtures/singularize.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true module Fixtures + # rubocop:disable Metrics/ModuleLength module Singularize def self.cases CASES @@ -179,4 +180,5 @@ module Fixtures "postgres" => "postgres" }.freeze end + # rubocop:enable Metrics/ModuleLength end