macros4cuke 0.2.05 → 0.2.06

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.
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.2.06]
2
+ #### Changes:
3
+ * Formatting improvements in README.md.
4
+
5
+
1
6
  ## [0.2.05]
2
7
  #### Changes:
3
8
  * Expanded README.md with macro-step invokation, passing data value via a table.
data/README.md CHANGED
@@ -168,9 +168,9 @@ Sub-steps can also have macro arguments.
168
168
  ```
169
169
 
170
170
  ### Using(invoking) a macro-step ###
171
- The rules for using a given macro-step in a scenario are pretty straightforward:
172
- - Follow closely the syntax of the _quoted sentence_ in the macro definition.
173
- - Replace every <argument> in the _phrase_ by its actual value between quotes.
171
+ The rules for using a given macro-step in a scenario are pretty straightforward:
172
+ - Follow closely the syntax of the _quoted sentence_ in the macro definition.
173
+ - Replace every \<argument\> in the _phrase_ by its actual value between quotes.
174
174
 
175
175
  #### Example 1: ####
176
176
  Consider the following macro-step definition:
@@ -216,7 +216,7 @@ a terminating colon (:) character.
216
216
 
217
217
  The next example is based on one of the demo feature files:
218
218
  ```cucumber
219
- # Next step has a colon after the ']': data can be passed with a table
219
+ # Next step has a colon ':' after the ']': data can be passed with a table
220
220
  Given I define the step "When I [enter my address as follows]:" to mean:
221
221
  """
222
222
  When I fill in firstname with "<firstname>"
@@ -236,8 +236,9 @@ This step can be used like this:
236
236
  |street_address| Main Street, 22|
237
237
  |city| Old White Castel|
238
238
  |postcode|JK345|
239
-
240
- Here are few observations worth noticing:
239
+ ```
240
+
241
+ Here are few observations worth noticing:
241
242
  - The data table has two columns.
242
243
  - Each row is of the form: |argument name| actual value|. For instance, the argument _street_address_ takes
243
244
  the value "Main Street, 22".
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Macros4Cuke # Module used as a namespace
5
5
  # This constant keeps the current version of the gem.
6
- Version = '0.2.05'
6
+ Version = '0.2.06'
7
7
 
8
8
  Description = "Macros for Cucumber"
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macros4cuke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.05
4
+ version: 0.2.06
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: