lopata 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 635b1894a3731021b5b4dcefab818a5ed27c9c11529d41cffd3f891f45614fa3
4
- data.tar.gz: 2c706b7b03fd8838ae229a095207aeea564f85c9efe24232e275688a6e3de2d8
3
+ metadata.gz: 1155fd7582bb7ca2639810d0339f61499124cfb92d10f181adf728f88b5cc738
4
+ data.tar.gz: c447507475f7310be478205d0dda7e331dfe26e037ba7676035b105fa6c09a62
5
5
  SHA512:
6
- metadata.gz: 95b35b3ea5e54ba73eed75d439505d6ff48f0c93f31a8bb47cfa3fa207a9cb0a16a30b5ea89ab7c2b60b5d351b1b8c462ecf56742bffec72b734ac4c87ec55ae
7
- data.tar.gz: dc4ca839bd21c4a99b4fe463963b8efeca22a6ba33df3a4c979319952fc8ffff35e6a8a34ce0a8146e2bb1d2994396bb4a59ed713825dbe8d6dfbce0ac79937f
6
+ metadata.gz: 363d77e825eda675203f046a0c844612d6e40c2324e8715ce3f690a33b0f3d1733a6831998d5cdbda7add08937f1f69d71fc40bd7abf7ece43405cd90ee7f62c
7
+ data.tar.gz: 1ea19098de32d259087cc480c0e18722655606feb39a0368a40cda5ed888d87ae5bbfcb616050c3f8cb4d79cdb0a8a02a14a56a259f150f2bfeebc257f335176
@@ -49,7 +49,7 @@ class Lopata::Scenario
49
49
  steps_in_running_order.each(&method(:run_step))
50
50
  @status = steps.any?(&:failed?) ? :failed : :passed
51
51
  world.notify_observers(:scenario_finished, self)
52
- @scenario = nil # cleanup memory after scenario executon
52
+ cleanup
53
53
  end
54
54
 
55
55
  def run_step(step)
@@ -82,5 +82,12 @@ class Lopata::Scenario
82
82
  @metadata
83
83
  end
84
84
  end
85
+
86
+ def cleanup
87
+ @title = nil
88
+ @metadata = nil
89
+ @steps = nil
90
+ @scenario = nil
91
+ end
85
92
  end
86
93
  end
@@ -1,5 +1,5 @@
1
1
  module Lopata
2
2
  module Version
3
- STRING = '0.1.3'
3
+ STRING = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lopata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Volochnev
@@ -139,5 +139,5 @@ requirements: []
139
139
  rubygems_version: 3.0.3
140
140
  signing_key:
141
141
  specification_version: 4
142
- summary: lopata-0.1.3
142
+ summary: lopata-0.1.4
143
143
  test_files: []