macros4cuke 0.5.09 → 0.5.10
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 +8 -8
- data/CHANGELOG.md +3 -0
- data/lib/macros4cuke/coll-walker-factory.rb +5 -2
- data/lib/macros4cuke/constants.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MWQxNDE3M2Q5OWMzMzk5YmI0MDJkZWIxMWVjZGI5NTk1Zjc4YTJhMA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MGY2MDQxZjc0MTgxOWQ3N2U0MTg2MmE2ZmE0ZWZkZGVlMWI4ODZmNg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NGY1NGYxMTQ2M2E4MjgxMmExMzJhOTYxNDdjNDdiMGVmNWJiZTcwOTg1ZTI2
|
|
10
|
+
NTk3NjExMDliOGZjYzBhODdmOTc2MjhmMGY2Y2U3NGE5OWIyY2FiYTg1ODdm
|
|
11
|
+
NDkzMGM2N2YyMTViNzdhODk1MTdmYzBkYWE1MDg4YzMwNGY4MDY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
N2I5ZjhmMTJhNjMwOTE5YmE2MDU1ZjA3MGJiMDM5Y2Y1NGQzZDNhNjkwODBi
|
|
14
|
+
Y2M1MjUyNmEyNGMzZmUxNTJiNGNmYjdlMzg0YzQ1ZjMzNjNkOGFiYzk1YTZi
|
|
15
|
+
MjE3ZGU3NWIwYWNkNTVjNWI4OGEzNjJiYzkzOGQxYjYyY2ZmMWE=
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
### 0.5.10 / 2015-03-26
|
|
2
|
+
* [CHANGE] Minimal code layout reformat in `CollWalkerFactory#build_walker` to please Rubocop 0.29.1
|
|
3
|
+
|
|
1
4
|
### 0.5.09 / 2015-02-06
|
|
2
5
|
* [CHANGE] Minimal code layout reformat to please Rubocop 0.29.0
|
|
3
6
|
* [CHANGE] File `README.md` added licensing badge (MIT license)
|
|
@@ -12,14 +12,17 @@ class CollWalkerFactory
|
|
|
12
12
|
# Structure used internally by the walker
|
|
13
13
|
StringNode = Struct.new(:event, :text, :extra)
|
|
14
14
|
|
|
15
|
+
# Factory method.
|
|
16
|
+
# @param aMacroCollection [MacroCollection] The collection of macros
|
|
17
|
+
# encountered so far
|
|
18
|
+
# @return [Enumerator]
|
|
15
19
|
def build_walker(aMacroCollection)
|
|
16
20
|
level = 0
|
|
17
21
|
collection = aMacroCollection
|
|
18
22
|
current_node = collection
|
|
19
23
|
backlog = collection.macro_steps.values
|
|
20
24
|
|
|
21
|
-
visitor = Enumerator.new do
|
|
22
|
-
|result_receiver| # 'result_receiver' is a Yielder
|
|
25
|
+
visitor = Enumerator.new do |result_receiver| # argument is a Yielder
|
|
23
26
|
loop do
|
|
24
27
|
case current_node
|
|
25
28
|
when MacroCollection
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: macros4cuke
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dimitri Geshef
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|