kappa-maki 0.0.5 → 0.0.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 +4 -4
- data/lib/kappa-maki.rb +11 -7
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9c401433affdd403569ede3fd7ed8b479287a38
|
|
4
|
+
data.tar.gz: ca73d9232c90b1668ccfa1eb0ab637a5e48b1b1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc27dc25bbbc5eab5d262216818ab7c03d85a1c4a72076206fdb31d300662db3ca3024d945d91526f14e1ff16965dfdc75b9bf95c12d8d3a9f146a3286b25947
|
|
7
|
+
data.tar.gz: 3c9ddf63fc26aff9e74f655939abc71a8af21375f2e4a205ab8ebe50c9cfa48803ef68b95e96c2c598063a046b302161c623e928512f79cb11a37c981ea26719
|
data/lib/kappa-maki.rb
CHANGED
|
@@ -64,13 +64,17 @@ module SupportCode_NamespacedSteps
|
|
|
64
64
|
|
|
65
65
|
# Instantiate the feature steps class for the duration of the scenario, if not already.
|
|
66
66
|
# Instance variables will be scoped therein, and only usable for the life of the scenario.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
if Cucumber::Features.const_defined?(feature_namespace)
|
|
68
|
+
feature_class = Cucumber::Features.const_get(feature_namespace)
|
|
69
|
+
@feature ||= feature_class.new
|
|
70
|
+
|
|
71
|
+
begin
|
|
72
|
+
# Local (namespaced) step definitions override global ones, if both are defined.
|
|
73
|
+
step_match(feature_class.namespace_step(test_step.name))
|
|
74
|
+
rescue Cucumber::Undefined
|
|
75
|
+
super
|
|
76
|
+
end
|
|
77
|
+
else
|
|
74
78
|
super
|
|
75
79
|
end
|
|
76
80
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kappa-maki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Allan Tokuda
|
|
@@ -14,14 +14,14 @@ dependencies:
|
|
|
14
14
|
name: cucumber
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ~>
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '2.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '2.0'
|
|
27
27
|
description: Provide Cucumber users the ability to create locally scoped step definitions
|
|
@@ -43,18 +43,19 @@ require_paths:
|
|
|
43
43
|
- lib
|
|
44
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- -
|
|
46
|
+
- - '>='
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: '0'
|
|
49
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- -
|
|
51
|
+
- - '>='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
55
|
rubyforge_project:
|
|
56
|
-
rubygems_version: 2.
|
|
56
|
+
rubygems_version: 2.4.6
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 4
|
|
59
59
|
summary: Kappa Maki
|
|
60
60
|
test_files: []
|
|
61
|
+
has_rdoc:
|