moto 0.7.5 → 0.7.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 735b4b0d9c3ea1539334de684da64474601f1886
4
- data.tar.gz: d02d96924f4abbcc01e2fd5cb1eee3f70d031700
3
+ metadata.gz: dd2a773acb639f838e227ec0e2f1809edad2a915
4
+ data.tar.gz: 650083248c66594640d4c2fcbad85f341cda39bd
5
5
  SHA512:
6
- metadata.gz: 3d1cc5f602cd1b3620707de05b593c5e0a59a66de6dec2b54522d1955fada13a2ae98ad42d828da897e592d3ae173d58b37f2071019c3bf323c9d4ce11be029d
7
- data.tar.gz: 6bcbaa357e0b0e4ff4d78dde2dcb133c581ccddad080f27ec6385383b8db650fbbe5c727d2389229628bb47acdad8d3b075620560a33db761d0d17961aa02dc4
6
+ metadata.gz: 9f7f159c01e4b1259b4f5001fc2d46c8abe29f1b68b2d23f1b00ce75dc3482218939f2da9825224cfc6ab0616f99073938ce291abbb7c0643e470c3fc06156ce
7
+ data.tar.gz: 81e5803a6c6f28df1dce599150aa596cd89c3f2155925a674e923bf5a57395be0f585255027a8ddcb0e3dc3603e002f95141a93e84d56f26ba4a8491123eddcd
@@ -1,17 +1,17 @@
1
- module Moto
2
- module EmptyListener
3
-
4
- def start_run
5
- end
6
-
7
- def end_run
8
- end
9
-
10
- def start_test(test)
11
- end
12
-
13
- def end_test(test)
14
- end
15
-
16
- end
1
+ module Moto
2
+ module EmptyListener
3
+
4
+ def start_run
5
+ end
6
+
7
+ def end_run
8
+ end
9
+
10
+ def start_test(test)
11
+ end
12
+
13
+ def end_test(test)
14
+ end
15
+
16
+ end
17
17
  end
@@ -1,7 +1,7 @@
1
- module Moto
2
- module Exceptions
3
- class MotoException < RuntimeError
4
-
5
- end
6
- end
1
+ module Moto
2
+ module Exceptions
3
+ class MotoException < RuntimeError
4
+
5
+ end
6
+ end
7
7
  end
@@ -1,7 +1,7 @@
1
- module Moto
2
- module Exceptions
3
- class TestForcedFailure < MotoException
4
-
5
- end
6
- end
1
+ module Moto
2
+ module Exceptions
3
+ class TestForcedFailure < MotoException
4
+
5
+ end
6
+ end
7
7
  end
@@ -1,7 +1,7 @@
1
- module Moto
2
- module Exceptions
3
- class TestForcedPassed < MotoException
4
-
5
- end
6
- end
1
+ module Moto
2
+ module Exceptions
3
+ class TestForcedPassed < MotoException
4
+
5
+ end
6
+ end
7
7
  end
@@ -1,7 +1,7 @@
1
- module Moto
2
- module Exceptions
3
- class TestSkipped < MotoException
4
-
5
- end
6
- end
1
+ module Moto
2
+ module Exceptions
3
+ class TestSkipped < MotoException
4
+
5
+ end
6
+ end
7
7
  end
@@ -73,7 +73,10 @@ module Moto
73
73
  @params = eval(File.read(@params_path)) if File.exists?(@params_path.to_s)
74
74
  @status.params = @params
75
75
  rescue Exception => exception
76
+ status.log_exception(exception)
76
77
  raise "ERROR: Invalid parameters file: #{@params_path}.\n\tMESSAGE: #{exception.message}"
78
+ ensure
79
+ status.finalize_run
77
80
  end
78
81
 
79
82
  begin
@@ -1,3 +1,3 @@
1
1
  module Moto
2
- VERSION = '0.7.5'
2
+ VERSION = '0.7.6'
3
3
  end
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.7.5
4
+ version: 0.7.6
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-07-22 00:00:00.000000000 Z
14
+ date: 2016-08-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport