From 6c2e2f54aee332b0cc72484d0fc1bb401605a428 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 11 Sep 2022 15:16:17 -0700 Subject: [PATCH] Complete Style/ExpandPathArguments todo --- .rubocop.yml | 6 ------ pry.gemspec | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index b2d48332..e015d7c5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -33,12 +33,6 @@ Style/ClassAndModuleChildren: Exclude: - 'spec/fixtures/example_nesting.rb' -# TODO: delete exclusions when we drop Ruby 1.9.3 support. -Style/ExpandPathArguments: - Exclude: - - 'lib/pry/commands.rb' - - 'pry.gemspec' - Style/Semicolon: Exclude: - 'spec/method_spec.rb' diff --git a/pry.gemspec b/pry.gemspec index db5826d3..2beef842 100644 --- a/pry.gemspec +++ b/pry.gemspec @@ -1,6 +1,6 @@ # frozen_string_literal: true -require File.expand_path('../lib/pry/version', __FILE__) +require File.expand_path('lib/pry/version', __dir__) Gem::Specification.new do |s| s.name = "pry"