console1984 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/console1984/command_executor.rb +8 -4
- data/lib/console1984/version.rb +1 -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: 534f4adb54490c9f5cb39a9e068e9d15ac2d84d05a7e7ed97e287b132021b52d
|
4
|
+
data.tar.gz: 2d6d1f7059db9bb2c4561136b45ef57b74a8ab8f86dd59a2a80fd6c117bdd5f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac7e2d0297fe375b638e8f1b1887889296fca195fd54cd489605420866399ff85506e525d4a173c95ccca988ed97767a7302d0a821cd7c0a36f7fe993a07d86a
|
7
|
+
data.tar.gz: 69f8d533ea41a90b038b713875d125f156bfebdec950c1a4c72a326a05ea551d01c170766fe941d2cb69e5ff55ba564953834e2759afe453eece87ee4c2a8b08
|
@@ -101,12 +101,16 @@ class Console1984::CommandExecutor
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def encrypting_error(error)
|
104
|
-
|
105
|
-
|
104
|
+
if error.respond_to?(:inspect)
|
105
|
+
def error.inspect
|
106
|
+
Console1984.command_executor.execute_in_protected_mode { method(:inspect).super_method.call }
|
107
|
+
end
|
106
108
|
end
|
107
109
|
|
108
|
-
|
109
|
-
|
110
|
+
if error.respond_to?(:to_s)
|
111
|
+
def error.to_s
|
112
|
+
Console1984.command_executor.execute_in_protected_mode { method(:to_s).super_method.call }
|
113
|
+
end
|
110
114
|
end
|
111
115
|
|
112
116
|
error
|
data/lib/console1984/version.rb
CHANGED