Package not found. Please check the package name and try again.
cutter 0.5.1 → 0.5.2
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.
- data/lib/cutter/inspection.rb +1 -1
- metadata +2 -2
data/lib/cutter/inspection.rb
CHANGED
|
@@ -22,7 +22,7 @@ class Object
|
|
|
22
22
|
|
|
23
23
|
def inspect! _binding = nil, &block
|
|
24
24
|
return true if Cutter::Inspection.quiet?
|
|
25
|
-
raise "Try binding as argument or wrap
|
|
25
|
+
raise "Try binding as argument or wrap used it with braces like: inspect! {}" if (!block_given?&&!_binding)
|
|
26
26
|
_binding ||= block.binding
|
|
27
27
|
puts "method: `#{caller_method_name}'"
|
|
28
28
|
puts %{ variables:}
|
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.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- stanislaw
|
|
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
requirements:
|
|
110
110
|
- - ">="
|
|
111
111
|
- !ruby/object:Gem::Version
|
|
112
|
-
hash:
|
|
112
|
+
hash: 124566145
|
|
113
113
|
segments:
|
|
114
114
|
- 0
|
|
115
115
|
version: "0"
|