Skip to content

Commit 7563df2

Browse files
authored
PR #55: Keep pry-stack-explorer available with Ruby 3.0
2 parents a6c1eb6 + 9b98d93 commit 7563df2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ before_install:
88

99
rvm:
1010
- 2.6.6
11-
- 2.7.1
11+
- 2.7.2
12+
- 3.0.0
1213
- ruby-head
1314

1415
matrix:

pry-stack_explorer.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020

2121
s.specification_version = 4
2222

23-
s.add_runtime_dependency 'binding_of_caller', '~> 0.7'
23+
s.add_runtime_dependency 'binding_of_caller', '~> 1.0'
2424
s.add_runtime_dependency 'pry', '~> 0.13'
2525

2626
s.add_development_dependency 'rspec', '~> 3.9'

test/test_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
require file
66
end
77

8+
if RUBY_VERSION >= '2.7.2'
9+
# NOTE: https://bugs.ruby-lang.org/issues/17000
10+
Warning[:deprecated] = true
11+
end
812

913
# unless Object.const_defined? 'PryStackExplorer'
1014
$:.unshift File.expand_path '../../lib', __FILE__

0 commit comments

Comments
 (0)