cucumber-mailcatcher 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c240e850aa8eb52a4a64e602bf66cfffe47ee7a
4
- data.tar.gz: 4bea9fb30c5ea2a6478b9b10d37a8227d7673ec9
3
+ metadata.gz: a2b61bc92a239d119071b3bc29c7cd2a8f8d9c82
4
+ data.tar.gz: 0fb4aa0bc30d90e88c79485a76199bd525068c99
5
5
  SHA512:
6
- metadata.gz: c8e317f6b30a61f27176fb50d7ec8a307f672cdeeb8a87fb65d07d2faeed60d45d28e46116f5db33fa2739bf17e768c58f359b030f874e0d053ce9ee18540537
7
- data.tar.gz: 44b15742c7ced4a53ea9226b606fb03aa6ec9d4e9aae7f46f280d238b6bdb8f07242dcb18c4d48fbc6eb0dd55543ee2f4846c46c3a81ff2ad247e790470f07a6
6
+ metadata.gz: b6499715c327435a3f054779c8c25ac75bcd1ec77b95d9e3a5b763409136cd95717c019cf51f41be6ec51d7a926378baa67a325bbe969ea2d9390cf71b0a4fad
7
+ data.tar.gz: 5dd2f706248129ab5e3c68ac825908a621745b14e7167c1d5ffd3bc96128184de79d2ad22e89c6d9d6d80e1cd73e2f63ab60bc55880b0809b1495c23e836b760
@@ -17,7 +17,9 @@ module Cucumber
17
17
 
18
18
  def initialize
19
19
  error = "Please set the Mailcatcher server url e.g. Cucumber::Mailcatcher::Api.server_url = 'http://localhost:1080'"
20
- valid = @@server_url != nil && @@server_url =~ /\A#{URI.regexp(%w(http https))}\z/
20
+ begin
21
+ valid = @@server_url =~ /\A#{URI.regexp(%w(http https))}\z/
22
+ end
21
23
 
22
24
  raise error unless valid
23
25
  end
@@ -2,6 +2,6 @@ module Cucumber
2
2
  module Mailcatcher
3
3
  NAME = "cucumber-mailcatcher"
4
4
  FOLDER = "cucumber/mailcatcher"
5
- VERSION = "0.7"
5
+ VERSION = "0.8"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson