macros4cuke 0.3.40 → 0.3.41

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2M3NWUxZWQxMWEzNmY5ZmJhNTg5YmU4NmZlOGU5NWE2Y2NhMmJlMQ==
4
+ ZDkzOGEyMzQ1MzI5ZWFjYWRkMDNkZjc1ZjhkZGRjZWJlNDhiNmRkOA==
5
5
  data.tar.gz: !binary |-
6
- Zjc3ODczYzZmZDc5ZjZmYmU3OTVkZTAxN2QxNDNlZmVlMmQxMzZkMQ==
6
+ M2I1NGFlNjE3Mjg3ZWNkZmFlZDRmYTRiN2ZkM2FjYzE3ZTM3MzhkMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTQ0YWUwNGIwYzI3OGMxNmU1NTIyNTU3MDIwZWQxOTBkMTAwYTFhNjM4NzFk
10
- YmJlNjJlYTE4NGM2OGViYTk3NGYzZWY5MmVmNzE2ZjhiNGZkZGRmYzNmYzRm
11
- Y2RiMTUyOTdkYzdjNTdiOWIwYmRlNGQxODc3YmY3MmRkYTY4MzA=
9
+ YmFkZDQyNmRiNGU1NTZhN2NlMmQ1MTA1ODM4ZDNmZjI3NDg5OTMzYjRlNjY2
10
+ MjUzYzQ4NDU1YjIyNGNiMTkxYjFkMGIwYzg5Yzg3MDY5ZTRhMTE4MTZlYjZm
11
+ MGZiM2NkMGI3NjBhNjljN2EyMTJiOTk2N2QxMDlkYjRiYTVkNWQ=
12
12
  data.tar.gz: !binary |-
13
- OGYxMzg1NzM5MzNhYmIwNzcwYmQwNDhmNWYyZWMyNGRhOWNmZjcwNjUzMDYz
14
- NWFiYTAwN2MxODUyMzkzMGJkNThmMTU2OWVlNjQ4MmZhNzExMzk3OTg3ZTE4
15
- OGExODgwMjgzN2YwYjJiY2UxMjJkNzYyODgzNzhmY2JmNjk1MDA=
13
+ NmYzYmIzZGM3YTNjNjNhMWQ5OTA5ZjkzYjBjMTdlYWIzZTgzYWZhY2RjN2Yw
14
+ NDJhODNlYzA2Y2ViNDhmMDBlOTNkODVkOTQ1NDJmYmQxMWZkMDdkOTJkOGJm
15
+ NzhkNjVhNzEzMDVjZjJlOTRjNmUzMWY4MjA2YTZkYjQ4NmIwZDU=
data/CHANGELOG.md CHANGED
@@ -1,8 +1,11 @@
1
- ### 0.3.40 / 2013-07-24
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.
@@ -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 demonstrate what to do in your env.rb file
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
- # Gobble silently the exception if simplecov isn't installed.
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 |macro_phrase, colon_capture, template|
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Macros4Cuke # Module used as a namespace
5
5
  # The version number of the gem.
6
- Version = '0.3.40'
6
+ Version = '0.3.41'
7
7
 
8
8
  # Brief description of the gem.
9
9
  Description = 'Macro-steps for Cucumber'
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.40
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-02 00:00:00.000000000 Z
11
+ date: 2013-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber