moto 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/runner/test_generator.rb +7 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a6a2b7b1bfe99548784e0a9e6ce3600774e77e8
|
4
|
+
data.tar.gz: f2348b5a9af8e9153eaf170298cfaa10d6368ce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c556cc0608ba6c5258667ded768ca2b942c5d927b18ca40b30289014c4335b506a3059095fae116a3c5778e89b72f8b847900e57323a57bff754338eb89dcdb
|
7
|
+
data.tar.gz: bc25184a6b5cb569191abde95bd0d2c371f387b2c92d7b2efde38badbeecd71f6ef3adc74ad7a761982fc2593961060ceab2f709661700d99e82d56ce83d7b3f
|
@@ -84,7 +84,13 @@ module Moto
|
|
84
84
|
# Generates test instances, based on fully defined class file
|
85
85
|
# @return [Moto::Test::Base]
|
86
86
|
def generate_for_full_class_code(test_path_absolute)
|
87
|
-
|
87
|
+
|
88
|
+
begin
|
89
|
+
require test_path_absolute
|
90
|
+
rescue NameError
|
91
|
+
# will catch an error with non existent base class in test and stop it from breaking whole batch of tests
|
92
|
+
# no need to handle it here, next begin/rescue clause in this function will finish the job
|
93
|
+
end
|
88
94
|
|
89
95
|
test_object = nil
|
90
96
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartek Wilczek
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-04-
|
14
|
+
date: 2016-04-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|