oktobertest 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/oktobertest.rb +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 493545b54e8a7f371f28d790310575aea8c3d161
4
- data.tar.gz: 07cb9f7238e13adf8ec15836a7783b3e478dbd9a
3
+ metadata.gz: e27eea694602b4b1fc60f5a0450b8ea49d6a39dc
4
+ data.tar.gz: 5bfd98720036eb1dee5596948ffae86ad8c6bb7d
5
5
  SHA512:
6
- metadata.gz: 0df644a849df6898bed00de683ca0d43773fad743476f25052ee1ed19aa1c3dc4be76c9fe76bfdca1c5e9a16e1fe236a9e58062449664074cf813ff58774d35e
7
- data.tar.gz: 842cea94e1b0033f5015b9ae71f9cb09f0f123495158f91c7c4915d2063dc50d68930fc4694d370323b379efee33ec81123326779c10a72c5c310797663dbf50
6
+ metadata.gz: 39da0a4113c3442b0aeee93f9bc18730793d1aeb965eb570d6b2e63b2bd5f7e74130b0c302072ab99bccbd02482ca585a122cfa3e72dc4a6894b72f13ccab3bd
7
+ data.tar.gz: f1e18c6b16653cf8a811c093caf4132f5581c9e96a0f8e2f25e41da37f87422f7b5e96c140bd7bf1e864fcd20022f80c64aa0b2a0ffe951e63aa29621334c59f
@@ -1,5 +1,5 @@
1
1
  module Oktobertest
2
- VERSION = '0.5.2'
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.2
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: 2014-09-09 00:00:00.000000000 Z
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.2.2
103
+ rubygems_version: 2.4.5.1
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: Small test library