macros4cuke 0.5.13 → 0.5.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.travis.yml +1 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +3 -3
- data/LICENSE.txt +18 -18
- data/README.md +1 -1
- data/lib/macro_steps.rb +2 -1
- data/lib/macros4cuke/constants.rb +1 -1
- metadata +52 -56
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NTYxZDc5NzFkYmMzNDJlYmQwODdkNmIwMjUxZWJkMTZmYzgzODZiNWNkOTRk
|
10
|
-
YjUxMWQ3ZTg0YzI2NzEzNWNlNTc5MTkxNTE2YjYyY2NkMjAxNTI4OGQ2OGI0
|
11
|
-
Yjk5ZTJmNmM3OWVlNzJjMjkzODQ1YzFlNDA0MzRhMTdiMTYwOWU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MmU5Njk5YmY2OWUwMTQ1ZmI3MTdlYzFmNTQyYTQ1M2ZmMDZlNDU1YWU4MDNm
|
14
|
-
ZmU0MTdlYjEyYzJkNjBjNDNjNjI5ZGYzNTA5YTg4NTdmNDA5MDY1YzJmNGM1
|
15
|
-
ODU4ZjBkYjIzNTE1MTBhNDFjNGMwZDhlMmQ0MzE4ODI1ZWY0Yzk=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7cb356982999fd02630dd75bbda6beb095efb947
|
4
|
+
data.tar.gz: 54a135b208d24ee455ed7fb58da0c85c0a616400
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d3e9d7bb5e298df844b119c64e4486d3f048352a14d4ef94fb75c7070f7f4996f94f21638277d6e4ed5c390518b58fed16dd54564f1b2ae7abf43a755d6e750b
|
7
|
+
data.tar.gz: f9fd3bb3a6563c05a41528ea048ac701c4685af8168b7a81eb1ce88e35df3a46b2af3a18cae4f507f1c6609cbf4bc0086cb39b7abf65508df62f6604f9a2644b
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
### 0.5.14 / 2016-03-16
|
2
|
+
* [FIX] File `macro_steps`: Cucumber complained about allusion to deprecated class `Cucumber::Ast::Table`.
|
3
|
+
|
1
4
|
### 0.5.13 / 2015-06-19
|
2
5
|
* [CHANGE] Code re-formatted to please Rubocop 0.32.0
|
3
6
|
* [FIX] File `.rubocop.yml`: disable some cop settings that were too loud.
|
data/Gemfile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
# Prevent Bundler to load the dependencies from our .gemspec file
|
3
3
|
|
4
|
-
gem 'cucumber', ['>=
|
4
|
+
gem 'cucumber', ['>= 1.3.18']
|
5
5
|
|
6
6
|
group :development do
|
7
|
-
gem 'rake', '>= 0.
|
7
|
+
gem 'rake', '>= 0.9.2'
|
8
8
|
gem 'rspec', '>= 3.0.0'
|
9
|
-
gem 'simplecov', '>= 0.
|
9
|
+
gem 'simplecov', '>= 0.6.2'
|
10
10
|
end
|
data/LICENSE.txt
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
Copyright (c) 2013-
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
5
|
-
in the Software without restriction, including without limitation the rights
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
8
|
-
furnished to do so, subject to the following conditions:
|
9
|
-
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
11
|
-
all copies or substantial portions of the Software.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1
|
+
Copyright (c) 2013-2016 Dimitri Geshef
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
19
|
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -558,4 +558,4 @@ Macros with Cucumber is a hot topic, so it is good to know what other people say
|
|
558
558
|
|
559
559
|
Copyright
|
560
560
|
---------
|
561
|
-
Copyright (c) 2014-
|
561
|
+
Copyright (c) 2014-2016, Dimitri Geshef. Macros4Cuke is released under the MIT License see [LICENSE.txt](https://github.com/famished-tiger/Macros4Cuke/blob/master/LICENSE.txt) for details.
|
data/lib/macro_steps.rb
CHANGED
@@ -47,7 +47,8 @@ end
|
|
47
47
|
# |password|unguessable|
|
48
48
|
When(/^I \[([^\]]+)\]:$/) do |macro_phrase, table_argument|
|
49
49
|
# Ensure that the second argument is of the correct type
|
50
|
-
unless table_argument.is_a?(Cucumber::Ast::Table)
|
50
|
+
#unless table_argument.is_a?(Cucumber::Ast::Table)
|
51
|
+
unless table_argument.is_a?(Cucumber::MultilineArgument::DataTable)
|
51
52
|
fail(Macros4Cuke::DataTableNotFound.new(macro_phrase))
|
52
53
|
end
|
53
54
|
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Geshef
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.3.18
|
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
|
-
version:
|
26
|
+
version: 1.3.18
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.9.2
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.9.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 3.0.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simplecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.6.2
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.6.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubygems
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.0.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.0.0
|
83
83
|
description: Expand Cucumber with macro-steps.
|
@@ -88,19 +88,20 @@ extensions: []
|
|
88
88
|
extra_rdoc_files:
|
89
89
|
- README.md
|
90
90
|
files:
|
91
|
-
- .
|
92
|
-
- .
|
93
|
-
- .ruby-gemset
|
94
|
-
- .ruby-version
|
95
|
-
- .simplecov
|
96
|
-
- .travis.yml
|
97
|
-
- .yardopts
|
98
|
-
- cucumber.yml
|
99
|
-
- Gemfile
|
100
|
-
- Rakefile
|
91
|
+
- ".rspec"
|
92
|
+
- ".rubocop.yml"
|
93
|
+
- ".ruby-gemset"
|
94
|
+
- ".ruby-version"
|
95
|
+
- ".simplecov"
|
96
|
+
- ".travis.yml"
|
97
|
+
- ".yardopts"
|
101
98
|
- CHANGELOG.md
|
99
|
+
- Gemfile
|
102
100
|
- LICENSE.txt
|
103
101
|
- README.md
|
102
|
+
- Rakefile
|
103
|
+
- bin/macros4cuke
|
104
|
+
- cucumber.yml
|
104
105
|
- examples/demo/cucumber.yml
|
105
106
|
- examples/demo/features/basic.feature
|
106
107
|
- examples/demo/features/multiline.feature
|
@@ -118,8 +119,24 @@ files:
|
|
118
119
|
- examples/i18n/nl/features/step_definitions/demo_steps.rb
|
119
120
|
- examples/i18n/nl/features/step_definitions/macro_steps_nl.rb
|
120
121
|
- examples/i18n/nl/features/support/use_macros4cuke.rb
|
121
|
-
-
|
122
|
+
- features/1_the_basics/README.md
|
123
|
+
- features/1_the_basics/demo01.feature
|
124
|
+
- features/2_macros_with_arguments/README.md
|
125
|
+
- features/2_macros_with_arguments/demo02.feature
|
126
|
+
- features/2_macros_with_arguments/demo03.feature
|
127
|
+
- features/3_macros_with_table_arguments/README.md
|
128
|
+
- features/3_macros_with_table_arguments/demo04.feature
|
129
|
+
- features/3_macros_with_table_arguments/demo05.feature
|
130
|
+
- features/4_conditional_steps/demo06.feature
|
131
|
+
- features/5_goodies/demo07.feature
|
132
|
+
- features/5_goodies/demo08.feature
|
133
|
+
- features/README.md
|
134
|
+
- features/step_definitions/demo_steps.rb
|
135
|
+
- features/support/env.rb
|
136
|
+
- features/support/macro_support.rb
|
137
|
+
- features/support/use_macros4cuke.rb
|
122
138
|
- lib/macro_steps.rb
|
139
|
+
- lib/macros4cuke.rb
|
123
140
|
- lib/macros4cuke/application.rb
|
124
141
|
- lib/macros4cuke/cli/cmd-line.rb
|
125
142
|
- lib/macros4cuke/coll-walker-factory.rb
|
@@ -142,22 +159,6 @@ files:
|
|
142
159
|
- lib/macros4cuke/templating/static-text.rb
|
143
160
|
- lib/macros4cuke/templating/template-element.rb
|
144
161
|
- lib/macros4cuke/templating/unary-element.rb
|
145
|
-
- features/1_the_basics/demo01.feature
|
146
|
-
- features/2_macros_with_arguments/demo02.feature
|
147
|
-
- features/2_macros_with_arguments/demo03.feature
|
148
|
-
- features/3_macros_with_table_arguments/demo04.feature
|
149
|
-
- features/3_macros_with_table_arguments/demo05.feature
|
150
|
-
- features/4_conditional_steps/demo06.feature
|
151
|
-
- features/5_goodies/demo07.feature
|
152
|
-
- features/5_goodies/demo08.feature
|
153
|
-
- features/1_the_basics/README.md
|
154
|
-
- features/2_macros_with_arguments/README.md
|
155
|
-
- features/3_macros_with_table_arguments/README.md
|
156
|
-
- features/README.md
|
157
|
-
- features/step_definitions/demo_steps.rb
|
158
|
-
- features/support/env.rb
|
159
|
-
- features/support/macro_support.rb
|
160
|
-
- features/support/use_macros4cuke.rb
|
161
162
|
- spec/macros4cuke/application_spec.rb
|
162
163
|
- spec/macros4cuke/cli/cmd-line_spec.rb
|
163
164
|
- spec/macros4cuke/coll-walker-factory_spec.rb
|
@@ -177,37 +178,32 @@ files:
|
|
177
178
|
- spec/macros4cuke/use-sample-collection.rb
|
178
179
|
- spec/spec_helper.rb
|
179
180
|
- templates/use_macros4cuke.erb
|
180
|
-
- bin/macros4cuke
|
181
181
|
homepage: https://github.com/famished-tiger/Macros4Cuke
|
182
182
|
licenses:
|
183
183
|
- MIT
|
184
184
|
metadata: {}
|
185
|
-
post_install_message:
|
186
|
-
|
185
|
+
post_install_message: |
|
186
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
187
187
|
Thank you for installing Macros4Cuke...
|
188
|
-
|
189
188
|
Enjoy using Cucumber with macros...
|
190
|
-
|
191
189
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
192
|
-
|
193
|
-
'
|
194
190
|
rdoc_options:
|
195
191
|
- --charset=UTF-8 --exclude="examples|features|spec"
|
196
192
|
require_paths:
|
197
193
|
- lib
|
198
194
|
required_ruby_version: !ruby/object:Gem::Requirement
|
199
195
|
requirements:
|
200
|
-
- -
|
196
|
+
- - ">="
|
201
197
|
- !ruby/object:Gem::Version
|
202
|
-
version: 1.9.
|
198
|
+
version: 1.9.3
|
203
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
200
|
requirements:
|
205
|
-
- -
|
201
|
+
- - ">="
|
206
202
|
- !ruby/object:Gem::Version
|
207
203
|
version: '0'
|
208
204
|
requirements: []
|
209
205
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.
|
206
|
+
rubygems_version: 2.4.5.1
|
211
207
|
signing_key:
|
212
208
|
specification_version: 4
|
213
209
|
summary: Add your own macro-steps to Cucumber scenarios
|