Skip to content

Commit 4cfdcaa

Browse files
committed
Replace pry by standard bundled debug gem
See: https://stdgems.org/debug/
1 parent 15ce0c7 commit 4cfdcaa

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.gem
33

44
/debug.log
5+
/gemfiles/*.lock

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
## Running tests
44

55
```bash
6-
bundle
76
psql -h localhost -c 'CREATE DATABASE safe_pg_migrations_test'
8-
rake test
7+
8+
bundle
9+
bundle exec rake test
910
```
1011

1112
You may want to use one of the specific gemfiles, to test against some exotic setups. To do so, run:

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ source 'https://rubygems.org/'
55
gemspec
66

77
group :development, :test do
8+
gem 'debug'
89
gem 'minitest', '>= 5'
910
gem 'mocha'
1011
gem 'pg'
11-
gem 'pry'
12-
gem 'pry-coolline'
1312
gem 'rake'
1413
gem 'rubocop'
1514
gem 'strong_migrations'

Gemfile.lock

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,21 @@ GEM
2727
ast (2.4.2)
2828
base64 (0.2.0)
2929
bigdecimal (3.1.4)
30-
coderay (1.1.3)
3130
concurrent-ruby (1.2.2)
3231
connection_pool (2.4.1)
33-
coolline (0.5.0)
34-
unicode_utils (~> 1.4)
32+
debug (1.9.1)
33+
irb (~> 1.10)
34+
reline (>= 0.3.8)
3535
drb (2.2.0)
3636
ruby2_keywords
3737
i18n (1.14.1)
3838
concurrent-ruby (~> 1.0)
39+
io-console (0.7.2)
40+
irb (1.11.2)
41+
rdoc
42+
reline (>= 0.4.2)
3943
json (2.6.3)
4044
language_server-protocol (3.17.0.3)
41-
method_source (1.0.0)
4245
minitest (5.18.1)
4346
mocha (2.0.4)
4447
ruby2_keywords (>= 0.0.5)
@@ -48,16 +51,16 @@ GEM
4851
ast (~> 2.4.1)
4952
racc
5053
pg (1.5.3)
51-
pry (0.14.2)
52-
coderay (~> 1.1)
53-
method_source (~> 1.0)
54-
pry-coolline (0.2.6)
55-
coolline (~> 0.5)
56-
pry (~> 0.13)
54+
psych (5.1.2)
55+
stringio
5756
racc (1.7.1)
5857
rainbow (3.1.1)
5958
rake (13.0.6)
59+
rdoc (6.6.2)
60+
psych (>= 4.0.0)
6061
regexp_parser (2.8.1)
62+
reline (0.4.2)
63+
io-console (~> 0.5)
6164
rexml (3.2.5)
6265
rubocop (1.53.1)
6366
json (~> 2.3)
@@ -74,23 +77,22 @@ GEM
7477
parser (>= 3.2.1.0)
7578
ruby-progressbar (1.13.0)
7679
ruby2_keywords (0.0.5)
80+
stringio (3.1.0)
7781
strong_migrations (1.4.3)
7882
activerecord (>= 5.2)
7983
timeout (0.4.1)
8084
tzinfo (2.0.6)
8185
concurrent-ruby (~> 1.0)
8286
unicode-display_width (2.4.2)
83-
unicode_utils (1.4.0)
8487

8588
PLATFORMS
8689
ruby
8790

8891
DEPENDENCIES
92+
debug
8993
minitest (>= 5)
9094
mocha
9195
pg
92-
pry
93-
pry-coolline
9496
rake
9597
rubocop
9698
safe-pg-migrations!

gemfiles/activerecord61.gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ gemspec path: '..'
66

77
gem 'activerecord', '~> 6.1.0'
88
gem 'bundler'
9+
gem 'debug'
910
gem 'minitest', '>= 5'
1011
gem 'mocha'
1112
gem 'pg', '~> 1.4.3'
12-
gem 'pry'
13-
gem 'pry-coolline'
1413
gem 'rake'
1514
gem 'rubocop'

gemfiles/activerecord70.gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ gemspec path: '..'
66

77
gem 'activerecord', '~> 7.0.0'
88
gem 'bundler'
9+
gem 'debug'
910
gem 'minitest', '>= 5'
1011
gem 'mocha'
1112
gem 'pg', '~> 1.4.3'
12-
gem 'pry'
13-
gem 'pry-coolline'
1413
gem 'rake'
1514
gem 'rubocop'

gemfiles/without_strong_migrations.gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ source 'https://rubygems.org/'
55
gemspec path: '..'
66

77
group :development, :test do
8+
gem 'debug'
89
gem 'minitest', '>= 5'
910
gem 'mocha'
1011
gem 'pg'
11-
gem 'pry'
12-
gem 'pry-coolline'
1312
gem 'rake'
1413
gem 'rubocop'
1514
end

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
require 'bundler/setup'
66

7+
require 'debug'
78
require 'minitest/autorun'
89
require 'mocha/minitest'
910
require 'active_record'
1011
require 'active_support'
11-
require 'pry'
1212
require 'safe-pg-migrations/base'
1313

1414
ENV['POSTGRES_USER'] ||= ENV.fetch('USER', nil)

0 commit comments

Comments
 (0)