micro_test 0.3.3 → 0.3.4
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/bin/mt +7 -5
- data/lib/micro_test/version.rb +1 -1
- metadata +2 -2
data/bin/mt
CHANGED
@@ -130,11 +130,13 @@ if options[:pry]
|
|
130
130
|
_pry_.commands.create_command "line", "View the assert line that failed." do
|
131
131
|
def process
|
132
132
|
stack = caller.dup
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
133
|
+
if stack[0] =~ /pry-nav|pry-debugger/
|
134
|
+
stack.shift while !(stack[0] =~ /pry-nav|pry-debugger/)
|
135
|
+
count = 0
|
136
|
+
stack.each do |line|
|
137
|
+
break if line =~ /test_wrapper/
|
138
|
+
count += 1
|
139
|
+
end
|
138
140
|
end
|
139
141
|
_pry_.run_command "up #{count}"
|
140
142
|
end
|
data/lib/micro_test/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micro_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: os
|