summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Eichelberger <dduugg@gmail.com>2022-09-11 15:16:17 -0700
committerDouglas Eichelberger <dduugg@gmail.com>2022-09-11 15:16:17 -0700
commit6c2e2f54aee332b0cc72484d0fc1bb401605a428 (patch)
tree3179f08e8830208eac307ecfdde10520dcb53c40
parent0e06fc6ab27a88f7c451fc7de9645f7cab050ad9 (diff)
downloadpry-6c2e2f54aee332b0cc72484d0fc1bb401605a428.tar.gz
Complete Style/ExpandPathArguments todo
-rw-r--r--.rubocop.yml6
-rw-r--r--pry.gemspec2
2 files changed, 1 insertions, 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"