pry-debugger-jruby 2.0.0-java → 2.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +13 -8
- data/lib/pry-debugger-jruby/cli.rb +0 -12
- data/lib/pry-debugger-jruby/version.rb +1 -1
- data/pry-debugger-jruby.gemspec +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8999ec9e5622dd8b610061bfced76bb07d96bbdf2f96fbb73d70971d664cb315
|
4
|
+
data.tar.gz: f44667c3bd3af207edbfaec2b6af4072a7bb714fd22dfaa73ab4dc1d8847500c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74966b4b70cfca5c758758df17b07f710f1b9ce9cae9530a4d7fac76eaf4f9d16ce7a3ab8c802b1d3867194563f75e89985cdbea695f1c016d8a95e55e086cb7
|
7
|
+
data.tar.gz: 77ca97edc125c942e8f487d5421e68639780deb9b5dbfa2419f5f2822e793a68e8f034915efd5e26f0aba6e0d1c336bdea852ac0fe667aeddabfd9bd23f1aa9e
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
jruby-9.2.
|
1
|
+
jruby-9.2.19.0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -10,16 +10,21 @@ Using MRI? I strongly recommend [`pry-byebug`](https://github.com/deivid-rodrigu
|
|
10
10
|
|
11
11
|
Adds `step`, `next`, `finish`, and `continue` commands and breakpoints (`break`/`breakpoints`) to [Pry](http://pry.github.com).
|
12
12
|
|
13
|
-
To use
|
13
|
+
To use:
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
* run JRuby with the `--debug` flag
|
16
|
+
* load the gem with `require 'pry-debugger-jruby'` ([_auto-loading was unfortunately removed in Pry 0.14_](https://github.com/pry/pry/pull/2119))
|
17
|
+
* and then invoke `pry` normally:
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
def some_method
|
21
|
+
binding.pry # Execution will stop here.
|
22
|
+
puts 'Hello, World!' # Run 'step' or 'next' in the console to move here.
|
23
|
+
end
|
24
|
+
```
|
21
25
|
|
22
|
-
You can also add the `--debug` flag to your `JRUBY_OPTS` environment variable, so it will be picked up by any ruby application.
|
26
|
+
You can also add the `--debug` flag to your `JRUBY_OPTS` environment variable, so it will be picked up by any ruby application.
|
27
|
+
Do note that running `JRuby` in debug mode **does** have a noticeable impact on performance.
|
23
28
|
|
24
29
|
## Execution Commands
|
25
30
|
|
@@ -1,15 +1,3 @@
|
|
1
|
-
# Pry's new plugin loading system ensures this file runs before pry-remote. So
|
2
|
-
# attempting to load everything directly from lib/pry-debugger-jruby.rb and
|
3
|
-
# referencing that here causes a circular dependency when running
|
4
|
-
# bin/pry-remote.
|
5
|
-
#
|
6
|
-
# So delay loading our monkey-patch to when someone explicity does a:
|
7
|
-
#
|
8
|
-
# require 'pry-debugger-jruby'
|
9
|
-
#
|
10
|
-
# Load everything else here.
|
11
|
-
#
|
12
|
-
|
13
1
|
require 'pry-debugger-jruby/base'
|
14
2
|
require 'pry-debugger-jruby/pry_ext'
|
15
3
|
require 'pry-debugger-jruby/commands'
|
data/pry-debugger-jruby.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.2.0'
|
23
23
|
|
24
|
-
spec.add_dependency 'pry', '>= 0.13', '< 0.
|
24
|
+
spec.add_dependency 'pry', '>= 0.13', '< 0.15'
|
25
25
|
spec.add_dependency 'ruby-debug-base', '>= 0.10.4', '< 0.12'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-debugger-jruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Ivo Anjo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -18,10 +18,10 @@ dependencies:
|
|
18
18
|
version: '0.13'
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0.
|
21
|
+
version: '0.15'
|
22
22
|
name: pry
|
23
|
-
type: :runtime
|
24
23
|
prerelease: false
|
24
|
+
type: :runtime
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.13'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0.
|
32
|
+
version: '0.15'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
@@ -40,8 +40,8 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0.12'
|
42
42
|
name: ruby-debug-base
|
43
|
-
type: :runtime
|
44
43
|
prerelease: false
|
44
|
+
type: :runtime
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
@@ -57,8 +57,8 @@ dependencies:
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '2.1'
|
59
59
|
name: bundler
|
60
|
-
type: :development
|
61
60
|
prerelease: false
|
61
|
+
type: :development
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
@@ -71,8 +71,8 @@ dependencies:
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 0.1.6
|
73
73
|
name: pry-remote
|
74
|
-
type: :development
|
75
74
|
prerelease: false
|
75
|
+
type: :development
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
@@ -85,8 +85,8 @@ dependencies:
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '13.0'
|
87
87
|
name: rake
|
88
|
-
type: :development
|
89
88
|
prerelease: false
|
89
|
+
type: :development
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
139
|
+
rubygems_version: 3.1.6
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: JRuby 9k-compatible pry debugging!
|