moto 0.8.0 → 0.8.1
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.
- checksums.yaml +4 -4
- data/lib/runner/test_generator.rb +0 -1
- data/lib/test/base.rb +1 -7
- 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: a9047650162e05dd57e1c30c44865874ec1bb5df
|
4
|
+
data.tar.gz: d2682493617e1cf95121304fcd1d07eefe31ccd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0573260ccd434bdb0eef6a8ef95102f17644565a209e48e15ad75f882a1c393aedf1266db61b63161f94b800da8b8d0227408ea92b27adb46eb3d22ed86555e
|
7
|
+
data.tar.gz: e181e2cf69fcf4bbe6e0ac4b8a607e576ff432a6cfa5e8287d98d33e355946f761fd2208d20c92251210502e96646442c0d64d268d4c01f79a8223b40fd22b33
|
data/lib/test/base.rb
CHANGED
@@ -8,7 +8,6 @@ module Moto
|
|
8
8
|
attr_reader :env
|
9
9
|
attr_reader :params
|
10
10
|
attr_accessor :static_path
|
11
|
-
attr_accessor :evaled
|
12
11
|
attr_accessor :status
|
13
12
|
|
14
13
|
class << self
|
@@ -134,12 +133,7 @@ module Moto
|
|
134
133
|
# Checks if result of condition equals to True
|
135
134
|
def assert(condition, message)
|
136
135
|
if !condition
|
137
|
-
|
138
|
-
# -1 because of added method header in generated class
|
139
|
-
line_number = caller.select { |l| l.match(/\(eval\):\d*:in `run'/) }.first[/\d+/].to_i
|
140
|
-
else
|
141
|
-
line_number = caller.select { |l| l.match(/#{static_path}:\d*:in `run'/) }.first[/\d+/].to_i
|
142
|
-
end
|
136
|
+
line_number = caller.select { |l| l.match(/#{static_path}:\d*:in `run'/) }.first[/\d+/].to_i
|
143
137
|
|
144
138
|
status.log_failure("ASSERTION FAILED in line #{line_number}: #{message}")
|
145
139
|
Thread.current['logger'].error(message)
|
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.8.
|
4
|
+
version: 0.8.1
|
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-09-
|
14
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|