jazz_fingers 6.3.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4868ec9212c8526e4ee0cd865faed67c2b6ddc90ccf483507789b5596bb983e6
4
- data.tar.gz: db72df056560c5e03356054b0ebfb97dddec73997d1ef3756c687b739c170ac9
3
+ metadata.gz: a8355728479925d56ebdc49f7905c6839724e3f13bfc1af5a8ec6fe432950e32
4
+ data.tar.gz: e1935ab18510b64a3d705d16633911f903653ec6eb41f5622b61584305535aae
5
5
  SHA512:
6
- metadata.gz: 82e011080946b65884b0aa66e48ddab1500bab36892ca14d394026b2f76edb2e5120e651987c35be231597d4cbfafcf25d97b686d9510c00f0cc500ffd7441d7
7
- data.tar.gz: '07683460156b2f44a97e43c465c5b704282a6c5f635592467633b648cf7325d79aa9e2a8d97e96c14fd0bff251a59644d084dae7de4865b6c1473587975ad617'
6
+ metadata.gz: 4250b4f5389e17abc81e93f207e57581fb3274ffb4a39271288e3b4458e21cccbe3abe9ea782f04e74cc4f763c7aef11190ed8cbcff69f872e9fa4eb80e9c4bd
7
+ data.tar.gz: 7d9753c1646db1df741e3f9a72dd36fa896172ed940dc698b3bd2227b34f509325ecce27fb9db12ed1d523685a51fefda8d19cd5feba13a7a178e0a34b70042d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 7.0.0 (2026-03-24)
4
+ * Replace `readline` with `reline` for Ruby 4.0 compatibility
5
+ * Remove `pry-byebug` runtime dependency and debugger aliases
6
+ * Simplify `colored_prompt` and `prompt_separator` defaults
7
+
3
8
  ## 6.3.0 (2025-10-01)
4
9
  * Upgrade [amazing-print][amazing-print] to 1.8
5
10
  * Upgrade [pry][pry] to 0.15
data/jazz_fingers.gemspec CHANGED
@@ -22,7 +22,6 @@ Gem::Specification.new do |gem|
22
22
  gem.required_ruby_version = '>= 2.0'
23
23
  gem.add_runtime_dependency 'amazing_print', '~> 1.8'
24
24
  gem.add_runtime_dependency 'pry', '~> 0.15'
25
- gem.add_runtime_dependency 'pry-byebug', '~> 3.11'
26
25
  gem.add_runtime_dependency 'pry-coolline', '~> 0.2'
27
26
 
28
27
  gem.add_development_dependency 'rubocop'
@@ -8,22 +8,20 @@ module JazzFingers
8
8
  # A different setting than Pry.color since some may like colored output, but a
9
9
  # plain prompt.
10
10
  #
11
- # Default: 'true' for GNU readline or rb-readline which correctly count line
12
- # widths with color codes when using \001 and \002 hints. 'false' for
13
- # libedit-based wrapper (standard on OS X unless ruby is explicitly compiled
14
- # otherwise).
11
+ # Default: true, delegating to Pry.color.
15
12
  def colored_prompt
16
- return (Readline::VERSION !~ /EditLine/) && Pry.color if @colored_prompt.nil?
17
-
18
- @colored_prompt
13
+ if @colored_prompt.nil?
14
+ Pry.color
15
+ else
16
+ @colored_prompt
17
+ end
19
18
  end
20
19
 
21
20
  # Separator between application name and input in the prompt.
22
21
  #
23
- # Default: right angle quote, or '>' when using rb-readline which doesn't
24
- # handle mixed encodings well.
22
+ # Default: right angle quote (»).
25
23
  def prompt_separator
26
- @prompt_separator ||= defined?(RbReadline) ? '>' : "\u00BB"
24
+ @prompt_separator ||= "\u00BB"
27
25
  end
28
26
 
29
27
  def coolline?
@@ -1,3 +1,3 @@
1
1
  module JazzFingers
2
- VERSION = '6.3.0'.freeze
2
+ VERSION = '7.0.0'.freeze
3
3
  end
data/lib/jazz_fingers.rb CHANGED
@@ -1,8 +1,7 @@
1
1
  ENV['HOME'] ||= '/dev/null'
2
2
 
3
3
  require 'pry'
4
- require 'pry-byebug'
5
- require 'readline'
4
+ require 'reline'
6
5
  require 'forwardable'
7
6
 
8
7
  module JazzFingers
@@ -51,9 +50,6 @@ module JazzFingers
51
50
  Pry.prompt = prompt
52
51
  Pry.input = input if JazzFingers.coolline?
53
52
  Pry.config.should_load_plugins = false
54
- Pry.commands.alias_command('c', 'continue')
55
- Pry.commands.alias_command('s', 'step')
56
- Pry.commands.alias_command('n', 'next')
57
53
  Pry.editor = 'vi'
58
54
  Pry.config.ls.separator = "\n"
59
55
  Pry.config.ls.heading_color = :magenta
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jazz_fingers
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Henrique Lopes Ribeiro
@@ -37,20 +37,6 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0.15'
40
- - !ruby/object:Gem::Dependency
41
- name: pry-byebug
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '3.11'
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '3.11'
54
40
  - !ruby/object:Gem::Dependency
55
41
  name: pry-coolline
56
42
  requirement: !ruby/object:Gem::Requirement