rmtools 2.4.4 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rmtools/dev/highlight.rb +3 -3
- data/lib/rmtools/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af0448d332967cee8b0d80fee93699332a70f074
|
4
|
+
data.tar.gz: 3a3ff579353f252542fb0351aa77b27cd4870107
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be0323cc9ff20bda36ee83e85f2565748b31f27514479ca44b3127888bce9c87edf39bfed5cbcc1f085ab298c2367a80cd2bfc37cf94a4d44f375078eb1dc3d5
|
7
|
+
data.tar.gz: 51dcd870acae5b9cb23390c6fdc044d6857e58219bb8843542d01e7e4da067c17ace344ea302f9c627411a488b7f0f9b3b73a3984dfe5bc7e6d2d3d2eec51756
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
class Proc
|
27
27
|
|
28
28
|
def inspect
|
29
|
-
"#{to_s}#{@string ? ': '+Painter.green(@string) : source_location && "
|
29
|
+
"#{to_s}#{@string ? ': '+Painter.green(@string) : source_location && ":\n"+RMTools.highlighted_line(*source_location)}"
|
30
30
|
end
|
31
31
|
|
32
32
|
end
|
@@ -34,13 +34,13 @@ end
|
|
34
34
|
if RUBY_VERSION > '1.9'
|
35
35
|
class Method
|
36
36
|
def inspect
|
37
|
-
"#{to_s}
|
37
|
+
"#{to_s}#{source_location && ":\n#{RMTools.highlighted_line(*source_location)}"}"
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
class UnboundMethod
|
42
42
|
def inspect
|
43
|
-
"#{to_s}
|
43
|
+
"#{to_s}#{source_location && ":\n#{RMTools.highlighted_line(*source_location)}"}"
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
data/lib/rmtools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Baev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: RMTools is a collection of helpers for debug, text/array/file processing
|
14
14
|
and simply easing a coding process
|
@@ -138,10 +138,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.2.2
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Collection of helpers for debug, text/array/file processing and simply easing
|
145
145
|
a coding process
|
146
146
|
test_files: []
|
147
|
-
has_rdoc:
|