summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"