jazz_fingers 7.0.0 → 7.1.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/jazz_fingers/version.rb +1 -1
- data/lib/jazz_fingers.rb +10 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00ff12a52876ba2664db32d68ab3d55daae79716a10ec9575905cd29a5a128f2
|
|
4
|
+
data.tar.gz: f1691d97889274cb0f35eaa7e2cd8289478c0949bb9e397ed212b8610ce682a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 810515a40e9b666040fce15e7e6a752dffcd3d4217314b8b65a55518f09ed6badd6f5ab5df8db1e761d735098085e10d557dfd098a83d4c5ca7aec939ad216a9
|
|
7
|
+
data.tar.gz: c7e91c22390bbd910922965cb4b6287013ceee267079743cba7610da486154c02ec7740a335ae65e49cbbb5d6d79c14eeba33e612775eda8f6e036d80e43fa4f
|
data/CHANGELOG.md
CHANGED
data/lib/jazz_fingers/version.rb
CHANGED
data/lib/jazz_fingers.rb
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
ENV['HOME'] ||= '/dev/null'
|
|
2
2
|
|
|
3
3
|
require 'pry'
|
|
4
|
-
require 'reline'
|
|
5
4
|
require 'forwardable'
|
|
6
5
|
|
|
6
|
+
# Pry's SimplePager hardcodes the Readline constant. Ruby 4.0 removed
|
|
7
|
+
# the readline stdlib, so we mirror Pry's own load_readline fallback
|
|
8
|
+
# and shim the constant when only Reline is available.
|
|
9
|
+
begin
|
|
10
|
+
require 'readline'
|
|
11
|
+
rescue LoadError
|
|
12
|
+
require 'reline'
|
|
13
|
+
Readline = Reline unless defined?(Readline)
|
|
14
|
+
end
|
|
15
|
+
|
|
7
16
|
module JazzFingers
|
|
8
17
|
autoload :AMAZING_PRINT, 'jazz_fingers/amazing_print'
|
|
9
18
|
autoload :CodeRay, 'jazz_fingers/coderay'
|