lopata 0.1.23 → 0.1.24
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/lopata/step.rb +1 -12
- data/lib/lopata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54faa8989dbb2e3f1750b060fe05982116ba534a50e6be067d267d0bb7849fc9
|
|
4
|
+
data.tar.gz: 4b49ac34fa702f1784f4e23fde2d7da205474619c7ac6190cb0ce73fab1f9520
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fb1d7e3ca67d547272e868cddbaa68e7c8ec6c2cc03c617e0e81cd3d6607fca1d914a11d0834fd0eeb259b36ccd80bc4b3e787fdb153abd94a86316f7315482
|
|
7
|
+
data.tar.gz: 4ce12c440f2e757f94863d9769a2b2532680d50942d24979ef5b6a49fb9cbb68647f388ca3ab648767a04683cce05484421bd2d2c550e758eaf8e85c353e0433
|
data/lib/lopata/step.rb
CHANGED
|
@@ -39,8 +39,7 @@ module Lopata
|
|
|
39
39
|
if step.is_a?(String)
|
|
40
40
|
Lopata::SharedStep.find(step).steps.each do |shared_step|
|
|
41
41
|
next if shared_step.condition && !shared_step.condition.match?(scenario)
|
|
42
|
-
|
|
43
|
-
steps += shared_step.execution_steps(scenario, groups: groups + [shared_group])
|
|
42
|
+
steps += shared_step.execution_steps(scenario, groups: groups)
|
|
44
43
|
end
|
|
45
44
|
elsif step.is_a?(Proc)
|
|
46
45
|
steps << StepExecution.new(self, groups, condition: condition, &step)
|
|
@@ -104,16 +103,6 @@ module Lopata
|
|
|
104
103
|
end
|
|
105
104
|
end
|
|
106
105
|
|
|
107
|
-
# @private
|
|
108
|
-
# Fake group for shared step instance
|
|
109
|
-
# Used to build group hierarhy including chared steps
|
|
110
|
-
class SharedGroupStep < Step
|
|
111
|
-
# stub title - should not be used in scenario/step name generation.
|
|
112
|
-
def title
|
|
113
|
-
''
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
|
|
117
106
|
#@private
|
|
118
107
|
class StepExecution
|
|
119
108
|
attr_reader :step, :status, :exception, :block, :pending_message, :groups, :condition
|
data/lib/lopata/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.1.24
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexey Volochnev
|
|
@@ -139,5 +139,5 @@ requirements: []
|
|
|
139
139
|
rubygems_version: 3.2.15
|
|
140
140
|
signing_key:
|
|
141
141
|
specification_version: 4
|
|
142
|
-
summary: lopata-0.1.
|
|
142
|
+
summary: lopata-0.1.24
|
|
143
143
|
test_files: []
|