cutter 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cutter/inspection.rb +2 -2
- metadata +3 -3
data/lib/cutter/inspection.rb
CHANGED
@@ -42,13 +42,13 @@ class Object
|
|
42
42
|
lvb = eval('local_variables',_binding)
|
43
43
|
puts %| local_variables: #{"[]" if lvb.empty?}|
|
44
44
|
lvb.map do |lv|
|
45
|
-
puts %| #{lv}: #{eval(lv.to_s, _binding)}|
|
45
|
+
puts %| #{lv}: #{eval(lv.to_s, _binding).inspect}|
|
46
46
|
end if lvb
|
47
47
|
|
48
48
|
ivb = eval('instance_variables',_binding)
|
49
49
|
puts %| instance_variables: #{"[]" if ivb.empty?}|
|
50
50
|
ivb.map do |lv|
|
51
|
-
puts %| #{lv}: #{eval(lv.to_s, _binding)}|
|
51
|
+
puts %| #{lv}: #{eval(lv.to_s, _binding).inspect}|
|
52
52
|
end if ivb
|
53
53
|
|
54
54
|
# Self inspection
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cutter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.11
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- stanislaw
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-31 00:00:00 +03:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements:
|
111
111
|
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
hash:
|
113
|
+
hash: 291576243
|
114
114
|
segments:
|
115
115
|
- 0
|
116
116
|
version: "0"
|