oktobertest 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oktobertest.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e27eea694602b4b1fc60f5a0450b8ea49d6a39dc
|
4
|
+
data.tar.gz: 5bfd98720036eb1dee5596948ffae86ad8c6bb7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39da0a4113c3442b0aeee93f9bc18730793d1aeb965eb570d6b2e63b2bd5f7e74130b0c302072ab99bccbd02482ca585a122cfa3e72dc4a6894b72f13ccab3bd
|
7
|
+
data.tar.gz: f1e18c6b16653cf8a811c093caf4132f5581c9e96a0f8e2f25e41da37f87422f7b5e96c140bd7bf1e864fcd20022f80c64aa0b2a0ffe951e63aa29621334c59f
|
data/lib/oktobertest.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Oktobertest
|
2
|
-
VERSION = '0.5.
|
2
|
+
VERSION = '0.5.3'
|
3
3
|
|
4
4
|
TestFailed = Class.new StandardError
|
5
5
|
TestSkipped = Class.new StandardError
|
@@ -7,7 +7,7 @@ module Oktobertest
|
|
7
7
|
def self.display_errors
|
8
8
|
puts
|
9
9
|
errors.each do |error|
|
10
|
-
backtrace_location = error.backtrace_locations.detect { |l| l.base_label == '<main>' }
|
10
|
+
backtrace_location = error.backtrace_locations.detect { |l| l.base_label == '<main>' || l.base_label == '<top (required)>' }
|
11
11
|
print error.kind_of?(TestSkipped) ? "\nskip" : "\nerror: #{error.message}"
|
12
12
|
print "\nfile: #{backtrace_location.path}\nline: #{backtrace_location.lineno}\n"
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oktobertest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patricio Mac Adden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.4.5.1
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Small test library
|