macros4cuke 0.3.40 → 0.3.41
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 +5 -2
- data/features/support/env.rb +4 -4
- data/lib/macro_steps.rb +2 -1
- 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
|
+
ZDkzOGEyMzQ1MzI5ZWFjYWRkMDNkZjc1ZjhkZGRjZWJlNDhiNmRkOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2I1NGFlNjE3Mjg3ZWNkZmFlZDRmYTRiN2ZkM2FjYzE3ZTM3MzhkMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmFkZDQyNmRiNGU1NTZhN2NlMmQ1MTA1ODM4ZDNmZjI3NDg5OTMzYjRlNjY2
|
10
|
+
MjUzYzQ4NDU1YjIyNGNiMTkxYjFkMGIwYzg5Yzg3MDY5ZTRhMTE4MTZlYjZm
|
11
|
+
MGZiM2NkMGI3NjBhNjljN2EyMTJiOTk2N2QxMDlkYjRiYTVkNWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmYzYmIzZGM3YTNjNjNhMWQ5OTA5ZjkzYjBjMTdlYWIzZTgzYWZhY2RjN2Yw
|
14
|
+
NDJhODNlYzA2Y2ViNDhmMDBlOTNkODVkOTQ1NDJmYmQxMWZkMDdkOTJkOGJm
|
15
|
+
NzhkNjVhNzEzMDVjZjJlOTRjNmUzMWY4MjA2YTZkYjQ4NmIwZDU=
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
### 0.3.
|
1
|
+
### 0.3.41 / 2013-10-03
|
2
|
+
* [CHANGE] File `env.rb`: Updated the exception handler when requiring `simplecov` to prevent the
|
3
|
+
`Do not suppress exceptions` warning.
|
4
|
+
|
5
|
+
### 0.3.40 / 2013-10-02
|
2
6
|
* [CHANGE] File `.rubocop.yml`: Updated the Excludes rule
|
3
7
|
* [CHANGE] All .rb files: Added an newline at the end of each source file (to please Rubocop).
|
4
8
|
|
5
|
-
|
6
9
|
### 0.3.39 / 2013-07-24
|
7
10
|
* [CHANGE] File `demo06.feature`: Expanded the comments on the conditional section
|
8
11
|
* [CHANGE] File `README.md`: Small editorial changes in the 'A quick section' example.
|
data/features/support/env.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# File: env.rb
|
2
2
|
# Purpose: Allow Cucumber to load the sample application configuration
|
3
3
|
# and hooks.
|
4
|
-
# It also
|
4
|
+
# It also demonstrates what to do in your env.rb file
|
5
5
|
# to use the Macros4Cuke gem.
|
6
6
|
|
7
7
|
begin
|
8
|
-
require 'simplecov'
|
9
|
-
rescue LoadError
|
10
|
-
#
|
8
|
+
require 'simplecov' # Development dependency only...
|
9
|
+
rescue LoadError => mute
|
10
|
+
mute # .... So gobble silently the exception if simplecov isn't installed.
|
11
11
|
end
|
12
12
|
|
13
13
|
module DemoMacros4Cuke # Use the module as a namespace
|
data/lib/macro_steps.rb
CHANGED
@@ -16,7 +16,8 @@
|
|
16
16
|
# """
|
17
17
|
# The regexp has two capturing group: one for the phrase,
|
18
18
|
# a second for the terminating colon (:)
|
19
|
-
Given(/^I define the step "(?:Given|When|Then|\*) I \[((?:[^\\\]]|\\.)+)\](:?)" to mean:$/) do
|
19
|
+
Given(/^I define the step "(?:Given|When|Then|\*) I \[((?:[^\\\]]|\\.)+)\](:?)" to mean:$/) do
|
20
|
+
|macro_phrase, colon_capture, template|
|
20
21
|
use_table = (colon_capture == ':')
|
21
22
|
add_macro(macro_phrase, template, use_table)
|
22
23
|
end
|
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.3.
|
4
|
+
version: 0.3.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Geshef
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|