fancy_irb 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +5 -1
- data/lib/fancy_irb/version.rb +1 -1
- data/lib/fancy_irb.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be5b9de555ed88589c970b5606a6d5daf72b66f4
|
4
|
+
data.tar.gz: e04b08956d0c7d4d8ce79fd6cbd9330d4649bd27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e8fb35153eabcb01ef0e52ed65433d0b991ebea8feaf481e544933310122580e23b37c0af8b2607d9d3b2b680f5a852709ed9ec0f70d6e06f4e80a332a96666
|
7
|
+
data.tar.gz: 0b69b9d68d850f802ad6ba2309c8d48abad7983bed5f16a1dab7285f34136b1a7b8d9925757ae6067e36d96f6784dbf82ed9daf70ab22e71b3cf8c03e0b76ee9
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -59,7 +59,11 @@ You can modify how to get and display the input. The <tt>result_proc</tt> is a p
|
|
59
59
|
|
60
60
|
DEFAULT_RESULT_PROC = proc{ |context|
|
61
61
|
if context.inspect?
|
62
|
-
context.last_value.inspect
|
62
|
+
if defined?(context.last_value.inspect)
|
63
|
+
context.last_value.inspect
|
64
|
+
else
|
65
|
+
"(Object doesn't support #inspect)"
|
66
|
+
end
|
63
67
|
else
|
64
68
|
context.last_value
|
65
69
|
end
|
data/lib/fancy_irb/version.rb
CHANGED
data/lib/fancy_irb.rb
CHANGED
@@ -11,7 +11,11 @@ require_relative 'fancy_irb/implementation'
|
|
11
11
|
module FancyIrb
|
12
12
|
DEFAULT_RESULT_PROC = proc{ |context|
|
13
13
|
if context.inspect?
|
14
|
-
context.last_value.inspect
|
14
|
+
if defined?(context.last_value.inspect)
|
15
|
+
context.last_value.inspect
|
16
|
+
else
|
17
|
+
"(Object doesn't support #inspect)"
|
18
|
+
end
|
15
19
|
else
|
16
20
|
context.last_value
|
17
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fancy_irb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|