pry-nav 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0aecf5579fc8e6cfad7ae1199176545a6fc2e0f4
4
- data.tar.gz: 956cf64f3c1d5ff7b9622cf031a430b7daeff989
2
+ SHA256:
3
+ metadata.gz: 60380e147933ae1e2ba3ecef2259bec48e90cef46f1fa5c28e4272e3c92b87c2
4
+ data.tar.gz: 645b2e7372f791a6d8f907025a9884ac4f8b2e9d2f9c165118c99cca48a5a946
5
5
  SHA512:
6
- metadata.gz: 53cc5a1ffd9dd61ee13fbff0df8ec1d8b7633ae1c52f62f87c937f239d00b675bd6eb9a6248b6d81810ed91c4b27fe0ae07818fc400259f1cfb97709ac6ef6b9
7
- data.tar.gz: 2974853d404bbdcb920a14ff71e4dfd49b6e6fd266f127201ee4b0e09410fa950beacf9e87f6e011ae96bac3024428c82853fc635933880ef814a1169ea4a955
6
+ metadata.gz: c494dfb85a667aa37007e22088085e73444cb08a3525d1f87c129cca087ab8e79851a4cb9791cb5855064b3f50baa88d0186df6c208cbf0fad69e533618bafd1
7
+ data.tar.gz: 6ee2450ed59686be5522dd78b9b4da811106e4235a79952e48603c49eca9fd089f93c1b29bff2522243f7caba20c77ee204f1c41855534328065fc9c71eb0118
@@ -1,3 +1,8 @@
1
+ ## 0.3.0 (2019-04-16)
2
+
3
+ * Fix circular require warning.
4
+ * Support Pry 0.11 & 0.12
5
+
1
6
  ## 0.2.4 (2014-06-25)
2
7
 
3
8
  * Support Pry 0.10
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in pry-nav.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,32 +1,33 @@
1
- ### Using MRI 1.9.2+? Switch to [**pry-debugger**][pry-debugger].
2
- ### Using MRI 2+? Switch to [**pry-byebug**][pry-byebug].
1
+ ### Using MRI? We recommend [**pry-byebug**][pry-byebug] instead!
3
2
 
4
- Same features as **pry-nav** but with faster tracing, breakpoints, and more.
3
+ # pry-nav
5
4
 
6
- * * *
5
+ _A simple execution control add-on for [Pry][pry]._
7
6
 
8
- pry-nav [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/nixme/pry-nav/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
9
- =======
7
+ Compatible with MRI >= 1.8.7, ![JRuby](https://raw.githubusercontent.com/jruby/collateral/master/logos/PNGs/logo-with-type/full-color/jruby-logo-logo-with-type-small.png) >= 9.1.3.0.
10
8
 
11
- _Simple execution control in Pry_
12
-
13
- Teaches [Pry][pry] about **step**, **next**, and **continue** to create a simple
9
+ Teaches [Pry][pry] about `step`, `next`, and `continue` to create a simple
14
10
  debugger.
15
11
 
16
- To use, invoke pry normally:
12
+ To use, invoke `pry` normally:
17
13
 
18
14
  ```ruby
19
15
  def some_method
20
16
  binding.pry # Execution will stop here.
21
- puts 'Hello World' # Run 'step' or 'next' in the console to move here.
17
+ puts 'Hello, World!' # Run 'step' or 'next' in the console to move here.
22
18
  end
23
19
  ```
24
20
 
25
- **pry-nav** is not yet thread-safe, so only use in single-threaded environments.
21
+ When using JRuby, you also need to run it with the `--debug` flag. You can
22
+ also add the flag to your `JRUBY_OPTS` environment variable for it to apply
23
+ when running any ruby command, but do note that even when not making use of
24
+ `pry` this has a big impact on JRuby performance.
25
+
26
+ `pry-nav` is not yet thread-safe, so only use in single-threaded environments.
26
27
 
27
- Rudimentary support for [pry-remote][pry-remote] (>= 0.1.1) is also included.
28
- Ensure pry-remote is loaded or required before pry-nav. For example, in a
29
- Gemfile:
28
+ Rudimentary support for [`pry-remote`][pry-remote] (>= 0.1.1) is also included.
29
+ Ensure `pry-remote` is loaded or required before `pry-nav`. For example, in a
30
+ `Gemfile`:
30
31
 
31
32
  ```ruby
32
33
  gem 'pry'
@@ -42,36 +43,30 @@ Pry.commands.alias_command 's', 'step'
42
43
  Pry.commands.alias_command 'n', 'next'
43
44
  ```
44
45
 
45
- Debugging functionality is implemented through
46
+ Please note that debugging functionality is implemented through
46
47
  [`set_trace_func`][set_trace_func], which imposes a large performance
47
- penalty. **pry-nav** traces only when necessary, but due to a workaround for a
48
- [bug in 1.9.2][ruby-bug], the console will feel sluggish. Use 1.9.3 for best
49
- results and almost no performance penalty.
50
-
48
+ penalty.
51
49
 
52
50
  ## Contributors
53
51
 
54
- * Gopal Patel (@nixme)
55
- * John Mair (@banister)
56
- * Conrad Irwin (@ConradIrwin)
57
- * Benjamin R. Haskell (@benizi)
58
- * Jason R. Clark (@jasonrclark)
52
+ * Gopal Patel ([@nixme](https://github.com/nixme))
53
+ * John Mair ([@banister](https://github.com/banister))
54
+ * Conrad Irwin ([@ConradIrwin](https://github.com/ConradIrwin))
55
+ * Benjamin R. Haskell ([@benizi](https://github.com/benizi))
56
+ * Jason R. Clark ([@jasonrclark](https://github.com/jasonrclark))
57
+ * Ivo Anjo ([@ivoanjo](https://github.com/ivoanjo))
59
58
 
60
59
  Patches and bug reports are welcome. Just send a [pull request][pullrequests] or
61
60
  file an [issue][issues]. [Project changelog][changelog].
62
61
 
63
-
64
62
  ## Acknowledgments
65
63
 
66
- - Ruby stdlib's [debug.rb][debug.rb]
67
- - [@Mon-Ouie][Mon-Ouie]'s [pry_debug][pry_debug]
68
-
64
+ * Ruby stdlib's [debug.rb][debug.rb]
65
+ * [@Mon-Ouie][Mon-Ouie]'s [pry_debug][pry_debug]
69
66
 
70
- [pry-debugger]: https://github.com/nixme/pry-debugger
71
- [pry]: http://pry.github.com
67
+ [pry]: http://pryrepl.org/
72
68
  [pry-remote]: https://github.com/Mon-Ouie/pry-remote
73
69
  [set_trace_func]: http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-set_trace_func
74
- [ruby-bug]: http://redmine.ruby-lang.org/issues/3921
75
70
  [pullrequests]: https://github.com/nixme/pry-nav/pulls
76
71
  [issues]: https://github.com/nixme/pry-nav/issues
77
72
  [changelog]: https://github.com/nixme/pry-nav/blob/master/CHANGELOG.md
@@ -1,4 +1,4 @@
1
- require 'pry'
1
+ require 'pry' unless defined? Pry
2
2
 
3
3
  module PryNav
4
4
  Commands = Pry::CommandSet.new do
@@ -1,4 +1,4 @@
1
- require 'pry'
1
+ require 'pry' unless defined? Pry
2
2
  require 'pry-nav/tracer'
3
3
 
4
4
  class << Pry
@@ -1,3 +1,4 @@
1
+ require 'pry' unless defined? Pry
1
2
  require 'pry-remote'
2
3
 
3
4
  module PryRemote
@@ -1,4 +1,4 @@
1
- require 'pry'
1
+ require 'pry' unless defined? Pry
2
2
 
3
3
  module PryNav
4
4
  class Tracer
@@ -1,3 +1,3 @@
1
1
  module PryNav
2
- VERSION = '0.2.4'
2
+ VERSION = '0.3.0'
3
3
  end
@@ -19,6 +19,6 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  # Dependencies
21
21
  gem.required_ruby_version = '>= 1.8.7'
22
- gem.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.11.0'
22
+ gem.add_runtime_dependency 'pry', '>= 0.9.10', '< 0.13.0'
23
23
  gem.add_development_dependency 'pry-remote', '~> 0.1.6'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-nav
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gopal Patel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 0.9.10
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 0.11.0
22
+ version: 0.13.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 0.9.10
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 0.11.0
32
+ version: 0.13.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pry-remote
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubyforge_project:
88
- rubygems_version: 2.2.2
87
+ rubygems_version: 3.0.1
89
88
  signing_key:
90
89
  specification_version: 4
91
90
  summary: Simple execution navigation for Pry.