pry 0.13.0-java → 0.13.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/pry/command_set.rb +1 -1
- data/lib/pry/commands/bang.rb +1 -1
- data/lib/pry/commands/pry_backtrace.rb +1 -3
- data/lib/pry/config.rb +3 -3
- data/lib/pry/pry_instance.rb +1 -1
- data/lib/pry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77e977625b7bbc880b724d5b9360d0da2f08133cfd4960edd04b30279d3dcbc5
|
4
|
+
data.tar.gz: 363c3c38dea1cba4b0b0b0b0b617b36a91a3d0761c349687deeff54711210886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 659d9eb55238d88d832afa2033fbf0cae91ac23746e74dc483f23d02f4f170a83e0e65f4be7cb553f53e2845beffae85c09b1b413aa633f45de666093de2a05f
|
7
|
+
data.tar.gz: bbdeb8c6e1f41f107d49ffd9c042121011870516c0228662e98b905bd41c5714748aa9dd09763a9d8c88a030daa3a317e8121d2882cc97ff72554c09fcee685e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
### master
|
2
2
|
|
3
|
+
### [v0.13.1][v0.13.1] (April 12, 2020)
|
4
|
+
|
5
|
+
#### Bug fixes
|
6
|
+
|
7
|
+
* Fixed bug where on invalid input only the last syntax error is displayed
|
8
|
+
(instead of all of them) ([#2117](https://github.com/pry/pry/pull/2117))
|
9
|
+
* Fixed `Pry::Config` raising `NoMethodError` on undefined option instead of
|
10
|
+
returning `nil` (usually invoked via `Pry.config.foo_option` calls)
|
11
|
+
([#2126](https://github.com/pry/pry/pull/2126))
|
12
|
+
* Fixed `help` command not displaying regexp aliases properly
|
13
|
+
([#2120](https://github.com/pry/pry/pull/2120))
|
14
|
+
* Fixed `pry-backtrace` not working ([#2122](https://github.com/pry/pry/pull/2122))
|
15
|
+
|
3
16
|
### [v0.13.0][v0.13.0] (March 21, 2020)
|
4
17
|
|
5
18
|
#### Features
|
@@ -1060,3 +1073,4 @@ complete CHANGELOG:
|
|
1060
1073
|
[v0.12.1]: https://github.com/pry/pry/releases/tag/v0.12.1
|
1061
1074
|
[v0.12.2]: https://github.com/pry/pry/releases/tag/v0.12.2
|
1062
1075
|
[v0.13.0]: https://github.com/pry/pry/releases/tag/v0.13.0
|
1076
|
+
[v0.13.1]: https://github.com/pry/pry/releases/tag/v0.13.1
|
data/lib/pry/command_set.rb
CHANGED
data/lib/pry/commands/bang.rb
CHANGED
@@ -6,7 +6,7 @@ class Pry
|
|
6
6
|
match(/^\s*!\s*$/)
|
7
7
|
group 'Editing'
|
8
8
|
description 'Clear the input buffer.'
|
9
|
-
command_options use_prefix: false
|
9
|
+
command_options use_prefix: false, listing: '!'
|
10
10
|
|
11
11
|
banner <<-'BANNER'
|
12
12
|
Clear the input buffer. Useful if the parsing process goes wrong and you get
|
data/lib/pry/config.rb
CHANGED
@@ -239,17 +239,17 @@ class Pry
|
|
239
239
|
@custom_attrs[attr.to_s].call
|
240
240
|
end
|
241
241
|
|
242
|
-
|
242
|
+
# rubocop:disable Style/MethodMissingSuper
|
243
|
+
def method_missing(method_name, *args, &_block)
|
243
244
|
name = method_name.to_s
|
244
245
|
|
245
246
|
if name.end_with?('=')
|
246
247
|
self[name[0..-2]] = args.first
|
247
248
|
elsif @custom_attrs.key?(name)
|
248
249
|
self[name]
|
249
|
-
else
|
250
|
-
super
|
251
250
|
end
|
252
251
|
end
|
252
|
+
# rubocop:enable Style/MethodMissingSuper
|
253
253
|
|
254
254
|
def respond_to_missing?(method_name, include_all = false)
|
255
255
|
@custom_attrs.key?(method_name.to_s.tr('=', '')) || super
|
data/lib/pry/pry_instance.rb
CHANGED
@@ -627,7 +627,7 @@ class Pry
|
|
627
627
|
begin
|
628
628
|
complete_expr = Pry::Code.complete_expression?(@eval_string)
|
629
629
|
rescue SyntaxError => e
|
630
|
-
output.puts
|
630
|
+
output.puts e.message.gsub(/^.*syntax error, */, "SyntaxError: ")
|
631
631
|
reset_eval_string
|
632
632
|
end
|
633
633
|
|
data/lib/pry/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- John Mair (banisterfiend)
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-04-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: coderay
|