mail_checker 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ module MailChecker
40
40
  end
41
41
 
42
42
  def to_regexp(values)
43
- values.map { |v| Regexp.new(v) }
43
+ values.map { |v| v.is_a?(String) ? Regexp.new(Regexp.escape(v)) : Regexp.new(v) }
44
44
  end
45
45
  end
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module MailChecker
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-06 00:00:00.000000000 Z
12
+ date: 2012-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 1.8.18
72
+ rubygems_version: 1.8.24
73
73
  signing_key:
74
74
  specification_version: 3
75
75
  summary: Test mails sent to a MailCatcher SMTP server