unobtainium-cucumber 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/unobtainium-cucumber/octiron_events.rb +9 -11
- data/lib/unobtainium-cucumber/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: 7a660f75cf627ea026d7b31924c42c21cb35632a
|
4
|
+
data.tar.gz: 6e6809ac922ebefdcb4e449733fa8f499ae3bc40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b4778f0833d553bf02e17c2ff8b65575aa271bac95aecb7994f8fc641d8b317c9154acefa958e5717f266eebed84b1166a31a296db6e784f300af954953ac05
|
7
|
+
data.tar.gz: 72f79736ff5da6ee23cb3e4031edfa7449da826ab0dbe93445d27a2900bcecb24c9d3670f0fb8693ba31604325692389967d4188c5e62dc808e37d4134ca5627
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unobtainium-cucumber (0.2.
|
4
|
+
unobtainium-cucumber (0.2.1)
|
5
5
|
cucumber (~> 2.0)
|
6
6
|
octiron (~> 0.1)
|
7
7
|
unobtainium (~> 0.10)
|
@@ -53,7 +53,7 @@ GEM
|
|
53
53
|
multi_test (0.1.2)
|
54
54
|
nokogiri (1.6.8.1)
|
55
55
|
mini_portile2 (~> 2.1.0)
|
56
|
-
octiron (0.1.
|
56
|
+
octiron (0.1.1)
|
57
57
|
collapsium (~> 0.8)
|
58
58
|
rgl (~> 0.5)
|
59
59
|
parser (2.3.3.1)
|
@@ -12,17 +12,15 @@ require 'cucumber'
|
|
12
12
|
|
13
13
|
AfterConfiguration do |config|
|
14
14
|
# Register handlers for all Cucumber events on cucumber's event bus.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
CUKE_EVENTS.each do |event_name|
|
25
|
-
config.on_event(event_name) do |event|
|
15
|
+
# Not all classes in the namespace may be events - but it's better to try
|
16
|
+
# a few too many than to have to constantly update this file when Cucumber
|
17
|
+
# changes.
|
18
|
+
::Cucumber::Events.constants.each do |const|
|
19
|
+
event_type = ::Cucumber::Events.const_get(const)
|
20
|
+
if not event_type.is_a? Class
|
21
|
+
next
|
22
|
+
end
|
23
|
+
config.on_event(event_type) do |event|
|
26
24
|
::Octiron::World.event_bus.publish(event)
|
27
25
|
end
|
28
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unobtainium-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|