irb 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/irb.rb +2 -0
- data/lib/irb/color.rb +1 -1
- data/lib/irb/version.rb +2 -2
- data/lib/irb/workspace.rb +1 -0
- 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: 133288193d64ac38bec03ec49cafddf944ddd4a8b9e5599c531e901526ba2984
|
4
|
+
data.tar.gz: 48c150830a57ba009cfbbf5841c0d100a4826c3e96ae077d0fc436753006ce5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a7ee8228dc3e3a67905895b6dd846abe1161f31e2568d8a5cf7ee257684cb5a72a1d803302f304e22c54f168fc5de7de2fee67c925d26dce136c9744ccd2fb6
|
7
|
+
data.tar.gz: 1226f533e0d64e3abf06c5d757a4e702f5f2788b6fac489bc72a171f38b8b210390f9bcda010e0ad1a3d2c523af9794682ae0da7c885354ad969b56ff2ec32d3
|
data/lib/irb.rb
CHANGED
data/lib/irb/color.rb
CHANGED
@@ -17,7 +17,7 @@ module IRB # :nodoc:
|
|
17
17
|
CYAN = 36
|
18
18
|
|
19
19
|
TOKEN_KEYWORDS = {
|
20
|
-
on_kw: ['nil', 'self', 'true', 'false', '__FILE__', '__LINE__'],
|
20
|
+
on_kw: ['nil', 'self', 'true', 'false', '__FILE__', '__LINE__', '__ENCODING__'],
|
21
21
|
on_const: ['ENV'],
|
22
22
|
}
|
23
23
|
private_constant :TOKEN_KEYWORDS
|
data/lib/irb/version.rb
CHANGED
data/lib/irb/workspace.rb
CHANGED
@@ -128,6 +128,7 @@ EOF
|
|
128
128
|
def filter_backtrace(bt)
|
129
129
|
return nil if bt =~ /\/irb\/.*\.rb/
|
130
130
|
return nil if bt =~ /\/irb\.rb/
|
131
|
+
return nil if bt =~ /tool\/lib\/.*\.rb|runner\.rb/ # for tests in Ruby repository
|
131
132
|
case IRB.conf[:CONTEXT_MODE]
|
132
133
|
when 1
|
133
134
|
return nil if bt =~ %r!/tmp/irb-binding!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keiju ISHITSUKA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reline
|