From dfe7423d17352e76bb654109f2c1e727144ac696 Mon Sep 17 00:00:00 2001 From: Rafael Gibim <9031589+Drowze@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:09:53 -0300 Subject: [PATCH] Fix gem packaging --- config/default.yml | 2 +- rubocop-overhaul.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.yml b/config/default.yml index c139de0..44df4ff 100644 --- a/config/default.yml +++ b/config/default.yml @@ -3,7 +3,7 @@ Overhaul/MutableReformDefaults: Description: Detect usage of mutable defaults within Reform objects defaults. Enabled: true Include: - app/concepts/**/*.rb + - app/concepts/**/*.rb VersionAdded: '0.0.1' Overhaul/AssignmentInsteadOfComparison: Description: Detect enumerable comparison blocks returning an assignment. diff --git a/rubocop-overhaul.gemspec b/rubocop-overhaul.gemspec index 1377d7d..1c47b4b 100644 --- a/rubocop-overhaul.gemspec +++ b/rubocop-overhaul.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| "rubygems_mfa_required" => "true" } - spec.files = Dir["lib/**/*"] + Dir["oh_defaults/*"] + spec.files = Dir["{lib,config,oh_defaults}/**/*"] spec.add_dependency "rubocop", "~> 1.33" end